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

Disassembly:
push 0xffffffffffffffff
push 0x496516
mov eax, dword fs:[0]
push eax
mov eax, 0x40d8
call fcn.00466340
mov eax, dword [0x4b8a40]
xor eax, esp
mov dword [esp + 0x40d0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b8a40]
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], eax
mov edi, 7
xor edx, edx
mov eax, ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], dx
lea esi, [eax + 2]
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x42fe15
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.004055f0
lea ecx, [esp + 0x38]
lea esi, [esp + 0xa8]
mov dword [esp + 0x40f4], ebx
call fcn.00425250
mov byte [esp + 0x40f4], 2
cmp dword [esp + 0x50], 8
jb 0x42fe62
mov eax, dword [esp + 0x3c]
push eax
call fcn.00442e6d
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], 0x4348a0
mov dword [esp + 0x18], 0x41a4a0
mov dword [esp + 0x30], 0x4348a0
mov dword [esp + 0x34], 0x41a4a0
cmp dword [esp + 0xc0], edi
jae 0x42feb1
lea eax, [esp + 0xac]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x24], eax
cmp eax, 0xffffffff
jne 0x42fefe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x42fefe
cmp dword [esp + 0xc0], edi
jb 0x42fef4
mov edx, dword [esp + 0xac]
push edx
call fcn.00442e6d
add esp, 4
mov eax, 1
jmp 0x43006b
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x434850
mov dword [esp + 0x20], 0x434880
mov dword [esp + 0xc4], 0x4371a0
mov dword [esp + 0xc8], 0x437200
mov dword [esp + 0xcc], 0x437210
mov dword [esp + 0xd0], 0x437270
mov dword [esp + 0xd4], eax
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xd8], ebx
call fcn.00437290
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.00436ae0
add esp, 8
mov dword [esp + 0x2c], eax
cmp eax, ebx
je 0x42ffdd
lea edi, [esp + 0x14]
lea eax, [esp + 0x54]
call fcn.00434aa0
jmp 0x430013
mov ecx, dword [esp + 0x70]
cmp ecx, ebx
jbe 0x430006
mov eax, dword [esp + 0x64]
add eax, 8
lea esp, [esp]
cmp byte [eax + 0x11], bl
jne 0x42fffe
mov edx, dword [eax]
add esi, edx
mov edx, dword [eax + 4]
adc ebp, edx
add eax, 0x20
sub ecx, 1
jne 0x42fff0
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.00434aa0
mov eax, dword [esp + 0x24]
cmp eax, 0xffffffff
je 0x430044
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x43003c
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x430044
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 0x430067
mov ecx, dword [esp + 0xac]
push ecx
call fcn.00442e6d
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.00461a99
add esp, 0x40e4
ret