joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400126f0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x5c0
mov rax, qword [0x1400d1608]
xor rax, rsp
mov qword [rsp + 0x5b0], rax
mov rsi, rdx
mov qword [rsp + 0x48], rdx
mov rbp, rcx
mov ebx, 1
call fcn.140009550
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400128c0
mov rcx, rax
mov qword [rsp + 0x58], rbp
call fcn.140009680
test rax, rax
je 0x14001289f
lea rdx, [0x1400a36f0]
nop word [rax + rax]
lea rdi, [0x1400a387c]
mov rsi, rax
mov ecx, 2
repe cmpsb byte [rsi], byte [rdi]
je 0x14001287d
lea rdi, [0x1400a3878]
mov rsi, rax
mov ecx, 3
repe cmpsb byte [rsi], byte [rdi]
mov rsi, qword [rsp + 0x48]
je 0x140012882
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x40]
lea r8, [rsp + 0x90]
mov r9d, 0x30c
mov rcx, rbp
call fcn.140011520
xor edx, edx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x80], rdx
cmp dword [rsp + 0x40], edx
je 0x1400127e5
xor eax, eax
mov ebx, eax
jmp 0x140012882
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x90]
mov rcx, rbp
call fcn.140009340
test eax, eax
jne 0x140012834
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140073314
lea r9, [rsp + 0x90]
lea r8, str.remove_directory
lea rdx, str._s:_mg_stat__s__failed:__s
mov rcx, rbp
mov qword [rsp + 0x20], rax
call fcn.14000e440
xor edi, edi
mov ebx, edi
jmp 0x140012836
xor edi, edi
cmp dword [rsp + 0x78], 0
lea rdx, [rsp + 0x90]
mov rcx, rbp
je 0x140012855
call fcn.1400126f0
test eax, eax
jne 0x140012882
mov ebx, edi
jmp 0x140012882
lea r8, [rsp + 0x3a0]
mov r9d, 0x104
call fcn.1400090c0
lea rcx, [rsp + 0x3a0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
cmovne ebx, edi
jmp 0x140012882
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rcx, rdi
call fcn.140009680
lea rdx, [0x1400a36f0]
test rax, rax
jne 0x140012760
mov rcx, qword [rdi]
cmp rcx, 0xffffffffffffffff
je 0x1400128ae
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rdi
call fcn.1400733f0
mov rcx, rsi
call fcn.1400829fc
mov eax, ebx
mov rcx, qword [rsp + 0x5b0]
xor rcx, rsp
call fcn.14006f1f0
mov rbx, qword [rsp + 0x5f0]
add rsp, 0x5c0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140016220
Capabilities:
Allocate thread local storage
Check mutex on windows
Initialize winsock library

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x1400d1608]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov ebx, ecx
and ebx, 0x87
cmp dword [0x140234144], 0
jg 0x14001626a
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [0x140234100], rax
test rax, rax
jne 0x140016271
jmp 0x140016350
mov rax, qword [0x140234100]
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x140234144], 0
jg 0x1400162bf
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
xor ecx, ecx
cmp eax, 0xffffffff
mov dword [0x140233490], eax
setne cl
dec ecx
je 0x1400162b2
mov rcx, qword [0x140234100]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
jmp 0x140016350
lea rcx, [0x140234110]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov rcx, qword [0x140234100]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
test bl, 2
je 0x1400162ff
cmp dword [0x140234150], 0
jne 0x1400162ff
lea rcx, [rsp + 0x1d0]
mov edx, 0x80
call fcn.140015990
test eax, eax
je 0x1400162fc
mov dword [0x140234150], 1
jmp 0x1400162ff
and ebx, 0xfffffffd
mov rcx, qword [0x140234100]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r11d, dword [0x140234144]
test r11d, r11d
jg 0x140016337
lea rdx, [rsp + 0x30]
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [0x140234144], 1
jmp 0x140016341
inc r11d
mov dword [0x140234144], r11d
mov rcx, qword [0x140234100]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14006f1f0
add rsp, 0x260
pop rbx
ret
Function at 0x14001a460
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
lea r9d, [rdx + r8 - 0x21524111]
mov rdi, rdx
mov r11, rcx
mov r10d, r9d
mov ebx, r9d
cmp rdx, 0xc
jbe 0x14001a593
mov qword [rsp + 0x10], rsi
lea r8, [rdx - 0xd]
movabs rax, 0xaaaaaaaaaaaaaaab
mul r8
mov rsi, rdx
shr rsi, 3
inc rsi
mov rax, rsi
imul rax, rax, 0xfffffffffffffff4
add rdi, rax
nop
movzx eax, byte [r11 + 6]
movzx ecx, byte [r11 + 7]
movzx r8d, byte [r11 + 4]
movzx edx, byte [r11 + 8]
shl ecx, 8
add r8d, r10d
add ecx, eax
movzx eax, byte [r11 + 5]
add edx, r9d
shl ecx, 8
add r11, 0xc
add ecx, eax
movzx eax, byte [r11 - 2]
shl ecx, 8
add r8d, ecx
movzx ecx, byte [r11 - 1]
shl ecx, 8
add ecx, eax
movzx eax, byte [r11 - 3]
shl ecx, 8
add ecx, eax
movzx eax, byte [r11 - 0xa]
shl ecx, 8
add edx, ecx
movzx ecx, byte [r11 - 9]
shl ecx, 8
mov r9d, edx
add ecx, eax
movzx eax, byte [r11 - 0xb]
rol r9d, 4
shl ecx, 8
add ecx, eax
movzx eax, byte [r11 - 0xc]
shl ecx, 8
add ecx, eax
sub ecx, edx
add edx, r8d
add ecx, ebx
xor r9d, ecx
sub r8d, r9d
mov eax, r9d
add r9d, edx
rol eax, 6
xor eax, r8d
sub edx, eax
mov ecx, eax
add eax, r9d
rol ecx, 8
xor ecx, edx
sub r9d, ecx
mov ebx, ecx
add ecx, eax
rol ebx, 0x10
xor ebx, r9d
sub eax, ebx
mov r10d, ebx
add ebx, ecx
ror r10d, 0xd
xor r10d, eax
sub ecx, r10d
mov r9d, r10d
add r10d, ebx
rol r9d, 4
xor r9d, ecx
dec rsi
jne 0x14001a4b0
mov rsi, qword [rsp + 0x10]
cmp rdi, 0xc
ja 0x14001a61c
lea rcx, [0x140000000]
mov eax, dword [rcx + rdi*4 + 0x1a67c]
add rax, rcx
jmp rax
movzx eax, byte [r11 + 0xb]
shl eax, 0x18
add r9d, eax
movzx eax, byte [r11 + 0xa]
shl eax, 0x10
add r9d, eax
movzx eax, byte [r11 + 9]
shl eax, 8
add r9d, eax
movzx eax, byte [r11 + 8]
add r9d, eax
movzx eax, byte [r11 + 7]
shl eax, 0x18
add r10d, eax
movzx eax, byte [r11 + 6]
shl eax, 0x10
add r10d, eax
movzx eax, byte [r11 + 5]
shl eax, 8
add r10d, eax
movzx eax, byte [r11 + 4]
add r10d, eax
movzx eax, byte [r11 + 3]
shl eax, 0x18
add ebx, eax
movzx eax, byte [r11 + 2]
shl eax, 0x10
add ebx, eax
movzx eax, byte [r11 + 1]
shl eax, 8
add ebx, eax
movzx eax, byte [r11]
add ebx, eax
xor r9d, r10d
mov eax, r10d
rol eax, 0xe
sub r9d, eax
mov eax, r9d
mov edx, r9d
rol eax, 0xb
xor edx, ebx
sub edx, eax
xor r10d, edx
mov eax, edx
ror eax, 7
sub r10d, eax
xor r9d, r10d
mov eax, r10d
rol eax, 0x10
sub r9d, eax
mov eax, r9d
mov ecx, r9d
rol eax, 4
xor ecx, edx
sub ecx, eax
xor r10d, ecx
mov eax, ecx
rol eax, 0xe
sub r10d, eax
mov eax, r10d
xor r9d, r10d
ror eax, 8
sub r9d, eax
mov eax, r9d
mov rbx, qword [rsp + 0x18]
pop rdi
ret
Function at 0x14001bb60
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
mov eax, 0x1030
call fcn.14006f190
sub rsp, rax
mov rax, qword [0x1400d1608]
xor rax, rsp
mov qword [rsp + 0x1020], rax
mov rbp, qword [rsp + 0x1070]
mov edi, r9d
mov r14d, r8d
mov rbx, rcx
test edx, edx
jne 0x14001bba4
xor eax, eax
jmp 0x14001bcd7
mov qword [rsp + 0x1060], rsi
movsxd rsi, edx
mov rcx, qword [rcx + rsi*8 + 0x78]
test rcx, rcx
je 0x14001bbbe
call fcn.1400733f0
test r14d, r14d
je 0x14001bbd7
xor edi, edi
mov dword [rbx + rsi*4 + 0x30], edi
mov dword [rbx + rsi*4 + 0x54], edi
mov qword [rbx + rsi*8 + 0x78], rdi
jmp 0x14001bc68
mov dword [rbx + rsi*4 + 0x54], edi
xor edi, edi
test rbp, rbp
je 0x14001bc5b
cmp byte [rbx], 0x70
mov rcx, rbp
jne 0x14001bc4f
mov r8d, 0x400
lea rdx, [rsp + 0x20]
call fcn.14002d120
test eax, eax
js 0x14001bc60
mov r8d, 0x400
lea rdx, [rsp + 0x820]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ecx, 0x400
call fcn.140073404
mov qword [rbx + rsi*8 + 0x78], rax
test rax, rax
je 0x14001bc60
mov r8d, 0x400
lea rcx, [rsp + 0x820]
mov rdx, rax
call fcn.14002d040
test eax, eax
jns 0x14001bc60
mov rax, qword [rbx + rsi*8 + 0x78]
mov byte [rax], dil
jmp 0x14001bc60
call fcn.140087760
mov qword [rbx + rsi*8 + 0x78], rax
jmp 0x14001bc60
mov qword [rbx + rsi*8 + 0x78], rdi
mov dword [rbx + rsi*4 + 0x30], 1
mov rsi, qword [rsp + 0x1060]
lea rax, [rbx + 0x50]
mov r8d, 8
mov ecx, r8d
nop dword [rax]
cmp dword [rax], 0
jne 0x14001bcac
dec r8d
dec rcx
sub rax, 4
test rcx, rcx
jg 0x14001bc80
cmp dword [rbx + 0x54], 0
mov eax, edi
mov dword [rbx + 0x20], edi
setne al
mov dword [rbx + 0x30], edi
mov dword [rbx + 0x54], edi
mov qword [rbx + 0x78], rdi
jmp 0x14001bcd7
movsxd rdx, r8d
mov ecx, dword [rbx + rdx*4 + 0x54]
cmp dword [rbx + 0x54], ecx
mov dword [rbx + 0x20], r8d
mov dword [rbx + 0x30], 1
setne dil
mov ecx, dword [rbx + rdx*4 + 0x54]
mov eax, edi
mov dword [rbx + 0x54], ecx
mov rcx, qword [rbx + rdx*8 + 0x78]
mov qword [rbx + 0x78], rcx
mov rcx, qword [rsp + 0x1020]
xor rcx, rsp
call fcn.14006f1f0
mov rbx, qword [rsp + 0x1068]
add rsp, 0x1030
pop r14
pop rdi
pop rbp
ret
Function at 0x14001bec0
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x1b0
mov rax, qword [0x1400d1608]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov rdi, rcx
movsxd rbx, edx
mov rdx, qword [str.SoftwaredeiMTPexpedatoptions]
lea rax, [rsp + 0x50]
xor ecx, ecx
xor r9d, r9d
mov qword [rsp + 0x40], rcx
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ecx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x14001bf36
lea rcx, str.RegCreateKeyEx
call fcn.14002d520
jmp 0x14001c045
mov qword [rsp + 0x1c8], rsi
mov rsi, rbx
test ebx, ebx
jle 0x14001c030
lea rbx, [rdi + 0xa0]
mov rdx, qword [rbx - 0x90]
test rdx, rdx
je 0x14001c01f
cmp dword [rbx - 0x5c], 0
jne 0x14001bfa4
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x14001c01f
cmp eax, 2
je 0x14001c01f
mov r8d, 0x100
lea rdx, [rsp + 0xa0]
mov ecx, eax
call fcn.140044d90
mov rcx, rax
call fcn.140020ee0
jmp 0x14001c01f
movzx eax, byte [rbx - 0xa0]
test al, al
je 0x14001bff6
cmp al, 0x62
je 0x14001bfce
cmp al, 0x69
je 0x14001bfce
mov rcx, qword [rbx]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x14001bfc1
inc eax
jmp 0x14001c002
mov r9d, dword [rbx - 0x38]
lea r8, [0x1400bc53c]
mov edx, 0x40
lea rcx, [rsp + 0x60]
call fcn.140044c10
mov rdx, qword [rbx - 0x90]
lea rcx, [rsp + 0x60]
jmp 0x14001c002
lea rcx, [0x1400d22a5]
mov eax, 1
mov dword [rsp + 0x28], eax
mov r9d, 1
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
add rbx, 0xc0
sub rsi, 1
jne 0x14001bf50
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rsi, qword [rsp + 0x1c8]
xor eax, eax
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.14006f1f0
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x1b0
pop rdi
ret
Function at 0x14001c0a0
Capabilities:
Get graphical window text

