Function at 0x4118f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0xb4
mov eax, dword [0x59ad00]
xor eax, esp
mov dword [esp + 0xb0], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [esi + 4]
mov ebx, ecx
fld qword [ebx]
mov ecx, dword [esi]
mov dword [esp + 0x4c], eax
fmul st(0), st(0)
mov eax, edx
sub eax, ecx
push edi
fstp qword [esp + 0x60]
mov edi, dword [ebp + 8]
sar eax, 4
cmp byte [ebp + 0x14], 0
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], esi
mov dword [esp + 0x5c], eax
je 0x411977
cmp ecx, edx
je 0x411977
mov eax, edx
cmp edx, edx
je 0x411974
lea esp, [esp]
mov edi, dword [eax]
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [ecx + 4], edi
mov edi, dword [eax + 8]
mov dword [ecx + 8], edi
mov edi, dword [eax + 0xc]
mov dword [ecx + 0xc], edi
add eax, 0x10
add ecx, 0x10
cmp eax, edx
jne 0x411950
mov edi, dword [esp + 0x58]
mov dword [esi + 4], ecx
mov eax, dword [ebx + 0x1c]
sub eax, dword [ebx + 0x18]
sar eax, 3
mov dword [esp + 0x48], eax
cmp eax, 1
jge 0x4119a2
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.00551a8e
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ebx + 0x28]
lea esi, [ebx + 0x28]
push eax
push ecx
lea ecx, [esp + 0x48]
push ecx
mov ecx, esi
call fcn.0040aa20
push 0x3e8
mov ecx, esi
call fcn.00408640
mov eax, dword [esp + 0x50]
fld qword [eax + 8]
fld qword [eax]
fsub qword [edi]
fstp qword [esp + 0x68]
fsub qword [edi + 8]
xor edi, edi
fstp qword [esp + 0x70]
cmp dword [esp + 0x48], edi
jle 0x411a27
fld qword [esp + 0x68]
mov edx, dword [ebx + 0x18]
fld qword [esp + 0x70]
lea eax, [edx + edi*8]
mov edx, dword [esp + 0x50]
fld st(1)
fmulp st(2)
push eax
mov eax, dword [esp + 0x5c]
fxch st(1)
sub esp, 8
fadd qword [0x57b630]
lea ecx, [esp + 0x74]
fld st(1)
fmulp st(2)
faddp st(1)
fstp qword [esp]
push ecx
push edx
push eax
mov ecx, ebx
call fcn.0040d770
inc edi
cmp edi, dword [esp + 0x48]
jl 0x4119e3
mov eax, dword [esi]
mov edi, dword [esi + 4]
sub edi, eax
sar edi, 4
mov dword [esp + 0x48], edi
cmp edi, 2
jl 0x411989
mov ebx, dword [ebx + 0x2c]
mov edx, ebx
mov byte [esp + 0x40], 0
mov ecx, dword [esp + 0x40]
push ecx
sub edx, eax
sar edx, 4
push edx
push ebx
push eax
call fcn.00409670
xor ebx, ebx
add esp, 0x10
mov dword [esp + 0x50], 1
mov dword [esp + 0x3c], ebx
cmp edi, 1
jle 0x411dc4
fld qword [0x57b960]
mov eax, edi
dec eax
cmp eax, 4
jl 0x411cf6
mov eax, edi
add eax, 0xfffffffb
shr eax, 2
xor ecx, ecx
inc eax
mov dword [esp + 0x40], eax
lea eax, [eax*4 + 1]
lea edx, [ebx + 0x10]
mov dword [esp + 0x50], eax
mov edi, dword [esi]
fld qword [edx + edi]
mov eax, dword [edx + edi + 8]
fld qword [ecx + edi]
mov dword [esp + 0x38], eax
mov al, byte [edx + edi + 0xc]
fld st(1)
fsub st(1)
mov byte [esp + 0x37], al
mov eax, dword [ecx + edi + 8]
mov dword [esp + 0x44], eax
fabs
fcomp st(3)
fnstsw ax
test ah, 0x41
jp 0x411b1a
cmp byte [esp + 0x37], 0
jne 0x411ae5
cmp byte [ecx + edi + 0xc], 0
mov byte [esp + 0x37], 0
je 0x411aea
mov byte [esp + 0x37], 1
fcom st(1)
fnstsw ax
test ah, 5
jp 0x411af7
fstp st(1)
jmp 0x411af9
fstp st(0)
lea eax, [ecx + edi]
fstp qword [eax]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x44]
add eax, dword [esp + 0x38]
mov edi, dword [esp + 0x4c]
mov dword [edi + 8], eax
mov al, byte [esp + 0x37]
mov byte [edi + 0xc], al
jmp 0x411b39
mov eax, dword [esp + 0x38]
fstp st(0)
inc ebx
mov ecx, ebx
shl ecx, 4
fstp qword [edi + ecx]
mov dword [edi + ecx + 8], eax
mov al, byte [esp + 0x37]
mov dword [esp + 0x3c], ebx
mov byte [edi + ecx + 0xc], al
mov edi, dword [esi]
fld qword [edx + edi + 0x10]
mov eax, dword [edx + edi + 0x18]
fld qword [ecx + edi]
mov dword [esp + 0x38], eax
mov al, byte [edx + edi + 0x1c]
fld st(1)
fsub st(1)
mov byte [esp + 0x37], al
mov eax, dword [ecx + edi + 8]
mov dword [esp + 0x44], eax
fabs
fcomp st(3)
fnstsw ax
test ah, 0x41
jp 0x411baa
cmp byte [esp + 0x37], 0
jne 0x411b7c
cmp byte [ecx + edi + 0xc], 0
mov byte [esp + 0x37], 0
je 0x411b81
mov byte [esp + 0x37], 1
fcom st(1)
fnstsw ax
test ah, 5
jp 0x411b9a
mov eax, dword [esp + 0x44]
fstp st(1)
add eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
jmp 0x411bba
mov eax, dword [esp + 0x44]
fstp st(0)
add eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
jmp 0x411bba
mov eax, dword [esp + 0x38]
fstp st(0)
inc ebx
mov ecx, ebx
mov dword [esp + 0x3c], ebx
shl ecx, 4
fstp qword [edi + ecx]
mov dword [edi + ecx + 8], eax
mov al, byte [esp + 0x37]
mov byte [edi + ecx + 0xc], al
mov edi, dword [esi]
fld qword [edx + edi + 0x20]
mov eax, dword [edx + edi + 0x28]
fld qword [ecx + edi]
mov dword [esp + 0x38], eax
mov al, byte [edx + edi + 0x2c]
fld st(1)
fsub st(1)
mov byte [esp + 0x37], al
mov eax, dword [ecx + edi + 8]
mov dword [esp + 0x44], eax
fabs
fcomp st(3)
fnstsw ax
test ah, 0x41
jp 0x411c3a
cmp byte [esp + 0x37], 0
jne 0x411c0c
cmp byte [ecx + edi + 0xc], 0
mov byte [esp + 0x37], 0
je 0x411c11
mov byte [esp + 0x37], 1
fcom st(1)
fnstsw ax
test ah, 5
jp 0x411c2a
mov eax, dword [esp + 0x44]
fstp st(1)
add eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
jmp 0x411c4a
mov eax, dword [esp + 0x44]
fstp st(0)
add eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
jmp 0x411c4a
mov eax, dword [esp + 0x38]
fstp st(0)
inc ebx
mov ecx, ebx
mov dword [esp + 0x3c], ebx
shl ecx, 4
fstp qword [edi + ecx]
mov dword [edi + ecx + 8], eax
mov al, byte [esp + 0x37]
mov byte [edi + ecx + 0xc], al
mov edi, dword [esi]
fld qword [edx + edi + 0x30]
mov eax, dword [edx + edi + 0x38]
fld qword [ecx + edi]
mov dword [esp + 0x38], eax
mov al, byte [edx + edi + 0x3c]
fld st(1)
fsub st(1)
mov byte [esp + 0x37], al
mov eax, dword [ecx + edi + 8]
mov dword [esp + 0x44], eax
fabs
fcomp st(3)
fnstsw ax
test ah, 0x41
jp 0x411cca
cmp byte [esp + 0x37], 0
jne 0x411c9c
cmp byte [ecx + edi + 0xc], 0
mov byte [esp + 0x37], 0
je 0x411ca1
mov byte [esp + 0x37], 1
fcom st(1)
fnstsw ax
test ah, 5
jp 0x411cba
mov eax, dword [esp + 0x44]
fstp st(1)
add eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
jmp 0x411cda
mov eax, dword [esp + 0x44]
fstp st(0)
add eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
jmp 0x411cda
mov eax, dword [esp + 0x38]
fstp st(0)
inc ebx
mov ecx, ebx
mov dword [esp + 0x3c], ebx
shl ecx, 4
fstp qword [edi + ecx]
mov dword [edi + ecx + 8], eax
mov al, byte [esp + 0x37]
add edx, 0x40
dec dword [esp + 0x40]
mov byte [edi + ecx + 0xc], al
jne 0x411aa3
mov ecx, dword [esp + 0x48]
cmp dword [esp + 0x50], ecx
jge 0x411dc2
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x48]
mov ecx, ebx
mov edi, edx
shl edi, 4
shl ecx, 4
sub eax, edx
mov dword [esp + 0x40], edi
mov dword [esp + 0x4c], eax
mov edx, dword [esi]
fld qword [edi + edx]
mov eax, dword [edi + edx + 8]
fld qword [edx + ecx]
mov dword [esp + 0x38], eax
mov al, byte [edi + edx + 0xc]
fld st(1)
fsub st(1)
mov byte [esp + 0x37], al
mov eax, dword [edx + ecx + 8]
mov dword [esp + 0x44], eax
fabs
fcomp st(3)
fnstsw ax
test ah, 0x41
jp 0x411d94
cmp byte [esp + 0x37], 0
jne 0x411d62
cmp byte [edx + ecx + 0xc], 0
mov byte [esp + 0x37], 0
je 0x411d67
mov byte [esp + 0x37], 1
fcom st(1)
fnstsw ax
test ah, 5
jp 0x411d82
mov edi, dword [esp + 0x40]
fstp st(1)
mov eax, edx
mov edx, dword [esp + 0x44]
add edx, dword [esp + 0x38]
jmp 0x411da2
mov edi, dword [esp + 0x40]
fstp st(0)
mov eax, edx
mov edx, dword [esp + 0x44]
add edx, dword [esp + 0x38]
jmp 0x411da2
inc ebx
fstp st(0)
mov ecx, ebx
mov eax, edx
mov edx, dword [esp + 0x38]
shl ecx, 4
mov dword [eax + ecx + 8], edx
mov dl, byte [esp + 0x37]
add edi, 0x10
dec dword [esp + 0x4c]
mov byte [eax + ecx + 0xc], dl
fstp qword [eax + ecx]
mov dword [esp + 0x40], edi
jne 0x411d20
fstp st(0)
inc ebx
mov dword [esp + 0x48], ebx
cmp ebx, 2
jl 0x411989
fld qword [0x57b8c8]
xor ecx, ecx
fst qword [esp + 0x98]
mov byte [esp + 0x37], 1
fstp qword [esp + 0xa0]
mov dword [esp + 0x40], 1
cmp ebx, 1
jle 0x412049
fld1
xor edx, edx
mov dword [esp + 0x3c], edx
jmp 0x411e10
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esi]
add ecx, dword [eax + edx + 8]
cmp byte [eax + edx + 0xc], 0
mov dword [esp + 0x4c], ecx
jne 0x411e38
and ecx, reloc.sescoi_gb_projz.dll_Ordinal_1
jns 0x411e2e
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x41202b
mov edx, dword [esp + 0x3c]
mov ecx, eax
fld qword [edx + ecx]
fcom st(1)
fnstsw ax
test ah, 0x41
je 0x412045
fld qword [edx + ecx + 0x10]
fldz
fcom st(1)
fnstsw ax
test ah, 0x41
jp 0x412025
fcom st(2)
fnstsw ax
test ah, 1
jne 0x411e6a
fstp st(2)
jmp 0x411e6c
fstp st(0)
fcom st(2)
fnstsw ax
test ah, 1
jne 0x411e79
fstp st(0)
fld st(1)
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x412027
cmp byte [esp + 0x37], 0
fstp st(2)
fld qword [esp + 0x68]
mov eax, dword [esp + 0x58]
fst qword [esp + 0xa8]
mov edi, dword [esp + 0x54]
fld qword [esp + 0x70]
fld st(1)
fmul st(3)
fxch st(1)
fmul st(3)
fld qword [eax]
faddp st(2)
fxch st(1)
fst qword [esp + 0x88]
fxch st(1)
fadd qword [eax + 8]
fst qword [esp + 0x90]
fxch st(2)
fst qword [esp + 0xa8]
fld qword [esp + 0x70]
fxch st(1)
fmul st(5)
fxch st(1)
fmulp st(5)
fld qword [eax + 8]
fld qword [eax]
faddp st(2)
fxch st(1)
fstp qword [esp + 0x78]
faddp st(4)
fxch st(3)
fstp qword [esp + 0x80]
je 0x411f83
fldz
mov byte [esp + 0x37], 0
fcom st(2)
fnstsw ax
fstp st(2)
test ah, 5
jp 0x411f29
fstp st(2)
lea ecx, [esp + 0x98]
push ecx
fstp st(0)
mov ecx, edi
fstp st(0)
call fcn.00408100
lea edx, [esp + 0x88]
push edx
jmp 0x411fa0
mov eax, dword [edi + 4]
cmp dword [edi], eax
jne 0x411f40
fstp st(2)
lea eax, [esp + 0x88]
fstp st(0)
push eax
fstp st(0)
jmp 0x411fa0
fxch st(2)
fst qword [esp + 0xa8]
fsub qword [eax - 0x10]
fxch st(2)
fsub qword [eax - 8]
fld st(2)
fmulp st(3)
fxch st(2)
faddp st(1)
fld st(1)
fmulp st(2)
faddp st(1)
fcomp qword [esp + 0x60]
fnstsw ax
test ah, 0x41
jne 0x411fa7
lea ecx, [esp + 0x98]
push ecx
mov ecx, edi
call fcn.00408100
lea edx, [esp + 0x88]
push edx
jmp 0x411fa0
fstp st(1)
lea eax, [esp + 0x98]
fstp st(1)
push eax
mov ecx, edi
fstp st(0)
call fcn.00408100
lea ecx, [esp + 0x88]
push ecx
mov ecx, edi
call fcn.00408100
mov eax, dword [edi + 4]
lea edx, [esp + 0x78]
cmp edx, eax
jae 0x411ff8
mov ecx, dword [edi]
cmp ecx, edx
ja 0x411ff8
mov ebx, dword [esp + 0x54]
mov edi, edx
sub edi, ecx
cmp eax, dword [ebx + 8]
jne 0x411fce
push 1
mov ecx, ebx
call fcn.00407560
mov eax, dword [ebx + 4]
and edi, 0xfffffff0
add edi, dword [ebx]
test eax, eax
je 0x411ff0
mov ecx, dword [edi]
mov dword [eax], ecx
mov edx, dword [edi + 4]
mov dword [eax + 4], edx
mov ecx, dword [edi + 8]
mov dword [eax + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [eax + 0xc], edx
add dword [ebx + 4], 0x10
fld1
jmp 0x41202b
cmp eax, dword [edi + 8]
jne 0x412006
push 1
mov ecx, edi
call fcn.00407560
mov eax, dword [edi + 4]
test eax, eax
je 0x41201d
fld qword [esp + 0x78]
fstp qword [eax]
fld qword [esp + 0x80]
fstp qword [eax + 8]
add dword [edi + 4], 0x10
fld1
jmp 0x41202b
fstp st(0)
fstp st(1)
fstp st(0)
mov eax, dword [esp + 0x40]
add dword [esp + 0x3c], 0x10
inc eax
mov dword [esp + 0x40], eax
cmp eax, dword [esp + 0x48]
jl 0x411e08
jmp 0x412047
fstp st(0)
fstp st(0)
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
sar eax, 4
sub eax, dword [esp + 0x54]
pop ebx
xor ecx, esp
call fcn.00551a8e
mov esp, ebp
pop ebp
ret 0x10