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

Disassembly:
sub esp, 0x68
push ebx
push ebp
push esi
push edi
mov edi, edx
xor ebx, ebx
mov ebp, ecx
mov dword [esp + 0x14], ebp
cmp dword [edi], ebx
jle 0x42f091
mov eax, dword [edi + 0xc]
test byte [eax], 1
jne 0x42f091
push 0xfffffffffffffffd
pop eax
jmp 0x42f329
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x34]
push eax
lea edx, [esp + 0x78]
lea ecx, [esp + 0x68]
call fcn.0042e6bc
add esp, 0x10
test eax, eax
jne 0x42f329
lea edx, [esp + 0x58]
mov ecx, edi
call fcn.0042e9ae
mov esi, eax
test esi, esi
jne 0x42f2f1
lea eax, [esp + 0x68]
mov edx, edi
push eax
mov ecx, ebp
call fcn.0042f85f
mov esi, eax
pop ecx
test esi, esi
jne 0x42f2f1
lea edx, [esp + 0x28]
lea ecx, [esp + 0x58]
call fcn.0042e9ae
mov esi, eax
test esi, esi
jne 0x42f2f1
lea edx, [esp + 0x38]
lea ecx, [esp + 0x68]
call fcn.0042e9ae
mov esi, eax
test esi, esi
jne 0x42f2f1
xor edx, edx
lea ecx, [esp + 0x18]
inc edx
call fcn.0042f82c
mov esi, eax
test esi, esi
jne 0x42f2f1
mov ebp, ebx
cmp dword [esp + 0x28], 0
jle 0x42f196
mov eax, dword [esp + 0x34]
test byte [eax], 1
jne 0x42f196
lea edx, [esp + 0x28]
mov ecx, edx
call fcn.0042faad
mov esi, eax
test esi, esi
jne 0x42f2f1
cmp dword [esp + 0x48], eax
jle 0x42f180
mov eax, dword [esp + 0x54]
test byte [eax], 1
je 0x42f180
lea eax, [esp + 0x48]
push eax
lea edx, [esp + 0x5c]
mov ecx, eax
call fcn.0042fda3
mov esi, eax
pop ecx
test esi, esi
jne 0x42f2f1
lea edx, [esp + 0x48]
mov ecx, edx
call fcn.0042faad
mov esi, eax
test esi, esi
je 0x42f131
jmp 0x42f2f1
cmp dword [esp + 0x38], 0
jle 0x42f1fb
mov eax, dword [esp + 0x44]
test byte [eax], 1
jne 0x42f1fb
lea edx, [esp + 0x38]
mov ecx, edx
call fcn.0042faad
mov esi, eax
test esi, esi
jne 0x42f2f1
cmp dword [esp + 0x18], eax
jle 0x42f1e5
mov eax, dword [esp + 0x24]
test byte [eax], 1
je 0x42f1e5
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0x5c]
mov ecx, eax
call fcn.0042fda3
mov esi, eax
pop ecx
test esi, esi
jne 0x42f2f1
lea edx, [esp + 0x18]
mov ecx, edx
call fcn.0042faad
mov esi, eax
test esi, esi
je 0x42f196
jmp 0x42f2f1
lea edx, [esp + 0x38]
lea ecx, [esp + 0x28]
call fcn.0042f7dd
cmp eax, 0xffffffff
je 0x42f234
lea eax, [esp + 0x28]
push eax
lea edx, [esp + 0x3c]
mov ecx, eax
call fcn.0042fda3
mov esi, eax
pop ecx
test esi, esi
jne 0x42f2f1
lea eax, [esp + 0x48]
lea edx, [esp + 0x18]
mov ecx, eax
jmp 0x42f259
lea eax, [esp + 0x38]
push eax
lea edx, [esp + 0x2c]
mov ecx, eax
call fcn.0042fda3
mov esi, eax
pop ecx
test esi, esi
jne 0x42f2f1
lea eax, [esp + 0x18]
lea edx, [esp + 0x48]
mov ecx, eax
push eax
call fcn.0042fda3
mov esi, eax
pop ecx
test esi, esi
jne 0x42f2f1
cmp dword [esp + 0x28], 0
je 0x42f283
inc ebx
cmp ebp, 0x1000
jl 0x42f12f
push 0xfffffffffffffffd
pop esi
jmp 0x42f2f1
xor edx, edx
lea ecx, [esp + 0x38]
inc edx
call fcn.0042f804
test eax, eax
jne 0x42f27e
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx + 8]
jmp 0x42f2ad
lea eax, [esp + 0x18]
push eax
call fcn.0042fb8a
mov esi, eax
pop ecx
test esi, esi
jne 0x42f2f1
cmp dword [esp + 0x20], 1
lea ecx, [esp + 0x18]
mov edx, edi
je 0x42f29c
jmp 0x42f2d5
lea eax, [esp + 0x18]
mov edx, edi
push eax
call fcn.0042fda3
mov esi, eax
pop ecx
test esi, esi
jne 0x42f2f1
mov edx, edi
lea ecx, [esp + 0x18]
call fcn.0042f799
lea ecx, [esp + 0x18]
cmp eax, 0xffffffff
jne 0x42f2bc
mov edx, dword [esp + 0x7c]
call fcn.0042eb7f
mov dword [edx + 8], ebx
xor esi, esi
lea ecx, [esp + 0x58]
call fcn.0042e838
lea ecx, [esp + 0x68]
call fcn.0042e838
lea ecx, [esp + 0x28]
call fcn.0042e838
lea ecx, [esp + 0x38]
call fcn.0042e838
lea ecx, [esp + 0x48]
call fcn.0042e838
lea ecx, [esp + 0x18]
call fcn.0042e838
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret