joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180002f72
Capabilities:
Create process on windows

Disassembly:
jmp 0x180193ae0
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x118
lea rcx, [rsp + 0xe0]
call fcn.180007a8b
lea rcx, [rsp + 0xb0]
call fcn.180007a8b
lea rcx, [rsp + 0x80]
call fcn.180007a8b
call fcn.18000726b
mov r8d, eax
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x120]
call fcn.180001e1a
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x180193b82
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0x80]
call fcn.1800075c2
lea rcx, [rsp + 0xb0]
call fcn.1800075c2
lea rcx, [rsp + 0xe0]
call fcn.1800075c2
mov eax, dword [rsp + 0x54]
jmp 0x180193d1e
call fcn.18000726b
mov r8d, eax
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x128]
call fcn.180001e1a
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x180193be2
mov dword [rsp + 0x5c], 0
lea rcx, [rsp + 0x80]
call fcn.1800075c2
lea rcx, [rsp + 0xb0]
call fcn.1800075c2
lea rcx, [rsp + 0xe0]
call fcn.1800075c2
mov eax, dword [rsp + 0x5c]
jmp 0x180193d1e
mov qword [rsp + 0x70], 0
cmp qword [rsp + 0x158], 0
je 0x180193c68
call fcn.18000726b
mov r8d, eax
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x158]
call fcn.180001e1a
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x180193c56
mov dword [rsp + 0x64], 0
lea rcx, [rsp + 0x80]
call fcn.1800075c2
lea rcx, [rsp + 0xb0]
call fcn.1800075c2
lea rcx, [rsp + 0xe0]
call fcn.1800075c2
mov eax, dword [rsp + 0x64]
jmp 0x180193d1e
lea rcx, [rsp + 0x80]
call fcn.180001050
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0xb0]
call fcn.180001050
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0xe0]
call fcn.180001050
mov rcx, qword [rsp + 0x168]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0x160]
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rsp + 0x150]
mov qword [rsp + 0x30], rcx
mov ecx, dword [rsp + 0x148]
mov dword [rsp + 0x28], ecx
mov ecx, dword [rsp + 0x140]
mov dword [rsp + 0x20], ecx
mov r9, qword [rsp + 0x138]
mov r8, qword [rsp + 0x130]
mov rcx, qword [rsp + 0x78]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0x80]
call fcn.1800075c2
lea rcx, [rsp + 0xb0]
call fcn.1800075c2
lea rcx, [rsp + 0xe0]
call fcn.1800075c2
mov eax, dword [rsp + 0x68]
add rsp, 0x118
ret
Function at 0x1800034fe
Capabilities:
Set current directory

Disassembly:
jmp 0x1801518f4
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x180228028]
xor rax, rsp
mov qword [rbp + 0x80], rax
test rcx, rcx
jne 0x180151994
lea edi, [rcx + 0x3e]
xor r9d, r9d
lea rax, [0x1801d2178]
mov r8d, edi
lea rbx, str.path___nullptr
mov qword [rsp + 0x28], rbx
lea ecx, [rdi - 0x3c]
lea rdx, str.minkernelcrtsucrt_srcdesktopcrtmiscchdir.cpp
mov qword [rsp + 0x20], rax
call fcn.180003666
cmp eax, 1
jne 0x18015195a
int3
call fcn.18000104b
and dword [rax], 0
call fcn.180002d3d
and qword [rsp + 0x20], 0
lea r8, str.minkernelcrtsucrt_srcdesktopcrtmiscchdir.cpp
mov r9d, edi
lea rdx, str.common_chdir
mov rcx, rbx
mov dword [rax], 0x16
call fcn.18000172b
or ebx, 0xffffffff
jmp 0x180151a65
call fcn.180002d60
test eax, eax
jne 0x1801519ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.180002121
jmp 0x18015198c
and qword [rsp + 0x58], 0
lea rax, [rsp + 0x70]
mov ecx, 0x105
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x60], 0
call fcn.180006b6d
test eax, eax
je 0x180151a00
cmp byte [rsp + 0x60], 0
je 0x18015198c
mov rcx, qword [rsp + 0x48]
mov edx, 2
call fcn.180006c12
jmp 0x18015198c
mov rdi, qword [rsp + 0x48]
mov al, byte [rdi]
cmp al, 0x5c
je 0x180151a0f
cmp al, 0x2f
jne 0x180151a18
cmp al, byte [rdi + 1]
jne 0x180151a18
xor ebx, ebx
jmp 0x180151a51
movsx ecx, al
call fcn.18000252c
mov rdx, rdi
mov byte [rsp + 0x30], 0x3d
lea rcx, [rsp + 0x30]
mov byte [rsp + 0x31], al
mov word [rsp + 0x32], 0x3a
call fcn.180005bdc
test eax, eax
jne 0x180151a14
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.180002121
or ebx, 0xffffffff
cmp byte [rsp + 0x60], 0
je 0x180151a65
mov edx, 2
mov rcx, rdi
call fcn.180006c12
mov eax, ebx
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.180002afe
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x180003652
Capabilities:
Print debug messages

Disassembly:
jmp 0x18019a950
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x180228028]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x18019a976
jmp 0x18019a9f3
mov rcx, qword [rbp + 0x30]
call fcn.18000168b
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x18019a98f
jmp 0x18019a9f3
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x18019a9ac
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.18000108c
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov rax, qword [rbp]
dec rax
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x30]
mov r8, qword [rbp]
mov rdx, qword [rbp + 8]
lea rcx, [rbp + 0x10]
call fcn.180005434
test eax, eax
jne 0x18019a9f3
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.180002afe
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x180003a5d
Capabilities:
Query environment variable

Disassembly:
jmp 0x18018df70
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor r14d, r14d
mov rbx, rax
test rax, rax
je 0x18018e058
mov rsi, rax
cmp word [rax], r14w
je 0x18018dfc3
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], r14w
jne 0x18018dfab
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], r14w
jne 0x18018dfa7
mov qword [rsp + 0x38], r14
sub rsi, rbx
mov qword [rsp + 0x30], r14
add rsi, 2
sar rsi, 1
mov r8, rbx
mov r9d, esi
mov dword [rsp + 0x28], r14d
xor edx, edx
mov qword [rsp + 0x20], r14
xor ecx, ecx
call fcn.18000687a
movsxd rbp, eax
test eax, eax
je 0x18018e058
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov rcx, rbp
lea edx, [r9 - 0x64]
call fcn.180003d73
mov rdi, rax
test rax, rax
je 0x18018e046
mov qword [rsp + 0x38], r14
mov r9d, esi
mov qword [rsp + 0x30], r14
mov r8, rbx
mov dword [rsp + 0x28], ebp
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
call fcn.18000687a
test eax, eax
je 0x18018e046
mov rsi, rdi
mov rdi, r14
jmp 0x18018e049
mov rsi, r14
mov edx, 2
mov rcx, rdi
call fcn.180006c12
jmp 0x18018e05b
mov rsi, r14
test rbx, rbx
je 0x18018e069
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rbx, qword [rsp + 0x50]
mov rax, rsi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x18000465b
Capabilities:
Clear file content

