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

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov ecx, dword [esi + 0xa0]
cmp ecx, ebp
je 0x42f3bf
lea eax, [esp + 0x30]
push eax
call fcn.00451410
mov edx, dword [esi]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x1dc]
mov edx, dword [esi]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x1e0]
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
sub edx, ebp
add edx, ebx
sub eax, edi
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x34]
add eax, edx
mov edx, dword [esi]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x1e8]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
mov dword [eax + 4], edx
pop ebx
add esp, 0x28
ret 4
cmp dword [esi + 0x34], ebp
je 0x42f4f4
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x1c], ebp
cmp eax, ebp
mov dword [esp + 0x20], eax
je 0x42f47d
mov edi, dword [eax + 8]
mov ecx, edi
mov edx, dword [edi]
call dword [edx + 0xdc]
test al, al
jne 0x42f46a
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa0]
test al, al
je 0x42f46a
mov edx, dword [edi]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, edi
call dword [edx + 0x1d4]
mov ecx, dword [esp + 0x10]
or eax, 0xffffffff
cmp ecx, eax
jne 0x42f421
mov dword [esp + 0x10], 0
cmp dword [esp + 0x14], eax
jne 0x42f42f
mov dword [esp + 0x14], 0
mov edx, dword [edi]
lea eax, [esp + 0x30]
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, edi
call dword [edx + 0x1dc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
add eax, edx
cmp eax, ebp
jle 0x42f453
mov ebp, eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jle 0x42f46a
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
test eax, eax
mov dword [esp + 0x20], eax
jne 0x42f3db
mov edx, dword [esi]
mov edi, dword [esp + 0x1c]
lea eax, [esp + 0x28]
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x38], ebp
call dword [edx + 0x1e0]
mov edx, dword [esp + 0x28]
mov eax, dword [esi]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x18], edx
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call dword [eax + 0x1dc]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
sub eax, ebx
mov ebx, dword [esp + 0x18]
sub ecx, ebx
xor edx, edx
test eax, eax
setl dl
dec edx
and edx, eax
xor eax, eax
add edx, ebp
test ecx, ecx
setl al
dec eax
and eax, ecx
add edi, eax
mov eax, dword [esp + 0x3c]
mov dword [eax + 4], edi
pop edi
pop esi
pop ebp
mov dword [eax], edx
pop ebx
add esp, 0x28
ret 4
mov edx, dword [esi]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call dword [edx + 0x80]
mov eax, dword [esp + 0x20]
or edi, 0xffffffff
cmp eax, edi
je 0x42f514
cmp dword [esp + 0x24], edi
jne 0x42f550
mov edx, dword [esi]
lea eax, [esp + 0x28]
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x1dc]
cmp dword [esp + 0x20], edi
jne 0x42f536
mov edx, dword [esp + 0x30]
mov dword [esp + 0x20], edx
cmp dword [esp + 0x24], edi
jne 0x42f544
mov eax, dword [esp + 0x28]
mov dword [esp + 0x24], eax
mov edx, dword [esi]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call dword [edx + 0x78]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
mov dword [eax + 4], edx
pop ebx
add esp, 0x28
ret 4