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

Disassembly:
push esi
push ebx
sub esp, 0x34
mov ebx, dword [esp + 0x40]
mov ecx, dword [ebx + 0x88]
test ecx, ecx
je 0x42fa49
mov dword [ebx + 0x88], 0
xor eax, eax
add esp, 0x34
pop ebx
pop esi
ret
test edx, edx
je 0x42fbc0
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x42fa7a
mov dword [esp], ebx
call fcn.0042f910
cmp eax, 0xffff9980
je 0x42fa49
cmp eax, 0xffff9a80
jne 0x42fc80
mov eax, dword [ebx + 0x80]
mov edx, dword [ebx + 0x70]
test eax, eax
je 0x42fa20
test edx, edx
jne 0x42fce0
mov edx, dword [ebx + 0x78]
cmp eax, edx
jb 0x42fbd0
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x80], 0
mov dword [esp + 4], 5
mov dword [esp], ebx
call fcn.0042f3b0
test eax, eax
jne 0x42fba0
mov edx, dword [ebx + 0x60]
cmp dword [ebx + 0x7c], 4
jbe 0x42fc10
mov al, byte [edx]
mov byte [esp + 0x1c], al
sub eax, 0x14
cmp al, 3
ja 0x42fc10
mov al, byte [edx + 1]
mov byte [esp + 0x1d], al
mov cl, byte [edx + 2]
mov byte [esp + 0x1e], cl
mov esi, dword [ebx]
and eax, 0xff
cmp eax, dword [ebx + 8]
jne 0x42fc10
cmp byte [esi + 1], cl
jb 0x42fc10
mov eax, dword [ebx + 0x5c]
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x28], 5
mov ax, word [edx + 3]
rol ax, 8
and eax, 0xffff
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], edx
lea edx, [eax + 5]
mov dword [esp + 0x24], edx
je 0x42fc10
mov dword [esp + 4], edx
mov dword [esp], ebx
call fcn.0042f3b0
test eax, eax
jne 0x42fba0
mov dword [ebx + 0x7c], 0
mov eax, dword [ebx + 0x3c]
test eax, eax
je 0x42fc20
lea esi, [esp + 0x14]
mov dword [esp + 8], esi
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0042ec80
test eax, eax
jne 0x42fba0
mov al, byte [esp + 0x1c]
mov edx, dword [esp + 0x2c]
test edx, edx
jne 0x42fcd0
cmp dword [ebx + 0xc], 3
je 0x42fbfc
mov eax, dword [ebx + 0x84]
inc eax
mov dword [ebx + 0x84], eax
cmp eax, 3
jg 0x42fcea
mov edx, 8
dec edx
mov ecx, dword [ebx + 0x5c]
add ecx, edx
inc byte [ecx]
jne 0x42fc20
test edx, edx
jne 0x42fb80
mov eax, 0xffff9480
jmp 0x42fa0f
cmp eax, 0xffff9a80
je 0x42fa49
add esp, 0x34
pop ebx
pop esi
ret
mov dword [ebx + 0x78], 0
jmp 0x42fa7a
sub edx, eax
mov dword [ebx + 0x78], edx
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 8], edx
add eax, ecx
mov dword [esp + 4], eax
mov dword [esp], ecx
call sub.msvcrt.dll_memmove
mov eax, dword [ebx + 0x78]
mov dword [ebx + 0x80], 0
jmp 0x42fa2b
cmp al, 0x17
je 0x42fb65
lea esi, [esi]
lea esi, [esi]
nop
mov eax, 0xffff8e00
jmp 0x42fa0f
cmp dword [esp + 0x2c], 0x4000
ja 0x42fc10
mov eax, dword [ebx + 0x60]
lea edx, [eax - 8]
mov dword [ebx + 0x5c], edx
lea edx, [eax + 3]
mov dword [ebx + 0x64], edx
lea edx, [eax + 5]
mov dword [ebx + 0x68], edx
xor edx, edx
mov dl, byte [esp + 0x1c]
mov dword [ebx + 0x74], edx
mov cl, byte [esp + 0x1c]
mov byte [eax], cl
mov eax, dword [esp + 0x28]
add eax, dword [esp + 0x20]
mov dword [ebx + 0x6c], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x78], eax
mov edx, dword [ebx + 0x64]
mov byte [edx], ah
mov eax, dword [ebx + 0x64]
mov edx, dword [esp + 0x2c]
mov byte [eax + 1], dl
jmp 0x42fa2f
test eax, eax
jne 0x42fa0f
cmp dword [ebx + 0x74], 0x16
jne 0x42fa0d
cmp dword [esp + 0x44], 1
jne 0x42fa0d
cmp dword [ebx + 4], 0x10
je 0x42fa0d
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x42fa0d
mov edx, dword [ebx + 0x80]
mov dword [esp + 8], edx
mov edx, dword [ebx + 0x6c]
mov dword [esp + 4], edx
mov dword [esp], ebx
call dword [eax + 0x18]
jmp 0x42fa0d
mov dword [ebx + 0x84], 0
jmp 0x42fb7b
mov eax, 0xffff9400
jmp 0x42fa0f
mov eax, 0xffff8e80
jmp 0x42fa0f