joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000ecd0
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x70
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov rbp, rdx
mov rsi, rcx
xor r13b, r13b
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
or r12, 0xffffffffffffffff
xor ebx, ebx
test rsi, rsi
jne 0x14000ed22
mov ecx, ebx
jmp 0x14000ed33
xor eax, eax
mov rcx, r12
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
mov rdx, rsi
lea rcx, [rsp + 0x50]
call fcn.14000fde0
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
lea rcx, [0x14005a9f0]
call fcn.14000e360
mov r14, rax
test rax, rax
je 0x14000eedd
mov qword [rsp + 0xb8], rbx
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000eed3
mov r13b, 1
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x58], rdi
mov rsi, rbx
cmp rbx, qword [rbp + 0x10]
jae 0x14000ee98
mov rcx, qword [rbp + 8]
lea rdx, [rsp + 0x60]
mov rcx, qword [rcx + rsi*8]
call fcn.14000d670
nop
mov rdx, qword [rax]
test rdx, rdx
jne 0x14000edfa
mov ecx, ebx
jmp 0x14000ee0b
xor eax, eax
mov rcx, r12
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
lea rcx, [rsp + 0x58]
call fcn.14000b480
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000ee39
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rsp + 0x58]
mov ecx, dword [rdi - 0x10]
cmp rsi, qword [rbp + 0x10]
jae 0x14000ee8d
mov rax, qword [rbp + 8]
mov rax, qword [rax + rsi*8]
mov rdx, qword [rax]
lea eax, [rcx + rcx]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, 1
xor r8d, r8d
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14000ee88
inc rsi
cmp rsi, qword [rbp + 0x10]
jb 0x14000eddb
jmp 0x14000ee98
xor r13b, r13b
jmp 0x14000eea9
mov ecx, 0x80070057
call fcn.1400040f0
int3
mov rax, qword [rbp + 0x30]
test rax, rax
je 0x14000eea9
inc rbx
cmp rbx, rax
jb 0x14000eea1
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rdx, [rdi - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000eed3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r12d
dec r12d
test r12d, r12d
jg 0x14000eefd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
movzx eax, r13b
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14000f4a0
Capabilities:
Set registry value

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov rbp, r8
mov r12, rdx
mov rbx, rcx
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x78], rax
or rsi, 0xffffffffffffffff
test rbx, rbx
je 0x14000f525
test rbx, 0xffffffffffff0000
jne 0x14000f512
movzx edi, bx
mov ecx, edi
call fcn.140004200
test rax, rax
je 0x14000f538
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.14000b630
jmp 0x14000f538
xor eax, eax
mov rcx, rsi
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
jmp 0x14000f527
xor ecx, ecx
mov r8d, ecx
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.14000b480
nop
lea rcx, [rsp + 0x78]
call fcn.14000ef20
mov qword [rsp + 0x30], 0
xor bl, bl
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov r9d, 0x20006
xor r8d, r8d
mov rdi, qword [rsp + 0x78]
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000f5b4
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax + rax + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbp
mov r9d, 1
xor r8d, r8d
mov rdx, r12
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete bl
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x14000f5cc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
movzx eax, bl
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop r12
pop rdi
pop rsi
ret
Function at 0x14000f5f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push r12
push r13
push r14
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov r13, r9
mov r14, r8
mov rdi, rdx
mov rsi, rcx
mov rcx, r9
call fcn.14000a580
mov qword [rsp + 0x38], 0
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov r12d, eax
or rsi, 0xffffffffffffffff
test eax, eax
jne 0x14000f757
mov dword [rsp + 0x34], 1
mov ecx, 0x100
mov dword [rsp + 0x30], ecx
mov eax, 2
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.14002660c
mov rbp, rax
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r12d, eax
cmp eax, 0xea
jne 0x14000f71d
mov rcx, rbp
call fcn.1400278f8
mov edx, dword [rsp + 0x30]
mov eax, 2
mul rdx
cmovo rax, rsi
mov rcx, rax
call fcn.14002660c
mov rbp, rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r12d, eax
test r12d, r12d
jne 0x14000f744
test rbp, rbp
je 0x14000f744
xor eax, eax
mov rcx, rsi
mov rdi, rbp
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rdx, rbp
mov rcx, r13
call fcn.14000b480
mov rcx, rbp
call fcn.1400278f8
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test r12d, r12d
sete dil
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x14000f776
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
movzx eax, dil
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret
Function at 0x14000fba0
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x10], edx
sub rsp, 0x58
xor edx, edx
lea rax, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], edx
mov rdx, rcx
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000fc34
mov rcx, qword [rsp + 0x78]
lea rax, [rsp + 0x68]
lea rdx, str.Flags
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x50], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x78]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x58
ret

Function at 0x14000fc40
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rdx
xor edx, edx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edx
mov rdx, rcx
xor r9d, r9d
mov rcx, 0xffffffff80000001
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14000fccf
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsp + 0x78]
lea rdx, str.Version
lea eax, [rax + rax + 2]
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x78]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x50
pop rbx
ret
Function at 0x140011250
Capabilities:
Accept command line arguments

Disassembly:
jmp 0x140011440
sub rsp, 0x28
cmp byte [0x140059790], 0
je 0x140011455
or eax, 0xffffffff
add rsp, 0x28
ret
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ole32.dll_CoInitialize]
mov ebx, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x140011491
cmp eax, 0x80010106
jne 0x1400114cb
lea rcx, str.Mscoree.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x140011498
mov eax, ebx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
mov byte [0x14005a902], 1
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140011500
cmp al, 1
jne 0x1400114b8
call fcn.140011740
mov ebx, eax
jmp 0x1400114bc
mov ebx, dword [rsp + 0x30]
cmp byte [0x14005a902], 0
je 0x1400114cb
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret

Function at 0x140011440
Capabilities:
Accept command line arguments

Disassembly:
jmp 0x140011440
sub rsp, 0x28
cmp byte [0x140059790], 0
je 0x140011455
or eax, 0xffffffff
add rsp, 0x28
ret
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ole32.dll_CoInitialize]
mov ebx, eax
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x140011491
cmp eax, 0x80010106
jne 0x1400114cb
lea rcx, str.Mscoree.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x140011498
mov eax, ebx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
mov byte [0x14005a902], 1
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.140011500
cmp al, 1
jne 0x1400114b8
call fcn.140011740
mov ebx, eax
jmp 0x1400114bc
mov ebx, dword [rsp + 0x30]
cmp byte [0x14005a902], 0
je 0x1400114cb
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebx
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret

Function at 0x140011910
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [0x14005a8f0], rax
test rax, rax
jne 0x140011935
add rsp, 0x38
ret
lea rax, [rsp + 0x40]
lea r9, [0x14005a8a0]
lea r8, [0x140011990]
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
test rax, rax
jne 0x140011979
mov rcx, qword [0x14005a8f0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
ret
Function at 0x140011c40
Capabilities:
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x30280
call fcn.14002a6b0
sub rsp, rax
mov rax, qword [0x140054100]
xor rax, rsp
mov qword [rsp + 0x30270], rax
mov rbp, rdx
mov rsi, rcx
xor edi, edi
mov rcx, rbp
xor edx, edx
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rsp + 0x20272]
xor edx, edx
mov r8d, 0xfffc
mov word [rsp + 0x20270], di
call fcn.14002a480
lea rdx, [0x140046028]
lea rcx, [rsp + 0x20270]
mov r8, rsi
call fcn.14001e7d0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x20270]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140011d9e
cmp word [rsp + 0x4c], 0x2e
je 0x140011d7f
xor eax, eax
lea rcx, [rsp + 0x10272]
xor edx, edx
mov r8d, 0xfffc
mov word [rsp + 0x10270], ax
call fcn.14002a480
xor eax, eax
lea rcx, [rsp + 0x272]
xor edx, edx
mov r8d, 0xfffc
mov word [rsp + 0x270], ax
call fcn.14002a480
lea r9, [rsp + 0x4c]
lea rdx, str._s_s
lea rcx, [rsp + 0x10270]
mov r8, rsi
call fcn.14001e7d0
lea r9, [rsp + 0x4c]
lea rdx, str._s_s
lea rcx, [rsp + 0x270]
mov r8, rbp
call fcn.14001e7d0
test byte [rsp + 0x20], 0x10
lea rdx, [rsp + 0x270]
lea rcx, [rsp + 0x10270]
je 0x140011d70
call fcn.140011c40
jmp 0x140011d7f
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x140011d7f
inc ebx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140011cd0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, ebx
mov rcx, qword [rsp + 0x30270]
xor rcx, rsp
call fcn.140026aa0
mov rbx, qword [rsp + 0x302b0]
add rsp, 0x30280
pop rdi
pop rsi
pop rbp
ret
Function at 0x140013b50
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x88
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rbp, rcx
xor edi, edi
mov dword [rsp + 0xc0], edi
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp], rax
mov dword [rsp + 0xc0], 1
mov qword [rsp + 0x70], rdi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x140044fe0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140013d3c
mov dword [rsp + 0xb8], edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rdi
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [rsp + 0xb8]
test eax, eax
je 0x140013d31
lea ecx, [rax + 1]
mov eax, 2
mul rcx
mov rsi, 0xffffffffffffffff
cmovo rax, rsi
mov rcx, rax
call fcn.14002660c
mov rbx, rax
test rax, rax
je 0x140013d31
mov word [rax], di
mov dword [rsp + 0xc8], 1
lea rax, [rsp + 0xb8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0xc8]
xor r8d, r8d
lea rdx, str.useLocale
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140013d29
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
test rbx, 0xffffffffffff0000
jne 0x140013cde
movzx edi, bx
mov ecx, edi
call fcn.140004200
test rax, rax
je 0x140013cfe
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.14000b630
jmp 0x140013cfe
xor eax, eax
mov rcx, rsi
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.14000b480
nop
lea rdx, [rsp + 0x68]
mov rcx, rbp
call fcn.1400076b0
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x140013d29
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, rbx
call fcn.1400278f8
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbp
add rsp, 0x88
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140013d50
Capabilities:
Get geographical location

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov rax, qword [0x140054100]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], 0
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
mov dword [rsp + 0x30], 1
mov ecx, 0x10
call qword [sym.imp.KERNEL32.dll_GetUserGeoID]
cmp eax, 0xffffffff
je 0x140013e01
xor ecx, ecx
mov dword [rsp + 0x48], ecx
mov word [rsp + 0x4c], cx
mov ecx, 0x409
mov word [rsp + 0x20], cx
mov r9d, 6
lea r8, [rsp + 0x48]
lea edx, [r9 - 2]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetGeoInfoW]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x48]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.14000b480
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140026aa0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret

Function at 0x140013e20
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push rdi
sub rsp, 0x250
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x268], rbx
mov rax, qword [0x140054100]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
xor eax, eax
mov dword [rsp + 0x20], eax
mov word [rsp + 0x40], ax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx ecx, ax
mov r9d, 0x200
lea r8, [rsp + 0x40]
mov edx, 0x59
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
lea rcx, [rsp + 0x40]
lea rax, [rsp + 0x40]
test rax, 0xffffffffffff0000
jne 0x140013eca
movzx edi, cx
mov ecx, edi
call fcn.140004200
test rax, rax
je 0x140013ec8
mov r8d, edi
mov rdx, rax
mov rcx, rbx
call fcn.14000b630
nop
jmp 0x140013eed
jmp 0x140013eed
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x40]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14000b480
nop
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140026aa0
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
Function at 0x140014080
Capabilities:
Delete file

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x80], rbx
mov rbx, rcx
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x88], rax
xor ebp, ebp
or rsi, 0xffffffffffffffff
test rbx, rbx
je 0x140014104
test rbx, 0xffffffffffff0000
jne 0x1400140f1
movzx edi, bx
mov ecx, edi
call fcn.140004200
test rax, rax
je 0x14001411a
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x88]
call fcn.14000b630
jmp 0x14001411a
xor eax, eax
mov rcx, rsi
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
jmp 0x140014106
mov ecx, ebp
mov r8d, ecx
mov rdx, rbx
lea rcx, [rsp + 0x88]
call fcn.14000b480
nop
lea rcx, [rsp + 0x88]
call fcn.14001ab40
mov rcx, qword [rax]
sub rcx, 0x18
call fcn.14000bac0
lea rbx, [rax + 0x18]
mov qword [rsp + 0x90], rbx
test rbx, rbx
je 0x140014156
xor eax, eax
mov rcx, rsi
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea rbp, [rcx - 1]
mov r8d, ebp
mov rdx, rbx
lea rcx, [rsp + 0x88]
call fcn.14000b480
nop
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140014184
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rsp + 0x88]
mov ecx, dword [rax - 0x10]
add ecx, 2
movsxd rdi, ecx
add rdi, rdi
mov rcx, rdi
call fcn.140027094
mov rbx, rax
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.14002a480
mov rdx, qword [rsp + 0x88]
mov rax, rbx
nop dword [rax + rax]
movzx ecx, word [rdx]
mov word [rax], cx
add rdx, 2
add rax, 2
test cx, cx
jne 0x1400141c0
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x30], 3
mov qword [rsp + 0x38], rbx
mov eax, 0x614
mov word [rsp + 0x48], ax
lea rcx, [rsp + 0x28]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov edi, eax
mov rcx, rbx
call fcn.140027010
nop
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x140014245
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, edi
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x140014260
Capabilities:
Create directory
Get common file path
Get startup folder

Disassembly:
push rbx
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x140054100]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x20], 0
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
mov dword [rsp + 0x20], 1
mov r9d, 1
lea r8d, [r9 + 0x1b]
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x140014305
lea r9, [0x140057980]
lea r8, [rsp + 0x40]
lea rdx, str._s_s
mov rcx, rbx
call fcn.14000c330
mov rcx, qword [rbx]
call qword [0x140041530]
test eax, eax
jne 0x140014305
xor r8d, r8d
mov rdx, qword [rbx]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140026aa0
add rsp, 0x260
pop rbx
ret

Function at 0x140014330
Capabilities:
Create directory

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rdi, rcx
mov dword [rsp + 0x50], 0
mov rax, qword [0x14005a9e8]
cmp dword [rax - 0x10], 0
jne 0x14001440c
lea rcx, [rsp + 0x50]
call fcn.140014260
nop
mov rax, qword [rsp + 0x50]
or ebx, 0xffffffff
cmp dword [rax - 0x10], 0
je 0x1400143ef
lea rcx, [rsp + 0x58]
call fcn.140014060
nop
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
lea r9, [0x140044f88]
mov r8, qword [rsp + 0x50]
lea rdx, str._s_s_s
lea rcx, [0x14005a9e8]
call fcn.14000c330
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400143cb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [0x14005a9e8]
call qword [0x140041530]
test eax, eax
jne 0x1400143ef
xor r8d, r8d
mov rdx, qword [0x14005a9e8]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x14001440c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [0x14005a9e8]
mov rcx, rdi
call fcn.14000a610
mov rax, rdi
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret