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

Disassembly:
sub esp, 0x6c
push ebx
mov ebx, dword [esp + 0x78]
push ebp
push esi
mov esi, ebx
push edi
shl esi, 4
push esi
call fcn.0041b7b0
add esp, 4
push esi
mov ebp, eax
call fcn.0041b7b0
fldz
fld st(0)
mov esi, eax
mov eax, dword [esp + 0x90]
fst qword [esp + 0x34]
fxch st(1)
add esp, 4
fst qword [esp + 0x28]
mov dword [esp + 0x20], esi
fst qword [esp + 0x38]
fild dword [esp + 0x84]
fadd qword [0x43f0b0]
fstp qword [0x43f0b0]
fstp qword [eax]
mov eax, dword [esp + 0x88]
test eax, eax
je 0x404c45
push 1
fstp st(0)
push eax
push ebx
call fcn.00417e20
fld qword [esp + 0x3c]
add esp, 0xc
fld qword [0x43f0c0]
fst qword [esp + 0x68]
fld qword [0x43f0c8]
fst qword [esp + 0x70]
fld st(1)
fst qword [esp + 0x48]
fld st(1)
fst qword [esp + 0x50]
test ebx, ebx
jle 0x404db8
mov edx, dword [esp + 0x80]
fstp st(3)
mov eax, dword [esp + 0x88]
fstp st(0)
sub eax, edx
fstp st(0)
mov ecx, esi
fstp st(0)
sub ecx, ebp
mov edi, ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebx
jmp 0x404cb5
mov edx, dword [esp + 0x80]
fstp st(1)
mov eax, dword [esp + 0x24]
fstp st(2)
mov ecx, dword [esp + 0x18]
fstp st(1)
cmp dword [esp + 0x88], 0
fstp st(0)
je 0x404ccd
mov ebx, dword [esp + 0x14]
mov eax, dword [eax + ebx]
mov ebx, dword [edx + eax*4]
jmp 0x404cd3
mov edx, dword [esp + 0x14]
mov ebx, dword [edx]
mov eax, dword [ebx + 0x20]
fld qword [eax]
fstp qword [edi]
fld qword [eax + 8]
fstp qword [edi + 8]
mov edx, dword [ebx + 8]
lea edx, [edx*8 - 8]
imul edx, dword [ebx + 0x10]
fld qword [edx + eax]
fstp qword [ecx + edi]
mov edx, dword [ebx + 8]
lea edx, [edx*8 - 8]
imul edx, dword [ebx + 0x10]
fld qword [edx + eax + 8]
fst qword [ecx + edi + 8]
fsubr qword [edi + 8]
fld qword [edi]
fsub qword [ecx + edi]
fld st(1)
fmulp st(2)
fmul st(0), st(0)
faddp st(1)
call fcn.0041c344
mov eax, dword [esp + 0x8c]
fadd qword [eax]
add dword [esp + 0x14], 4
add edi, 0x10
sub dword [esp + 0x1c], 1
fstp qword [eax]
mov eax, dword [esp + 0x18]
fld qword [ebx]
fld qword [edi - 8]
fld qword [edi - 0x10]
fmul st(2)
fxch st(1)
fmulp st(2)
fld qword [esp + 0x48]
fst qword [esp + 0x58]
fld qword [esp + 0x50]
fxch st(1)
faddp st(2)
faddp st(2)
fst qword [esp + 0x48]
fxch st(1)
fst qword [esp + 0x50]
fld qword [ebx]
fld qword [eax + edi - 8]
fld qword [eax + edi - 0x10]
fmul st(2)
fxch st(1)
fmulp st(2)
fld qword [esp + 0x68]
fst qword [esp + 0x58]
fld qword [esp + 0x70]
fxch st(1)
faddp st(2)
faddp st(2)
fst qword [esp + 0x68]
fxch st(1)
fst qword [esp + 0x70]
fld qword [ebx]
fadd qword [esp + 0x38]
fstp qword [esp + 0x38]
jne 0x404ca0
fld qword [esp + 0x30]
mov ebx, dword [esp + 0x84]
fxch st(4)
fxch st(2)
fxch st(3)
fxch st(1)
fxch st(2)
fxch st(1)
fld1
fdiv qword [esp + 0x38]
fld st(0)
fxch st(3)
fst qword [esp + 0x38]
fmul st(3)
fst qword [esp + 0x38]
fxch st(2)
fmulp st(3)
fxch st(2)
fst qword [esp + 0x40]
fst qword [esp + 0x50]
fxch st(1)
fst qword [esp + 0x48]
fxch st(4)
fst qword [esp + 0x58]
fmul st(2)
fst qword [esp + 0x58]
fxch st(3)
fmulp st(2)
fxch st(1)
fst qword [esp + 0x60]
fld st(2)
fst qword [esp + 0x68]
fxch st(1)
fst qword [esp + 0x70]
cmp ebx, 1
jne 0x404e4a
mov eax, dword [esp + 0x90]
fstp st(1)
mov edi, dword [0x41d0e4]
fstp st(4)
fxch st(2)
push ebp
fstp qword [eax]
fxch st(1)
fstp qword [eax + 8]
mov eax, dword [esp + 0x98]
fstp qword [eax]
fstp qword [eax + 8]
call edi
add esp, 4
push esi
call edi
mov eax, dword [esp + 0x90]
fld qword [eax]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
fld qword [esp + 0xa0]
xor ebx, ebx
cmp dword [esp + 0x84], ebx
jle 0x40506e
fstp st(2)
fstp st(5)
jmp 0x404e85
fstp st(0)
fld qword [esp + 0x40]
fld qword [esp + 0x38]
fld qword [esp + 0xa0]
fld qword [esp + 0x58]
fld qword [esp + 0x60]
fxch st(4)
fxch st(1)
fxch st(2)
mov eax, dword [esp + 0x88]
test eax, eax
je 0x404e9f
mov ecx, dword [eax + ebx*4]
mov edx, dword [esp + 0x80]
mov eax, dword [edx + ecx*4]
jmp 0x404ea9
mov eax, dword [esp + 0x80]
mov eax, dword [eax + ebx*4]
mov ecx, dword [eax + 0x20]
fld qword [ecx]
mov edi, ebx
shl edi, 4
fstp qword [edi + ebp]
sub esp, 0x18
fld qword [ecx + 8]
fstp qword [edi + ebp + 8]
mov edx, dword [eax + 8]
lea edx, [edx*8 - 8]
imul edx, dword [eax + 0x10]
fld qword [edx + ecx]
fstp qword [edi + esi]
mov edx, dword [eax + 8]
lea edx, [edx*8 - 8]
imul edx, dword [eax + 0x10]
mov eax, esp
sub esp, 0x10
fld qword [edx + ecx + 8]
fstp qword [edi + esi + 8]
fstp qword [esp + 0x20]
fxch st(1)
fstp qword [eax]
fxch st(2)
fstp qword [eax + 8]
mov eax, esp
sub esp, 0x10
fstp qword [eax]
fstp qword [eax + 8]
mov eax, esp
test ebx, ebx
jne 0x404f91
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
mov dword [eax], ecx
mov ecx, dword [ebp + 8]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.00404ae0
fstp qword [esp + 0x60]
fld qword [esp + 0xd8]
mov ecx, dword [esi]
mov edx, dword [esi + 4]
fstp qword [esp + 0x30]
fld qword [esp + 0x70]
add esp, 0x20
mov eax, esp
fstp qword [eax]
sub esp, 0x10
fld qword [esp + 0x68]
fstp qword [eax + 8]
mov eax, esp
fld qword [esp + 0x80]
sub esp, 0x10
fstp qword [eax]
fld qword [esp + 0x98]
fstp qword [eax + 8]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 8]
mov dword [eax + 4], edx
mov edx, dword [esi + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.00404ae0
fst qword [esp + 0x68]
add esp, 0x38
jmp 0x405039
mov ecx, dword [edi + ebp]
mov edx, dword [edi + ebp + 4]
mov dword [eax], ecx
mov ecx, dword [edi + ebp + 8]
mov dword [eax + 4], edx
mov edx, dword [edi + ebp + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.00404ae0
fcom qword [esp + 0x60]
add esp, 0x38
fnstsw ax
test ah, 5
jnp 0x404fc4
fstp qword [esp + 0x28]
jmp 0x404fc6
fstp st(0)
fld qword [esp + 0xa0]
mov ecx, dword [edi + esi]
mov edx, dword [edi + esi + 4]
sub esp, 0x18
fstp qword [esp + 0x10]
mov eax, esp
fld qword [esp + 0x50]
sub esp, 0x10
fstp qword [eax]
fld qword [esp + 0x68]
fstp qword [eax + 8]
mov eax, esp
fld qword [esp + 0x80]
sub esp, 0x10
fstp qword [eax]
fld qword [esp + 0x98]
fstp qword [eax + 8]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [edi + esi + 8]
mov dword [eax + 4], edx
mov edx, dword [edi + esi + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.00404ae0
fld qword [esp + 0x68]
fcom st(1)
add esp, 0x38
fnstsw ax
test ah, 0x41
je 0x405037
fstp st(0)
fst qword [esp + 0x30]
jmp 0x405039
fstp st(1)
inc ebx
cmp ebx, dword [esp + 0x84]
jl 0x404e66
fld qword [esp + 0x40]
fld qword [esp + 0x38]
fld qword [esp + 0xa0]
fld qword [esp + 0x58]
fld qword [esp + 0x60]
fld qword [esp + 0x68]
fxch st(4)
fxch st(5)
fxch st(2)
fxch st(4)
fxch st(2)
fxch st(3)
fldz
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4051bf
fcomp qword [0x41dda8]
fnstsw ax
test ah, 5
jp 0x4051c1
fstp st(1)
fld qword [esp + 0x28]
fld st(0)
fadd st(6)
fld1
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x405154
fcom st(1)
fnstsw ax
test ah, 5
jnp 0x405154
fcomp st(6)
fnstsw ax
test ah, 5
jnp 0x405156
fldz
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
jne 0x4050d6
fstp qword [esp + 0x28]
jmp 0x4050d8
fstp st(0)
fxch st(2)
fst qword [esp + 0x58]
fld st(2)
fld st(1)
fsub st(5)
fxch st(1)
fsub st(3)
fst qword [esp + 0x60]
fstp qword [esp + 0x70]
fst qword [esp + 0x68]
fld st(0)
fld qword [esp + 0x28]
fmul st(1), st(0)
fxch st(1)
fstp qword [esp + 0x68]
fmul qword [esp + 0x70]
fxch st(5)
fst qword [esp + 0x38]
fadd qword [esp + 0x68]
fxch st(3)
faddp st(5)
fxch st(2)
fst qword [esp + 0x48]
fxch st(4)
fstp qword [esp + 0x50]
fldz
fcom st(5)
fnstsw ax
test ah, 0x41
jne 0x40512f
fstp st(5)
jmp 0x405131
fstp st(0)
fxch st(1)
fst qword [esp + 0x68]
fld qword [esp + 0x60]
fxch st(1)
fmul st(5)
fxch st(1)
fmulp st(5)
fxch st(1)
fst qword [esp + 0x68]
fsubrp st(1)
fxch st(1)
fsubrp st(3)
jmp 0x4051d5
fstp st(0)
mov eax, dword [esp + 0x94]
fstp st(3)
mov ecx, dword [esp + 0x68]
fstp st(3)
mov edx, dword [esp + 0x6c]
fstp st(0)
mov edi, dword [esp + 0x70]
fstp st(1)
mov ebx, dword [esp + 0x74]
fstp st(0)
mov dword [eax], ecx
fstp st(0)
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov dword [eax + 0xc], ebx
mov eax, dword [esp + 0x90]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], edi
mov edi, dword [0x41d0e4]
push ebp
mov dword [eax + 0xc], ebx
call edi
add esp, 4
push esi
call edi
mov eax, dword [esp + 0x90]
fld qword [eax]
add esp, 4
fmul qword [0x41dde8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
fstp st(0)
fstp st(3)
fstp st(3)
fstp st(0)
fstp st(0)
fstp st(1)
fld qword [esp + 0x48]
fld qword [esp + 0x70]
fxch st(2)
fxch st(1)
mov ebx, dword [esp + 0x94]
fst qword [esp + 0x68]
mov esi, dword [esp + 0x84]
fld qword [esp + 0x50]
mov edi, dword [esp + 0x20]
fld st(2)
sub esp, 0x20
faddp st(2)
mov eax, esp
sub esp, 0x10
fadd st(3)
fxch st(1)
fst qword [esp + 0x98]
fld qword [0x41dd80]
fmul st(1), st(0)
fxch st(1)
fst qword [esp + 0x98]
fxch st(2)
fmulp st(1)
fst qword [esp + 0xa0]
fld qword [esp + 0xc8]
fstp qword [esp + 0x28]
fld qword [0x41dde0]
fstp qword [esp + 0x20]
fxch st(1)
fstp qword [eax]
fstp qword [eax + 8]
mov eax, esp
fstp qword [eax]
fstp qword [eax + 8]
call fcn.004046e0
mov ebx, dword [esp + 0xc0]
fstp qword [esp + 0x68]
fld qword [esp + 0xc8]
add esp, 0x10
fstp qword [esp + 0x18]
mov eax, esp
fld qword [0x41dde0]
sub esp, 0x10
fstp qword [esp + 0x20]
mov edi, ebp
fld qword [esp + 0x98]
fstp qword [eax]
fld qword [esp + 0xa0]
fstp qword [eax + 8]
mov eax, esp
fld qword [esp + 0x78]
fstp qword [eax]
fld qword [esp + 0x80]
fstp qword [eax + 8]
call fcn.004046e0
fadd qword [esp + 0x68]
mov esi, dword [0x41d0e4]
push ebp
fstp qword [esp + 0x6c]
call esi
mov ecx, dword [esp + 0x54]
add esp, 0x34
push ecx
call esi
fld qword [esp + 0x3c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret