Function at 0x40ade0
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.00416860
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 [0x449110]
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 0x40aed6
fstp qword [esp + 0x20]
jmp 0x40aee9
fcom qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x40aee7
fstp qword [esp + 0x10]
jmp 0x40aee9
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 0x40af17
fstp qword [esp + 0x20]
jmp 0x40af2a
fcom qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x40af28
fstp qword [esp + 0x10]
jmp 0x40af2a
fstp st(0)
fadd qword [esp + 0x88]
fmulp st(1)
fcom qword [esp + 0x20]
fnstsw ax
test ah, 5
jp 0x40af44
fstp qword [esp + 0x20]
jmp 0x40af57
fcom qword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x40af55
fstp qword [esp + 0x10]
jmp 0x40af57
fstp st(0)
fld qword [esp + 0x20]
fcomp qword [0x449118]
fnstsw ax
test ah, 5
jp 0x40af7c
mov eax, dword [esi + 0x1f4]
test eax, eax
jne 0x40af7c
fld qword [0x449118]
fstp qword [esp + 0x20]
fld qword [esp + 0x10]
fcomp qword [0x449110]
fnstsw ax
test ah, 0x41
jne 0x40afa1
mov eax, dword [esi + 0x1f8]
test eax, eax
jne 0x40afa1
fld qword [0x449110]
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 [0x44b880]
fstp qword [esp + 0x6f0]
fld qword [esp + 0x10]
fstp qword [esp + 0xaf0]
fld qword [esp + 0x20]
fcomp qword [0x449118]
fnstsw ax
test ah, 5
jp 0x40b025
fld qword [esp + 0x90]
jmp 0x40b04f
fld qword [esp + 0x20]
fcomp qword [0x449110]
fld qword [esp + 0xd8]
fnstsw ax
test ah, 0x41
je 0x40b04f
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.00415c60
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 [0x449118]
fld qword [esp + 0x28]
fucompp
fnstsw ax
test ah, 0x44
jp 0x40b0e1
fld qword [0x44be10]
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 0x40b2ed
fstp qword [esp + 0x40]
fld qword [esp + 0x10]
fld qword [esp + 0x40]
jmp 0x40b2e9
fld qword [0x449118]
fld qword [esp + 0x30]
fucompp
fld qword [0x449110]
fdiv qword [esp + 0x28]
fnstsw ax
test ah, 0x44
jp 0x40b140
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 0x40b2ed
fstp qword [esp + 0x40]
fld qword [esp + 0x10]
fld qword [esp + 0x40]
jmp 0x40b2e9
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 [0x44be10]
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 0x40b277
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 0x40b200
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 0x40b21e
mov edi, ecx
mov edx, ebx
fld qword [esi]
fcomp qword [esp + edx + 0x50]
fnstsw ax
test ah, 5
jp 0x40b232
mov edx, dword [esp + 0x3c]
lea edi, [ecx + 1]
fld qword [esi + 8]
fcomp qword [esp + edx + 0x50]
fnstsw ax
test ah, 5
jp 0x40b24c
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 0x40b264
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 0x40b200
cmp ecx, 4
jge 0x40b2b0
lea esi, [edi*8]
jmp 0x40b290
lea edx, [ecx*8]
fld qword [esp + edx + 0x50]
fcomp qword [esp + esi + 0x50]
fnstsw ax
test ah, 5
jp 0x40b2aa
mov edi, ecx
mov esi, edx
inc ecx
cmp ecx, 4
jl 0x40b290
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 0x40b1b0
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 0x40b340
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 0x40b4e4
mov ebx, dword [esp + 0xbc]
jmp 0x40b370
fld qword [esp + edi*8 + 0x2f0]
fcomp qword [0x449118]
fnstsw ax
test ah, 5
jp 0x40b38d
fld qword [esp + 0x90]
jmp 0x40b3bd
fld qword [esp + edi*8 + 0x2f0]
fcomp qword [0x449110]
fld qword [esp + 0xd8]
fnstsw ax
test ah, 0x41
je 0x40b3bd
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.00415c60
xor ecx, ecx
cmp ebx, 4
jl 0x40b466
mov edi, edi
fld qword [esp + ecx*8 + 0x1f0]
fsub qword [esp + ecx*8 + 0xf0]
fabs
fcomp qword [0x44be08]
fnstsw ax
test ah, 0x41
je 0x40b49f
fld qword [esp + ecx*8 + 0x1f8]
fsub qword [esp + ecx*8 + 0xf8]
fabs
fcomp qword [0x44be08]
fnstsw ax
test ah, 0x41
je 0x40b494
fld qword [esp + ecx*8 + 0x200]
fsub qword [esp + ecx*8 + 0x100]
fabs
fcomp qword [0x44be08]
fnstsw ax
test ah, 0x41
je 0x40b497
fld qword [esp + ecx*8 + 0x208]
fsub qword [esp + ecx*8 + 0x108]
fabs
fcomp qword [0x44be08]
fnstsw ax
test ah, 0x41
je 0x40b49c
add ecx, 4
lea eax, [ebx - 3]
cmp ecx, eax
jl 0x40b3e0
cmp ecx, ebx
jge 0x40b4a1
lea ebx, [ebx]
fld qword [esp + ecx*8 + 0x1f0]
fsub qword [esp + ecx*8 + 0xf0]
fabs
fcomp qword [0x44be08]
fnstsw ax
test ah, 0x41
je 0x40b49f
inc ecx
cmp ecx, ebx
jl 0x40b470
jmp 0x40b49f
inc ecx
jmp 0x40b49f
add ecx, 2
jmp 0x40b49f
add ecx, 3
cmp ecx, ebx
je 0x40b4e0
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 [0x44b880]
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 0x40b370
mov ebx, dword [esp + 0x74]
mov edx, dword [esp + 0xbc]
xor eax, eax
cmp edx, 4
jl 0x40b573
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 [0x44b880]
fstp qword [esp + eax*8 + 0xd0]
fld qword [esp + eax*8 + 0x1d8]
fadd qword [esp + eax*8 + 0xd8]
fmul qword [0x44b880]
fstp qword [esp + eax*8 + 0xd8]
fld qword [esp + eax*8 + 0x1e0]
fadd qword [esp + eax*8 + 0xe0]
fmul qword [0x44b880]
fstp qword [esp + eax*8 + 0xe0]
fld qword [esp + eax*8 + 0x1e8]
fadd qword [esp + eax*8 + 0xe8]
fmul qword [0x44b880]
fstp qword [esp + eax*8 + 0xe8]
jl 0x40b500
cmp eax, edx
jge 0x40b5a0
jmp 0x40b580
fld qword [esp + eax*8 + 0x1f0]
inc eax
cmp eax, edx
fadd qword [esp + eax*8 + 0xe8]
fmul qword [0x44b880]
fstp qword [esp + eax*8 + 0xe8]
jl 0x40b580
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 [0x449118]
fld qword [esp + 0x28]
fucompp
fnstsw ax
test ah, 0x44
jp 0x40b620
fld qword [0x44be10]
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 0x40b831
fstp qword [esp + 0x40]
fld qword [esp + 0x10]
fld qword [esp + 0x40]
jmp 0x40b82d
fld qword [0x449118]
fld qword [esp + 0x30]
fucompp
fld qword [0x449110]
fdiv qword [esp + 0x28]
fnstsw ax
test ah, 0x44
jp 0x40b67f
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 0x40b831
fstp qword [esp + 0x40]
fld qword [esp + 0x10]
fld qword [esp + 0x40]
jmp 0x40b82d
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 [0x44be10]
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 0x40b6f0
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0x3c], 4
lea ecx, [edi + 1]
mov dword [esp + 0x10], ecx
jl 0x40b7b7
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 0x40b740
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 0x40b75e
mov edi, ecx
mov edx, ebx
fld qword [esi]
fcomp qword [esp + edx + 0x50]
fnstsw ax
test ah, 5
jp 0x40b772
mov edx, dword [esp + 0x4c]
lea edi, [ecx + 1]
fld qword [esi + 8]
fcomp qword [esp + edx + 0x50]
fnstsw ax
test ah, 5
jp 0x40b78c
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 0x40b7a4
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 0x40b740
cmp ecx, 4
jge 0x40b7f0
lea esi, [edi*8]
jmp 0x40b7d0
lea edx, [ecx*8]
fld qword [esp + edx + 0x50]
fcomp qword [esp + esi + 0x50]
fnstsw ax
test ah, 5
jp 0x40b7ea
mov edi, ecx
mov esi, edx
inc ecx
cmp ecx, 4
jl 0x40b7d0
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 0x40b6f0
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.004165c0
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.004165e0
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.004165e0
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.004165e0
mov esi, dword [ebx + 0x18]
mov ecx, dword [esi + 0x31c]
call fcn.00416720
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.00418c00
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 0x40b340
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4