Disassembly:
mov r11, rsp
sub rsp, 0xce8
mov rax, qword [0x1400d1608]
xor rax, rsp
mov qword [rsp + 0xcc0], rax
mov qword [r11 + 0x18], rbp
mov ebp, ecx
mov qword [r11 + 0x20], rsi
mov qword [r11 - 8], rdi
lea rdi, [0x1400bb518]
mov qword [r11 - 0x10], r14
xor r14d, r14d
mov qword [r11 - 0x18], r15
mov esi, r14d
mov dword [rsp + 0x30], r14d
lea r15, [0x140000000]
mov qword [r11 + 0x10], rbx
nop
cmp dword [rdi - 4], 5
jne 0x14001c277
movsxd rax, dword [rdi]
test eax, eax
je 0x14001c277
cmp dword [rdi + 0x20], r14d
je 0x14001c277
cmp dword [rdi + 0x24], r14d
jne 0x14001c1e4
lea rcx, [rax + rax*4]
add rcx, rcx
cmp byte [rdi - 8], 0x62
jne 0x14001c153
mov edx, dword [r15 + rcx*8 + 0xc1920]
mov rcx, qword [0x1400c0bb0]
call qword [sym.imp.USER32.dll_IsDlgButtonChecked]
test eax, eax
mov byte [rsp + 0xc1], r14b
setne al
add al, 0x30
mov byte [rsp + 0xc0], al
jmp 0x14001c19a
mov rcx, qword [r15 + rcx*8 + 0xc1928]
lea rdx, [rsp + 0x4c0]
mov r8d, 0x400
call qword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x14001c1e4
mov r8d, 0x400
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x4c0]
call fcn.14002d040
test eax, eax
jle 0x14001c1e4
movzx eax, byte [rsp + 0xc0]
test al, al
je 0x14001c1ec
lea rax, [rsp + 0x30]
mov r8d, ebp
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0xc0]
mov dword [rsp + 0x20], 0x80
mov ecx, esi
call fcn.14001c720
test rax, rax
je 0x14001c273
mov rdx, rax
lea rcx, str.Preferences:__s_n
call fcn.140020ee0
jmp 0x14001c26a
mov byte [rsp + 0xc0], r14b
mov eax, esi
mov edx, 5
mov qword [rsp + 0x20], r14
lea rcx, [rax + rax*2]
shl rcx, 6
lea r8d, [rdx - 4]
lea rcx, [rcx + 0xbb510]
add rcx, r15
cmp esi, 7
je 0x14001c25d
cmp esi, 0xb
je 0x14001c23a
xor r9d, r9d
cmp esi, 0xf
je 0x14001c233
call fcn.14001bb60
test eax, eax
je 0x14001c26a
mov dword [rsp + 0x30], 1
jmp 0x14001c26a
call fcn.14001bb60
jmp 0x14001c26a
cmp dword [0x1400bbd70], r14d
mov ebx, r14d
sete bl
xor r9d, r9d
call fcn.14001bb60
mov edx, ebx
mov ecx, 1
call fcn.1400346f0
jmp 0x14001c26a
xor r9d, r9d
call fcn.14001bb60
call fcn.14001c590
xor edx, edx
mov ecx, esi
call fcn.140033b20
mov qword [rdi + 0x20], r14
inc esi
add rdi, 0xc0
cmp esi, 0x15
jl 0x14001c0f0
lea rcx, [0x1402385c0]
call fcn.140021090
cmp dword [rsp + 0x30], 0
mov r15, qword [rsp + 0xcd0]
mov r14, qword [rsp + 0xcd8]
mov rdi, qword [rsp + 0xce0]
mov rsi, qword [rsp + 0xd08]
mov rbp, qword [rsp + 0xd00]
mov rbx, qword [rsp + 0xcf8]
je 0x14001c341
mov rax, qword [0x1400d22d8]
test rax, rax
je 0x14001c341
mov ecx, dword [rax]
lea eax, [rcx - 5]
test eax, 0xfffffffc
jne 0x14001c2e9
cmp ecx, 7
jne 0x14001c341
call fcn.140046d00
mov eax, dword [0x1400d22a0]
test eax, eax
jne 0x14001c32b
mov dword [0x1400d22a0], 1
call fcn.140046de0
xor edx, edx
mov ecx, 0x177c
call fcn.14002d350
mov rcx, qword [rsp + 0xcc0]
xor rcx, rsp
call fcn.14006f1f0
add rsp, 0xce8
ret
cmp eax, 1
mov ecx, 2
cmove eax, ecx
mov dword [0x1400d22a0], eax
call fcn.140046de0
mov rcx, qword [rsp + 0xcc0]
xor rcx, rsp
call fcn.14006f1f0
add rsp, 0xce8
ret
Function at 0x14001cb50
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x20
mov rbx, r8
mov rsi, rcx
mov r8d, 0xa
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rbp, rax
test rax, rax
jne 0x14001cb95
lea rax, [0x1400d22a6]
mov qword [rbx], rax
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
mov rdx, rbp
mov qword [rsp + 0x30], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
jns 0x14001cbd7
lea rcx, str.SizeofResource
call fcn.14002d520
mov rdx, rax
lea r8, [0x1400bc56c]
mov r9d, gethostbyname
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0xffffffff
jmp 0x14001cc51
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x14001cc13
lea rcx, str.LoadResource
call fcn.14002d520
mov rdx, rax
lea r8, [0x1400bc65c]
mov r9d, gethostbyname
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0xffffffff
jmp 0x14001cc51
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
test rax, rax
jne 0x14001cc4c
lea rcx, str.LockResource
call fcn.14002d520
mov rdx, rax
lea r8, [0x1400bc78c]
mov r9d, gethostbyname
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 0xffffffff
jmp 0x14001cc51
mov qword [rbx], rax
mov eax, edi
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
Function at 0x140022090
Capabilities:
Move file

