Function at 0x140013f90
Capabilities:
Delete file
Enumerate files on windows
Set file attributes
Write file on windows

Disassembly:
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4c40]
mov eax, 0x4d40
call fcn.1401b39f0
sub rsp, rax
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x4d70], rbx
mov qword [rsp + 0x4d80], rsi
mov qword [rsp + 0x4d88], rdi
mov rax, qword [0x1402a87a8]
xor rax, rsp
mov qword [rbp + 0x4c30], rax
mov rsi, rdx
mov qword [rsp + 0x50], rdx
xor r15d, r15d
mov dword [rsp + 0x48], r15d
mov r13d, r15d
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x44], r15d
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x2430]
call fcn.1401b8eb0
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x3c30]
call fcn.1401b8eb0
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x1c30]
call fcn.1401b8eb0
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x2c30]
call fcn.1401b8eb0
lea rcx, [0x1403bb0a8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea r8, str.Starting_analysis_r_n
mov edx, 0x186a0
mov rcx, rsi
call fcn.1401c58a4
cmp qword [0x1403bacd0], r13
je 0x14001409d
cmp dword [0x1403bb82c], r15d
je 0x14001409d
xor r8d, r8d
mov edx, dword [0x1403bacd8]
mov rcx, qword [0x1403bace0]
call qword [0x1403b34c8]
mov dword [0x1403bb82c], r15d
lea r8, [0x1403bc050]
mov edx, 0x400
lea rcx, [rbp + 0x2c30]
call fcn.1401c574c
lea rcx, [rbp + 0x2c30]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
lea r8, [rbp + 0x7b0]
xor edx, edx
lea rcx, [0x1403bc050]
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rdi, rax
mov qword [rsp + 0x78], rax
mov r14, 0xffffffffffffffff
cmp rax, r14
je 0x1400147f8
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x1430]
call fcn.1401b8eb0
lea r9, [rbp + 0x7dc]
lea r8, [rbp + 0x2c30]
lea rdx, str._s_s
lea rcx, [rbp + 0x1430]
call fcn.14000fc10
lea rcx, [rbp + 0x1430]
call fcn.14002a100
mov r12, rax
test rax, rax
je 0x1400147e1
mov qword [rbp - 0x70], r15
lea rax, [rbp + 0xa00]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
lea rdx, str.Logfile.log
mov rcx, r12
call fcn.14002a2a0
mov ebx, eax
lea r8, [rbp + 0x1430]
mov edx, 0x186a0
mov rcx, rsi
call fcn.1401c58a4
lea r8, [0x1402657d4]
mov edx, 0x186a0
mov rcx, rsi
call fcn.1401c58a4
test ebx, ebx
jne 0x1400147ab
cmp dword [rsp + 0x44], 0xffffffff
je 0x1400147ab
movsxd rdi, dword [rbp + 0xc2c]
mov rcx, rdi
call fcn.1400315ac
mov r13, rax
mov qword [rbp - 0x68], rax
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.1401b8eb0
call fcn.140032a94
mov rcx, rax
test rax, rax
je 0x140014b07
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x68], rbx
nop
cmp dword [r12], 1
jne 0x140014774
mov dword [rsp + 0x20], 3
mov r9d, edi
mov r8, r13
mov edx, dword [rsp + 0x44]
mov rcx, qword [r12 + 8]
call fcn.140029c70
mov dword [0x1403bbd14], eax
cmp eax, 0x600
jne 0x1400142d2
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x14001423f
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x140014250
call fcn.140032a94
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x140014afc
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
lea rax, [r13 - 1]
lea rcx, [rsp + 0x60]
cmp rax, 0xfffe
ja 0x140014284
movzx edx, r13w
call fcn.140003670
jmp 0x14001428d
mov rdx, r13
call fcn.140007990
nop
mov rbx, qword [rsp + 0x60]
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.140003260
nop
lea rdx, [rbx - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jle 0x1400142bf
mov rbx, qword [rsp + 0x68]
jmp 0x1400141f0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x68]
jmp 0x1400141f0
test eax, eax
jne 0x14001477e
mov r15d, dword [rbx - 0x10]
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp - 0x50]
call fcn.1401b8eb0
lea rdx, str.Sign_ID1:
mov rcx, rbx
call fcn.1401b83c0
test rax, rax
je 0x14001441c
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x3430]
call fcn.1401b8eb0
lea rdx, [0x140265a18]
lea rcx, [rbp + 0x7dc]
call fcn.1401b83c0
test rax, rax
je 0x140014413
lea rcx, [rax + 2]
lea rdx, [0x140265a18]
call fcn.1401b83c0
mov rsi, rax
test rax, rax
je 0x14001440e
lea rdx, [0x140265a18]
lea rcx, [rax + 2]
call fcn.1401b83c0
mov rdi, rax
test rax, rax
je 0x14001440e
lea rcx, [rax + 2]
lea rdx, [0x140260d8c]
call fcn.1401b83c0
test rax, rax
je 0x14001440e
sub rdi, rsi
sar rdi, 1
lea r9, [rdi - 1]
lea r8, [rsi + 2]
mov edx, 0x400
lea rcx, [rbp + 0x3430]
call fcn.1401c6028
lea rax, [rbp - 0x50]
lea r8, [rbp + 0x3430]
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1400143d4
add rax, 2
test ecx, ecx
jne 0x1400143c0
lea r8, [rbp + 0x1430]
lea rcx, [rbp + 0x1c30]
test edx, edx
jne 0x1400143fa
lea rdx, str.ZIP__s_name_is_ok_n_r
call qword [sym.imp.USER32.dll_wsprintfW]
mov rsi, qword [rsp + 0x50]
jmp 0x140014437
lea rdx, str.ZIP__s_renamed_n_r
call qword [sym.imp.USER32.dll_wsprintfW]
mov rsi, qword [rsp + 0x50]
jmp 0x140014437
mov rsi, qword [rsp + 0x50]
lea rdx, str.ZIP__s_renamed_n_r
jmp 0x140014423
lea rdx, str.IDs__s_corrupted_or_missing_n_r
lea r8, [rbp + 0x1430]
lea rcx, [rbp + 0x1c30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rbp + 0x1c30]
mov edx, 0x186a0
mov rcx, rsi
call fcn.1401c58a4
test r15d, r15d
je 0x14001476b
lea rdx, [0x1402659b8]
mov rcx, rbx
call fcn.1401b83c0
mov rdi, rax
test rax, rax
je 0x14001476b
lea rdx, [0x1402657d4]
mov rcx, rax
call fcn.1401b83c0
test rax, rax
je 0x14001476b
sub rax, rdi
sar rax, 1
lea r9, [rax - 0x10]
lea r8, [rdi + 0x20]
mov edx, 0x400
lea rcx, [rbp + 0x2430]
call fcn.1401c6028
mov r8d, 4
lea rdx, str.SHAS2
mov rcx, rbx
call fcn.1401c6364
test eax, eax
jne 0x1400144ce
lea rdx, [rbp + 0x3c30]
mov rcx, rbx
call fcn.140015910
lea rax, [rbp + 0x3c30]
lea r8, [rbp + 0x2430]
sub r8, rax
nop
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1400144f4
add rax, 2
test ecx, ecx
jne 0x1400144e0
test edx, edx
jne 0x14001474b
mov rdi, rbx
mov dword [rsp + 0x40], 1
mov r13, qword [rsp + 0x50]
nop dword [rax]
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0xc30]
call fcn.1401b8eb0
lea r8, [rbp + 0x1430]
mov edx, 0x400
lea rcx, [rbp + 0xc30]
call fcn.1401c574c
mov edx, 0x5c
lea rcx, [rbp + 0xc30]
call fcn.1401b8080
test rax, rax
je 0x140014557
xor ecx, ecx
mov word [rax], cx
lea r8, [0x140260f74]
mov edx, 0x400
lea rcx, [rbp + 0xc30]
call fcn.1401c58a4
lea r8, [rbp + 0x7dc]
mov edx, 0x400
lea rcx, [rbp + 0xc30]
call fcn.1401c58a4
mov edx, 0x80
lea rcx, [rbp + 0xc30]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rbp + 0xc30]
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.1401b83c0
mov r14, rax
test rax, rax
je 0x1400145d6
lea rdx, [0x1402657d4]
mov rcx, rax
call fcn.1401b83c0
mov r15, rax
lea rdx, str.file:
mov rcx, rdi
call fcn.1401b83c0
mov rdi, rax
test rax, rax
je 0x1400145ff
lea rdx, str.__Zip_CRC:
mov rcx, rax
call fcn.1401b83c0
mov rsi, rax
test r14, r14
je 0x14001473f
test r15, r15
je 0x14001473f
test rdi, rdi
je 0x14001473f
test rsi, rsi
je 0x14001473f
mov r9, r15
sub r9, r14
sar r9, 1
sub r9, 9
lea r8, [r14 + 0x12]
mov edx, 0x400
lea rcx, [rbp + 0x2430]
call fcn.1401c6028
sub rsi, rdi
sar rsi, 1
lea r9, [rsi - 6]
lea r8, [rdi + 0xc]
mov edx, 0x400
lea rcx, [rbp + 0xc30]
call fcn.1401c6028
mov rdi, r15
lea rcx, [rbp + 0x2430]
mov r14, 0xffffffffffffffff
mov rax, r14
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140014680
test rax, rax
je 0x140014728
mov r8d, 4
lea rdx, str.SHAS2
mov rcx, rbx
call fcn.1401c6364
test eax, eax
jne 0x1400146cc
lea r9, [rbp - 0x70]
lea r8, [rbp + 0x2430]
lea rdx, [rbp + 0xc30]
mov rcx, r12
call fcn.140015b60
mov dword [rsp + 0x58], eax
jmp 0x1400146d0
mov eax, dword [rsp + 0x58]
test eax, eax
jne 0x140014709
lea r8, [rbp + 0xc30]
lea rdx, str._s_corrupted_or_missing_n_r
lea rcx, [rbp + 0x1c30]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r8, [rbp + 0x1c30]
mov edx, 0x186a0
mov rcx, r13
call fcn.1401c58a4
xor ecx, ecx
mov dword [rsp + 0x40], ecx
mov edx, 0x80
lea rcx, [rbp + 0xc30]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rbp + 0xc30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor r15d, r15d
test rdi, rdi
jne 0x140014510
mov r13, qword [rbp - 0x68]
mov rsi, qword [rsp + 0x50]
jmp 0x14001477e
xor r15d, r15d
mov edi, r15d
lea r14, [r15 - 1]
jmp 0x14001472b
lea r8, str.LOG_corrupted_n_r
mov edx, 0x186a0
mov rcx, rsi
call fcn.1401c58a4
mov r14, 0xffffffffffffffff
xor r15d, r15d
jmp 0x14001477e
lea r8, str.ZIP_corrupted_n_r
jmp 0x140014752
mov dword [0x1403bbd14], 0x80000
mov rcx, r13
call fcn.1400315a4
nop
lea rdx, [rbx - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400147a1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x78]
mov r13d, dword [rsp + 0x40]
mov rcx, r12
cmp dword [r12], 1
jne 0x1400147bc
call fcn.14002a430
jmp 0x1400147c1
call fcn.14002f670
mov edx, 0x186a0
mov rcx, rsi
test r13d, r13d
lea r8, str.ZIP_corrupted_n_r
je 0x1400147dc
lea r8, str.ZIP_is_ok_n_r
call fcn.1401c58a4
lea rdx, [rbp + 0x7b0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jmp 0x1400140f7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea r8, str.Ending_analysis_r_n
mov edx, 0x186a0
mov rcx, rsi
call fcn.1401c58a4
mov rax, qword [0x1403bacd0]
test rax, rax
je 0x140014846
cmp dword [0x1403bb82c], 0
jne 0x140014846
xor r8d, r8d
mov edx, dword [0x1403bacd8]
mov rcx, qword [0x1403bace0]
call rax
mov dword [0x1403bb82c], 1
lea rcx, [0x1403bb0a8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [rsp + 0x5c], r15d
call fcn.140032a94
mov rcx, rax
test rax, rax
je 0x140014b12
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x70], rbx
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x4430]
call fcn.1401b8eb0
lea r8, [rbp + 0x2c30]
lea rdx, str._sintegrity.txt
lea rcx, [rbp + 0x4430]
call fcn.14000fc10
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
lea edx, [r9 + 4]
lea r8d, [r9 + 1]
lea rcx, [rbp + 0x4430]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r15, rax
lea rdi, [rbx - 0x18]
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400148f0
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x140014901
call fcn.140032a94
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x140014b1d
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x48], 1
test rsi, rsi
jne 0x14001492d
xor r12d, r12d
mov eax, r12d
jmp 0x14001493d
mov rax, r14
inc rax
cmp word [rsi + rax*2], 0
jne 0x140014930
xor r12d, r12d
mov dword [rsp + 0x20], eax
mov r9, rsi
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.1400075f0
nop
mov rbx, qword [rbp - 0x80]
lea rsi, [rbx - 0x18]
mov rcx, qword [rsi]
test rcx, rcx
je 0x140014973
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x140014984
call fcn.140032a94
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x140014af1
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x78], rax
mov dword [rsp + 0x48], 3
mov rax, r14
lea rcx, [0x1402657d4]
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400149b0
mov dword [rsp + 0x20], eax
mov r9, rcx
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.1400075f0
mov rdx, qword [rbp - 0x78]
lea rbx, [rdx - 0x18]
cmp rbx, rdi
je 0x140014a32
cmp dword [rdi + 0x10], 0
jl 0x140014a24
mov rax, qword [rdi]
cmp qword [rbx], rax
jne 0x140014a24
mov rcx, rbx
call fcn.140007af0
mov r14, rax
mov eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
sub eax, 1
jg 0x140014a12
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rax, [r14 + 0x18]
mov qword [rsp + 0x70], rax
mov r14, 0xffffffffffffffff
jmp 0x140014a32
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x70]
call fcn.140003aa0
mov dword [rsp + 0x48], 1
mov eax, r14d
lock xadd dword [rbx + 0x10], eax
sub eax, 1
jg 0x140014a54
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, r14d
lock xadd dword [rsi + 0x10], eax
sub eax, 1
jg 0x140014a6d
mov rcx, qword [rsi]
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x70]
mov rax, r14
lea rax, [rax + 1]
cmp word [rbx + rax*2], 0
jne 0x140014a75
lea r8d, [rax + rax]
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x5c]
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x140014abe
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, r13d
mov rcx, qword [rbp + 0x4c30]
xor rcx, rsp
call fcn.1401b2f00
lea r11, [rsp + 0x4d40]
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.140003a80
nop
mov ecx, 0x80004005
call fcn.140003a80
nop
mov ecx, 0x80004005
call fcn.140003a80
int3
mov ecx, 0x80004005
call fcn.140003a80
nop
mov ecx, 0x80004005
call fcn.140003a80
int3