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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52cf20
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x588790]
xor eax, ebp
mov dword [ebp - 0x10], 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 - 0x18], 7
mov dword [ebp - 0x1c], edi
mov word [ebp - 0x2c], ax
push edi
mov ebx, 2
push 0x104
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.0041f000
cmp dword [ebp + 0x18], edi
je 0x42b898
cmp dword [ebp + 0x34], edi
je 0x42b898
mov eax, dword [ebp + 8]
mov esi, 8
cmp dword [ebp + 0x1c], esi
jae 0x42b778
lea eax, [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, edi
jne 0x42b7ae
mov ecx, dword [ebp + 8]
cmp dword [ebp + 0x1c], esi
jae 0x42b78e
lea ecx, [ebp + 8]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x42b799
lea eax, [ebp - 0x2c]
push ecx
push str.failed:_invalid_path__s_.
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x42b8b7
mov eax, dword [ebp + 0x24]
cmp dword [ebp + 0x38], esi
jae 0x42b7b9
lea eax, [ebp + 0x24]
push eax
call fcn.0042b5a0
add esp, 4
mov dword [ebp - 0x30], eax
cmp eax, edi
je 0x42b7d2
cmp dword [eax], ebx
sete al
test al, al
jne 0x42b827
mov ecx, dword [ebp + 0x24]
cmp dword [ebp + 0x38], esi
jae 0x42b7dd
lea ecx, [ebp + 0x24]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x42b7e8
lea eax, [ebp - 0x2c]
push ecx
push str.failed:_create_zip_file__s__failed.
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp - 0x2c]
add esp, 0xc
cmp dword [ebp - 0x18], esi
jae 0x42b803
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x2c]
call fcn.00401c30
lea ecx, [ebp + 8]
call fcn.00401c30
lea ecx, [ebp + 0x24]
call fcn.00401c30
jmp 0x42b919
lea eax, [ebp - 0x30]
push eax
sub esp, 0x1c
lea edx, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x34], esp
push edx
call fcn.004080d0
sub esp, 0x1c
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
mov byte [ebp - 4], 3
call fcn.004080d0
mov byte [ebp - 4], bl
call fcn.0042b940
mov edi, dword [ebp - 0x30]
add esp, 0x3c
test edi, edi
je 0x42b874
cmp dword [edi], 1
sete al
test al, al
je 0x42b874
call fcn.00427400
jmp 0x42b879
call fcn.0042b6b0
lea ecx, [ebp - 0x2c]
call fcn.00401c30
lea ecx, [ebp + 8]
call fcn.00401c30
lea ecx, [ebp + 0x24]
call fcn.00401c30
mov al, 1
jmp 0x42b91b
mov eax, dword [ebp - 0x2c]
mov esi, 8
cmp dword [ebp - 0x18], esi
jae 0x42b8a8
lea eax, [ebp - 0x2c]
push str.failed:_empty_path.
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 8
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x42b8c2
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x18], esi
jb 0x42b8da
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.004ad85d
add esp, 4
xor edx, edx
mov ebx, 7
mov word [ebp - 0x2c], dx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], ebx
cmp dword [ebp + 0x1c], esi
jb 0x42b8fc
mov eax, dword [ebp + 8]
push eax
call fcn.004ad85d
add esp, 4
xor ecx, ecx
mov word [ebp + 8], cx
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x1c], ebx
cmp dword [ebp + 0x38], esi
jb 0x42b919
mov edx, dword [ebp + 0x24]
push edx
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 - 0x10]
xor ecx, ebp
call fcn.00503edf
mov esp, ebp
pop ebp
ret