Function at 0x4b8040
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54fe2a
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x5abcc4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xfc], ecx
mov ecx, dword [ebp - 0xfc]
add ecx, 0x1e8
call fcn.004a7b60
push eax
call fcn.004bac40
add esp, 4
movzx eax, al
test eax, eax
je 0x4b818b
lea ecx, [ebp - 0xcc]
call fcn.004096a0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xfc]
mov edx, dword [ecx + 0x1e8]
push edx
push str.The_below_file_already_exists__do_you_want_to_overwrite_it_
push str.TransmitOverwritePrompt
lea eax, [ebp - 0xd8]
push eax
call fcn.00408ca0
add esp, 0xc
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0x104], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x104]
mov eax, dword [edx]
push eax
push str._s_n_n___s
lea ecx, [ebp - 0xcc]
push ecx
call fcn.0040a160
add esp, 0x10
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd8]
call fcn.00408fa0
push 0
push 4
lea ecx, [ebp - 0xcc]
call fcn.004a7b60
push eax
call fcn.004f8f0b
cmp eax, 7
jne 0x4b8179
push 0x568
mov ecx, dword [ebp - 0xfc]
call fcn.004fa13c
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 0
je 0x4b8162
mov ecx, dword [ebp - 0xd0]
call fcn.004fa405
push 0
push 0xffffffffffffffff
push 0
mov ecx, dword [ebp - 0xd0]
call fcn.0049c700
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.00408fa0
jmp 0x4b87a4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.00408fa0
cmp dword [ebp + 0xc], 0
je 0x4b8217
push str.Input_the_password_for_the_zip_file
push str.InputZipPassword
lea edx, [ebp - 0xd4]
push edx
call fcn.00408ca0
add esp, 0xc
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0xfc]
add eax, 0x1f4
push eax
mov ecx, dword [ebp - 0xfc]
add ecx, 0x1e8
call fcn.004a7b60
push eax
lea ecx, [ebp - 0xd4]
call fcn.004a7b60
push eax
call fcn.004be2d0
add esp, 0xc
movzx ecx, al
test ecx, ecx
jne 0x4b8205
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd4]
call fcn.00408fa0
jmp 0x4b87a4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd4]
call fcn.00408fa0
mov edx, dword [ebp - 0xfc]
cmp dword [edx + 0x1f8], 0
jne 0x4b82cf
push str.zip32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [ebp - 0xfc]
mov dword [ecx + 0x1f8], eax
mov edx, dword [ebp - 0xfc]
cmp dword [edx + 0x1f8], 0
jne 0x4b8263
push 0
push 0
push str.Can_not_load_zip32.dll__Can_not_pack_files_into_ZIP_file_
call fcn.004f8f0b
jmp 0x4b87a4
push str.ZpInit
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax + 0x1f8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0xfc]
mov dword [edx + 0x1fc], eax
push str.ZpSetOptions
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax + 0x1f8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0xfc]
mov dword [edx + 0x200], eax
push str.ZpArchive
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax + 0x1f8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [ebp - 0xfc]
mov dword [edx + 0x204], eax
mov ecx, dword [ebp - 0xfc]
add ecx, 0x1e8
call fcn.004a7b60
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0xc0], 0x4b8030
mov dword [ebp - 0xbc], 0x4b7f90
mov dword [ebp - 0xc4], 0x4b7f80
mov dword [ebp - 0xb8], 0x4b7fc0
lea eax, [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0xfc]
mov edx, dword [ecx + 0x1fc]
call edx
mov ecx, dword [ebp - 0xfc]
add ecx, 0x1e8
call fcn.00456160
add eax, 1
push eax
call fcn.004f6b46
add esp, 4
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0xfc]
add ecx, 0x1e8
call fcn.004a7b60
push eax
lea ecx, [ebp - 0xe0]
push ecx
call fcn.004ba8c0
add esp, 8
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x108]
call fcn.004a7b60
push eax
mov edx, dword [ebp - 0x28]
push edx
call fcn.00526960
add esp, 8
lea ecx, [ebp - 0xe0]
call fcn.00408fa0
mov dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xa4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x38], 0
lea edx, [ebp - 0xb4]
push edx
mov eax, dword [ebp - 0xfc]
mov ecx, dword [eax + 0x200]
call ecx
lea ecx, [ebp - 0x30]
call fcn.004096a0
mov dword [ebp - 4], 3
mov ecx, dword [ebp + 8]
call fcn.00456080
shl eax, 2
push eax
call fcn.00528c1d
add esp, 4
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0x14], 0
jmp 0x4b84ec
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp + 8]
call fcn.00456080
cmp dword [ebp - 0x14], eax
jge 0x4b854e
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp + 8]
call fcn.00452c20
push eax
lea ecx, [ebp - 0x30]
call fcn.00409760
lea ecx, [ebp - 0x30]
call fcn.00456160
add eax, 1
push eax
call fcn.00528c1d
add esp, 4
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc8]
mov dword [edx + ecx*4], eax
lea ecx, [ebp - 0x30]
call fcn.004a7b60
push eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + eax*4]
push edx
call fcn.00526960
add esp, 8
jmp 0x4b84e3
mov ecx, dword [ebp - 0xfc]
add ecx, 0x1e8
call fcn.00456160
add eax, 1
push eax
call fcn.004f6b46
add esp, 4
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0xfc]
add ecx, 0x1e8
call fcn.004a7b60
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00526960
add esp, 8
mov ecx, dword [ebp + 8]
call fcn.00456080
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0xfc]
mov dword [ecx + 0x1f0], 0
mov edx, dword [ebp - 0xfc]
mov dword [0x5b3ed8], edx
sub esp, 0xc
mov eax, esp
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0xfc]
mov eax, dword [edx + 0x204]
call eax
mov dword [ebp - 0x10], eax
mov dword [0x5b3ed8], 0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0xe8], ecx
mov edx, dword [ebp - 0xe8]
push edx
call fcn.004f6b3b
add esp, 4
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xec], eax
mov ecx, dword [ebp - 0xec]
push ecx
call fcn.004f6b3b
add esp, 4
mov dword [ebp - 0x14], 0
jmp 0x4b8641
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov ecx, dword [ebp + 8]
call fcn.00456080
cmp dword [ebp - 0x14], eax
jge 0x4b8665
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc8]
mov edx, dword [ecx + eax*4]
push edx
call fcn.00526a58
add esp, 4
jmp 0x4b8638
mov eax, dword [ebp - 0xc8]
push eax
call fcn.00526a58
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.004096a0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x10], 0
jne 0x4b86d5
push str.Pack_in_the_following_ZIP_file_successfully:
push str.PackInZIPSuccess
lea ecx, [ebp - 0xf0]
push ecx
call fcn.00408ca0
add esp, 0xc
mov dword [ebp - 0x10c], eax
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x110], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x110]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00409760
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf0]
call fcn.00408fa0
jmp 0x4b8722
push str.Pack_in_the_following_ZIP_file_failurely:
push str.PackInZIPFailure
lea ecx, [ebp - 0xf4]
push ecx
call fcn.00408ca0
add esp, 0xc
mov dword [ebp - 0x114], eax
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x118], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x118]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00409760
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf4]
call fcn.00408fa0
mov ecx, dword [ebp - 0xfc]
add ecx, 0x1e8
push ecx
push 0x5796d8
lea edx, [ebp - 0xf8]
push edx
call fcn.0043ceb0
add esp, 0xc
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x120], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x120]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00408d60
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf8]
call fcn.00408fa0
push 0
push 0
lea ecx, [ebp - 0x2c]
call fcn.004a7b60
push eax
call fcn.004f8f0b
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00408fa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00408fa0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8