Function at 0x4aec30
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x53e0b2
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x5954a0]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5954a0]
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 0x4aee97
lea ecx, [esp + 0x4c]
call fcn.004af430
mov dword [esp + 0x2ac], ebx
push esi
cmp byte [esp + 0x2c4], bl
je 0x4aece9
lea eax, [esp + 0x2c]
push eax
call fcn.004adfe0
add esp, 8
mov byte [esp + 0x2ac], 1
mov ebx, 1
jmp 0x4aed02
lea ecx, [esp + 0x40]
push ecx
call fcn.004ae140
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.004af9e0
mov dword [esp + 0x2ac], 1
test bl, 2
je 0x4aed49
mov eax, dword [esp + 0x3c]
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 0x4aed49
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 0x4aed77
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 0x4aed77
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp word [esp + 0x8c], si
je 0x4aee83
mov ecx, dword [esp + 0x2bc]
push ebp
push ecx
lea edx, [esp + 0x54]
push edx
mov ecx, edi
call fcn.004ad830
test al, al
je 0x4aee83
mov eax, dword [esp + 0x70]
push eax
mov ecx, edi
call fcn.004ab670
test al, al
jne 0x4aef70
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x4aedc4
push ebp
call eax
add esp, 4
lea ecx, [esp + 0x2c]
call fcn.004b362e
mov bl, 3
push 0x14
mov byte [esp + 0x2b0], bl
call fcn.004b3015
add esp, 4
mov dword [esp + 0x18], eax
mov byte [esp + 0x2ac], 4
cmp eax, esi
je 0x4aedfd
push esi
push 0xffffffffffffffff
push esi
mov ecx, eax
call fcn.0048f780
mov esi, eax
push esi
push 0x20
push ebp
lea ecx, [esp + 0x38]
mov byte [esp + 0x2b8], bl
call fcn.004b3b7a
test eax, eax
jne 0x4aee9e
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.004f8090
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 0x54d0e8
call edi
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2ac], 0
call fcn.004b37e5
lea ecx, [esp + 0x4c]
mov dword [esp + 0x2ac], 0xffffffff
call fcn.004af4c0
xor al, al
jmp 0x4aef8d
mov ecx, esi
call fcn.004b40e7
lea ecx, [esp + 0x2c]
call fcn.004b3519
or eax, edx
jne 0x4aeec9
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.CZipArchive::AddNewFile_is_empty_file.__n
call esi
push ebp
call esi
push 0x54d0e8
call esi
cmp dword [esp + 0x20], 0
je 0x4aeedd
lea ecx, [esp + 0x2c]
call fcn.004b3519
mov edi, eax
jmp 0x4aeedf
xor edi, edi
mov ebp, dword [esp + 0x2d0]
push 0
push ebp
lea ecx, [esp + 0x48]
call fcn.004b1440
mov byte [esp + 0x2ac], 5
lea ebx, [ebx]
mov ecx, dword [esp + 0x44]
push ebp
push ecx
lea ecx, [esp + 0x34]
call fcn.004b3322
mov esi, eax
test esi, esi
je 0x4aef3c
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
push esi
push edx
call fcn.004acd20
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4aef3c
mov ecx, dword [esp + 0x24]
push ecx
push esi
push edi
call eax
add esp, 0xc
test al, al
je 0x4aef42
cmp esi, dword [esp + 0x48]
je 0x4aef00
lea ecx, [esp + 0x2c]
call fcn.004b35c8
lea ecx, [esp + 0x40]
mov byte [esp + 0x2ac], bl
call fcn.004b1470
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2ac], 0
call fcn.004b37e5
mov edi, dword [esp + 0x1c]
mov ecx, edi
call fcn.004ace10
lea ecx, [esp + 0x4c]
mov dword [esp + 0x2ac], 0xffffffff
call fcn.004af4c0
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.004f8124
add esp, 0x29c
ret 0x20