Disassembly:
mov eax, 0x1158
call fcn.14006f190
sub rsp, rax
mov rax, qword [0x1400d1608]
xor rax, rsp
mov qword [rsp + 0x1140], rax
cmp dword [0x140237880], 0
jne 0x14002226d
cmp dword [0x140236b40], 0
jne 0x14002226d
xor r9d, r9d
mov qword [rsp + 0x1150], rbx
lea r8, [0x1400bf750]
mov qword [0x140238180], 0
lea rcx, [0x140237880]
mov dword [0x140237880], 4
mov dword [rsp + 0x20], 1
lea edx, [r9 + 1]
call fcn.14002f3b0
mov rbx, rax
test rax, rax
je 0x140022243
lea rcx, [0x140237880]
mov rdx, rax
mov r8d, 0xd30
call fcn.14006ffd0
mov rcx, rbx
call fcn.1400733f0
call fcn.14002abc0
test eax, eax
js 0x140022243
mov dword [rsp + 0x38], 0
lea rax, [0x1400bf758]
mov qword [rsp + 0x30], rax
lea r9, str.Rename_Local_File
lea rax, str.Rename
mov r8d, 0x100
mov qword [rsp + 0x28], rax
lea rdx, [0x140237c90]
lea rax, [0x1400bf768]
lea rcx, [0x1402381b0]
mov qword [rsp + 0x20], rax
call fcn.140030740
mov ecx, 1
mov ebx, eax
call fcn.14002ab30
test ebx, ebx
js 0x140022243
mov r8d, 0x400
lea rdx, [rsp + 0x940]
lea rcx, [0x1402381b0]
call fcn.14002d120
test eax, eax
js 0x140022243
mov r8d, 0x400
lea rdx, [rsp + 0x140]
lea rcx, [0x140237c90]
call fcn.14002d120
test eax, eax
js 0x140022243
xor r8d, r8d
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x940]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x140022224
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x40]
mov ecx, eax
call fcn.140044d90
mov rdx, rax
lea rcx, str.MoveFile_failed:__s_r_n
call fcn.140020ee0
jmp 0x140022243
lea r8, [0x140237c90]
lea rdx, [0x1402381b0]
lea rcx, str.Moved__s_to__s_r_n
call fcn.140020ee0
call fcn.14002e620
mov rbx, qword [rsp + 0x1150]
mov dword [0x140237880], 0
mov rcx, qword [rsp + 0x1140]
xor rcx, rsp
call fcn.14006f1f0
add rsp, 0x1158
ret
lea rcx, [0x1400bf728]
call fcn.140020ee0
mov rcx, qword [rsp + 0x1140]
xor rcx, rsp
call fcn.14006f1f0
add rsp, 0x1158
ret
Function at 0x1400222a0
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
mov r11, rsp
sub rsp, 0x958
mov rax, qword [0x1400d1608]
xor rax, rsp
mov qword [rsp + 0x940], rax
cmp dword [0x140237880], 0
jne 0x1400224b0
cmp dword [0x140236b40], 0
jne 0x1400224b0
mov qword [r11 + 8], rbx
lea r9, [rsp + 0x30]
lea r8, str.Delete
mov qword [r11 - 8], rdi
xor edx, edx
mov qword [0x140238180], 0
lea rcx, [0x140237880]
mov dword [0x140237880], 5
mov dword [rsp + 0x20], 1
call fcn.14002f3b0
mov rbx, rax
test rax, rax
je 0x1400224a4
call fcn.14002abc0
test eax, eax
js 0x140022490
mov edx, dword [rsp + 0x30]
mov rcx, rbx
call fcn.14002d9d0
mov ecx, 1
mov edi, eax
call fcn.14002ab30
test edi, edi
js 0x140022490
mov qword [rsp + 0x968], rsi
xor esi, esi
xor edi, edi
nop word [rax + rax]
lea rcx, [rbx + 0x930]
mov r8d, 0x400
lea rdx, [rsp + 0x140]
call fcn.14002d120
test eax, eax
jns 0x140022385
inc edi
jmp 0x140022421
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400223c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x40]
mov ecx, eax
call fcn.140044d90
mov rdx, rax
lea rcx, str.GetFileAttributes_failed:__s_r_n
call fcn.140020ee0
inc edi
jmp 0x140022421
lea rcx, [rsp + 0x140]
test al, 0x10
je 0x1400223d7
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x1400223dd
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14002240c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x40]
mov ecx, eax
call fcn.140044d90
mov rdx, rax
lea rcx, str.Delete_failed:__s_r_n
call fcn.140020ee0
inc edi
jmp 0x140022421
mov rdx, qword [rbx + 0x740]
lea rcx, str.Deleted__s_r_n
call fcn.140020ee0
inc esi
mov rcx, rbx
mov rbx, qword [rbx + 0x8c0]
call fcn.1400733f0
test rbx, rbx
jne 0x140022360
test edi, edi
jle 0x14002244e
mov r8d, edi
lea rcx, str.Deleted__d_objects__skipped__d._r_n
mov edx, esi
call fcn.140020ee0
call fcn.14002e620
mov rsi, qword [rsp + 0x968]
mov dword [0x140237880], 0
mov rbx, qword [rsp + 0x960]
mov rdi, qword [rsp + 0x950]
mov rcx, qword [rsp + 0x940]
xor rcx, rsp
call fcn.14006f1f0
add rsp, 0x958
ret
mov rcx, rbx
mov rbx, qword [rbx + 0x8c0]
call fcn.1400733f0
test rbx, rbx
jne 0x140022490
mov dword [0x140237880], 0
jmp 0x140022465
lea rcx, [0x1400bf7d8]
call fcn.140020ee0
mov rcx, qword [rsp + 0x940]
xor rcx, rsp
call fcn.14006f1f0
add rsp, 0x958
ret
Function at 0x1400224e0
Capabilities:
Create directory

