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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff20
mov ebx, eax
lea eax, [esp + 0xc8]
mov edx, 0x10
call fcn.00470620
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
cmp dword [esp + 0xc], 0
jne 0x42e7a1
cmp dword [esp + 8], 0
lea eax, [esp + 0xb8]
mov edx, 0x10
call fcn.00470620
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], eax
fld qword [esp]
fcomp dword [0x42ebac]
fnstsw ax
sahf
lea eax, [esp + 0xa8]
mov edx, 0x10
call fcn.00470620
xor eax, eax
test eax, eax
lea eax, [esp + 0x98]
mov edx, 0x10
call fcn.00470620
lea eax, [esp + 0x88]
mov edx, 0x10
call fcn.00470620
lea eax, [esp + 0x78]
mov edx, 0x10
call fcn.00470620
lea eax, [esp + 0x68]
mov edx, 0x10
call fcn.00470620
lea eax, [esp + 0x58]
mov edx, 0x10
call fcn.00470620
lea eax, [esp + 0x48]
mov edx, 0x10
call fcn.00470620
lea eax, [esp + 0x38]
mov edx, 0x10
call fcn.00470620
lea eax, [esp + 0x28]
mov edx, 0x10
call fcn.00470620
lea eax, [esp + 0x18]
mov edx, 0x10
call fcn.00470620
lea edx, [esp + 0xc8]
mov eax, ebx
call fcn.0046cec8
mov esi, ebx
cmp byte [esi + 0x2d8], 0
je 0x42ea05
push dword [esi + 0x11c]
push dword [esi + 0x118]
push 0x40000000
push 0
call fcn.0047072c
fstp qword [esp + 0xd8]
wait
fld qword [esp + 0xd0]
fsub qword [esi + 0x310]
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0041179c
fsubr qword [esp + 0xd8]
fcomp dword [0x42ebac]
fnstsw ax
sahf
jae 0x42ea05
lea edx, [esp + 0xb8]
mov eax, ebx
call fcn.0046cec8
fld qword [esp + 0xc0]
fsub qword [esi + 0x310]
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0041179c
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [esi + 0x11c]
push dword [esi + 0x118]
push 0x40000000
push 0
call fcn.0047072c
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0047072c
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.00470f00
cdq
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
lea edx, [esp + 0xa8]
mov eax, ebx
call fcn.0046cec8
fld qword [esp + 0xb0]
fsub qword [esi + 0x310]
add esp, 0xfffffff8
fstp qword [esp]
wait
fild qword [esp + 0x10]
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0047072c
fstp qword [esp]
wait
mov ebp, 1
mov eax, dword [esp + 8]
mov dword [esp + 0x10], eax
mov eax, ebp
mov esi, dword [esp + 0x10]
sub esi, eax
jl 0x42eb7f
inc esi
call fcn.00404a24
inc dword [eax + 0x34]
call fcn.00404a24
cmp dword [eax + 0x34], 0xffff
jle 0x42e9a6
call fcn.004705bc
mov edi, ebx
fld qword [edi + 0x310]
fadd qword [esp]
mov eax, dword [ebx + 0x28]
fstp qword [eax + 0x310]
wait
lea edx, [esp + 0x98]
mov eax, ebx
call fcn.0046cec8
push dword [esp + 0x9c]
push dword [esp + 0x9c]
push dword [edi + 0x314]
push dword [edi + 0x310]
lea eax, [esp + 0x98]
call fcn.0041c3c0
lea edx, [esp + 0x88]
mov eax, ebx
call fcn.0046e4f4
dec esi
jne 0x42e985
jmp 0x42eb7f
cmp dword [esi + 0x2f4], 0
jne 0x42ea1d
cmp dword [esi + 0x2f0], 0
jae 0x42eb69
jmp 0x42ea23
jge 0x42eb69
lea edx, [esp + 0x78]
mov eax, ebx
call fcn.0046cec8
fld qword [esp + 0x78]
fsub qword [esi + 0x318]
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0041179c
add esp, 0xfffffff8
fstp qword [esp]
wait
push 0x40140000
push 0
call fcn.0047072c
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.00470f00
cdq
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
lea edx, [esp + 0x68]
mov eax, ebx
call fcn.0046cec8
fld qword [esp + 0x68]
fsub qword [esi + 0x318]
add esp, 0xfffffff8
fstp qword [esp]
wait
fild qword [esp + 0x10]
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0047072c
fstp qword [esp]
wait
push dword [esi + 0x31c]
push dword [esi + 0x318]
push dword [esi + 0x314]
push dword [esi + 0x310]
lea eax, [esp + 0x68]
call fcn.0041c3c0
lea edx, [esp + 0x58]
mov eax, ebx
call fcn.0046e4f4
mov ebp, 1
mov eax, dword [esp + 8]
mov dword [esp + 0x14], eax
mov eax, ebp
mov esi, dword [esp + 0x14]
sub esi, eax
jl 0x42eb45
inc esi
call fcn.00404a24
inc dword [eax + 0x34]
call fcn.00404a24
cmp dword [eax + 0x34], 0xffff
jle 0x42eb01
call fcn.004705bc
mov edi, ebx
fld qword [edi + 0x318]
fadd qword [esp]
mov eax, dword [ebx + 0x28]
fstp qword [eax + 0x318]
wait
push dword [edi + 0x31c]
push dword [edi + 0x318]
push dword [edi + 0x314]
push dword [edi + 0x310]
lea eax, [esp + 0x58]
call fcn.0041c3c0
lea edx, [esp + 0x48]
mov eax, ebx
call fcn.0046e4f4
dec esi
jne 0x42eae0
lea edx, [esp + 0x38]
mov eax, ebx
call fcn.0046cec8
mov eax, dword [ebx + 0x28]
mov edx, dword [esp + 0x38]
mov dword [eax + 0x318], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 0x31c], edx
jmp 0x42eba1
lea edx, [esp + 0x28]
mov eax, ebx
call fcn.0046cec8
lea edx, [esp + 0x28]
mov eax, ebx
call fcn.0046e4f4
lea edx, [esp + 0x18]
mov eax, ebx
call fcn.0046cec8
mov eax, dword [ebx + 0x28]
mov edx, dword [esp + 0x20]
mov dword [eax + 0x310], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 0x314], edx
add esp, 0xe0
pop ebp
pop edi
pop esi
pop ebx
ret