Function at 0x439c90
Capabilities:
Check if file exists
Delete file
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x596136
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x604654]
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
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x178], 0
push 0x30
lea eax, [ebp - 0x16c]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0053c7b0
add esp, 0xc
lea ecx, [ebp - 0x16c]
call fcn.0048b4d0
xor eax, eax
mov byte [ebp - 4], 1
mov word [ebp - 0x28], ax
mov eax, dword [ebp + 0xc]
mov edx, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
lea esi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x439d10
sub edx, esi
lea ecx, [ebp - 0x28]
sar edx, 1
push edx
push eax
call fcn.00413b10
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x16c]
call fcn.0048baf0
mov edx, dword [ebp - 0x14]
test eax, eax
mov byte [ebp - 4], 1
sete al
mov byte [ebp - 0x16d], al
cmp edx, 8
jb 0x439d8b
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x439d7b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43a7d5
push edx
push ecx
call fcn.004a3dd5
mov al, byte [ebp - 0x16d]
add esp, 8
or edi, 0xffffffff
test al, al
je 0x439db2
sub esp, 8
mov ecx, ebx
mov eax, esp
push 1
mov dword [eax], 0x5ab0c0
mov dword [eax + 4], 0
call fcn.0043cc60
jmp 0x43a794
xor eax, eax
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 7
mov word [ebp - 0x7c], ax
push 0xa
push str.__cmd_file
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00413b10
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x178], 1
push eax
lea ecx, [ebp - 0x16c]
call fcn.0048b9b0
test eax, eax
je 0x439e19
cmp dword [ebp - 0x6c], 0
mov byte [ebp - 0x16d], 1
jne 0x439e20
mov byte [ebp - 0x16d], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 3
call fcn.0040c130
cmp byte [ebp - 0x16d], 0
mov dword [ebp - 0x178], 0
je 0x439fd1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.004718f0
add esp, 8
lea eax, [ebp - 0x7c]
cmp dword [ebp - 0x68], 8
cmovae eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x17c], ecx
test ecx, ecx
je 0x439fc5
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
test eax, eax
mov byte [ebp - 4], 6
mov esi, 0x5aafa0
cmovne esi, eax
mov dword [ebp - 0x180], esi
test ecx, ecx
jns 0x439ec1
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, eax
mov dword [ebp - 0x17c], eax
push 0
push 0
push ecx
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x184], edi
call fcn.0040c960
mov ecx, eax
test ecx, ecx
je 0x43a7da
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x174], esi
mov byte [ebp - 4], 7
test edi, edi
jle 0x439f59
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
or eax, ecx
jge 0x439f2e
push edi
lea ecx, [ebp - 0x174]
call fcn.0040d9d0
mov esi, dword [ebp - 0x174]
test edi, edi
jle 0x439f47
mov ecx, edi
xor eax, eax
shr ecx, 1
mov edi, esi
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0x184]
cmp edi, dword [esi - 8]
jg 0x43a7e4
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
cmp dword [esi - 4], 1
mov byte [ebp - 4], 6
mov dword [ebp - 0x178], 2
jle 0x439f81
push dword [esi - 0xc]
lea ecx, [ebp - 0x174]
call fcn.0040c650
mov esi, dword [ebp - 0x174]
push edi
push esi
push dword [ebp - 0x17c]
push dword [ebp - 0x180]
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x174]
push eax
lea ecx, [ebp + 0xc]
call fcn.00429780
or edi, 0xffffffff
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x439fc5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00410f80
lea ecx, [ebp - 0x16c]
call fcn.0048bed0
mov eax, dword [ebp + 0xc]
mov esi, 0x5ab0c0
test eax, eax
cmovne esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ecx, ecx
mov dword [ebp - 0x18], 0
push eax
mov word [ebp - 0x28], cx
lea ecx, [ebp - 0x28]
push esi
mov dword [ebp - 0x14], 7
call fcn.00413b10
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x16c]
call fcn.0048baf0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
mov esi, eax
call fcn.0040c130
test esi, esi
jne 0x43a04f
sub esp, 8
mov ecx, ebx
mov eax, esp
push 1
mov dword [eax], 0x5ab0c0
mov dword [eax + 4], esi
call fcn.0043cc60
jmp 0x43a78c
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
push 4
push 0x5acc60
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 9
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00413b10
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x16c]
call fcn.0048b9b0
lea ecx, [ebp - 0x28]
call fcn.0040c130
xor eax, eax
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 7
mov word [ebp - 0x13c], ax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], 7
mov word [ebp - 0x124], ax
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], 7
mov word [ebp - 0x10c], ax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], 7
mov word [ebp - 0xf4], ax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], 7
mov word [ebp - 0xdc], ax
mov ecx, str.__zip_opt
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43a136
sub ecx, edx
sar ecx, 1
push ecx
push str.__zip_opt
lea ecx, [ebp - 0x28]
call fcn.00413b10
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x16c]
call fcn.0048b9b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
mov esi, eax
call fcn.0040c130
test esi, esi
je 0x43a4fb
push str.__zip_dir
lea ecx, [ebp - 0x28]
call fcn.0040bf50
lea eax, [ebp - 0x124]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x16c]
call fcn.0048b9b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
mov esi, eax
call fcn.0040c130
test esi, esi
je 0x43a2c7
push str.__zip_file_count
lea ecx, [ebp - 0x28]
call fcn.0040bf50
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x16c]
call fcn.0048b9b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
mov esi, eax
call fcn.0040c130
test esi, esi
je 0x43a2c7
push str.__zip_file
lea ecx, [ebp - 0x28]
call fcn.0040bf50
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x16c]
call fcn.0048b9b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
mov esi, eax
call fcn.0040c130
test esi, esi
je 0x43a2c7
push str.__zip_t_file
lea ecx, [ebp - 0x28]
call fcn.0040bf50
lea eax, [ebp - 0xdc]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x16c]
call fcn.0048b9b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
mov esi, eax
call fcn.0040c130
test esi, esi
je 0x43a2c7
cmp dword [ebp - 0x128], 8
lea eax, [ebp - 0x13c]
mov esi, dword [sym.imp.SHLWAPI.dll_StrToIntW]
cmovae eax, dword [ebp - 0x13c]
push eax
call esi
cmp dword [ebp - 0xf8], 8
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x174], eax
cmovae ecx, dword [ebp - 0x10c]
push ecx
call esi
mov ecx, eax
mov eax, dword [ebp - 0x174]
test eax, eax
je 0x43a2c3
cmp eax, 1
je 0x43a2c3
cmp eax, 2
jne 0x43a2c7
test ecx, ecx
jg 0x43a2e4
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
mov ecx, ebx
push eax
push 1
call fcn.0043cc60
jmp 0x43a74d
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
movq qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
push 0x5aba48
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0x15
call fcn.0040be50
cmp dword [ebp - 0xe0], 8
lea eax, [ebp - 0xf4]
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0x16
cmovae eax, dword [ebp - 0xf4]
push eax
call fcn.0040be50
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x178]
push eax
lea eax, [ebp - 0x17c]
push eax
call fcn.004768b0
add esp, 0xc
lea ecx, [ebp - 0x17c]
call fcn.0040c0a0
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0x15
call fcn.0040c0a0
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00435e90
cmp dword [ebp - 0xc8], 8
lea eax, [ebp - 0xdc]
lea ecx, [ebp - 0x184]
mov byte [ebp - 4], 0x18
cmovae eax, dword [ebp - 0xdc]
push eax
call fcn.0040be50
cmp dword [ebp - 0x110], 8
lea eax, [ebp - 0x124]
lea ecx, [ebp - 0x178]
mov byte [ebp - 4], 0x19
cmovae eax, dword [ebp - 0x124]
push eax
call fcn.0040be50
mov byte [ebp - 4], 0x1c
call fcn.00437f60
push 0
push 0
push 1
push 0
push str.compressing
mov ecx, eax
call fcn.0049ebf0
push 0x4c4
call fcn.004a3da5
mov esi, eax
add esp, 4
mov dword [ebp - 0x180], esi
mov byte [ebp - 4], 0x1d
test esi, esi
je 0x43a429
push 0x4c4
push 0
push esi
call fcn.0053c7b0
add esp, 0xc
mov ecx, esi
push 1
call fcn.00442310
mov esi, eax
mov dword [ebp - 0x17c], eax
jmp 0x43a431
xor esi, esi
mov dword [ebp - 0x17c], esi
push 0
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0x40010
push SysReAllocString
push 0x5ac628
push dword [ebx + 4]
mov ecx, esi
mov byte [ebp - 4], 0x1c
call fcn.004ae900
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x178]
push eax
mov eax, dword [ebp - 0x174]
push eax
call fcn.00445130
push 1
mov ecx, esi
call fcn.004a63c0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x17c]
mov esi, dword [ebx + 4]
call fcn.004a63c0
push esi
push eax
call fcn.0046ffb0
mov edx, dword [ebp - 0x178]
add esp, 8
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a4c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x184]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43a4e6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x1c]
call fcn.00428f80
lea ecx, [ebp - 0x4c]
call fcn.00428f80
jmp 0x43a74d
xor eax, eax
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 7
mov word [ebp - 0xc4], ax
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], 7
mov word [ebp - 0xac], ax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], 7
mov word [ebp - 0x94], ax
push str.__unzip_opt
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x20
call fcn.0040bf50
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 0x21
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x16c]
call fcn.0048b9b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x20
mov esi, eax
call fcn.0040c130
test esi, esi
je 0x43a681
push str.__unzip_path
lea ecx, [ebp - 0x28]
call fcn.0040bf50
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 0x22
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x16c]
call fcn.0048b9b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x20
mov esi, eax
call fcn.0040c130
test esi, esi
jne 0x43a5da
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
mov ecx, ebx
push eax
push 1
call fcn.0043cc60
jmp 0x43a72c
push str.__unzip_t_dir
lea ecx, [ebp - 0x28]
call fcn.0040bf50
lea eax, [ebp - 0x94]
mov byte [ebp - 4], 0x23
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x16c]
call fcn.0048b9b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x20
mov esi, eax
call fcn.0040c130
test esi, esi
je 0x43a5bd
cmp dword [ebp - 0xb0], 8
lea eax, [ebp - 0xc4]
cmovae eax, dword [ebp - 0xc4]
push eax
call dword [sym.imp.SHLWAPI.dll_StrToIntW]
cmp dword [ebp - 0x80], 8
lea edx, [ebp - 0x94]
push ecx
cmovae edx, dword [ebp - 0x94]
mov ecx, esp
mov dword [ebp - 0x180], esp
mov esi, eax
push edx
call fcn.0040be50
cmp dword [ebp - 0x98], 8
lea eax, [ebp - 0xac]
push ecx
cmovae eax, dword [ebp - 0xac]
mov ecx, esp
push eax
mov byte [ebp - 4], 0x24
call fcn.0040be50
push esi
push ebx
mov byte [ebp - 4], 0x20
call fcn.0043a7f0
jmp 0x43a72c
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
push str.__unzip
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x25
call fcn.0040bf50
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x26
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x16c]
call fcn.0048b9b0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x25
mov esi, eax
call fcn.0040c130
test esi, esi
je 0x43a70c
cmp dword [ebp - 0x50], 8
lea esi, [ebp - 0x64]
cmovae esi, dword [ebp - 0x64]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43a70c
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x43a70c
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
push ecx
cmovae eax, dword [ebp - 0x64]
mov ecx, esp
push eax
call fcn.0040be50
push ebx
call fcn.0043a980
jmp 0x43a724
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
mov ecx, ebx
push eax
push 1
call fcn.0043cc60
lea ecx, [ebp - 0x64]
call fcn.0040c130
lea ecx, [ebp - 0x94]
call fcn.0040c130
lea ecx, [ebp - 0xac]
call fcn.0040c130
lea ecx, [ebp - 0xc4]
call fcn.0040c130
lea ecx, [ebp - 0xdc]
call fcn.0040c130
lea ecx, [ebp - 0xf4]
call fcn.0040c130
lea ecx, [ebp - 0x10c]
call fcn.0040c130
lea ecx, [ebp - 0x124]
call fcn.0040c130
lea ecx, [ebp - 0x13c]
call fcn.0040c130
lea ecx, [ebp - 0x40]
call fcn.0040c130
lea ecx, [ebp - 0x7c]
call fcn.0040c130
lea ecx, [ebp - 0x16c]
call fcn.0048b530
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x43a7b7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.004a408b
mov esp, ebp
pop ebp
ret 8
call fcn.0053fae3
push 0x80004005
call fcn.0040c4f0
push 0x80070057
call fcn.0040c4f0
int3