Function at 0x1001bfc0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c7a88
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100ebb10]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov esi, dword [ebp + 8]
test esi, esi
je 0x1001c3a0
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x1001c3a0
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x1001c3a0
cmp dword [0x101005c0], 0
je 0x1001c075
push esi
push str.CompressFolderAndSetTime_lpwszCompressPathSrc__s_
push str.CompressFolderAndSetTime
push 0xffffffffffffffff
push 0x100ffd2c
call fcn.10065110
add esp, 0x14
cmp dword [0x101005c0], 0
je 0x1001c075
push ebx
push str.CompressFolderAndSetTime_lpwszCompressPathDst__s_
push str.CompressFolderAndSetTime
push 0xffffffffffffffff
push 0x100ffd2c
call fcn.10065110
add esp, 0x14
cmp dword [0x101005c0], 0
je 0x1001c075
push edi
push str.CompressFolderAndSetTime_lpwszCompressDir__s_
push str.CompressFolderAndSetTime
push 0xffffffffffffffff
push 0x100ffd2c
call fcn.10065110
add esp, 0x14
push ebx
push esi
xor edi, edi
call fcn.1002d68a
neg eax
sbb esi, esi
push ebx
inc esi
call fcn.1001a9e0
add esp, 0xc
mov ebx, eax
cmp dword [0x101005c0], edi
je 0x1001c0b1
push ebx
push esi
push str.CompressFolderAndSetTime_bSameFile__d_bRar__d_
push str.CompressFolderAndSetTime
push 0xffffffffffffffff
push 0x100ffd2c
call fcn.10065110
add esp, 0x18
test esi, esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
jne 0x1001c108
cmp dword [ebp + 0x24], edi
je 0x1001c108
cmp dword [ebp + 0x28], edi
jne 0x1001c108
cmp dword [0x101005c0], edi
je 0x1001c0e6
push str.CompressFolderAndSetTime_____1
push str.CompressFolderAndSetTime
push 0xffffffffffffffff
push 0x100ffd2c
call fcn.10065110
add esp, 0x10
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
push eax
push esi
push ecx
call fcn.10019800
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1001c38a
mov dword [ebp - 0x18], 1
test ebx, ebx
je 0x1001c118
mov ecx, dword [ebp - 0x14]
call fcn.100197f0
test eax, eax
jne 0x1001c15f
cmp dword [0x101005c0], 0
je 0x1001c13a
push str.CompressFolderAndSetTime_____2
push str.CompressFolderAndSetTime
push 0xffffffffffffffff
push 0x100ffd2c
call fcn.10065110
add esp, 0x10
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x14]
push 0
push edx
mov edx, dword [ebp + 0xc]
push eax
push ecx
mov ecx, dword [ebp - 0x14]
push esi
push edx
call fcn.1001aae0
mov edi, eax
test edi, edi
je 0x1001c372
test ebx, ebx
je 0x1001c36e
cmp dword [0x101005c0], 0
je 0x1001c189
push str.CompressFolderAndSetTime_____3
push str.CompressFolderAndSetTime
push 0xffffffffffffffff
push 0x100ffd2c
call fcn.10065110
add esp, 0x10
cmp dword [ebp - 0x18], 0
jne 0x1001c1b2
cmp dword [ebp + 0x28], 0
jne 0x1001c1b2
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
push ebx
push esi
push eax
call fcn.10019800
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1001c38a
jmp 0x1001c1b5
mov ebx, dword [ebp + 0x14]
cmp dword [0x101005c0], 0
je 0x1001c1d7
push str.CompressFolderAndSetTime_____4
push str.CompressFolderAndSetTime
push 0xffffffffffffffff
push 0x100ffd2c
call fcn.10065110
add esp, 0x10
push 0x100ccbc0
lea ecx, [ebp - 0x10]
call fcn.10051c60
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x14]
push str..zip
lea ecx, [ebp - 0x10]
push ecx
push edx
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.100193c0
cmp dword [0x101005c0], 0
je 0x1001c24b
mov eax, dword [ebp - 0x10]
push eax
push str.CompressFolderAndSetTime_before_CompressFolder_wstrZipFileTemp__s_
push str.CompressFolderAndSetTime
push 0xffffffffffffffff
push 0x100ffd2c
call fcn.10065110
add esp, 0x14
cmp dword [0x101005c0], 0
je 0x1001c24b
push ebx
push str.CompressFolderAndSetTime_before_CompressFolder_lpwszCompressDir__s_
push str.CompressFolderAndSetTime
push 0xffffffffffffffff
push 0x100ffd2c
call fcn.10065110
add esp, 0x14
mov edx, dword [ebp + 0x2c]
mov eax, dword [ebp + 0x28]
lea ecx, [ebp + 0x14]
push ecx
mov ecx, dword [ebp - 0x10]
push edx
push eax
push ebx
push esi
push ecx
mov ecx, edi
mov dword [ebp + 0x14], 0
call fcn.1001aae0
mov edi, eax
test edi, edi
jne 0x1001c35f
cmp dword [0x101005c0], eax
je 0x1001c2e0
push str.CompressFolderAndSetTime_____5
push str.CompressFolderAndSetTime
push 0xffffffffffffffff
push 0x100ffd2c
call fcn.10065110
add esp, 0x10
cmp dword [0x101005c0], edi
je 0x1001c2e0
mov edx, dword [ebp - 0x10]
push edx
push str.CompressFolderAndSetTime_before_MoveFileExW_wstrZipFileTemp__s_
push str.CompressFolderAndSetTime
push 0xffffffffffffffff
push 0x100ffd2c
call fcn.10065110
add esp, 0x14
cmp dword [0x101005c0], edi
je 0x1001c2e0
mov eax, dword [ebp + 0xc]
push eax
push str.CompressFolderAndSetTime_before_MoveFileExW_lpwszCompressDir__s_
push str.CompressFolderAndSetTime
push 0xffffffffffffffff
push 0x100ffd2c
call fcn.10065110
add esp, 0x14
test byte [ebp + 0x14], 1
je 0x1001c319
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10020430
add esp, 4
test eax, eax
jne 0x1001c35f
cmp dword [0x101005c0], eax
je 0x1001c35a
push str.CompressFolderAndSetTime_____7
push str.CompressFolderAndSetTime
push 0xffffffffffffffff
push 0x100ffd2c
call fcn.10065110
add esp, 0x10
jmp 0x1001c35a
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
push 1
push edx
push eax
call fcn.10020150
add esp, 0xc
test eax, eax
jne 0x1001c35f
cmp dword [0x101005c0], eax
je 0x1001c350
push str.CompressFolderAndSetTime_____6
push str.CompressFolderAndSetTime
push 0xffffffffffffffff
push 0x100ffd2c
call fcn.10065110
add esp, 0x10
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 0xa
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.10052400
test edi, edi
jne 0x1001c38a
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0xc]
push eax
push ecx
mov ecx, dword [ebp - 0x14]
push edx
call fcn.10019780
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28
mov eax, 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x28