Function at 0x40b0a0
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.004174a0
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 [0x450110]
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 0x40b196
fstp qword [esp + 0x20]
jmp 0x40b1a9
fcom qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x40b1a7
fstp qword [esp + 0x10]
jmp 0x40b1a9
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 0x40b1d7
fstp qword [esp + 0x20]
jmp 0x40b1ea
fcom qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x40b1e8
fstp qword [esp + 0x10]
jmp 0x40b1ea
fstp st(0)
fadd qword [esp + 0x88]
fmulp st(1)
fcom qword [esp + 0x20]
fnstsw ax
test ah, 5
jp 0x40b204
fstp qword [esp + 0x20]
jmp 0x40b217
fcom qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x40b215
fstp qword [esp + 0x10]
jmp 0x40b217
fstp st(0)
fld qword [esp + 0x20]
fcomp qword [0x450118]
fnstsw ax
test ah, 5
jp 0x40b23c
mov eax, dword [esi + 0x1f4]
test eax, eax
jne 0x40b23c
fld qword [0x450118]
fstp qword [esp + 0x20]
fld qword [esp + 0x10]
fcomp qword [0x450110]
fnstsw ax
test ah, 0x41
jne 0x40b261
mov eax, dword [esi + 0x1f8]
test eax, eax
jne 0x40b261
fld qword [0x450110]
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 [0x452880]
fstp qword [esp + 0x6f0]
fld qword [esp + 0x10]
fstp qword [esp + 0xaf0]
fld qword [esp + 0x20]
fcomp qword [0x450118]
fnstsw ax
test ah, 5
jp 0x40b2e5
fld qword [esp + 0x90]
jmp 0x40b30f
fld qword [esp + 0x20]
fcomp qword [0x450110]
fld qword [esp + 0xd8]
fnstsw ax
test ah, 0x41
je 0x40b30f
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 [0x450118]
fld qword [esp + 0x28]
fucompp
fnstsw ax
test ah, 0x44
jp 0x40b3a1
fld qword [0x452e20]
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 0x40b5ad
fstp qword [esp + 0x40]
fld qword [esp + 0x10]
fld qword [esp + 0x40]
jmp 0x40b5a9
fld qword [0x450118]
fld qword [esp + 0x30]
fucompp
fld qword [0x450110]
fdiv qword [esp + 0x28]
fnstsw ax
test ah, 0x44
jp 0x40b400
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 0x40b5ad
fstp qword [esp + 0x40]
fld qword [esp + 0x10]
fld qword [esp + 0x40]
jmp 0x40b5a9
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 [0x452e20]
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 0x40b537
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 0x40b4c0
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 0x40b4de
mov edi, ecx
mov edx, ebx
fld qword [esi]
fcomp qword [esp + edx + 0x50]
fnstsw ax
test ah, 5
jp 0x40b4f2
mov edx, dword [esp + 0x3c]
lea edi, [ecx + 1]
fld qword [esi + 8]
fcomp qword [esp + edx + 0x50]
fnstsw ax
test ah, 5
jp 0x40b50c
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 0x40b524
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 0x40b4c0
cmp ecx, 4
jge 0x40b570
lea esi, [edi*8]
jmp 0x40b550
lea edx, [ecx*8]
fld qword [esp + edx + 0x50]
fcomp qword [esp + esi + 0x50]
fnstsw ax
test ah, 5
jp 0x40b56a
mov edi, ecx
mov esi, edx
inc ecx
cmp ecx, 4
jl 0x40b550
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 0x40b470
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 0x40b600
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 0x40b7a4
mov ebx, dword [esp + 0xbc]
jmp 0x40b630
fld qword [esp + edi*8 + 0x2f0]
fcomp qword [0x450118]
fnstsw ax
test ah, 5
jp 0x40b64d
fld qword [esp + 0x90]
jmp 0x40b67d
fld qword [esp + edi*8 + 0x2f0]
fcomp qword [0x450110]
fld qword [esp + 0xd8]
fnstsw ax
test ah, 0x41
je 0x40b67d
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 0x40b726
mov edi, edi
fld qword [esp + ecx*8 + 0x1f0]
fsub qword [esp + ecx*8 + 0xf0]
fabs
fcomp qword [0x452e18]
fnstsw ax
test ah, 0x41
je 0x40b75f
fld qword [esp + ecx*8 + 0x1f8]
fsub qword [esp + ecx*8 + 0xf8]
fabs
fcomp qword [0x452e18]
fnstsw ax
test ah, 0x41
je 0x40b754
fld qword [esp + ecx*8 + 0x200]
fsub qword [esp + ecx*8 + 0x100]
fabs
fcomp qword [0x452e18]
fnstsw ax
test ah, 0x41
je 0x40b757
fld qword [esp + ecx*8 + 0x208]
fsub qword [esp + ecx*8 + 0x108]
fabs
fcomp qword [0x452e18]
fnstsw ax
test ah, 0x41
je 0x40b75c
add ecx, 4
lea eax, [ebx - 3]
cmp ecx, eax
jl 0x40b6a0
cmp ecx, ebx
jge 0x40b761
lea ebx, [ebx]
fld qword [esp + ecx*8 + 0x1f0]
fsub qword [esp + ecx*8 + 0xf0]
fabs
fcomp qword [0x452e18]
fnstsw ax
test ah, 0x41
je 0x40b75f
inc ecx
cmp ecx, ebx
jl 0x40b730
jmp 0x40b75f
inc ecx
jmp 0x40b75f
add ecx, 2
jmp 0x40b75f
add ecx, 3
cmp ecx, ebx
je 0x40b7a0
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 [0x452880]
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 0x40b630
mov ebx, dword [esp + 0x74]
mov edx, dword [esp + 0xbc]
xor eax, eax
cmp edx, 4
jl 0x40b833
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 [0x452880]
fstp qword [esp + eax*8 + 0xd0]
fld qword [esp + eax*8 + 0x1d8]
fadd qword [esp + eax*8 + 0xd8]
fmul qword [0x452880]
fstp qword [esp + eax*8 + 0xd8]
fld qword [esp + eax*8 + 0x1e0]
fadd qword [esp + eax*8 + 0xe0]
fmul qword [0x452880]
fstp qword [esp + eax*8 + 0xe0]
fld qword [esp + eax*8 + 0x1e8]
fadd qword [esp + eax*8 + 0xe8]
fmul qword [0x452880]
fstp qword [esp + eax*8 + 0xe8]
jl 0x40b7c0
cmp eax, edx
jge 0x40b860
jmp 0x40b840
fld qword [esp + eax*8 + 0x1f0]
inc eax
cmp eax, edx
fadd qword [esp + eax*8 + 0xe8]
fmul qword [0x452880]
fstp qword [esp + eax*8 + 0xe8]
jl 0x40b840
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 [0x450118]
fld qword [esp + 0x28]
fucompp
fnstsw ax
test ah, 0x44
jp 0x40b8e0
fld qword [0x452e20]
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 0x40baf1
fstp qword [esp + 0x40]
fld qword [esp + 0x10]
fld qword [esp + 0x40]
jmp 0x40baed
fld qword [0x450118]
fld qword [esp + 0x30]
fucompp
fld qword [0x450110]
fdiv qword [esp + 0x28]
fnstsw ax
test ah, 0x44
jp 0x40b93f
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 0x40baf1
fstp qword [esp + 0x40]
fld qword [esp + 0x10]
fld qword [esp + 0x40]
jmp 0x40baed
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 [0x452e20]
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 0x40b9b0
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x3c], 4
lea ecx, [edi + 1]
mov dword [esp + 0x10], ecx
jl 0x40ba77
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 0x40ba00
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 0x40ba1e
mov edi, ecx
mov edx, ebx
fld qword [esi]
fcomp qword [esp + edx + 0x50]
fnstsw ax
test ah, 5
jp 0x40ba32
mov edx, dword [esp + 0x4c]
lea edi, [ecx + 1]
fld qword [esi + 8]
fcomp qword [esp + edx + 0x50]
fnstsw ax
test ah, 5
jp 0x40ba4c
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 0x40ba64
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 0x40ba00
cmp ecx, 4
jge 0x40bab0
lea esi, [edi*8]
jmp 0x40ba90
lea edx, [ecx*8]
fld qword [esp + edx + 0x50]
fcomp qword [esp + esi + 0x50]
fnstsw ax
test ah, 5
jp 0x40baaa
mov edi, ecx
mov esi, edx
inc ecx
cmp ecx, 4
jl 0x40ba90
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 0x40b9b0
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.00416e60
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.00416e80
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.00416e80
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.00416e80
mov esi, dword [ebx + 0x18]
mov ecx, dword [esi + 0x31c]
call fcn.00416fc0
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.00419890
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 0x40b600
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4