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

Disassembly:
sub esp, 0x16c
push ebp
mov ebp, ecx
mov ecx, dword [ebp + 0x200]
fld dword [ecx + 0xe8]
push esi
fcomp dword [0x4f911c]
fnstsw ax
test ah, 0x41
jne 0x42a1ca
fld dword [ecx + 0xd0]
fcomp dword [0x4d7954]
fnstsw ax
test ah, 1
jne 0x42a21d
mov dword [ecx + 0xe8], 0
mov eax, dword [ebp + 0x200]
push 0
mov dword [eax + 0xd0], 0x40490fdb
mov ecx, dword [ebp + 0x200]
push 0x502d9c
call fcn.00417ee0
push 0
jmp 0x42a216
fld dword [ecx + 0xe8]
fcomp dword [0x4f911c]
fnstsw ax
test ah, 5
jp 0x42a21d
fld dword [ecx + 0xd0]
fcomp dword [0x4f911c]
fnstsw ax
test ah, 0x41
jp 0x42a21d
xor esi, esi
mov dword [ecx + 0xe8], esi
mov ecx, dword [ebp + 0x200]
push esi
mov dword [ecx + 0xd0], esi
mov ecx, dword [ebp + 0x200]
push 0x502db4
call fcn.00417ee0
push esi
mov ecx, eax
call fcn.00418e00
mov edx, dword [ebp + 0x200]
mov eax, dword [edx + 0xd0]
push eax
lea ecx, [esp + 0x78]
call fcn.0044a340
mov ecx, dword [ebp + 0x200]
mov edx, dword [ecx + 4]
mov ecx, dword [edx]
test ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 8], 0
je 0x42a424
push ebx
push edi
jmp 0x42a260
mov ecx, dword [esp + 0x18]
lea ebx, [ebx]
mov eax, dword [ecx + 8]
mov edx, dword [eax + 4]
mov eax, dword [edx]
test eax, eax
mov dword [esp + 0x2c], eax
je 0x42a40b
jmp 0x42a280
mov eax, dword [esp + 0x2c]
lea ebx, [ebx]
mov ebx, dword [eax + 8]
mov eax, dword [ebp + 0x200]
mov ecx, dword [eax + 0xd0]
mov edx, dword [ebx + 0x9c]
mov eax, dword [ebx + 0x98]
push edx
mov dword [ebx + 0xd0], ecx
mov ecx, dword [ebx + 0x94]
push eax
push ecx
lea ecx, [esp + 0xc8]
call fcn.00449fd0
xor eax, eax
mov ecx, 0x10
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
lea edx, [esp + 0xbc]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x104]
push ecx
mov dword [esp + 0x78], 0x3f800000
mov dword [esp + 0x64], 0x3f800000
mov dword [esp + 0x50], 0x3f800000
mov dword [esp + 0x3c], 0x3f800000
call fcn.0044aac0
mov esi, eax
lea edx, [esp + 0x88]
push edx
mov ecx, 0x10
lea edi, [esp + 0x40]
lea eax, [esp + 0x40]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0x150]
push ecx
call fcn.0044aac0
mov esi, eax
mov al, byte [0x50f3e4]
add esp, 0x18
test al, 1
mov ecx, 0x10
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
jne 0x42a362
or dword [0x50f3e4], 1
mov dword [0x50f3d8], 0
mov dword [0x50f3dc], 0
mov dword [0x50f3e0], 0
push 0x50f3d8
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x38]
call fcn.0044a8c0
mov esi, dword [eax]
lea ecx, [ebx + 0x88]
mov edx, ecx
mov dword [edx], esi
mov esi, dword [eax + 4]
mov dword [edx + 4], esi
mov eax, dword [eax + 8]
mov dword [edx + 8], eax
fld dword [ecx]
mov eax, dword [ebp + 0x200]
fadd dword [eax + 0x88]
add eax, 0x88
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
fld dword [eax + 4]
fadd dword [ecx + 4]
fstp dword [esp + 0x20]
fld dword [eax + 8]
mov eax, dword [esp + 0x20]
fadd dword [ecx + 8]
mov dword [ecx], edx
mov dword [ecx + 4], eax
cmp dword [esp + 0x10], 1
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x24]
mov dword [ecx + 8], edx
jne 0x42a3eb
mov eax, dword [ebp + 0x200]
fld dword [eax + 0xd0]
fsub dword [0x4d7954]
fstp dword [ebx + 0xd0]
mov ecx, dword [esp + 0x2c]
mov dword [ebx + 0xfc], 0
mov eax, dword [ecx]
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x42a276
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov ecx, dword [ecx]
inc edx
test ecx, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
jne 0x42a256
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x16c
ret