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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
push ebx
push esi
xor esi, esi
push edi
inc esi
mov ebx, ecx
call fcn.00403a67
fld dword [0x543ab8]
fcomp dword [ebx + 0x40]
mov edi, 0xff000000
mov dword [esp + 0x10], edi
fnstsw ax
test ah, 0x41
jne 0x42c607
fld dword [ebx + 0x40]
push ecx
fstp dword [esp]
call fcn.0040ff28
fmul qword [0x543d40]
pop ecx
call fcn.005209e6
fld dword [ebx + 0x40]
push ecx
fstp dword [esp]
mov byte [esp + 0x14], al
call fcn.0040ff28
fmul qword [0x543e10]
pop ecx
call fcn.005209e6
mov byte [esp + 0x11], al
fldz
push ecx
fstp dword [esp]
push dword [esp + 0x14]
call fcn.00402255
pop ecx
pop ecx
push 2
pop esi
call fcn.00403a67
fld dword [0x543ab8]
fcomp dword [ebx + 0x40]
fnstsw ax
fld1
test ah, 5
jp 0x42c93e
fld dword [ebx + 0x40]
fsub qword [0x543958]
fstp dword [esp + 0x10]
fcom dword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x42c654
fstp dword [esp + 0x10]
jmp 0x42c656
fstp st(0)
fldz
or eax, 0xffffffff
push eax
mov eax, dword [ebx + 0x3c]
sub esp, 0xc
fstp dword [esp + 8]
fld dword [0x544464]
fstp dword [esp + 4]
fld dword [0x544460]
fstp dword [esp]
push 5
call fcn.00416854
fld1
fcomp dword [esp + 0x10]
fnstsw ax
test ah, 0x41
jne 0x42c8b8
xor esi, esi
inc esi
call fcn.00403a67
fld dword [esp + 0x10]
fmul qword [0x544458]
push ecx
mov eax, esp
and dword [eax], 0
fadd qword [0x544450]
fstp dword [esp + 0x18]
call fcn.004042d6
fld1
fst dword [esp]
sub esp, 0xc
fstp dword [esp + 8]
fldz
fst dword [esp + 4]
fst dword [esp]
push edi
sub esp, 0x14
fstp dword [esp + 0x10]
fld dword [0x544448]
fstp dword [esp + 0xc]
fld dword [0x544444]
fstp dword [esp + 8]
fld dword [0x544440]
fstp dword [esp + 4]
fld dword [esp + 0x3c]
fstp dword [esp]
call fcn.00402326
fld dword [esp + 0x3c]
and dword [esp + 0x54], 0
fsub qword [0x543a38]
push 6
pop edx
mov ecx, edx
fstp dword [esp + 0x34]
lea esi, [esp + 0x48]
fld dword [esp + 0x34]
lea edi, [esp + 0x60]
fstp dword [esp + 0x48]
mov eax, 0xff000000
fld dword [0x544440]
fst dword [esp + 0x4c]
fldz
fst dword [esp + 0x50]
fst dword [esp + 0x58]
fst dword [esp + 0x5c]
fld dword [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x48]
fxch st(1)
fstp dword [esp + 0x4c]
fst dword [esp + 0x50]
fst dword [esp + 0x58]
fst dword [esp + 0x5c]
fld dword [esp + 0x3c]
mov dword [esp + 0x54], eax
mov ecx, edx
lea esi, [esp + 0x48]
lea edi, [esp + 0x78]
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x48]
fld dword [0x544448]
fst dword [esp + 0x4c]
fxch st(1)
fst dword [esp + 0x50]
fst dword [esp + 0x58]
fst dword [esp + 0x5c]
fld dword [esp + 0x34]
mov dword [esp + 0x54], eax
mov ecx, edx
lea esi, [esp + 0x48]
lea edi, [esp + 0x90]
rep movsd dword es:[edi], dword [esi]
fstp dword [esp + 0x48]
fxch st(1)
fstp dword [esp + 0x4c]
fst dword [esp + 0x50]
fst dword [esp + 0x58]
and dword [esp + 0x54], 0
lea eax, [esp + 0x60]
fstp dword [esp + 0x5c]
mov ecx, edx
lea esi, [esp + 0x48]
lea edi, [esp + 0xa8]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.0040429e
add esp, 0x2c
push 2
pop esi
call fcn.00403a67
fld1
fstp dword [esp + 0xc]
fld dword [esp + 0x10]
fcom qword [0x543ae8]
fnstsw ax
test ah, 5
jp 0x42c809
fld qword [0x543928]
fmul st(1)
fstp dword [esp + 0xc]
fld qword [0x543e30]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x42c82c
fld st(1)
fsubrp st(1)
fmul qword [0x543928]
fld1
fsubrp st(1)
fstp dword [esp + 0xc]
jmp 0x42c82e
fstp st(0)
fld dword [0x544464]
mov esi, dword [0x57b4c4]
fst dword [esp + 0x20]
fld dword [0x543fe0]
fstp dword [esp + 0x24]
push dword [esp + 0x24]
fld dword [esp + 0x18]
fsub qword [0x543928]
push dword [esp + 0x24]
fstp dword [esp + 0x20]
fstp dword [esp + 0x24]
push dword [esp + 0x24]
fld dword [esp + 0x20]
push dword [esp + 0x24]
fchs
fmul qword [0x543c18]
push ecx
push ecx
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fstp dword [esp + 4]
fadd st(0), st(0)
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fstp dword [esp]
call fcn.0040ff28
fadd qword [0x5439b0]
mov eax, 0x572228
fmul dword [esp + 0x24]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fstp dword [esp]
push esi
call fcn.00429d54
jmp 0x42c8cc
mov eax, dword [ebx + 0x2c4]
mov byte [eax + 0x9a], 0
mov byte [eax + 0x99], 1
fld dword [esp + 0x10]
mov eax, dword [ebx + 0x2c4]
fmul qword [0x544458]
sub esp, 0xc
mov edi, esp
lea esi, [esp + 0x2c]
fadd qword [0x544450]
lea ecx, [eax + 0x3c]
mov eax, dword [ecx]
fsub qword [0x543928]
fstp dword [esp + 0x2c]
fld dword [0x544464]
fstp dword [esp + 0x30]
fldz
fstp dword [esp + 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x10]
mov ecx, dword [ebx + 0x2c4]
fld dword [ebp + 8]
mov eax, dword [ecx]
push ecx
fstp dword [esp]
call dword [eax + 0xc]
mov ecx, dword [ebx + 0x2c4]
fld dword [ebp + 8]
mov eax, dword [ecx]
push ecx
fstp dword [esp]
call dword [eax + 0x48]
push 2
pop esi
call fcn.00403a67
jmp 0x42c940
fstp st(0)
fld dword [0x543b8c]
fcomp dword [ebx + 0x40]
fnstsw ax
test ah, 5
jp 0x42c97a
fldz
or eax, 0xffffffff
push eax
mov eax, dword [ebx + 0x3c]
sub esp, 0xc
fstp dword [esp + 8]
fld dword [0x54443c]
fstp dword [esp + 4]
fld dword [0x544460]
fstp dword [esp]
push 6
call fcn.00416854
fld1
fcomp dword [ebx + 0x40]
fnstsw ax
test ah, 5
jp 0x42ca10
fld dword [ebx + 0x40]
or dword [esp + 0xc], 0xffffffff
fsub qword [0x5439b0]
fld qword [0x543908]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x42c9d0
fmul qword [0x543998]
push ecx
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp]
call fcn.0040ff28
fmul dword [0x543af8]
pop ecx
call fcn.005209e6
mov byte [esp + 0xf], al
jmp 0x42c9d2
fstp st(0)
push dword [esp + 0xc]
fldz
mov eax, dword [ebx + 0x3c]
sub esp, 0x18
fstp dword [esp + 0x14]
fld1
fst dword [esp + 0x10]
fstp dword [esp + 0xc]
fld dword [0x543f98]
fstp dword [esp + 8]
fld dword [0x544438]
fstp dword [esp + 4]
fld dword [0x544460]
fstp dword [esp]
push 4
call fcn.00416a3d
fld dword [ebx + 0x40]
fcomp qword [0x544430]
fnstsw ax
test ah, 5
jp 0x42cb45
fld dword [ebx + 0x40]
fstp dword [esp + 0x10]
fld1
fcom dword [esp + 0x10]
fnstsw ax
test ah, 5
jp 0x42ca3e
fstp dword [esp + 0x10]
jmp 0x42ca40
fstp st(0)
fld dword [esp + 0x10]
fstp dword [esp + 0xc]
fld dword [0x54442c]
fcomp dword [ebx + 0x40]
fnstsw ax
test ah, 5
jp 0x42ca81
fld dword [ebx + 0x40]
push ecx
fsub qword [0x543d50]
fadd st(0), st(0)
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp]
call fcn.0040ff28
fld1
pop ecx
fsubrp st(1)
fmul dword [esp + 0x10]
fstp dword [esp + 0xc]
push 0x14
lea esi, [ebx + 0x50]
pop edi
fld dword [esi + 0x10]
mov eax, dword [esi + 4]
fsub dword [esi]
mov dword [esp + 0x14], eax
fld dword [esp + 0x10]
shr eax, 0x18
fld st(0)
mov dword [esp + 0x18], eax
fmulp st(2)
fld dword [esi]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x20]
fild dword [esp + 0x18]
fmul dword [esp + 0xc]
call fcn.005209e6
fld dword [esp + 0x20]
fmul qword [0x543978]
mov byte [esp + 0x17], al
push dword [esp + 0x14]
mov eax, dword [ebx + 0x3c]
fstp dword [esp + 0x1c]
sub esp, 0x18
fldz
fstp dword [esp + 0x14]
fld dword [esp + 0x34]
fstp dword [esp + 0x10]
fld dword [esp + 0x34]
fstp dword [esp + 0xc]
fld dword [esi - 4]
fldz
fsubrp st(1)
fld st(1)
fmulp st(1)
fadd dword [esi - 4]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fstp dword [esp + 8]
fld dword [esi + 0xc]
fsub dword [esi - 8]
fld st(1)
fmulp st(1)
fadd dword [esi - 8]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fstp dword [esp + 4]
fld dword [esi + 8]
fsub dword [esi - 0xc]
fmulp st(1)
fadd dword [esi - 0xc]
fstp dword [esp + 0x3c]
fld dword [esp + 0x3c]
fstp dword [esp]
push 7
call fcn.00416a3d
add esi, 0x20
dec edi
jne 0x42ca87
fld dword [0x544428]
fcomp dword [ebx + 0x40]
fnstsw ax
test ah, 5
jp 0x42cbf5
push ecx
mov eax, esp
and dword [eax], 0
call fcn.004042d6
xor esi, esi
pop ecx
inc esi
call fcn.00403a67
fld dword [ebx + 0x40]
fsub qword [0x544420]
fstp dword [esp + 0xc]
fld1
fcom dword [esp + 0xc]
fnstsw ax
test ah, 5
jp 0x42cb8d
fstp dword [esp + 0xc]
jmp 0x42cb8f
fstp st(0)
fld dword [esp + 0xc]
push ecx
fstp dword [esp]
call fcn.0040ff28
fmul qword [0x543bb8]
pop ecx
call fcn.005209e6
fld1
sub esp, 0x10
fst dword [esp + 0xc]
fstp dword [esp + 8]
movzx eax, al
fldz
shl eax, 0x18
fst dword [esp + 4]
fst dword [esp]
push eax
sub esp, 0x14
fst dword [esp + 0x10]
fld dword [0x54428c]
fstp dword [esp + 0xc]
fld dword [0x543d28]
fstp dword [esp + 8]
fld dword [0x544418]
fstp dword [esp + 4]
fstp dword [esp]
call fcn.00402326
add esp, 0x28
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
mov esp, ebp
pop ebp
ret 4