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

Disassembly:
push ebp
mov ebp, esp
fldz
sub esp, 0x50
push ebx
mov ebx, ecx
fcomp dword [ebx + 0x80]
push esi
push edi
fnstsw ax
fld dword [ebp + 8]
test ah, 0x41
jp 0x40b8f9
fld st(0)
fadd dword [ebx + 0x80]
fstp dword [ebp - 0xc]
fld dword [ebp - 0xc]
fst dword [ebx + 0x80]
fld dword [ebx + 8]
fcompp
fnstsw ax
test ah, 0x41
jp 0x40b8f9
fld dword [0x464668]
fstp dword [ebx + 0x80]
cmp byte [ebx + 0xbc], 0
je 0x40b909
mov byte [ebx + 0xb8], 1
xor edx, edx
lea edi, [ebx + 0xc0]
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edx
cmp dword [ebx + 0xa4], edx
jle 0x40bb1b
lea ecx, [edi + 0xc]
mov dword [ebp - 4], ecx
jmp 0x40b931
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
fld dword [ecx + 0x40]
fadd st(1)
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fst dword [ecx + 0x40]
fld dword [ecx + 0x44]
fcompp
fnstsw ax
test ah, 0x41
jp 0x40b96e
dec dword [ebx + 0xa4]
mov eax, dword [ebx + 0xa4]
imul eax, eax, 0x54
lea esi, [eax + ebx + 0xc0]
mov ecx, 0x15
rep movsd dword es:[edi], dword [esi]
dec edx
jmp 0x40bb0b
fstp st(0)
fld dword [edi]
fsub dword [ebx + 0x90]
fstp dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
fld dword [ecx - 8]
mov dword [ebp - 0x18], eax
fsub dword [ebx + 0x94]
fstp dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
fld dword [ebp - 0x24]
push ecx
fld dword [ebp - 0x28]
mov dword [ebp - 0x14], ecx
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fstp dword [esp]
call fcn.0040c830
fstp dword [ebp - 0x10]
mov esi, dword [ebp - 4]
fld dword [ebp - 0x28]
add esp, 4
fld dword [ebp - 0x10]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [ebp - 0x18]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], edx
fmul dword [ebp - 0x14]
fstp dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
fld dword [esi + 8]
mov dword [ebp - 0x1c], eax
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fld st(0)
fmul dword [ebp - 0x18]
fstp dword [ebp - 0x18]
fmul dword [ebp - 0x14]
fstp dword [ebp - 0x14]
fld dword [ebp - 0x20]
fstp dword [ebp - 4]
fld dword [ebp - 0x1c]
fchs
fstp dword [ebp - 0x20]
fld dword [esi + 0xc]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fld st(0)
fmul dword [ebp - 0x20]
fstp dword [ebp - 0x20]
fmul dword [ebp - 4]
fstp dword [ebp - 0x1c]
fld dword [ebp - 0x18]
fadd dword [ebp - 0x20]
fstp dword [ebp - 0x30]
fld dword [ebp - 0x14]
fadd dword [ebp - 0x1c]
fstp dword [ebp - 0x2c]
fld dword [ebp - 0x30]
fld dword [ebp + 8]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [ebp - 0x38]
fld dword [ebp - 0x2c]
fmul st(1)
fstp dword [ebp - 0x34]
fld dword [esi - 4]
fadd dword [ebp - 0x38]
fstp dword [esi - 4]
fld dword [ebp - 0x34]
fadd dword [esi]
fstp dword [esi]
fld dword [esi + 4]
fmul st(1)
fadd dword [esi]
mov edi, dword [ebp - 0xc]
fstp dword [esi]
fld dword [esi - 4]
fmul st(1)
fstp dword [ebp - 0x40]
fld dword [esi]
fmul st(1)
fstp dword [ebp - 0x3c]
fld dword [edi]
fadd dword [ebp - 0x40]
fstp dword [edi]
fld dword [esi - 8]
fadd dword [ebp - 0x3c]
fstp dword [esi - 8]
fld dword [esi + 0x14]
fmul st(1)
fadd dword [esi + 0x10]
fstp dword [esi + 0x10]
fld dword [esi + 0x1c]
fmul st(1)
fadd dword [esi + 0x18]
fstp dword [esi + 0x18]
fld dword [esi + 0x30]
fmul st(1)
fstp dword [ebp - 0x50]
fld dword [esi + 0x34]
fmul st(1)
fstp dword [ebp - 0x4c]
fld dword [esi + 0x38]
fmul st(1)
fstp dword [ebp - 0x48]
fld dword [esi + 0x3c]
fmul st(1)
fstp dword [ebp - 0x44]
fld dword [ebp - 0x50]
fadd dword [esi + 0x20]
fstp dword [esi + 0x20]
fld dword [esi + 0x24]
fadd dword [ebp - 0x4c]
fstp dword [esi + 0x24]
fld dword [ebp - 0x48]
fadd dword [esi + 0x28]
fstp dword [esi + 0x28]
fld dword [ebp - 0x44]
fadd dword [esi + 0x2c]
fstp dword [esi + 0x2c]
cmp byte [ebx + 0xbc], 0
je 0x40bafc
fstp st(0)
sub esp, 8
fld dword [esi - 8]
lea ecx, [ebx + 0xa8]
fstp dword [esp + 4]
fld dword [edi]
fstp dword [esp]
call fcn.0040c7c0
fld dword [ebp + 8]
mov edx, dword [ebp - 8]
add edi, 0x54
add esi, 0x54
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], esi
inc edx
mov dword [ebp - 8], edx
cmp edx, dword [ebx + 0xa4]
jl 0x40b92b
fld dword [ebx + 0x80]
fld dword [0x464668]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x40bf71
fimul dword [ebx + 4]
mov ecx, dword [ebx + 0xa4]
mov dword [ebp - 8], 0
imul ecx, ecx, 0x54
fadd dword [ebx + 0x84]
fstp dword [ebp + 8]
lea edi, [ecx + ebx + 0xc0]
fld dword [ebp + 8]
fld st(0)
fistp qword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
mov dword [ebp + 8], eax
fisub dword [ebp + 8]
fstp dword [ebx + 0x84]
test eax, eax
jle 0x40bf73
lea esi, [edi + 0xc]
lea esp, [esp]
cmp dword [ebx + 0xa4], 0x1f4
jge 0x40bf73
fldz
sub esp, 8
fstp dword [esi + 0x40]
fld dword [ebx + 0x10]
mov eax, dword [0x485a64]
mov edx, dword [eax]
fstp dword [esp + 4]
fld dword [ebx + 0xc]
fstp dword [esp]
push eax
mov eax, dword [edx + 0x88]
call eax
fstp dword [esi + 0x44]
fld dword [ebx + 0x90]
mov eax, dword [0x485a64]
fsub dword [ebx + 0x88]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x88]
sub esp, 8
fstp dword [ebp - 0x40]
fld dword [ebx + 0x94]
fsub dword [ebx + 0x8c]
fstp dword [ebp - 0x3c]
fld1
fstp dword [esp + 4]
fldz
fstp dword [esp]
push eax
call edx
fstp dword [ebp - 0x10]
fld dword [ebp - 0x40]
sub esp, 8
fld dword [ebp - 0x10]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [ebp - 0x38]
fmul dword [ebp - 0x3c]
fstp dword [ebp - 0x34]
fld dword [ebp - 0x38]
fadd dword [ebx + 0x88]
fstp dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
fld dword [ebp - 0x34]
fadd dword [ebx + 0x8c]
mov dword [edi], eax
fstp dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
fld dword [0x464678]
mov dword [edi + 4], ecx
mov eax, dword [0x485a64]
fstp dword [esp + 4]
fld dword [0x464668]
mov edx, dword [eax]
fstp dword [esp]
push eax
mov eax, dword [edx + 0x88]
call eax
fadd dword [edi]
sub esp, 8
fstp dword [edi]
mov eax, dword [0x485a64]
fld dword [0x464678]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x88]
fstp dword [esp + 4]
fld dword [0x464668]
fstp dword [esp]
push eax
call edx
fadd dword [esi - 8]
sub esp, 8
fstp dword [esi - 8]
mov eax, dword [0x485a64]
fld dword [ebx + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x88]
fstp dword [esp + 4]
fldz
fstp dword [esp]
push eax
call edx
fld dword [ebx + 0x14]
cmp byte [ebx + 0x1c], 0
fsub qword [0x464670]
faddp st(1)
fld dword [ebx + 0x18]
fmul qword [0x4632b8]
fsubp st(1)
fstp dword [ebp - 4]
je 0x40bcf7
fld dword [ebx + 0x88]
push 0
fsub dword [ebx + 0x90]
lea ecx, [ebp - 0x28]
fstp dword [ebp - 0x28]
fld dword [ebx + 0x8c]
fsub dword [ebx + 0x94]
fstp dword [ebp - 0x24]
call fcn.0040c870
fadd qword [0x464670]
fadd dword [ebp - 4]
fstp dword [ebp - 4]
fld dword [ebp - 4]
call fcn.004114c0
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fstp dword [esi - 4]
fld dword [ebp - 4]
call fcn.004115f0
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
sub esp, 8
fstp dword [esi]
mov eax, dword [0x485a64]
fld dword [ebx + 0x24]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x88]
fstp dword [esp + 4]
fld dword [ebx + 0x20]
fstp dword [esp]
push eax
call edx
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
sub esp, 8
fld st(0)
fmul dword [esi - 4]
fstp dword [esi - 4]
fmul dword [esi]
fstp dword [esi]
mov eax, dword [0x485a64]
fld dword [ebx + 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x88]
fstp dword [esp + 4]
fld dword [ebx + 0x28]
fstp dword [esp]
push eax
call edx
fstp dword [esi + 4]
fld dword [ebx + 0x34]
mov eax, dword [0x485a64]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x88]
sub esp, 8
fstp dword [esp + 4]
fld dword [ebx + 0x30]
fstp dword [esp]
push eax
call edx
fstp dword [esi + 8]
fld dword [ebx + 0x3c]
mov eax, dword [0x485a64]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x88]
sub esp, 8
fstp dword [esp + 4]
fld dword [ebx + 0x38]
fstp dword [esp]
push eax
call edx
fstp dword [esi + 0xc]
fld dword [ebx + 0x44]
mov eax, dword [0x485a64]
fsub dword [ebx + 0x40]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x88]
sub esp, 8
fmul dword [ebx + 0x48]
fadd dword [ebx + 0x40]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fstp dword [esp + 4]
fld dword [ebx + 0x40]
fstp dword [esp]
push eax
call edx
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fst dword [esi + 0x18]
fsubr dword [ebx + 0x44]
fdiv dword [esi + 0x44]
fstp dword [esi + 0x1c]
fld dword [ebx + 0x50]
mov eax, dword [0x485a64]
fsub dword [ebx + 0x4c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x88]
sub esp, 8
fmul dword [ebx + 0x54]
fadd dword [ebx + 0x4c]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fstp dword [esp + 4]
fld dword [ebx + 0x4c]
fstp dword [esp]
push eax
call edx
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
sub esp, 8
fst dword [esi + 0x10]
fsubr dword [ebx + 0x50]
fdiv dword [esi + 0x44]
fstp dword [esi + 0x14]
fld dword [ebx + 0x68]
fsub dword [ebx + 0x58]
mov eax, dword [0x485a64]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x88]
fmul dword [ebx + 0x78]
fadd dword [ebx + 0x58]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fstp dword [esp + 4]
fld dword [ebx + 0x58]
fstp dword [esp]
push eax
call edx
fstp dword [esi + 0x20]
fld dword [ebx + 0x6c]
mov eax, dword [0x485a64]
fsub dword [ebx + 0x5c]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x88]
sub esp, 8
fmul dword [ebx + 0x78]
fadd dword [ebx + 0x5c]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fstp dword [esp + 4]
fld dword [ebx + 0x5c]
fstp dword [esp]
push eax
call edx
fstp dword [esi + 0x24]
fld dword [ebx + 0x70]
mov eax, dword [0x485a64]
fsub dword [ebx + 0x60]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x88]
sub esp, 8
fmul dword [ebx + 0x78]
fadd dword [ebx + 0x60]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fstp dword [esp + 4]
fld dword [ebx + 0x60]
fstp dword [esp]
push eax
call edx
fstp dword [esi + 0x28]
fld dword [ebx + 0x74]
mov eax, dword [0x485a64]
fsub dword [ebx + 0x64]
mov ecx, dword [eax]
sub esp, 8
fmul dword [ebx + 0x7c]
fadd dword [ebx + 0x64]
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fstp dword [esp + 4]
fld dword [ebx + 0x64]
fstp dword [esp]
mov edx, dword [ecx + 0x88]
push eax
call edx
fstp dword [ebp - 0x10]
fld dword [ebp - 0x10]
fst dword [esi + 0x2c]
fld dword [ebx + 0x68]
fsub dword [esi + 0x20]
fdiv dword [esi + 0x44]
fstp dword [esi + 0x30]
fld dword [ebx + 0x6c]
fsub dword [esi + 0x24]
fdiv dword [esi + 0x44]
fstp dword [esi + 0x34]
fld dword [ebx + 0x70]
fsub dword [esi + 0x28]
fdiv dword [esi + 0x44]
fstp dword [esi + 0x38]
fsubr dword [ebx + 0x74]
fdiv dword [esi + 0x44]
fstp dword [esi + 0x3c]
cmp byte [ebx + 0xbc], 0
je 0x40bf53
fld dword [esi - 8]
sub esp, 8
fstp dword [esp + 4]
lea ecx, [ebx + 0xa8]
fld dword [edi]
fstp dword [esp]
call fcn.0040c7c0
mov eax, dword [ebp - 8]
inc dword [ebx + 0xa4]
inc eax
add edi, 0x54
add esi, 0x54
mov dword [ebp - 8], eax
cmp eax, dword [ebp + 8]
jl 0x40bb80
jmp 0x40bf73
fstp st(0)
mov eax, dword [ebx + 0x90]
mov ecx, dword [ebx + 0x94]
pop edi
pop esi
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x8c], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4