Disassembly:
jmp 0x18019b7c0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x98
mov r8, qword [rsp + 0xa8]
mov edx, dword [rsp + 0xa0]
lea rcx, [rsp + 0x68]
call fcn.1800068b1
cmp qword [rsp + 0x68], 0xffffffffffffffff
je 0x18019b7f9
cmp qword [rsp + 0x70], 0xffffffffffffffff
jne 0x18019b817
call fcn.180002d3d
mov eax, dword [rax]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x68]
call fcn.180004340
mov eax, dword [rsp + 0x40]
jmp 0x18019ba33
cmp qword [rsp + 0x78], 0
jle 0x18019b978
mov dword [rsp + 0x20], 0x4a
lea r9, str.minkernelcrtsucrt_src_appcrtlowiochsize.cpp
mov r8d, 2
mov edx, 1
mov ecx, 0x1000
call fcn.180002c16
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.180001271
lea rcx, [rsp + 0x38]
call fcn.180007518
movzx eax, al
test eax, eax
jne 0x18019b898
call fcn.180002d3d
mov dword [rax], 0xc
call fcn.180002d3d
mov eax, dword [rax]
mov dword [rsp + 0x44], eax
lea rcx, [rsp + 0x38]
call fcn.180002333
lea rcx, [rsp + 0x68]
call fcn.180004340
mov eax, dword [rsp + 0x44]
jmp 0x18019ba33
mov edx, 0x8000
mov ecx, dword [rsp + 0xa0]
call fcn.1800029fa
mov dword [rsp + 0x50], eax
cmp qword [rsp + 0x78], 0x1000
jl 0x18019b8c2
mov dword [rsp + 0x30], 0x1000
jmp 0x18019b8ca
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x48], eax
lea rcx, [rsp + 0x38]
call fcn.180005abf
mov r8d, dword [rsp + 0x48]
mov rdx, rax
mov ecx, dword [rsp + 0xa0]
call fcn.180002586
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0xffffffff
jne 0x18019b938
call fcn.18000104b
cmp dword [rax], 5
jne 0x18019b910
call fcn.180002d3d
mov dword [rax], 0xd
call fcn.180002d3d
mov eax, dword [rax]
mov dword [rsp + 0x4c], eax
lea rcx, [rsp + 0x38]
call fcn.180002333
lea rcx, [rsp + 0x68]
call fcn.180004340
mov eax, dword [rsp + 0x4c]
jmp 0x18019ba33
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jg 0x18019b8ad
mov edx, dword [rsp + 0x50]
mov ecx, dword [rsp + 0xa0]
call fcn.1800029fa
lea rcx, [rsp + 0x38]
call fcn.180002333
jmp 0x18019ba1d
cmp qword [rsp + 0x78], 0
jge 0x18019ba1d
xor r8d, r8d
mov rdx, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0xa0]
call fcn.180003a30
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0xffffffffffffffff
jne 0x18019b9c9
call fcn.180002d3d
mov eax, dword [rax]
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x68]
call fcn.180004340
mov eax, dword [rsp + 0x54]
jmp 0x18019ba33
mov ecx, dword [rsp + 0xa0]
call fcn.180002c07
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x18019ba1d
call fcn.180002d3d
mov dword [rax], 0xd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
call fcn.18000104b
mov ecx, dword [rsp + 0x58]
mov dword [rax], ecx
call fcn.180002d3d
mov eax, dword [rax]
mov dword [rsp + 0x5c], eax
lea rcx, [rsp + 0x68]
call fcn.180004340
mov eax, dword [rsp + 0x5c]
jmp 0x18019ba33
mov dword [rsp + 0x60], 0
lea rcx, [rsp + 0x68]
call fcn.180004340
mov eax, dword [rsp + 0x60]
add rsp, 0x98
ret
Function at 0x180004a16
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1800d0610
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1800cffe0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1800d0651
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x18024f020]
jmp 0x1800d0657
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret
Function at 0x180005759
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x180077f30
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x180077f58
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x180077fa2
mov rax, qword [rsp]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x20]
xor rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
movabs rax, 0x100000001b3
mov rcx, qword [rsp + 0x20]
imul rcx, rax
mov rax, rcx
mov qword [rsp + 0x20], rax
jmp 0x180077f4d
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret

Function at 0x18000575e
Capabilities:
Print debug messages

Disassembly:
jmp 0x1801647a0
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x180005a10
Capabilities:
Get common file path

Disassembly:
jmp 0x180168d30
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x280
mov rax, qword [0x180228028]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x20a
rep stosb byte [rdi], al
lea rdx, [rsp + 0x60]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jne 0x180168d86
xor eax, eax
jmp 0x180168e1c
call fcn.18000626c
test eax, eax
jne 0x180168d96
mov byte [rsp + 0x40], 1
jmp 0x180168d9b
mov byte [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x41], al
movzx eax, byte [rsp + 0x41]
test eax, eax
je 0x180168db7
mov dword [rsp + 0x44], 1
jmp 0x180168dbf
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x290]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x298]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
lea r8, [rsp + 0x60]
xor edx, edx
mov ecx, dword [rsp + 0x50]
call fcn.18000687a
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jne 0x180168e16
xor eax, eax
jmp 0x180168e1c
mov eax, dword [rsp + 0x48]
dec eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.180002afe
add rsp, 0x280
pop rdi
ret

Function at 0x180005bdc
Capabilities:
Set environment variable

Disassembly:
jmp 0x180190b50
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
lea rcx, [rsp + 0x70]
call fcn.180007a8b
lea rcx, [rsp + 0x40]
call fcn.180007a8b
call fcn.18000726b
mov r8d, eax
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0xb0]
call fcn.180001e1a
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x180190bbf
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x40]
call fcn.1800075c2
lea rcx, [rsp + 0x70]
call fcn.1800075c2
mov eax, dword [rsp + 0x24]
jmp 0x180190c4c
call fcn.18000726b
mov r8d, eax
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0xb8]
call fcn.180001e1a
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x180190c06
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x40]
call fcn.1800075c2
lea rcx, [rsp + 0x70]
call fcn.1800075c2
mov eax, dword [rsp + 0x2c]
jmp 0x180190c4c
lea rcx, [rsp + 0x40]
call fcn.180001050
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x70]
call fcn.180001050
mov rcx, qword [rsp + 0x38]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x40]
call fcn.1800075c2
lea rcx, [rsp + 0x70]
call fcn.1800075c2
mov eax, dword [rsp + 0x30]
add rsp, 0xa8
ret
Function at 0x180005d71
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1800d0750
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1800d00a0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1800d0799
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x18024f020]
jmp 0x1800d07a8
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x18000654b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x180180e28
jmp fcn.180003305

Function at 0x1800065e1
Capabilities:
Get common file path

Disassembly:
jmp 0x18002d1c0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x290
mov rdi, rsp
mov ecx, 0xa4
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2a0]
mov rax, qword [0x180228028]
xor rax, rsp
mov qword [rsp + 0x288], rax
mov dword [rsp + 0x280], 0
lea rcx, [0x18024d0a3]
call fcn.1800021f3
lea rdx, [rsp + 0x30]
mov ecx, 0x200
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x248]
call fcn.180007752
nop
lea rcx, [rsp + 0x248]
call fcn.1800013e8
lea rdx, [rsp + 0x248]
mov rcx, qword [rsp + 0x2a0]
call fcn.180005d53
mov eax, dword [rsp + 0x280]
or eax, 1
mov dword [rsp + 0x280], eax
lea rcx, [rsp + 0x248]
call fcn.18000415b
mov rax, qword [rsp + 0x2a0]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1801c4a10]
call fcn.180007266
mov rax, rdi
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.180002afe
add rsp, 0x290
pop rdi
ret
Function at 0x180006bb3
Capabilities:
Terminate process

Disassembly:
jmp 0x1800d0fe0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1800d100e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.180006e83
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000417
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x180006f14
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1800d06e0
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1800d0060
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1800d071f
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x30], rax
mov ecx, dword [rsp + 0x50]
mov rax, qword [rsp + 0x30]
call qword [0x18024f020]
jmp 0x1800d0729
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret

Function at 0x180007095
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x180159240
mov qword [rsp + 8], rcx
sub rsp, 0x38
call fcn.180158290
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x180159277
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
mov rax, qword [rsp + 0x28]
call qword [0x18024f020]
jmp 0x18015927d
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x38
ret

Function at 0x180007257
Capabilities:
Get geographical location

Disassembly:
jmp 0x1800aa8f0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov eax, 8
imul rax, rax, 0x26
lea rcx, [0x180232240]
mov rax, qword [rcx + rax]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1800aa95c
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
call qword [0x18024f020]
jmp 0x1800aa97c
mov rcx, qword [rsp + 0x60]
call fcn.1800048d6
mov r9d, dword [rsp + 0x78]
mov r8, qword [rsp + 0x70]
mov edx, dword [rsp + 0x68]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x58
ret

