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

Disassembly:
push 0xffffffffffffffff
push 0x473d86
mov eax, dword fs:[0]
push eax
mov eax, 0x40d8
call fcn.00459b60
mov eax, dword [0x48f900]
xor eax, esp
mov dword [esp + 0x40d0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48f900]
xor eax, esp
push eax
lea eax, [esp + 0x40ec]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40fc]
xor ebx, ebx
mov dword [esp + 0x28], ecx
mov edi, 7
xor edx, edx
mov ecx, eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], dx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x42c6c5
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x3c]
call fcn.00405430
mov ecx, esi
lea esi, [esp + 0xa8]
mov dword [esp + 0x40f4], ebx
call fcn.00422440
mov byte [esp + 0x40f4], 2
cmp dword [esp + 0x50], 8
jb 0x42c70f
mov eax, dword [esp + 0x3c]
push eax
call fcn.00439598
add esp, 4
mov eax, dword [esp + 0xac]
mov dword [esp + 0x50], edi
xor ecx, ecx
mov edi, 0x10
xor esi, esi
xor ebp, ebp
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], cx
mov dword [esp + 0x14], 0x42e5e0
mov dword [esp + 0x18], 0x41bb00
mov dword [esp + 0x30], 0x42e5e0
mov dword [esp + 0x34], 0x41bb00
cmp dword [esp + 0xc0], edi
jae 0x42c75e
lea eax, [esp + 0xac]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x24], eax
cmp eax, 0xffffffff
jne 0x42c7ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x42c7ab
cmp dword [esp + 0xc0], edi
jb 0x42c7a1
mov edx, dword [esp + 0xac]
push edx
call fcn.00439598
add esp, 4
mov eax, 1
jmp 0x42c91b
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x42e590
mov dword [esp + 0x20], 0x42e5c0
mov dword [esp + 0xc4], 0x430ee0
mov dword [esp + 0xc8], 0x430f40
mov dword [esp + 0xcc], 0x430f50
mov dword [esp + 0xd0], 0x430fb0
mov dword [esp + 0xd4], eax
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xd8], ebx
call fcn.00430fd0
lea ecx, [esp + 0xc4]
push ecx
lea edx, [esp + 0x58]
push edx
lea edx, [esp + 0x38]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
call fcn.00430820
add esp, 8
mov dword [esp + 0x2c], eax
cmp eax, ebx
je 0x42c88a
lea edi, [esp + 0x14]
lea eax, [esp + 0x54]
call fcn.0042e7e0
jmp 0x42c8c3
mov ecx, dword [esp + 0x70]
cmp ecx, ebx
jbe 0x42c8b6
mov eax, dword [esp + 0x64]
add eax, 8
lea esp, [esp]
cmp byte [eax + 0x11], bl
jne 0x42c8ae
mov edx, dword [eax]
add esi, edx
mov edx, dword [eax + 4]
adc ebp, edx
add eax, 0x20
sub ecx, 1
jne 0x42c8a0
lea eax, [esp + 0x14]
push ebx
push eax
call dword [esp + 0x20]
add esp, 8
lea edi, [esp + 0x14]
lea eax, [esp + 0x54]
call fcn.0042e7e0
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
je 0x42c8f4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x42c8ec
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x42c8f4
mov dword [esp + 0x24], 0xffffffff
cmp dword [esp + 0xc0], 0x10
mov eax, dword [esp + 0x28]
mov dword [eax], esi
mov dword [eax + 4], ebp
jb 0x42c917
mov ecx, dword [esp + 0xac]
push ecx
call fcn.00439598
add esp, 4
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40ec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40d0]
xor ecx, esp
call fcn.00457861
add esp, 0x40e4
ret