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

Disassembly:
mov eax, 0x60f252
call fcn.0060bd28
sub esp, 0x20
cmp dword [ebp + 0x10], 4
push ebx
push edi
mov ebx, ecx
jne 0x42f997
cmp dword [ebp + 0x1c], 1
jne 0x42f997
push dword [ebx + 0x4c8]
lea ecx, [ebx + 0x10]
call fcn.0042da55
test al, al
jne 0x42f62b
mov eax, 0x8007000e
jmp 0x42f99c
push dword [ebx + 0x4cc]
lea ecx, [ebx + 0x30]
call fcn.0042da55
test al, al
je 0x42f621
push dword [ebx + 0x4d0]
lea ecx, [ebx + 0x50]
call fcn.0042da55
test al, al
je 0x42f621
push dword [ebx + 0x4d4]
lea ecx, [ebx + 0x70]
call fcn.0042da55
test al, al
je 0x42f621
push dword [ebx + 0x4d8]
lea ecx, [ebx + 0x4a0]
call fcn.0042e249
test al, al
je 0x42f621
push esi
mov dword [ebp - 0x24], ebx
mov esi, dword [ebp + 8]
lea eax, [ebx + 0x1c]
and dword [ebp - 4], 0
mov ecx, eax
mov dword [ebp - 0x10], eax
push dword [esi]
call fcn.0041b0ae
push dword [esi + 4]
lea eax, [ebx + 0x3c]
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.0041b0ae
push dword [esi + 8]
lea eax, [ebx + 0x5c]
mov ecx, eax
mov dword [ebp - 0x18], eax
call fcn.0041b0ae
push dword [esi + 0xc]
lea eax, [ebx + 0x7c]
mov ecx, eax
mov dword [ebp - 0x1c], eax
call fcn.0041b0ae
mov eax, dword [ebp + 0x14]
lea ecx, [ebx + 0x4b4]
mov dword [ebp - 0x20], ecx
push dword [eax]
call fcn.0041b0ae
mov eax, dword [ebx + 0x18]
xor edx, edx
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x24], edx
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov byte [ebx + 0x2c], dl
mov eax, dword [ebx + 0x38]
mov dword [ebx + 0x40], edx
mov dword [ebx + 0x44], edx
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x34], eax
mov byte [ebx + 0x4c], dl
mov eax, dword [ebx + 0x58]
mov dword [ebx + 0x60], edx
mov dword [ebx + 0x64], edx
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], eax
mov byte [ebx + 0x6c], dl
mov eax, dword [ebx + 0x78]
mov dword [ebx + 0x80], edx
mov dword [ebx + 0x84], edx
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x74], eax
mov byte [ebx + 0x8c], dl
or dword [ebx + 0x90], 0xffffffff
push 5
mov dword [ebx + 0x94], edx
pop edi
lea ecx, [ebx + 0x70]
call fcn.0042eb4c
mov ecx, dword [ebx + 0x94]
shl ecx, 8
movzx eax, al
or ecx, eax
mov dword [ebx + 0x94], ecx
sub edi, 1
jne 0x42f736
lea esi, [ebx + 0x4a0]
mov ecx, 0x102
mov eax, dword [esi + 0x10]
and dword [esi + 0xc], edi
and dword [esi + 4], edi
and dword [esi + 0x18], edi
and dword [esi + 0x1c], edi
lea edi, [ebx + 0x98]
mov dword [esi + 8], eax
mov eax, 0x400
mov byte [esi + 0x24], 0
rep stosd dword es:[edi], eax
xor al, al
xor edi, edi
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x1c], edi
cmp edi, 0x100000
jb 0x42f7c4
mov edi, dword [ebp + 0x20]
test edi, edi
je 0x42f7c4
mov ecx, esi
call fcn.0042e288
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov eax, dword [edi]
push ecx
push 0
push edi
mov dword [ebp - 0x28], edx
call dword [eax + 0xc]
mov edi, eax
test edi, edi
jne 0x42f930
and dword [ebp + 0x1c], eax
and dword [ebp + 8], 0
lea edi, [ebx + 0x10]
mov eax, dword [edi]
cmp eax, dword [edi + 4]
jb 0x42f7e1
mov ecx, edi
call fcn.0042da97
test al, al
je 0x42f922
mov eax, dword [edi]
mov cl, byte [eax]
inc eax
mov byte [ebp + 0x14], cl
mov ecx, esi
push dword [ebp + 0x14]
mov dword [edi], eax
call fcn.00423d2e
mov dl, byte [ebp + 0x14]
mov al, dl
and al, 0xfe
cmp al, 0xe8
je 0x42f824
cmp byte [ebp + 0x10], 0xf
jne 0x42f80e
mov al, dl
and al, 0xf0
cmp al, 0x80
je 0x42f824
mov ecx, dword [ebp + 8]
mov al, dl
inc ecx
mov dword [ebp + 0x10], eax
mov dword [ebp + 8], ecx
cmp ecx, 0x40000
jb 0x42f7cb
jmp 0x42f82a
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0x1c]
add edi, ecx
mov dword [ebp + 0x1c], edi
cmp ecx, 0x40000
je 0x42f78f
xor ecx, ecx
movzx eax, al
cmp dl, 0xe9
setne cl
add ecx, 0x100
cmp dl, 0xe8
cmove ecx, eax
lea eax, [ebx + 0x70]
add ecx, 0x26
push eax
lea ecx, [ebx + ecx*4]
call fcn.0042fa1d
cmp eax, 1
jne 0x42f917
push 0x50
pop edi
xor edx, edx
cmp byte [ebp + 0x14], 0xe8
push 0x30
pop eax
cmove edi, eax
mov dword [ebp + 0x10], edx
add edi, ebx
and dword [ebp + 8], edx
mov eax, dword [edi]
cmp eax, dword [edi + 4]
jb 0x42f89d
mov ecx, edi
call fcn.0042da97
test al, al
je 0x42f92d
mov edx, dword [ebp + 0x10]
mov eax, dword [edi]
shl edx, 8
mov cl, byte [eax]
inc eax
mov dword [edi], eax
movzx eax, cl
mov ecx, dword [ebp + 8]
or edx, eax
inc ecx
mov dword [ebp + 0x10], edx
mov dword [ebp + 8], ecx
cmp ecx, 4
jl 0x42f884
mov ecx, esi
call fcn.0042e288
mov ecx, dword [ebp + 0x10]
sub ecx, eax
sub ecx, 4
mov dword [ebp + 0x10], ecx
push ecx
mov ecx, esi
call fcn.00423d2e
mov eax, dword [ebp + 0x10]
lea ecx, [ebx + 0x4a0]
shr eax, 8
push eax
call fcn.00423d2e
mov eax, dword [ebp + 0x10]
lea esi, [ebx + 0x4a0]
shr eax, 0x10
mov ecx, esi
push eax
call fcn.00423d2e
mov eax, dword [ebp + 0x10]
mov ecx, esi
shr eax, 0x18
push eax
mov dword [ebp + 0x10], eax
call fcn.00423d2e
mov edi, dword [ebp + 0x1c]
add edi, 4
jmp 0x42f78c
mov cl, byte [ebp + 0x14]
mov byte [ebp + 0x10], cl
jmp 0x42f78f
mov ecx, esi
call fcn.0042e335
mov edi, eax
jmp 0x42f930
xor edi, edi
inc edi
mov esi, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov ecx, dword [esi]
test ecx, ecx
je 0x42f94c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
xor ebx, ebx
mov dword [esi], ebx
jmp 0x42f94e
xor ebx, ebx
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi]
test ecx, ecx
je 0x42f95f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi], ebx
mov esi, dword [ebp - 0x18]
mov ecx, dword [esi]
test ecx, ecx
je 0x42f970
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi], ebx
mov esi, dword [ebp - 0x1c]
mov ecx, dword [esi]
test ecx, ecx
je 0x42f981
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi], ebx
mov esi, dword [ebp - 0x20]
mov edx, dword [esi]
test edx, edx
je 0x42f992
mov ecx, dword [edx]
push edx
call dword [ecx + 8]
mov dword [esi], ebx
mov eax, edi
pop esi
jmp 0x42f99c
mov eax, 0x80070057
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c