Function at 0x42adb0
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 [0x4fd1ec]
fnstsw ax
test ah, 0x41
jne 0x42ae1a
fld dword [ecx + 0xd0]
fcomp dword [0x4db9ac]
fnstsw ax
test ah, 1
jne 0x42ae6d
mov dword [ecx + 0xe8], 0
mov eax, dword [ebp + 0x200]
push 0
mov dword [eax + 0xd0], 0x40490fdb
mov ecx, dword [ebp + 0x200]
push 0x506ef8
call fcn.00418b30
push 0
jmp 0x42ae66
fld dword [ecx + 0xe8]
fcomp dword [0x4fd1ec]
fnstsw ax
test ah, 5
jp 0x42ae6d
fld dword [ecx + 0xd0]
fcomp dword [0x4fd1ec]
fnstsw ax
test ah, 0x41
jp 0x42ae6d
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 0x506f10
call fcn.00418b30
push esi
mov ecx, eax
call fcn.00419a60
mov edx, dword [ebp + 0x200]
mov eax, dword [edx + 0xd0]
push eax
lea ecx, [esp + 0x78]
call fcn.0044d460
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 0x42b074
push ebx
push edi
jmp 0x42aeb0
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 0x42b05b
jmp 0x42aed0
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.0044d0f0
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.0044dbe0
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.0044dbe0
mov esi, eax
mov al, byte [0x513804]
add esp, 0x18
test al, 1
mov ecx, 0x10
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
jne 0x42afb2
or dword [0x513804], 1
mov dword [0x5137f8], 0
mov dword [0x5137fc], 0
mov dword [0x513800], 0
push 0x5137f8
lea edx, [esp + 0x74]
push edx
lea ecx, [esp + 0x38]
call fcn.0044d9e0
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 0x42b03b
mov eax, dword [ebp + 0x200]
fld dword [eax + 0xd0]
fsub dword [0x4db9ac]
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 0x42aec6
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 0x42aea6
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x16c
ret