Function at 0x1800072f7
Capabilities:
Print debug messages

Disassembly:
jmp 0x18002d5a0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rdi, rsp
mov ecx, 8
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x30]
lea rcx, [0x18024d0a3]
call fcn.1800021f3
mov rcx, qword [rsp + 0x30]
call fcn.18000667c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add rsp, 0x20
pop rdi
ret

Function at 0x180007397
Capabilities:
Get geographical location

Disassembly:
jmp 0x180159510
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.180158490
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x180159563
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x38]
call qword [0x18024f020]
jmp 0x180159585
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.1800041e2
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x60]
mov edx, dword [rsp + 0x58]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
add rsp, 0x48
ret
Function at 0x1800074c3
Capabilities:
Execute command

Disassembly:
jmp 0x1801377c8
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x180228028]
xor rax, rsp
mov qword [rbp - 8], rax
xor ebx, ebx
mov dword [rsp + 0x28], 0x6d
mov rdi, rcx
mov qword [rbp - 0x30], rbx
lea rax, str.minkernelcrtsucrtinccorecrt_internal_traits.h
xor edx, edx
lea r8, [0x1801edc60]
mov qword [r11 - 0x48], rax
lea esi, [rbx + 2]
mov r9d, esi
lea rcx, [rbp - 0x30]
call fcn.180006aaa
cmp eax, 0x16
je 0x180137945
test rdi, rdi
jne 0x18013784d
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x18013791a
xor edx, edx
call fcn.180001e42
test eax, eax
sete bl
jmp 0x180137916
cmp byte [rdi], bl
jne 0x180137884
xor r9d, r9d
lea rax, str.command_0____0
mov qword [rsp + 0x28], rax
lea rdx, str.minkernelcrtsucrt_srcdesktopcrtexec_system.cpp
lea rax, [0x1801d2178]
mov ecx, esi
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 0x2b]
call fcn.180003666
cmp eax, 1
jne 0x180137884
int3
mov rax, qword [rbp - 0x30]
lea rcx, [0x1801edc7c]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rbx
test rax, rax
je 0x1801378fa
call fcn.180002d3d
mov edi, dword [rax]
call fcn.180002d3d
xor r9d, r9d
lea r8, [rbp - 0x28]
xor ecx, ecx
mov dword [rax], ebx
mov rdx, qword [rbp - 0x28]
call fcn.180005d94
mov rbx, rax
call fcn.180002d3d
cmp ebx, 0xffffffff
je 0x1801378d5
mov dword [rax], edi
jmp 0x180137916
cmp dword [rax], esi
je 0x1801378f3
call fcn.180002d3d
cmp dword [rax], 0xd
je 0x1801378f3
mov rcx, qword [rbp - 0x30]
mov edx, esi
call fcn.180006c12
or ebx, 0xffffffff
jmp 0x180137921
call fcn.180002d3d
mov dword [rax], edi
lea rdx, [0x1801edc70]
xor r9d, r9d
lea r8, [rbp - 0x28]
mov qword [rbp - 0x28], rdx
xor ecx, ecx
call fcn.180004dae
mov rbx, rax
mov rcx, qword [rbp - 0x30]
mov edx, esi
call fcn.180006c12
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180002afe
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
mov r9d, 0x1f
mov qword [rsp + 0x20], rbx
lea r8, str.minkernelcrtsucrt_srcdesktopcrtexec_system.cpp
lea rdx, str.common_system
lea rcx, str.traits::tdupenv_s_crt_comspec_value.get_address_of____nullptr__comspec_name_
call fcn.180006bb3
int3
Function at 0x1800079dc
Capabilities:
Create directory

Disassembly:
jmp 0x180193e20
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x180193e4e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.180002121
mov eax, 0xffffffff
jmp 0x180193e50
xor eax, eax
add rsp, 0x28
ret