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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xef4
push ebx
push esi
push edi
lea eax, [esp + 0xb0]
push eax
lea edx, [esp + 0xc4]
push edx
lea eax, [esp + 0xd0]
push eax
lea edx, [esp + 0xdc]
mov dword [esp + 0x80], ecx
mov ecx, dword [ecx + 0x18]
push edx
call fcn.004175c0
mov esi, dword [ebp + 8]
fld qword [esi + 0x140]
fstp qword [esp + 0xa8]
fld qword [esi + 0x148]
fstp qword [esp + 0xa0]
fld qword [esi + 0x150]
fsub qword [esp + 0xa8]
fstp qword [esp + 0x28]
fld qword [esi + 0x158]
fsub qword [esp + 0xa0]
fst qword [esp + 0x30]
fmul qword [esp + 0x30]
fld qword [esp + 0x28]
fmul qword [esp + 0x28]
faddp st(1)
fdivr qword [0x44b110]
fld qword [esp + 0xd0]
fsub qword [esp + 0xa8]
fmul qword [esp + 0x28]
fld qword [esp + 0xc8]
fsub qword [esp + 0xa0]
fmul qword [esp + 0x30]
fst qword [esp + 0x98]
fadd st(1)
fmul st(2)
fst qword [esp + 0x10]
fstp qword [esp + 0x20]
fld qword [esp + 0xb0]
fsub qword [esp + 0xa0]
fmul qword [esp + 0x30]
fst qword [esp + 0x88]
faddp st(1)
fmul st(1)
fcom qword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x40b1a6
fstp qword [esp + 0x20]
jmp 0x40b1b9
fcom qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x40b1b7
fstp qword [esp + 0x10]
jmp 0x40b1b9
fstp st(0)
fld qword [esp + 0xc0]
fsub qword [esp + 0xa8]
fmul qword [esp + 0x28]
fld qword [esp + 0x98]
fadd st(1)
fmul st(2)
fcom qword [esp + 0x20]
fnstsw ax
test ah, 5
jp 0x40b1e7
fstp qword [esp + 0x20]
jmp 0x40b1fa
fcom qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x40b1f8
fstp qword [esp + 0x10]
jmp 0x40b1fa
fstp st(0)
fadd qword [esp + 0x88]
fmulp st(1)
fcom qword [esp + 0x20]
fnstsw ax
test ah, 5
jp 0x40b214
fstp qword [esp + 0x20]
jmp 0x40b227
fcom qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x40b225
fstp qword [esp + 0x10]
jmp 0x40b227
fstp st(0)
fld qword [esp + 0x20]
fcomp qword [0x44b118]
fnstsw ax
test ah, 5
jp 0x40b24c
mov eax, dword [esi + 0x1f4]
test eax, eax
jne 0x40b24c
fld qword [0x44b118]
fstp qword [esp + 0x20]
fld qword [esp + 0x10]
fcomp qword [0x44b110]
fnstsw ax
test ah, 0x41
jne 0x40b271
mov eax, dword [esi + 0x1f8]
test eax, eax
jne 0x40b271
fld qword [0x44b110]
fstp qword [esp + 0x10]
fld qword [esi + 0x160]
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
fstp qword [esp + 0x90]
fld qword [esi + 0x168]
fstp qword [esp + 0xd8]
call dword [eax + 0x18]
fld qword [esp + 0x20]
mov dword [esp + 0xbc], eax
fstp qword [esp + 0x2f0]
mov dword [esp + 0xaf8], 0x80
fld qword [esp + 0x10]
mov dword [esp + 0xcf8], 0x100
fadd qword [esp + 0x20]
fmul qword [0x44d880]
fstp qword [esp + 0x6f0]
fld qword [esp + 0x10]
fstp qword [esp + 0xaf0]
fld qword [esp + 0x20]
fcomp qword [0x44b118]
fnstsw ax
test ah, 5
jp 0x40b2f5
fld qword [esp + 0x90]
jmp 0x40b31f
fld qword [esp + 0x20]
fcomp qword [0x44b110]
fld qword [esp + 0xd8]
fnstsw ax
test ah, 0x41
je 0x40b31f
fsub qword [esp + 0x90]
fmul qword [esp + 0x20]
fadd qword [esp + 0x90]
lea ecx, [esp + 0xf0]
push ecx
sub esp, 8
mov ecx, esi
fstp qword [esp]
call fcn.00416500
fld qword [esp + 0x20]
fmul qword [esp + 0x28]
fadd qword [esp + 0xa8]
fld qword [esp + 0x20]
fmul qword [esp + 0x30]
fadd qword [esp + 0xa0]
fld qword [0x44b118]
fld qword [esp + 0x28]
fucompp
fnstsw ax
test ah, 0x44
jp 0x40b3b1
fld qword [0x44de20]
fdiv qword [esp + 0x30]
fstp qword [esp + 0x10]
fld qword [esp + 0xd0]
fsub st(2)
fmul qword [esp + 0x10]
fld qword [esp + 0xc0]
fsub st(3)
fmul qword [esp + 0x10]
fstp qword [esp + 0x10]
fcom qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x40b5bd
fstp qword [esp + 0x40]
fld qword [esp + 0x10]
fld qword [esp + 0x40]
jmp 0x40b5b9
fld qword [0x44b118]
fld qword [esp + 0x30]
fucompp
fld qword [0x44b110]
fdiv qword [esp + 0x28]
fnstsw ax
test ah, 0x44
jp 0x40b410
fstp qword [esp + 0x10]
fld qword [esp + 0xc8]
fsub st(1)
fmul qword [esp + 0x10]
fld qword [esp + 0xb0]
fsub st(2)
fmul qword [esp + 0x10]
fstp qword [esp + 0x10]
fcom qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x40b5bd
fstp qword [esp + 0x40]
fld qword [esp + 0x10]
fld qword [esp + 0x40]
jmp 0x40b5b9
fld qword [esp + 0xc8]
mov eax, 0x10
fsub st(2)
lea edx, [esp + 0x50]
sub eax, edx
mov dword [esp + 0x1c], 0
fmul st(1)
mov dword [esp + 0x4c], 3
mov dword [esp + 0x78], eax
fstp qword [esp + 0x50]
fld qword [esp + 0xb0]
fsub st(2)
fmul st(1)
fstp qword [esp + 0x58]
fstp st(0)
fld qword [0x44de20]
fdiv qword [esp + 0x30]
fld qword [esp + 0xd0]
fsub st(3)
fmul st(1)
fstp qword [esp + 0x60]
fld qword [esp + 0xc0]
fsub st(3)
fmul st(1)
fstp qword [esp + 0x68]
fstp st(0)
lea esp, [esp]
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x4c], 4
lea ecx, [edi + 1]
mov dword [esp + 0x10], ecx
jl 0x40b547
mov eax, dword [esp + 0x78]
mov edx, edi
shl edx, 3
add eax, edx
lea eax, [esp + eax + 0x50]
mov dword [esp + 0x3c], eax
lea esi, [esp + 0x58]
mov eax, 0x10
sub eax, esi
mov dword [esp + 0x80], eax
mov eax, 0x18
sub eax, esi
mov dword [esp + 0x40], eax
jmp 0x40b4d0
lea ebx, [ecx*8]
fld qword [esp + ebx + 0x50]
lea esi, [esp + ebx + 0x58]
fcomp qword [esp + edx + 0x50]
fnstsw ax
test ah, 5
jp 0x40b4ee
mov edi, ecx
mov edx, ebx
fld qword [esi]
fcomp qword [esp + edx + 0x50]
fnstsw ax
test ah, 5
jp 0x40b502
mov edx, dword [esp + 0x3c]
lea edi, [ecx + 1]
fld qword [esi + 8]
fcomp qword [esp + edx + 0x50]
fnstsw ax
test ah, 5
jp 0x40b51c
mov edx, dword [esp + 0x80]
lea edi, [ecx + 2]
add edx, esi
fld qword [esi + 0x10]
fcomp qword [esp + edx + 0x50]
fnstsw ax
test ah, 5
jp 0x40b534
mov eax, dword [esp + 0x40]
lea edi, [ecx + 3]
lea edx, [eax + esi]
mov eax, dword [esp + 0x3c]
add eax, 0x20
add ecx, 4
cmp eax, 0x10
mov dword [esp + 0x3c], eax
jl 0x40b4d0
cmp ecx, 4
jge 0x40b580
lea esi, [edi*8]
jmp 0x40b560
lea edx, [ecx*8]
fld qword [esp + edx + 0x50]
fcomp qword [esp + esi + 0x50]
fnstsw ax
test ah, 5
jp 0x40b57a
mov edi, ecx
mov esi, edx
inc ecx
cmp ecx, 4
jl 0x40b560
mov eax, dword [esp + 0x1c]
fld qword [esp + eax*8 + 0x50]
mov ecx, dword [esp + 0x10]
fld qword [esp + edi*8 + 0x50]
lea eax, [esp + eax*8 + 0x50]
lea edi, [esp + edi*8 + 0x50]
fstp qword [eax]
mov eax, dword [esp + 0x4c]
dec eax
fstp qword [edi]
test eax, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x4c], eax
jg 0x40b480
fld qword [esp + 0x58]
fld qword [esp + 0x60]
fstp qword [esp + 0x10]
fld qword [esp + 0x30]
mov ebx, dword [esp + 0x74]
fmul st(1)
xor esi, esi
fsubr st(3)
fstp qword [esp + 0xe0]
fmul qword [esp + 0x28]
fadd st(1)
fstp qword [esp + 0xe8]
fld qword [esp + 0x10]
fmul qword [esp + 0x30]
fsubr st(2)
fstp qword [esp + 0x88]
fld qword [esp + 0x10]
fmul qword [esp + 0x28]
fadd st(1)
fstp qword [esp + 0x98]
fstp st(0)
fstp st(0)
jmp 0x40b610
mov edi, dword [esp + esi*4 + 0xaf8]
lea eax, [esp + esi*4 + 0xaf8]
mov dword [esp + 0x20], eax
lea eax, [esi + 1]
cmp edi, eax
jle 0x40b7b4
mov ebx, dword [esp + 0xbc]
jmp 0x40b640
fld qword [esp + edi*8 + 0x2f0]
fcomp qword [0x44b118]
fnstsw ax
test ah, 5
jp 0x40b65d
fld qword [esp + 0x90]
jmp 0x40b68d
fld qword [esp + edi*8 + 0x2f0]
fcomp qword [0x44b110]
fld qword [esp + 0xd8]
fnstsw ax
test ah, 0x41
je 0x40b68d
fsub qword [esp + 0x90]
fmul qword [esp + edi*8 + 0x2f0]
fadd qword [esp + 0x90]
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x1f0]
push edx
sub esp, 8
fstp qword [esp]
call fcn.00416500
xor ecx, ecx
cmp ebx, 4
jl 0x40b736
mov edi, edi
fld qword [esp + ecx*8 + 0x1f0]
fsub qword [esp + ecx*8 + 0xf0]
fabs
fcomp qword [0x44de18]
fnstsw ax
test ah, 0x41
je 0x40b76f
fld qword [esp + ecx*8 + 0x1f8]
fsub qword [esp + ecx*8 + 0xf8]
fabs
fcomp qword [0x44de18]
fnstsw ax
test ah, 0x41
je 0x40b764
fld qword [esp + ecx*8 + 0x200]
fsub qword [esp + ecx*8 + 0x100]
fabs
fcomp qword [0x44de18]
fnstsw ax
test ah, 0x41
je 0x40b767
fld qword [esp + ecx*8 + 0x208]
fsub qword [esp + ecx*8 + 0x108]
fabs
fcomp qword [0x44de18]
fnstsw ax
test ah, 0x41
je 0x40b76c
add ecx, 4
lea eax, [ebx - 3]
cmp ecx, eax
jl 0x40b6b0
cmp ecx, ebx
jge 0x40b771
lea ebx, [ebx]
fld qword [esp + ecx*8 + 0x1f0]
fsub qword [esp + ecx*8 + 0xf0]
fabs
fcomp qword [0x44de18]
fnstsw ax
test ah, 0x41
je 0x40b76f
inc ecx
cmp ecx, ebx
jl 0x40b740
jmp 0x40b76f
inc ecx
jmp 0x40b76f
add ecx, 2
jmp 0x40b76f
add ecx, 3
cmp ecx, ebx
je 0x40b7b0
fld qword [esp + esi*8 + 0x2f0]
mov ecx, dword [esp + 0x20]
fadd qword [esp + edi*8 + 0x2f0]
lea eax, [esi + edi]
cdq
sub eax, edx
sar eax, 1
fmul qword [0x44d880]
mov dword [ecx], eax
lea ecx, [esi + 1]
cmp eax, ecx
mov dword [esp + eax*4 + 0xaf8], edi
fstp qword [esp + eax*8 + 0x2f0]
mov edi, eax
jg 0x40b640
mov ebx, dword [esp + 0x74]
mov edx, dword [esp + 0xbc]
xor eax, eax
cmp edx, 4
jl 0x40b843
lea ecx, [edx - 3]
lea esp, [esp]
fld qword [esp + eax*8 + 0x1f0]
add eax, 4
cmp eax, ecx
fadd qword [esp + eax*8 + 0xd0]
fmul qword [0x44d880]
fstp qword [esp + eax*8 + 0xd0]
fld qword [esp + eax*8 + 0x1d8]
fadd qword [esp + eax*8 + 0xd8]
fmul qword [0x44d880]
fstp qword [esp + eax*8 + 0xd8]
fld qword [esp + eax*8 + 0x1e0]
fadd qword [esp + eax*8 + 0xe0]
fmul qword [0x44d880]
fstp qword [esp + eax*8 + 0xe0]
fld qword [esp + eax*8 + 0x1e8]
fadd qword [esp + eax*8 + 0xe8]
fmul qword [0x44d880]
fstp qword [esp + eax*8 + 0xe8]
jl 0x40b7d0
cmp eax, edx
jge 0x40b870
jmp 0x40b850
fld qword [esp + eax*8 + 0x1f0]
inc eax
cmp eax, edx
fadd qword [esp + eax*8 + 0xe8]
fmul qword [0x44d880]
fstp qword [esp + eax*8 + 0xe8]
jl 0x40b850
fld qword [esp + 0x28]
lea eax, [esp + edi*8 + 0x2f0]
fmul qword [eax]
fadd qword [esp + 0xa8]
fld qword [esp + 0x30]
fmul qword [eax]
fadd qword [esp + 0xa0]
fld qword [0x44b118]
fld qword [esp + 0x28]
fucompp
fnstsw ax
test ah, 0x44
jp 0x40b8f0
fld qword [0x44de20]
fdiv qword [esp + 0x30]
fstp qword [esp + 0x10]
fld qword [esp + 0xd0]
fsub st(2)
fmul qword [esp + 0x10]
fld qword [esp + 0xc0]
fsub st(3)
fmul qword [esp + 0x10]
fstp qword [esp + 0x10]
fcom qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x40bb01
fstp qword [esp + 0x40]
fld qword [esp + 0x10]
fld qword [esp + 0x40]
jmp 0x40bafd
fld qword [0x44b118]
fld qword [esp + 0x30]
fucompp
fld qword [0x44b110]
fdiv qword [esp + 0x28]
fnstsw ax
test ah, 0x44
jp 0x40b94f
fstp qword [esp + 0x10]
fld qword [esp + 0xc8]
fsub st(1)
fmul qword [esp + 0x10]
fld qword [esp + 0xb0]
fsub st(2)
fmul qword [esp + 0x10]
fstp qword [esp + 0x10]
fcom qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x40bb01
fstp qword [esp + 0x40]
fld qword [esp + 0x10]
fld qword [esp + 0x40]
jmp 0x40bafd
fld qword [esp + 0xc8]
mov eax, 0x10
fsub st(2)
lea edx, [esp + 0x50]
sub eax, edx
mov dword [esp + 0x1c], 0
fmul st(1)
mov dword [esp + 0x3c], 3
mov dword [esp + 0x78], eax
fstp qword [esp + 0x50]
fld qword [esp + 0xb0]
fsub st(2)
fmul st(1)
fstp qword [esp + 0x58]
fstp st(0)
fld qword [0x44de20]
fdiv qword [esp + 0x30]
fld qword [esp + 0xd0]
fsub st(3)
fmul st(1)
fstp qword [esp + 0x60]
fld qword [esp + 0xc0]
fsub st(3)
fmul st(1)
fstp qword [esp + 0x68]
fstp st(0)
jmp 0x40b9c0
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x3c], 4
lea ecx, [edi + 1]
mov dword [esp + 0x10], ecx
jl 0x40ba87
mov eax, dword [esp + 0x78]
mov edx, edi
shl edx, 3
add eax, edx
lea eax, [esp + eax + 0x50]
mov dword [esp + 0x4c], eax
lea esi, [esp + 0x58]
mov eax, 0x10
sub eax, esi
mov dword [esp + 0x80], eax
mov eax, 0x18
sub eax, esi
mov dword [esp + 0x40], eax
jmp 0x40ba10
lea ebx, [ecx*8]
fld qword [esp + ebx + 0x50]
lea esi, [esp + ebx + 0x58]
fcomp qword [esp + edx + 0x50]
fnstsw ax
test ah, 5
jp 0x40ba2e
mov edi, ecx
mov edx, ebx
fld qword [esi]
fcomp qword [esp + edx + 0x50]
fnstsw ax
test ah, 5
jp 0x40ba42
mov edx, dword [esp + 0x4c]
lea edi, [ecx + 1]
fld qword [esi + 8]
fcomp qword [esp + edx + 0x50]
fnstsw ax
test ah, 5
jp 0x40ba5c
mov edx, dword [esp + 0x80]
lea edi, [ecx + 2]
add edx, esi
fld qword [esi + 0x10]
fcomp qword [esp + edx + 0x50]
fnstsw ax
test ah, 5
jp 0x40ba74
mov eax, dword [esp + 0x40]
lea edi, [ecx + 3]
lea edx, [eax + esi]
mov eax, dword [esp + 0x4c]
add eax, 0x20
add ecx, 4
cmp eax, 0x10
mov dword [esp + 0x4c], eax
jl 0x40ba10
cmp ecx, 4
jge 0x40bac0
lea esi, [edi*8]
jmp 0x40baa0
lea edx, [ecx*8]
fld qword [esp + edx + 0x50]
fcomp qword [esp + esi + 0x50]
fnstsw ax
test ah, 5
jp 0x40baba
mov edi, ecx
mov esi, edx
inc ecx
cmp ecx, 4
jl 0x40baa0
mov eax, dword [esp + 0x1c]
fld qword [esp + eax*8 + 0x50]
mov ecx, dword [esp + 0x10]
fld qword [esp + edi*8 + 0x50]
lea eax, [esp + eax*8 + 0x50]
lea edi, [esp + edi*8 + 0x50]
fstp qword [eax]
mov eax, dword [esp + 0x3c]
dec eax
fstp qword [edi]
test eax, eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x3c], eax
jg 0x40b9c0
fld qword [esp + 0x58]
mov ebx, dword [esp + 0x74]
fld qword [esp + 0x60]
fstp qword [esp + 0x10]
fld qword [esp + 0x30]
mov edi, dword [ebx + 0x18]
fmul st(1)
add edi, 0x68
mov ecx, 0x40
lea esi, [esp + 0xf0]
fsubr st(3)
rep movsd dword es:[edi], dword [esi]
fstp qword [esp + 0x40]
fmul qword [esp + 0x28]
fadd st(1)
fstp qword [esp + 0x80]
mov ecx, dword [ebx + 4]
fld qword [esp + 0x10]
mov eax, dword [ebx + 0x18]
fmul qword [esp + 0x30]
mov edx, dword [ecx]
push eax
fsubr st(2)
fstp qword [esp + 0x7c]
fld qword [esp + 0x14]
fmul qword [esp + 0x2c]
fadd st(1)
fstp qword [esp + 0x14]
fstp st(0)
fstp st(0)
call dword [edx + 0x58]
mov eax, dword [ebx + 0x18]
fld qword [esp + 0xe8]
mov ecx, dword [eax + 0x31c]
fstp qword [eax + 0x328]
fld qword [esp + 0xe0]
sub esp, 0x10
fstp qword [eax + 0x320]
fld qword [esp + 0xf8]
fstp qword [esp + 8]
fld qword [esp + 0xf0]
fstp qword [esp]
call fcn.00416f80
mov eax, dword [ebx + 0x18]
fld qword [esp + 0x98]
mov ecx, dword [eax + 0x31c]
fstp qword [eax + 0x328]
fld qword [esp + 0x88]
sub esp, 0x10
fstp qword [eax + 0x320]
fld qword [esp + 0xa8]
fstp qword [esp + 8]
fld qword [esp + 0x98]
fstp qword [esp]
call fcn.00416fa0
mov eax, dword [ebx + 0x18]
fld qword [esp + 0x10]
mov ecx, dword [eax + 0x31c]
fstp qword [eax + 0x328]
fld qword [esp + 0x78]
sub esp, 0x10
fstp qword [eax + 0x320]
fld qword [esp + 0x20]
fstp qword [esp + 8]
fld qword [esp + 0x88]
fstp qword [esp]
call fcn.00416fa0
mov eax, dword [ebx + 0x18]
fld qword [esp + 0x80]
mov ecx, dword [eax + 0x31c]
fstp qword [eax + 0x328]
fld qword [esp + 0x40]
sub esp, 0x10
fstp qword [eax + 0x320]
fld qword [esp + 0x90]
fstp qword [esp + 8]
fld qword [esp + 0x50]
fstp qword [esp]
call fcn.00416fa0
mov esi, dword [ebx + 0x18]
mov ecx, dword [esi + 0x31c]
call fcn.004170e0
mov eax, dword [esi + 0x31c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [eax + 0x18]
mov ecx, dword [edx + ecx*4 - 4]
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx]
fld qword [ecx + edx*8 - 8]
fstp qword [esi + 0x320]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + edx*4 - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 4]
fld qword [edx + ecx*8 - 8]
fstp qword [esi + 0x328]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0x18]
mov eax, dword [ecx]
push edx
call dword [eax + 0x90]
mov ecx, dword [ebx + 0x18]
call fcn.00419960
fld qword [esp + 0x40]
mov eax, dword [esp + 0x20]
fstp qword [esp + 0xe0]
fld qword [esp + 0x80]
mov ecx, 0x40
fstp qword [esp + 0xe8]
lea esi, [esp + 0x1f0]
fld qword [esp + 0x78]
lea edi, [esp + 0xf0]
fstp qword [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
fld qword [esp + 0x10]
fstp qword [esp + 0x98]
mov esi, dword [eax]
cmp esi, 0x100
jl 0x40b610
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4