Function at 0x140019e20
Capabilities:
Delete file
Set file attributes

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4890]
mov eax, 0x4990
call fcn.1401b7d00
sub rsp, rax
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x49c0], rbx
mov qword [rsp + 0x49d0], rsi
mov qword [rsp + 0x49d8], rdi
mov rax, qword [0x1402ad7a8]
xor rax, rsp
mov qword [rbp + 0x4880], rax
mov r14, rdx
mov qword [rsp + 0x70], rdx
xor ebx, ebx
mov r15d, ebx
mov dword [rsp + 0x40], ebx
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x2880]
call fcn.1401bd240
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x3880]
call fcn.1401bd240
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x1880]
call fcn.1401bd240
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x3080]
call fcn.1401bd240
lea rcx, [0x1403c00d8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x1403bfd00], rbx
je 0x140019f0b
cmp dword [0x1403c085c], ebx
je 0x140019f0b
xor r8d, r8d
mov edx, dword [0x1403bfd08]
mov rcx, qword [0x1403bfd10]
call qword [0x1403b84f8]
mov dword [0x1403c085c], ebx
lea rcx, [0x1403c34f0]
call fcn.14002f330
mov r13, rax
test rax, rax
je 0x14001a85f
mov qword [rsp + 0x68], rbx
lea rax, [rbp + 0xbf0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea rdx, str.Logfile.log
mov rcx, r13
call fcn.14002f4d0
test eax, eax
jne 0x14001a83d
cmp dword [rsp + 0x40], 0xffffffff
je 0x14001a83d
movsxd rdi, dword [rbp + 0xe1c]
mov rcx, rdi
call fcn.14003592c
mov rsi, rax
mov qword [rsp + 0x78], rax
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.1401bd240
call fcn.140036e14
mov rcx, rax
test rax, rax
je 0x14001a8f0
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x60], rbx
mov r12, 0xffffffffffffffff
nop word [rax + rax]
cmp dword [r13], 1
jne 0x14001a811
mov dword [rsp + 0x20], 3
mov r9d, edi
mov r8, rsi
mov edx, dword [rsp + 0x40]
mov rcx, qword [r13 + 8]
call fcn.14002eea0
mov dword [0x1403c0d44], eax
cmp eax, 0x600
jne 0x14001a090
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x140019ffe
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x14001a00f
call fcn.140036e14
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x14001a8e5
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
lea rax, [rsi - 1]
lea rcx, [rsp + 0x58]
cmp rax, 0xfffe
ja 0x14001a042
movzx edx, si
call fcn.140008900
jmp 0x14001a04b
mov rdx, rsi
call fcn.14000cc20
nop
mov rbx, qword [rsp + 0x58]
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.1400084f0
nop
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jle 0x14001a07d
mov rbx, qword [rsp + 0x60]
jmp 0x140019fb0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x60]
jmp 0x140019fb0
test eax, eax
jne 0x14001a81b
mov edi, dword [rbx - 0x10]
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x70]
call fcn.1401bd240
lea rdx, str.Sign_ID1:
mov rcx, rbx
call fcn.1401bc750
test rax, rax
je 0x14001a141
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x4080]
call fcn.1401bd240
lea rdx, [rbp + 0x4080]
lea rcx, [0x1403c34f0]
call fcn.14001a900
test eax, eax
je 0x14001a138
lea rax, [rbp - 0x70]
lea r8, [rbp + 0x4080]
sub r8, rax
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14001a114
add rax, 2
test ecx, ecx
jne 0x14001a100
lea r8, [rbp + 0x1880]
lea rcx, [rbp + 0x3080]
test edx, edx
jne 0x14001a12f
lea rdx, str.ZIP__s_name_is_ok_n_r
jmp 0x14001a156
lea rdx, str.ZIP__s_renamed_n_r
jmp 0x14001a156
lea rdx, str.ZIP__s_renamed_n_r
jmp 0x14001a148
lea rdx, str.IDs__s_corrupted_or_missing_n_r
lea rcx, [rbp + 0x3080]
lea r8, [rbp + 0x1880]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rbp + 0x3080]
mov edx, 0x186a0
mov rcx, r14
call fcn.1401c9c34
test edi, edi
je 0x14001a7fb
lea rdx, [0x14026a978]
mov rcx, rbx
call fcn.1401bc750
mov rdi, rax
test rax, rax
je 0x14001a7fb
lea rdx, [0x14026a794]
mov rcx, rax
call fcn.1401bc750
test rax, rax
je 0x14001a7fb
sub rax, rdi
sar rax, 1
lea r9, [rax - 0x10]
lea r8, [rdi + 0x20]
mov edx, 0x400
lea rcx, [rbp + 0x2880]
call fcn.1401ca3b8
mov r8d, 4
lea rdx, str.SHAS2
mov rcx, rbx
call fcn.1401ca6f4
mov rcx, rbx
test eax, eax
jne 0x14001a1f7
lea rdx, [rbp + 0x3880]
call fcn.14001ac00
jmp 0x14001a290
mov r8d, 4
lea rdx, str.SHAS
call fcn.1401ca6f4
test eax, eax
jne 0x14001a21e
lea rdx, [rbp + 0x3880]
mov rcx, rbx
call fcn.14001a9b0
jmp 0x14001a290
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x4e2000
mov rax, qword [0x1403bfd10]
mov qword [rsp + 0x20], rax
mov r9d, r12d
mov r8, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rdx, str.Global_log_CRC:
mov rcx, qword [0x1403bfd10]
call fcn.1401bc4c4
test rax, rax
je 0x14001a290
mov byte [rax], 0
mov rcx, qword [0x1403bfd10]
call fcn.1400078c0
mov r9d, eax
lea r8, [0x14026a9b8]
mov edx, 0xff
lea rcx, [rbp + 0x3880]
call fcn.140008670
lea rax, [rbp + 0x3880]
lea r8, [rbp + 0x2880]
sub r8, rax
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14001a2b5
add rax, 2
test ecx, ecx
jne 0x14001a2a1
test edx, edx
jne 0x14001a7e5
mov rdi, rbx
mov dword [rsp + 0x54], 1
xor esi, esi
nop word [rax + rax]
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x2080]
call fcn.1401bd240
lea r8, [0x1403c34f0]
mov edx, 0x400
lea rcx, [rbp + 0x2080]
call fcn.1401c9adc
mov edx, 0x5c
lea rcx, [rbp + 0x2080]
call fcn.1401bc410
test rax, rax
je 0x14001a315
mov word [rax], si
lea r8, [0x140265fa4]
mov edx, 0x400
lea rcx, [rbp + 0x2080]
call fcn.1401c9c34
lea r8, [rbp + 0x1880]
mov edx, 0x400
lea rcx, [rbp + 0x2080]
call fcn.1401c9c34
mov edx, 0x80
lea rcx, [rbp + 0x2080]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rbp + 0x2080]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
mov r15d, eax
mov esi, eax
lea rdx, str.Zip_CRC:
mov rcx, rdi
call fcn.1401bc750
mov r14, rax
test rax, rax
je 0x14001a394
lea rdx, [0x14026a794]
mov rcx, rax
call fcn.1401bc750
mov r15, rax
lea rdx, str.file:
mov rcx, rdi
call fcn.1401bc750
mov rdi, rax
test rax, rax
je 0x14001a3bd
lea rdx, str.__Zip_CRC:
mov rcx, rax
call fcn.1401bc750
mov rsi, rax
test r14, r14
je 0x14001a7c3
test r15, r15
je 0x14001a7c3
test rdi, rdi
je 0x14001a7c3
test rsi, rsi
je 0x14001a7c3
mov r9, r15
sub r9, r14
sar r9, 1
sub r9, 9
lea r8, [r14 + 0x12]
mov edx, 0x400
lea rcx, [rbp + 0x2880]
call fcn.1401ca3b8
sub rsi, rdi
sar rsi, 1
lea r9, [rsi - 6]
lea r8, [rdi + 0xc]
mov edx, 0x400
lea rcx, [rbp + 0x1880]
call fcn.1401ca3b8
mov rdi, r15
lea rcx, [rbp + 0x2880]
mov rax, r12
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x14001a430
test rax, rax
je 0x14001a7c9
mov r8d, 4
lea rdx, str.SHAS2
mov rcx, rbx
call fcn.1401ca6f4
test eax, eax
jne 0x14001a486
lea r9, [rsp + 0x68]
lea r8, [rbp + 0x2880]
lea rdx, [rbp + 0x1880]
mov rcx, r13
call fcn.14001ae50
xor esi, esi
test eax, eax
jne 0x14001a6fc
jmp 0x14001a6c7
mov r8d, 3
lea rdx, [0x14026a930]
mov rcx, rbx
call fcn.1401ca6f4
xor edx, edx
mov r8d, 0x208
test eax, eax
jne 0x14001a64a
xor esi, esi
mov dword [rsp + 0x44], esi
lea rcx, [rbp + 0x1460]
call fcn.1401bd240
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0xe20]
call fcn.1401bd240
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1040]
call fcn.1401bd240
lea r8, [rbp + 0x2880]
mov edx, 0x104
lea rcx, [rbp + 0x1460]
call fcn.1401c9adc
lea rax, [rbp + 0x790]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
lea rdx, [rbp + 0x1880]
mov rcx, r13
call fcn.14002f4d0
test eax, eax
jne 0x14001a6c7
cmp dword [r13], 1
je 0x14001a53b
mov dword [0x1403c0d44], 0x80000
jmp 0x14001a6c7
mov dword [rsp + 0x20], 2
xor r9d, r9d
lea r8, [rbp + 0x794]
mov edx, dword [rsp + 0x44]
mov rcx, qword [r13 + 8]
call fcn.14002eea0
mov dword [0x1403c0d44], eax
test eax, eax
jne 0x14001a6c7
mov rax, qword [rbp + 0x9b0]
mov qword [rsp + 0x68], rax
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0xf30]
call fcn.1401bd240
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x104
lea rax, [rbp + 0xf30]
mov qword [rsp + 0x20], rax
mov r9d, r12d
lea r8, [rbp + 0x794]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rdx, [rbp + 0xe20]
lea rcx, [rbp + 0xf30]
call fcn.140021ea0
lea rax, [rbp + 0xe20]
mov r9, r12
nop dword [rax]
inc r9
cmp byte [rax + r9], sil
jne 0x14001a5e0
mov dword [rsp + 0x28], 0x104
lea rax, [rbp + 0x1040]
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0xe20]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rbp + 0x1040]
mov r8, r12
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], si
jne 0x14001a620
dec r8
lea rdx, [rbp + 0x1040]
lea rcx, [rbp + 0x1460]
call fcn.1401ca6f4
test eax, eax
je 0x14001a6fc
jmp 0x14001a6c7
xor eax, eax
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x4c], eax
lea rcx, [rbp + 0x1670]
call fcn.1401bd240
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x1250]
call fcn.1401bd240
lea r8, [rbp + 0x2880]
mov edx, 0x104
lea rcx, [rbp + 0x1670]
call fcn.1401c9adc
lea rax, [rbp + 0x9c0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
lea rdx, [rbp + 0x1880]
mov rcx, r13
call fcn.14002f4d0
test eax, eax
jne 0x14001a6c5
cmp dword [r13], 1
je 0x14001a720
mov dword [0x1403c0d44], 0x80000
xor esi, esi
lea r8, [rbp + 0x1880]
lea rdx, str.ZIP__s_corrupted_or_missing_n_r
lea rcx, [rbp + 0x3080]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rbp + 0x3080]
mov edx, 0x186a0
mov rcx, qword [rsp + 0x70]
call fcn.1401c9c34
mov dword [rsp + 0x54], esi
mov edx, 0x80
lea rcx, [rbp + 0x2080]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rbp + 0x2080]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x14001a7cb
mov dword [rsp + 0x20], 2
xor r9d, r9d
lea r8, [rbp + 0x9c4]
mov edx, dword [rsp + 0x48]
mov rcx, qword [r13 + 8]
call fcn.14002eea0
mov dword [0x1403c0d44], eax
test eax, eax
jne 0x14001a6c5
lea r8, [rsp + 0x4c]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x9c4]
call qword [sym.imp.imagehlp.dll_MapFileAndCheckSumW]
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x50]
lea r8, str._d_d
mov edx, 0x104
lea rcx, [rbp + 0x1250]
call fcn.140008670
lea rax, [rbp + 0x1250]
mov r8, r12
inc r8
cmp word [rax + r8*2], 0
jne 0x14001a793
dec r8
lea rdx, [rbp + 0x1250]
lea rcx, [rbp + 0x1670]
call fcn.1401ca6f4
xor esi, esi
test eax, eax
je 0x14001a6fc
jmp 0x14001a6c7
xor esi, esi
mov edi, esi
jmp 0x14001a7cb
xor esi, esi
test rdi, rdi
jne 0x14001a2d0
mov rsi, qword [rsp + 0x78]
mov r14, qword [rsp + 0x70]
mov r15d, dword [rsp + 0x54]
jmp 0x14001a81b
lea r8, str.LOG_corrupted_n_r
mov edx, 0x186a0
mov rcx, r14
call fcn.1401c9c34
jmp 0x14001a81b
lea r8, str.ZIP_corrupted_n_r
mov edx, 0x186a0
mov rcx, r14
call fcn.1401c9c34
jmp 0x14001a81b
mov dword [0x1403c0d44], 0x80000
mov rcx, rsi
call fcn.140035924
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r12d
sub r12d, 1
jg 0x14001a83d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, r13
cmp dword [r13], 1
jne 0x14001a84e
call fcn.14002f660
jmp 0x14001a853
call fcn.1400348a0
test r15d, r15d
lea r8, str.ZIP_is_ok_n_r
jne 0x14001a866
lea r8, str.ZIP_corrupted_n_r
mov edx, 0x186a0
mov rcx, r14
call fcn.1401c9c34
mov r9, qword [0x1403bfd00]
test r9, r9
je 0x14001a8a5
cmp dword [0x1403c085c], 0
jne 0x14001a8a5
xor r8d, r8d
mov edx, dword [0x1403bfd08]
mov rcx, qword [0x1403bfd10]
call r9
mov dword [0x1403c085c], 1
lea rcx, [0x1403c00d8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, r15d
mov rcx, qword [rbp + 0x4880]
xor rcx, rsp
call fcn.1401b7280
lea r11, [rsp + 0x4990]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80004005
call fcn.140008d10
nop
mov ecx, 0x80004005
call fcn.140008d10
int3