Function at 0x4bb62d
Capabilities:
Check if file exists
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x283c
call fcn.004855d0
mov eax, dword [0x62b370]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x800
lea eax, [ebp - 0x1028]
push esi
xor edi, edi
push edi
push eax
call fcn.004d7c10
push esi
lea eax, [ebp - 0x182c]
push edi
push eax
call fcn.004d7c10
lea eax, [ebp + 0xc]
push eax
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x1028]
push 0x3ff
push 0x400
push eax
call fcn.00444290
xor eax, eax
mov word [ebp - 0x82a], ax
lea eax, [ebp - 0x1028]
push eax
lea eax, [ebp - 0x182c]
push str._zip__s_n
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
xor eax, eax
add esp, 0x3c
mov word [ebp - 0x102e], ax
lea eax, [ebp - 0x182c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov esi, 0x208
lea eax, [ebp - 0x61c]
push esi
push edi
push eax
call fcn.004d7c10
push 0x5bbcd0
mov ebx, 0x104
lea eax, [ebp - 0x61c]
push ebx
push eax
call fcn.004e7987
push 0x5bb850
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.log
push eax
call fcn.004b3cbc
push esi
lea eax, [ebp - 0x824]
push edi
push eax
call fcn.004d7c10
push esi
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004d7c10
add esp, 0x40
lea eax, [ebp - 0x20c]
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.004d84c9
pop ecx
pop ecx
xor ecx, ecx
mov word [eax], cx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x414]
push eax
call ebx
test eax, eax
je 0x4bb8c0
lea eax, [ebp - 0x20c]
push eax
call fcn.004d915b
lea ecx, [ebp - 0x20a]
lea eax, [ecx + eax*2]
push eax
lea eax, [ebp - 0x824]
push 0x104
push eax
call fcn.004e7987
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_s.txt
push eax
call fcn.004b3cbc
push edi
call fcn.004de7f4
mov dword [ebp - 0x283c], eax
lea eax, [ebp - 0x283c]
push eax
mov dword [ebp - 0x2838], edx
call fcn.004dedb6
mov esi, eax
add esp, 0x28
test esi, esi
je 0x4bb8c0
push 0x1000
lea eax, [ebp - 0x282c]
push edi
push eax
call fcn.004d7c10
lea eax, [ebp - 0x1028]
push eax
push dword [esi]
mov eax, dword [esi + 0x10]
push dword [esi + 4]
inc eax
push dword [esi + 8]
push dword [esi + 0xc]
push eax
mov eax, dword [esi + 0x14]
add eax, 0x76c
push eax
lea eax, [ebp - 0x282c]
push str.__d__02d__02d__02d:_02d:_02d_:_s
push eax
call fcn.004bb60f
add esp, 0x30
lea eax, [ebp - 0x414]
push eax
call ebx
xor ebx, ebx
inc ebx
test eax, eax
lea eax, [ebp - 0x414]
push 0x5bc4c8
push eax
cmovne edi, ebx
call fcn.004de6b5
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4bb8c0
test edi, edi
jne 0x4bb866
push esi
push 2
lea eax, [ebp - 0x2834]
mov dword [ebp - 0x2834], 0xfeff
push ebx
push eax
call fcn.004de4db
add esp, 0x10
lea eax, [ebp - 0x282c]
push eax
call fcn.004d915b
push esi
add eax, eax
push eax
lea eax, [ebp - 0x282c]
push ebx
push eax
call fcn.004de4db
push esi
push 2
lea eax, [ebp - 0x2830]
mov dword [ebp - 0x2830], 0xd
push ebx
push eax
call fcn.004de4db
push esi
push 2
lea eax, [ebp - 0x2830]
mov dword [ebp - 0x2830], 0xa
push ebx
push eax
call fcn.004de4db
push esi
call fcn.004ddfd7
add esp, 0x38
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00484636
mov esp, ebp
pop ebp
ret