Function at 0x42bf00
Capabilities:
Check if file exists
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52cbd0
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x588790]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov dword [ebp - 4], edi
xor eax, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], ax
push edi
push 0x104
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.0041f000
mov eax, dword [ebp + 8]
mov ebx, 8
cmp dword [ebp + 0x1c], ebx
jae 0x42bf65
lea eax, [ebp + 8]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
je 0x42c1be
mov eax, dword [ebp + 0x24]
cmp dword [ebp + 0x38], ebx
jae 0x42bf81
lea eax, [ebp + 0x24]
push eax
call esi
test eax, eax
je 0x42c1be
cmp dword [ebp + 0x54], 0x10
mov edi, dword [ebp + 0x40]
jae 0x42bf98
lea edi, [ebp + 0x40]
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x1c], ebx
jae 0x42bfa3
lea eax, [ebp + 8]
push 2
xor esi, esi
push esi
push eax
call fcn.00426ef0
mov edi, eax
add esp, 0xc
cmp edi, esi
jne 0x42c04e
mov ecx, dword [ebp + 8]
cmp dword [ebp + 0x1c], ebx
jae 0x42bfc6
lea ecx, [ebp + 8]
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], ebx
jae 0x42bfd1
lea eax, [ebp - 0x30]
push ecx
push str.UnPackZipToPath_failed__open_zip__s__failed
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp - 0x30]
add esp, 0xc
cmp dword [ebp - 0x1c], ebx
jae 0x42bfec
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x1c], ebx
jb 0x42c004
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004ad85d
add esp, 4
xor edx, edx
mov edi, 7
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], esi
mov word [ebp - 0x30], dx
cmp dword [ebp + 0x1c], ebx
jb 0x42c026
mov eax, dword [ebp + 8]
push eax
call fcn.004ad85d
add esp, 4
xor ecx, ecx
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x18], esi
mov word [ebp + 8], cx
cmp dword [ebp + 0x38], ebx
jb 0x42c043
mov edx, dword [ebp + 0x24]
push edx
call fcn.004ad85d
add esp, 4
mov dword [ebp + 0x38], edi
mov dword [ebp + 0x34], esi
jmp 0x42c240
mov eax, dword [ebp + 0x24]
mov byte [ebp - 0x265], 1
cmp dword [ebp + 0x38], ebx
jae 0x42c060
lea eax, [ebp + 0x24]
push eax
mov eax, edi
call fcn.004273c0
add esp, 4
test eax, eax
jne 0x42c103
push 0xffffffffffffffff
lea eax, [ebp - 0x264]
mov ecx, edi
call fcn.00426ff0
add esp, 4
test eax, eax
jne 0x42c103
mov ebx, dword [ebp - 0x264]
test ebx, ebx
jle 0x42c0ed
push esi
lea eax, [ebp - 0x264]
mov ecx, edi
call fcn.00426ff0
add esp, 4
test eax, eax
je 0x42c0af
mov byte [ebp - 0x265], 0
push esi
push edi
lea ecx, [ebp - 0x260]
call fcn.00427040
add esp, 8
test eax, eax
je 0x42c0e8
cmp eax, 0x300
ja 0x42c0da
je 0x42c0e8
cmp eax, 0x100
je 0x42c0e8
cmp eax, 0x200
jmp 0x42c0df
cmp eax, 0x400
je 0x42c0e8
mov byte [ebp - 0x265], 0
inc esi
cmp esi, ebx
jl 0x42c093
xor esi, esi
lea ebx, [esi + 8]
cmp dword [edi], 1
sete al
test al, al
je 0x42c10c
call fcn.00427400
jmp 0x42c111
mov byte [ebp - 0x265], 0
jmp 0x42c0f2
call fcn.0042b6b0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], ebx
jae 0x42c11c
lea eax, [ebp - 0x30]
movzx edx, byte [ebp - 0x265]
push edx
push str.UnPackZipToPath__success__d_
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp - 0x30]
add esp, 0xc
cmp dword [ebp - 0x1c], ebx
jae 0x42c13e
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x1c], ebx
jb 0x42c156
mov eax, dword [ebp - 0x30]
push eax
call fcn.004ad85d
add esp, 4
xor ecx, ecx
mov edi, 7
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], esi
mov word [ebp - 0x30], cx
cmp dword [ebp + 0x1c], ebx
jb 0x42c178
mov edx, dword [ebp + 8]
push edx
call fcn.004ad85d
add esp, 4
xor eax, eax
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x18], esi
mov word [ebp + 8], ax
cmp dword [ebp + 0x38], ebx
jb 0x42c195
mov ecx, dword [ebp + 0x24]
push ecx
call fcn.004ad85d
add esp, 4
xor edx, edx
cmp dword [ebp + 0x54], 0x10
mov dword [ebp + 0x38], edi
mov dword [ebp + 0x34], esi
mov word [ebp + 0x24], dx
jb 0x42c1b3
mov eax, dword [ebp + 0x40]
push eax
call fcn.004ad85d
add esp, 4
mov al, byte [ebp - 0x265]
jmp 0x42c25a
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], ebx
jae 0x42c1c9
lea eax, [ebp - 0x30]
push str.UnPackZipToPath_failed__invalid_file_or_dir
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp - 0x30]
add esp, 8
cmp dword [ebp - 0x1c], ebx
jae 0x42c1e3
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x1c], ebx
jb 0x42c1fb
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004ad85d
add esp, 4
xor edx, edx
mov esi, 7
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], dx
cmp dword [ebp + 0x1c], ebx
jb 0x42c21d
mov eax, dword [ebp + 8]
push eax
call fcn.004ad85d
add esp, 4
xor ecx, ecx
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x18], edi
mov word [ebp + 8], cx
cmp dword [ebp + 0x38], ebx
jb 0x42c23a
mov edx, dword [ebp + 0x24]
push edx
call fcn.004ad85d
add esp, 4
mov dword [ebp + 0x38], esi
mov dword [ebp + 0x34], edi
xor eax, eax
cmp dword [ebp + 0x54], 0x10
mov word [ebp + 0x24], ax
jb 0x42c258
mov ecx, dword [ebp + 0x40]
push ecx
call fcn.004ad85d
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00503edf
mov esp, ebp
pop ebp
ret