Disassembly:
mov r11, rsp
sub rsp, 0x958
mov rax, qword [0x1400d1608]
xor rax, rsp
mov qword [rsp + 0x940], rax
cmp dword [0x140237880], 0
jne 0x1400226b1
cmp dword [0x140236b40], 0
jne 0x1400226b1
mov qword [r11 + 8], rbx
lea rdx, [0x1400d26f0]
mov qword [r11 + 0x10], rsi
mov r8d, 0x3fe
mov qword [r11 - 8], rdi
xor esi, esi
lea rdi, [0x1402381b0]
mov qword [0x140238180], rsi
mov rcx, rdi
mov qword [0x140237fc0], rdi
mov qword [0x1402380e0], rsi
mov dword [0x140237880], 6
call fcn.1400498e0
movsxd rbx, eax
cmp ebx, 0x3fd
jl 0x14002257e
mov rdx, rdi
lea rcx, [0x1400bf8a0]
call fcn.140020ee0
jmp 0x14002267b
test eax, eax
je 0x1400225ae
lea eax, [rbx - 1]
movsxd rcx, eax
lea rdx, [0x140237880]
cmp byte [rcx + rdx + 0x930], 0x5c
je 0x1400225ae
mov byte [rbx + rdx + 0x930], 0x5c
inc ebx
movsxd rax, ebx
mov byte [rax + rdx + 0x930], sil
call fcn.14002abc0
test eax, eax
js 0x14002267b
mov dword [rsp + 0x38], esi
lea rax, [0x1400bf8b4]
mov qword [rsp + 0x30], rax
lea r9, str.New_Local_Folder
lea rax, str.Create
movsxd rdx, ebx
mov qword [rsp + 0x28], rax
mov r8d, 0x400
lea rax, str.Enter_the_name_for_the_new_folder
sub r8d, ebx
add rdx, rdi
mov qword [rsp + 0x20], rax
xor ecx, ecx
call fcn.140030740
mov ecx, 1
mov ebx, eax
call fcn.14002ab30
test ebx, ebx
js 0x14002267b
mov r8d, 0x400
lea rdx, [rsp + 0x140]
mov rcx, rdi
call fcn.14002d120
test eax, eax
js 0x14002267b
xor edx, edx
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140022667
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x40]
mov ecx, eax
call fcn.140044d90
mov rdx, rax
lea rcx, str.CreateDirectory_failed:__s_r_n
call fcn.140020ee0
jmp 0x14002267b
mov rdx, rdi
lea rcx, str.New_Folder__s_r_n
call fcn.140020ee0
call fcn.14002e620
mov rdi, qword [rsp + 0x950]
mov rbx, qword [rsp + 0x960]
mov dword [0x140237880], esi
mov rsi, qword [rsp + 0x968]
mov rcx, qword [rsp + 0x940]
xor rcx, rsp
call fcn.14006f1f0
add rsp, 0x958
ret
lea rcx, str.Wait_for_current_action_to_complete_r_n
call fcn.140020ee0
mov rcx, qword [rsp + 0x940]
xor rcx, rsp
call fcn.14006f1f0
add rsp, 0x958
ret