Function at 0x48cd50
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x51a132
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x56c3c0]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56c3c0]
xor eax, esp
push eax
lea eax, [esp + 0x2a4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2c4]
mov edx, dword [esp + 0x2cc]
mov ebp, dword [esp + 0x2b4]
mov esi, dword [esp + 0x2b8]
mov edi, ecx
mov ecx, dword [esp + 0x2c8]
xor ebx, ebx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x2d0], ebx
je 0x48cfb7
lea ecx, [esp + 0x4c]
call fcn.0048d540
mov dword [esp + 0x2ac], ebx
push esi
cmp byte [esp + 0x2c4], bl
je 0x48ce09
lea eax, [esp + 0x2c]
push eax
call fcn.0048c100
add esp, 8
mov byte [esp + 0x2ac], 1
mov ebx, 1
jmp 0x48ce22
lea ecx, [esp + 0x30]
push ecx
call fcn.0048c260
add esp, 8
mov ebx, 2
mov dword [esp + 0x2ac], ebx
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x18], ebx
call fcn.0048daf0
mov dword [esp + 0x2ac], 1
test bl, 2
je 0x48ce69
mov eax, dword [esp + 0x2c]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x14], ebx
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x48ce69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor esi, esi
mov dword [esp + 0x2ac], esi
test bl, 1
je 0x48ce97
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48ce97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp word [esp + 0x8c], si
je 0x48cfa3
mov ecx, dword [esp + 0x2bc]
push ebp
push ecx
lea edx, [esp + 0x54]
push edx
mov ecx, edi
call fcn.0048b920
test al, al
je 0x48cfa3
mov eax, dword [esp + 0x70]
push eax
mov ecx, edi
call fcn.00489bd0
test al, al
jne 0x48d087
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x48cee4
push ebp
call eax
add esp, 4
lea ecx, [esp + 0x30]
call fcn.004916c6
mov bl, 3
push 0x14
mov byte [esp + 0x2b0], bl
call fcn.004910c5
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x2ac], 4
cmp eax, esi
je 0x48cf1d
push esi
push 0xffffffffffffffff
push esi
mov ecx, eax
call fcn.0048bdc0
mov esi, eax
push esi
push 0x20
push ebp
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2b8], bl
call fcn.00491c12
test eax, eax
jne 0x48cfbe
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.CZipArchive::AddNewFile_Open_File_Failed.__n
call edi
xor ecx, ecx
push 0x200
push ecx
lea edx, [esp + 0xa6]
push edx
mov word [esp + 0xa8], cx
call fcn.004d5720
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
add esp, 0xc
push 0
push 0x100
lea ecx, [esp + 0xa4]
push ecx
mov ecx, esi
call edx
lea eax, [esp + 0x9c]
push eax
call edi
push ebp
call edi
push 0x526570
call edi
lea ecx, [esp + 0x30]
mov byte [esp + 0x2ac], 0
call fcn.0049187d
lea ecx, [esp + 0x4c]
mov dword [esp + 0x2ac], 0xffffffff
call fcn.0048d5d0
xor al, al
jmp 0x48d0a4
mov ecx, esi
call fcn.0049217f
lea ecx, [esp + 0x30]
call fcn.004915b1
or eax, edx
jne 0x48cfe9
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.CZipArchive::AddNewFile_is_empty_file.__n
call esi
push ebp
call esi
push 0x526570
call esi
cmp dword [esp + 0x20], 0
je 0x48cffd
lea ecx, [esp + 0x30]
call fcn.004915b1
mov edi, eax
jmp 0x48cfff
xor edi, edi
mov ebp, dword [esp + 0x2d0]
push 0
push ebp
lea ecx, [esp + 0x48]
call fcn.0048f540
mov byte [esp + 0x2ac], 5
lea ebx, [ebx]
mov ecx, dword [esp + 0x44]
push ebp
push ecx
lea ecx, [esp + 0x38]
call fcn.004913ba
mov esi, eax
test esi, esi
je 0x48d05c
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
push esi
push edx
call fcn.0048ae80
mov eax, dword [esp + 0x20]
test eax, eax
je 0x48d05c
mov ecx, dword [esp + 0x24]
push ecx
push esi
push edi
call eax
add esp, 0xc
test al, al
je 0x48d062
cmp esi, dword [esp + 0x48]
je 0x48d020
lea ecx, [esp + 0x40]
mov byte [esp + 0x2ac], bl
call fcn.0048f570
lea ecx, [esp + 0x30]
mov byte [esp + 0x2ac], 0
call fcn.0049187d
mov edi, dword [esp + 0x1c]
mov ecx, edi
call fcn.0048af70
lea ecx, [esp + 0x4c]
mov dword [esp + 0x2ac], 0xffffffff
call fcn.0048d5d0
mov al, 1
mov ecx, dword [esp + 0x2a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28c]
xor ecx, esp
call fcn.004d6555
add esp, 0x29c
ret 0x20