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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x30
push ebx
push ebp
push esi
mov ebx, ecx
mov esi, dword [ebx + 0x50]
push edi
push 0
lea ecx, [ebx + 0x68]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], esi
call fcn.0042dd10
mov ecx, dword [ebx + 0x6c]
mov edx, dword [ebx + 0x68]
mov eax, ecx
sub eax, edx
sar eax, 2
mov dword [esp + 0x18], 0xffffffff
cmp esi, eax
jbe 0x42e9b0
lea edx, [esp + 0x18]
push edx
sub esi, eax
push esi
push ecx
lea ecx, [ebx + 0x68]
call fcn.0042dad0
jmp 0x42e9d8
jae 0x42e9d8
lea esi, [edx + esi*4]
cmp esi, ecx
je 0x42e9d8
mov eax, ecx
sub eax, ecx
sar eax, 2
lea edi, [eax*4]
push edi
push ecx
push esi
call dword [sym.imp.MSVCR100.dll_memmove]
add esp, 0xc
add edi, esi
mov dword [ebx + 0x6c], edi
xor ebp, ebp
cmp dword [ebx + 0x10c], ebp
jle 0x42eb8c
push ebp
call fcn.00436ce0
add esp, 4
cmp eax, 0xfffff448
jne 0x42eb7f
or ebx, 0xffffffff
or esi, ebx
push ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], esi
call fcn.00436c40
mov edi, eax
lea eax, [esp + 0x34]
push eax
push edi
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], 8
call fcn.00436dc0
lea ecx, [esp + 0x3c]
push ecx
call fcn.004369f0
add esp, 0x10
test eax, eax
js 0x42ea3f
mov ebx, eax
xor esi, esi
mov dword [esp + 0x28], ebx
lea edx, [esp + 0x30]
push edx
push edi
call fcn.00436df0
lea eax, [esp + 0x38]
push eax
call fcn.004369f0
add esp, 0xc
test eax, eax
js 0x42ea6a
cmp eax, dword [esp + esi*4 + 0x28]
je 0x42ea6a
inc esi
mov dword [esp + esi*4 + 0x28], eax
mov ebx, dword [esp + 0x28]
cmp esi, 1
jge 0x42eafe
push ebp
push edi
mov dword [esp + 0x20], edi
call fcn.00437080
mov edi, eax
add esp, 8
cmp edi, dword [esp + 0x18]
je 0x42eafe
lea esp, [esp]
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.00436dc0
lea edx, [esp + 0x38]
push edx
call fcn.004369f0
add esp, 0xc
test eax, eax
js 0x42eabc
cmp eax, dword [esp + esi*4 + 0x28]
je 0x42eabc
inc esi
mov dword [esp + esi*4 + 0x28], eax
cmp esi, 1
je 0x42eafa
lea eax, [esp + 0x30]
push eax
push edi
call fcn.00436df0
lea ecx, [esp + 0x38]
push ecx
call fcn.004369f0
add esp, 0xc
test eax, eax
js 0x42eae8
cmp eax, dword [esp + esi*4 + 0x28]
je 0x42eae8
inc esi
mov dword [esp + esi*4 + 0x28], eax
cmp esi, 1
je 0x42eafa
push ebp
push edi
call fcn.00437080
mov edi, eax
add esp, 8
cmp edi, dword [esp + 0x18]
jne 0x42ea90
mov ebx, dword [esp + 0x28]
test esi, esi
jg 0x42eb7b
push ebp
call fcn.00436ab0
mov edx, dword [esp + 0x18]
fld qword [edx + 8]
add esp, 4
fadd qword [0xd2d200]
fcompp
fnstsw ax
test ah, 5
jnp 0x42eb7b
push ebx
lea eax, [esp + 0x3c]
mov ecx, edx
push eax
add ecx, 0x40
call fcn.0042d5c0
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov edx, 1
shl edx, cl
test dword [eax], edx
jne 0x42eb7b
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x68]
cmp dword [ecx + ebx*4], 0xffffffff
lea esi, [ecx + ebx*4]
je 0x42eb71
push ebp
call fcn.00436ab0
fstp qword [esp + 0x1c]
mov edx, dword [esi]
push edx
call fcn.00436ab0
fcomp qword [esp + 0x20]
add esp, 8
fnstsw ax
test ah, 5
jp 0x42eb7b
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x68]
mov dword [eax + ebx*4], ebp
mov ebx, dword [esp + 0x14]
inc ebp
cmp ebp, dword [ebx + 0x10c]
jl 0x42e9e6
xor esi, esi
cmp dword [esp + 0x24], esi
jle 0x42ec04
mov ecx, dword [ebx + 0x78]
cmp dword [ecx + esi*4], 0xffffffff
jne 0x42ebee
mov edx, dword [ebx + 0x68]
mov edi, dword [edx + esi*4]
cmp edi, 0xffffffff
je 0x42ebee
push 1
push edi
call fcn.00436c60
push edi
call fcn.00436ab0
fmul qword [ebx + 0x18]
fldz
add esp, 0xc
fcomp qword [ebx + 0x10]
sub esp, 8
mov ecx, ebx
fnstsw ax
fstp qword [esp]
push edi
test ah, 5
jp 0x42ebd8
call fcn.0042cae0
jmp 0x42ebdd
call fcn.0042ccf0
mov eax, dword [ebx + 0x68]
mov ecx, dword [eax + esi*4]
push 1
push ecx
call fcn.00436c60
add esp, 8
mov edx, dword [ebx + 0x68]
mov ecx, dword [edx + esi*4]
mov eax, dword [ebx + 0x88]
mov dword [eax + esi*4], ecx
inc esi
cmp esi, dword [esp + 0x24]
jl 0x42eb94
pop edi
xor eax, eax
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret