joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005480
Capabilities:
Get common file path
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
mov eax, 0x2060
call fcn.140009830
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2050], rax
mov rbp, rdx
mov r14, rcx
test rdx, rdx
je 0x14000550b
lea rcx, [0x140027874]
call fcn.140005690
mov rcx, rbp
mov rsi, rax
call fcn.1400051b0
mov rdi, rax
test rax, rax
je 0x1400055df
mov rdx, rax
lea rcx, [0x140027878]
call fcn.140011ea8
mov rcx, rdi
mov ebx, eax
call fcn.14000fbe0
test ebx, ebx
je 0x140005510
lea rcx, str.LOADER:_Failed_to_set_the_TMP_environment_variable._n
call fcn.140001d00
xor eax, eax
jmp 0x140005668
mov rsi, qword [rsp + 0x20]
lea rdx, [rsp + 0x50]
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
call sub.KERNEL32.dll_GetCurrentProcessId
mov r9d, eax
lea r8, str._MEI_d
mov edx, 0x10
lea rcx, [rsp + 0x28]
call fcn.140006020
xor ebx, ebx
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x50]
call fcn.1400130d8
mov rcx, rax
mov rdi, rax
call fcn.140006370
test eax, eax
je 0x1400055e6
mov rcx, rdi
call fcn.14000fbe0
inc ebx
cmp ebx, 5
jl 0x140005540
test rbp, rbp
je 0x1400055df
xor r8d, r8d
lea rdx, [0x140027874]
xor ecx, ecx
call fcn.1400066c0
test rsi, rsi
je 0x1400055c9
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
mov rdi, rax
call fcn.1400066c0
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.140011ea8
mov rcx, rdi
call fcn.14000fbe0
mov rcx, rbx
call fcn.14000fbe0
mov rcx, rsi
call fcn.14000fbe0
xor eax, eax
jmp 0x140005668
xor edx, edx
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, rbx
call fcn.14000fbe0
xor eax, eax
jmp 0x140005668
mov r8d, 0x1000
mov rdx, rdi
mov rcx, r14
call fcn.1400067d0
mov rcx, rdi
call fcn.14000fbe0
test rbp, rbp
je 0x140005663
xor r8d, r8d
lea rdx, [0x140027874]
xor ecx, ecx
call fcn.1400066c0
test rsi, rsi
je 0x14000564d
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
mov rdi, rax
call fcn.1400066c0
mov rdx, rax
mov rcx, rdi
mov rbx, rax
call fcn.140011ea8
mov rcx, rdi
call fcn.14000fbe0
mov rcx, rbx
call fcn.14000fbe0
mov rcx, rsi
jmp 0x14000565e
xor edx, edx
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, rbx
call fcn.14000fbe0
mov eax, 1
mov rcx, qword [rsp + 0x2050]
xor rcx, rsp
call fcn.140009890
lea r11, [rsp + 0x2060]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140005690
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x4038
call fcn.140009830
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x4020], rax
mov rdx, rcx
xor r8d, r8d
xor ecx, ecx
call fcn.1400066c0
mov r8d, 0x2000
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x140005726
mov r8d, 0x2000
lea rdx, [rsp + 0x2020]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor r8d, r8d
lea rdx, [rsp + 0x20]
xor ecx, ecx
call fcn.1400067d0
test rax, rax
je 0x140005726
cmp byte [rax], 0
je 0x140005726
mov rcx, rax
call fcn.1400147b4
mov rcx, qword [rsp + 0x4020]
xor rcx, rsp
call fcn.140009890
add rsp, 0x4038
ret
xor eax, eax
mov rcx, qword [rsp + 0x4020]
xor rcx, rsp
call fcn.140009890
add rsp, 0x4038
ret

Function at 0x140005c30
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, rcx
xor r8d, r8d
xor ecx, ecx
call fcn.1400066c0
xor edx, edx
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, rdi
mov ebx, eax
call fcn.14000fbe0
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140005c70
Capabilities:
Accept command line arguments
Create process on windows
Create process suspended

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x2110
call fcn.140009830
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2100], rax
mov rdx, rcx
xor edi, edi
lea rcx, [rsp + 0x100]
mov dword [rsp + 0x50], edi
mov r8d, 0x1000
call fcn.1400066c0
mov ebx, 1
lea ecx, [rdi + 0x16]
mov edx, ebx
call fcn.140012b38
mov edx, ebx
lea ecx, [rdi + 2]
call fcn.140012b38
mov edx, ebx
lea ecx, [rdi + 0xf]
call fcn.140012b38
mov edx, ebx
lea ecx, [rdi + 0x15]
call fcn.140012b38
lea rcx, [rsp + 0x90]
mov dword [rsp + 0x58], 0x18
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x68], ebx
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xorps xmm0, xmm0
mov qword [rsp + 0x98], rdi
xor ecx, ecx
movdqa xmmword [rsp + 0xa0], xmm0
mov dword [rsp + 0xcc], 0x101
mov word [rsp + 0xd0], bx
call fcn.14000fdb0
mov rcx, rax
call fcn.14001482c
mov ecx, eax
call fcn.1400126ec
mov ecx, ebx
mov qword [rsp + 0xe0], rax
call fcn.14000fdb0
mov rcx, rax
call fcn.14001482c
mov ecx, eax
call fcn.1400126ec
lea ecx, [rdi + 2]
mov qword [rsp + 0xe8], rax
call fcn.14000fdb0
mov rcx, rax
call fcn.14001482c
mov ecx, eax
call fcn.1400126ec
mov qword [rsp + 0xf0], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor r9d, r9d
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rsp + 0x100]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140005df1
mov rcx, qword [rsp + 0x70]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x70]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [rsp + 0x50]
jmp 0x140005e09
lea rdx, str.Error_creating_child_process__n
lea rcx, [0x140027978]
call fcn.140001d60
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x2100]
xor rcx, rsp
call fcn.140009890
mov rbx, qword [rsp + 0x2128]
add rsp, 0x2110
pop rdi
ret
Function at 0x140006370
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
mov eax, 0x2070
call fcn.140009830
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2060], rax
xor ebx, ebx
mov qword [rsp + 0x38], 0xffffffffffffffff
mov qword [rsp + 0x40], rbx
mov rdi, rcx
mov dword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x38]
lea edx, [rbx + 8]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140006441
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea edx, [rbx + 1]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x1400063f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140006441
mov edx, dword [rsp + 0x30]
mov ecx, 1
call fcn.14000fbd8
mov rbx, rax
test rax, rax
je 0x140006441
mov r9d, dword [rsp + 0x30]
lea rax, [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov r8, rbx
mov edx, 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140006441
mov rcx, qword [rbx]
lea rdx, [rsp + 0x40]
call sub.ADVAPI32.dll_ConvertSidToStringSidW
mov rcx, rbx
call fcn.14000fbe0
mov rcx, qword [rsp + 0x38]
cmp rcx, 0xffffffffffffffff
je 0x14000645a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x40]
lea r9, str.S_1_3_4
test rbx, rbx
lea r8, str.D:_A__FA____s_
mov edx, 0x1000
lea rcx, [rsp + 0x60]
cmovne r9, rbx
call fcn.140006170
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor r9d, r9d
mov dword [rsp + 0x48], 0x18
lea r8, [rsp + 0x50]
mov dword [rsp + 0x58], 0
lea rcx, [rsp + 0x60]
lea edx, [r9 + 1]
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
je 0x1400064ce
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
neg eax
sbb eax, eax
neg eax
dec eax
jmp 0x1400064d3
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x2060]
xor rcx, rsp
call fcn.140009890
mov rbx, qword [rsp + 0x2088]
add rsp, 0x2070
pop rdi
ret
Function at 0x14000a27c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000a2c6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000a2c6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000a2c6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000a2c6
cmp dword [rcx + 0x84], 0xe
jbe 0x14000a2c6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000a2c8
xor al, al
add rsp, 0x28
ret

Function at 0x140011ee0
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x140011f00
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140015620
or eax, 0xffffffff
jmp 0x140011f02
xor eax, eax
add rsp, 0x28
ret

Function at 0x140012230
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x290
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor esi, esi
mov rbx, rdx
test rdx, rdx
jne 0x140011f6f
call fcn.140015690
mov dword [rax], 0x16
call fcn.140015570
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140009890
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
test rcx, rcx
je 0x140011f36
mov dword [rsp + 0x28], esi
lea r8, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140011fdd
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jb 0x140011fb0
cmp eax, 3
jbe 0x140011fcd
cmp eax, 8
je 0x140011fbd
cmp eax, 0x12
je 0x140011fcd
call fcn.140015690
mov dword [rax], 0x16
jmp 0x140011f46
call fcn.140015690
mov dword [rax], 0xc
jmp 0x140011f46
call fcn.140015690
mov dword [rax], 2
jmp 0x140011f46
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x34]
cmp eax, 0x80
cmove eax, esi
mov dword [rbx], eax
call fcn.140012178
lea rcx, [rsp + 0x3c]
mov qword [rbx + 8], rax
call fcn.140012178
lea rcx, [rsp + 0x44]
mov qword [rbx + 0x10], rax
call fcn.140012178
mov qword [rbx + 0x18], rax
lea rcx, [rbx + 0x24]
mov eax, dword [rsp + 0x50]
lea r8, [rsp + 0x5c]
mov edx, 0x104
mov dword [rbx + 0x20], eax
call fcn.14001acfc
test eax, eax
jne 0x14001203b
mov rax, rdi
jmp 0x140011f4a
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140015590
int3
jmp 0x140011f08
Function at 0x140012238
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x290
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor edi, edi
mov rbx, rdx
test rcx, rcx
jne 0x1400120ad
call fcn.140015690
mov dword [rax], 0x16
call fcn.140015570
or eax, 0xffffffff
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140009890
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x290
pop rdi
ret
cmp rcx, 0xffffffffffffffff
je 0x140012079
test rbx, rbx
je 0x140012079
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140012108
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jb 0x1400120e1
cmp eax, 3
jbe 0x1400120fb
cmp eax, 8
je 0x1400120ee
cmp eax, 0x12
je 0x1400120fb
call fcn.140015690
mov dword [rax], 0x16
jmp 0x140012089
call fcn.140015690
mov dword [rax], 0xc
jmp 0x140012089
call fcn.140015690
mov dword [rax], 2
jmp 0x140012089
mov eax, dword [rsp + 0x30]
lea rcx, [rsp + 0x34]
cmp eax, 0x80
cmove eax, edi
mov dword [rbx], eax
call fcn.140012178
lea rcx, [rsp + 0x3c]
mov qword [rbx + 8], rax
call fcn.140012178
lea rcx, [rsp + 0x44]
mov qword [rbx + 0x10], rax
call fcn.140012178
mov qword [rbx + 0x18], rax
lea rcx, [rbx + 0x24]
mov eax, dword [rsp + 0x50]
lea r8, [rsp + 0x5c]
mov edx, 0x104
mov dword [rbx + 0x20], eax
call fcn.14001acfc
test eax, eax
je 0x14001208c
xor r9d, r9d
mov qword [rsp + 0x20], rdi
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call fcn.140015590
int3
jmp 0x140012050

Function at 0x140012d14
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140012d34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140015620
or eax, 0xffffffff
jmp 0x140012d36
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400140b8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140013ee4
Function at 0x14000147a
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140111480]
mov dword [rax], 1
mov rax, qword [0x140111490]
mov dword [rax], 1
mov rax, qword [0x1401114a0]
mov dword [rax], 1
mov rax, qword [0x140111470]
mov dword [rax], 1
mov rax, qword [0x140111320]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014d8
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140001504
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000152a
cmp eax, 0x20b
je 0x140001551
jmp 0x140001580
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000153d
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001585
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000156c
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001585
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001eee
Capabilities:
Get disk information

Disassembly:
push rbp
push rbx
sub rsp, 0x238
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x1d0], rcx
mov rax, qword [rbp + 0x1d0]
mov qword [rax], 0
mov qword [rax + 8], 0
mov qword [rax + 0x10], 0
mov rcx, qword [rbp + 0x1d0]
call dbg.std::vector<std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, std::allocator<std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > > >::vector()
lea rax, [rbp - 0x50]
mov rdx, rax
mov ecx, 0x100
mov rax, qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
call rax
lea rax, [rbp - 0x50]
mov qword [rbp - 0x58], rax
jmp 0x140001f80
lea rax, [rbp - 0x58]
mov rdx, rax
mov rcx, qword [rbp + 0x1d0]
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t____std::vector_std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t_____std::allocator_std::__cxx11::basic_string_wchar_t__std::
mov rax, qword [rbp - 0x58]
mov rcx, rax
call sym.wcslen
add rax, 1
mov rdx, qword [rbp - 0x58]
add rax, rax
add rax, rdx
mov qword [rbp - 0x58], rax
mov rax, qword [rbp - 0x58]
movzx eax, word [rax]
test ax, ax
jne 0x140001f4f
jmp 0x140001fa8
mov rax, qword [rbp + 0x1d0]
add rsp, 0x238
pop rbx
pop rbp
ret

Function at 0x14000358a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
mov rcx, qword [rbp + 0x10]
call dbg.std::filesystem::__cxx11::path::c_str() const
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
call rax
mov dword [rbp - 4], eax
cmp dword [rbp - 4], 0xffffffff
je 0x1400035c7
mov eax, dword [rbp - 4]
and eax, 0x400
test eax, eax
je 0x1400035c7
mov eax, 1
jmp 0x1400035cc
mov eax, 0
add rsp, 0x30
pop rbp
ret
Function at 0x1400039d8
Capabilities:
Check os version

Disassembly:
push rbp
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0xc0]
mov qword [rbp + 0x20], rcx
mov dword [rbp - 0xa0], 0x9c
lea rax, [rbp - 0xa0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetVersionExA]
call rax
mov rcx, qword [rbp + 0x20]
call dbg.std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string()
mov eax, dword [rbp - 0x9c]
cmp eax, 0xa
je 0x140003a3a
cmp eax, 0xa
ja 0x140003b12
cmp eax, 5
je 0x140003ad7
cmp eax, 6
je 0x140003a52
jmp 0x140003b12
lea rax, str.Windows_10
mov rdx, rax
mov rcx, qword [rbp + 0x20]
call dbg.std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::operator=(wchar_t const*)
jmp 0x140003b2b
mov eax, dword [rbp - 0x98]
cmp eax, 3
je 0x140003a82
cmp eax, 3
ja 0x140003b27
cmp eax, 2
je 0x140003a97
cmp eax, 2
ja 0x140003b27
test eax, eax
je 0x140003ac1
cmp eax, 1
je 0x140003aac
jmp 0x140003b27
lea rax, str.Windows_8.1
mov rdx, rax
mov rcx, qword [rbp + 0x20]
call dbg.std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::operator=(wchar_t const*)
jmp 0x140003ad5
lea rax, str.Windows_8
mov rdx, rax
mov rcx, qword [rbp + 0x20]
call dbg.std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::operator=(wchar_t const*)
jmp 0x140003ad5
lea rax, str.Windows_7
mov rdx, rax
mov rcx, qword [rbp + 0x20]
call dbg.std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::operator=(wchar_t const*)
jmp 0x140003ad5
lea rax, str.Windows_Vista
mov rdx, rax
mov rcx, qword [rbp + 0x20]
call dbg.std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::operator=(wchar_t const*)
nop
jmp 0x140003b27
mov eax, dword [rbp - 0x98]
cmp eax, 1
je 0x140003afc
cmp eax, 2
jne 0x140003b2a
lea rax, str.Windows_Server_2003
mov rdx, rax
mov rcx, qword [rbp + 0x20]
call dbg.std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::operator=(wchar_t const*)
jmp 0x140003b10
lea rax, str.Windows_XP
mov rdx, rax
mov rcx, qword [rbp + 0x20]
call dbg.std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::operator=(wchar_t const*)
nop
jmp 0x140003b2a
lea rax, str.Unknown
mov rdx, rax
mov rcx, qword [rbp + 0x20]
call dbg.std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::operator=(wchar_t const*)
jmp 0x140003b2b
nop
jmp 0x140003b44
nop
jmp 0x140003b44
mov rax, qword [rbp + 0x20]
add rsp, 0xc8
pop rbx
pop rbp
ret
Function at 0x140003c9c
Capabilities:
Get system information on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp + 0x20], rcx
lea rax, [rbp - 0x40]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
call rax
movzx eax, word [rbp - 0x40]
movzx eax, ax
cmp eax, 0xc
ja case.0x140003ceb.1
mov eax, eax
lea rdx, [rax*4]
lea rax, [0x140109678]
mov eax, dword [rdx + rax]
cdqe
lea rdx, [0x140109678]
add rax, rdx
jmp rax
lea rax, [rbp - 6]
mov rcx, rax
call fcn.140088650
lea rax, [rbp - 6]
mov r8, rax
lea rax, [0x14010964a]
mov rdx, rax
mov rcx, qword [rbp + 0x20]
call dbg.std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string<std::allocator<wchar_t> >(wchar_t const*, std::allocator<wchar_t> const&)
lea rax, [rbp - 6]
mov rcx, rax
call sym.std::allocator_wchar_t_::allocator__
jmp 0x140003ed3
lea rax, [rbp - 5]
mov rcx, rax
call fcn.140088650
lea rax, [rbp - 5]
mov r8, rax
lea rax, [0x140109652]
mov rdx, rax
mov rcx, qword [rbp + 0x20]
call dbg.std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string<std::allocator<wchar_t> >(wchar_t const*, std::allocator<wchar_t> const&)
lea rax, [rbp - 5]
mov rcx, rax
call sym.std::allocator_wchar_t_::allocator__
jmp 0x140003ed3
lea rax, [rbp - 4]
mov rcx, rax
call fcn.140088650
lea rax, [rbp - 4]
mov r8, rax
lea rax, str.ARM64
mov rdx, rax
mov rcx, qword [rbp + 0x20]
call dbg.std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string<std::allocator<wchar_t> >(wchar_t const*, std::allocator<wchar_t> const&)
lea rax, [rbp - 4]
mov rcx, rax
call sym.std::allocator_wchar_t_::allocator__
jmp 0x140003ed3
lea rax, [rbp - 3]
mov rcx, rax
call fcn.140088650
lea rax, [rbp - 3]
mov r8, rax
lea rax, str.IA64
mov rdx, rax
mov rcx, qword [rbp + 0x20]
call dbg.std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string<std::allocator<wchar_t> >(wchar_t const*, std::allocator<wchar_t> const&)
lea rax, [rbp - 3]
mov rcx, rax
call sym.std::allocator_wchar_t_::allocator__
jmp 0x140003ed3
lea rax, [rbp - 2]
mov rcx, rax
call fcn.140088650
lea rax, [rbp - 2]
mov r8, rax
lea rax, [0x140109670]
mov rdx, rax
mov rcx, qword [rbp + 0x20]
call dbg.std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string<std::allocator<wchar_t> >(wchar_t const*, std::allocator<wchar_t> const&)
lea rax, [rbp - 2]
mov rcx, rax
call sym.std::allocator_wchar_t_::allocator__
jmp 0x140003ed3
lea rax, [rbp - 1]
mov rcx, rax
call fcn.140088650
lea rax, [rbp - 1]
mov r8, rax
lea rax, str.Unknown
mov rdx, rax
mov rcx, qword [rbp + 0x20]
call dbg.std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::basic_string<std::allocator<wchar_t> >(wchar_t const*, std::allocator<wchar_t> const&)
lea rax, [rbp - 1]
mov rcx, rax
call sym.std::allocator_wchar_t_::allocator__
jmp 0x140003ed3
mov rax, qword [rbp + 0x20]
add rsp, 0x68
pop rbx
pop rbp
ret
Function at 0x140003ede
Capabilities:
Get common file path

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov qword [rbp + 0x10], rcx
lea rax, [rbp - 8]
mov r9, rax
mov r8d, 0
mov edx, 0
mov rax, qword [0x140110600]
mov rcx, rax
call sym.SHGetKnownFolderPath
test eax, eax
sete al
test al, al
je 0x140003f2c
lea rax, [rbp - 8]
mov r8d, 2
mov rdx, rax
mov rcx, qword [rbp + 0x10]
call dbg.std::filesystem::__cxx11::path::path<wchar_t*, std::filesystem::__cxx11::path>(wchar_t* const&, std::filesystem::__cxx11::path::format)
jmp 0x140003f35
mov rcx, qword [rbp + 0x10]
call dbg.std::filesystem::__cxx11::path::path()
mov rax, qword [rbp + 0x10]
add rsp, 0x30
pop rbp
ret