joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c6d90
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x1400c6d90
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1400c6710
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400c6dcf
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 [0x140218020]
jmp 0x1400c6dd9
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret
Function at 0x1400d2c50
Capabilities:
Create thread

Disassembly:
jmp 0x1400d2c50
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
cmp qword [rsp + 0x90], 0
je 0x1400d2c7c
mov dword [rsp + 0x30], 1
jmp 0x1400d2c84
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x1400d2ccd
lea rax, str.procedure___nullptr
mov qword [rsp + 0x28], rax
lea rax, [0x1401b3950]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0xc8
lea rdx, str.minkernelcrtsucrt_src_appcrt_startup_thread.cpp
mov ecx, 2
call fcn.140001a2d
cmp eax, 1
jne 0x1400d2ccd
int3
cmp dword [rsp + 0x34], 0
jne 0x1400d2d0f
call fcn.140002f45
mov dword [rax], socket
mov qword [rsp + 0x20], 0
mov r9d, 0xc8
lea r8, str.minkernelcrtsucrt_src_appcrt_startup_thread.cpp
lea rdx, str._beginthreadex
lea rcx, str.procedure___nullptr
call fcn.140005a0b
xor eax, eax
jmp 0x1400d2e0f
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
call fcn.1400d2740
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1400d2540
lea rcx, [rsp + 0x40]
call fcn.1400d25b0
movzx eax, al
test eax, eax
jne 0x1400d2d5f
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x40]
call fcn.1400d2590
mov rax, qword [rsp + 0x50]
jmp 0x1400d2e0f
lea rcx, [rsp + 0x40]
call fcn.1400d28f0
mov ecx, dword [rsp + 0x88]
lea rdx, [rsp + 0x38]
mov qword [rsp + 0x28], rdx
mov edx, dword [rsp + 0xa0]
mov dword [rsp + 0x20], edx
mov r9, rax
lea r8, [0x1400d22f0]
mov edx, ecx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x1400d2dd3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140002982
mov qword [rsp + 0x58], 0
lea rcx, [rsp + 0x40]
call fcn.1400d2590
mov rax, qword [rsp + 0x58]
jmp 0x1400d2e0f
cmp qword [rsp + 0xa8], 0
je 0x1400d2dec
mov rax, qword [rsp + 0xa8]
mov ecx, dword [rsp + 0x38]
mov dword [rax], ecx
lea rcx, [rsp + 0x40]
call fcn.1400d28b0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x40]
call fcn.1400d2590
mov rax, qword [rsp + 0x60]
add rsp, 0x78
ret
Function at 0x140159050
Capabilities:
Print debug messages

Disassembly:
jmp 0x140159050
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 0x14015eaa0
Capabilities:
Get geographical location

Disassembly:
jmp 0x14015eaa0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x58
call fcn.14015d9d0
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14015eb07
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
movabs r10, 0xe375262d7cd44270
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 [0x140218030]
jmp 0x14015eb29
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1400031de
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 0x140166750
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.140001ffa
sub rsp, rax
mov rax, qword [0x1401fc100]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1402015f0]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x140166942
lea rax, [rsp + 0x147f]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x38], rax
jae 0x140166896
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x140166896
mov rax, qword [rsp + 0x48]
movzx eax, byte [rax]
mov byte [rsp + 0x31], al
mov rax, qword [rsp + 0x48]
inc rax
mov qword [rsp + 0x48], rax
movzx eax, byte [rsp + 0x31]
mov byte [rsp + 0x30], al
movsx eax, byte [rsp + 0x30]
cmp eax, 0xa
jne 0x14016687b
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x38]
mov byte [rax], 0xd
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
jmp 0x140166818
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, dword [rsp + 0x40]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140166902
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x140166961
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x44], eax
jae 0x14016693d
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x140166961
jmp 0x1401667ee
lea rax, [rsp + 0x68]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1400039c2
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x140166a10
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rsi
push rdi
mov eax, 0x1498
call fcn.140001ffa
sub rsp, rax
mov rax, qword [0x1401fc100]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1402015f0]
mov edx, dword [rsp + 0x14b8]
and edx, 0x3f
movsxd rdx, edx
imul rdx, rdx, 0x48
mov rax, qword [rcx + rax*8]
mov rax, qword [rax + rdx + 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x14c8]
mov rcx, qword [rsp + 0x14c0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, 0xc
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x14c0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x140166c1d
lea rax, [rsp + 0x147e]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
cmp qword [rsp + 0x38], rax
jae 0x140166b69
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x50], rax
jae 0x140166b69
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
mov word [rsp + 0x40], ax
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
movzx eax, word [rsp + 0x40]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
cmp eax, 0xa
jne 0x140166b49
mov eax, dword [rsp + 0x78]
add eax, 2
mov dword [rsp + 0x78], eax
mov eax, recvfrom
mov rcx, qword [rsp + 0x38]
mov word [rcx], ax
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
mov word [rax], cx
mov rax, qword [rsp + 0x38]
add rax, 2
mov qword [rsp + 0x38], rax
jmp 0x140166ad8
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov eax, eax
shl rax, 1
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x48]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x140166bdd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x140166c3c
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x48], eax
jae 0x140166c18
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
jmp 0x140166c3c
jmp 0x140166aae
lea rax, [rsp + 0x70]
mov rdi, qword [rsp + 0x14b0]
mov rsi, rax
mov ecx, 0xc
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x14b0]
mov rcx, qword [rsp + 0x1480]
xor rcx, rsp
call fcn.1400039c2
add rsp, 0x1498
pop rdi
pop rsi
ret
Function at 0x14017bad0
Capabilities:
Query environment variable

Disassembly:
jmp 0x14017bad0
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14017b900
lea rcx, [rsp + 0x40]
call fcn.14017ba80
movzx eax, al
test eax, eax
jne 0x14017bb18
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.14017b930
mov rax, qword [rsp + 0x70]
jmp 0x14017bce9
lea rcx, [rsp + 0x40]
call fcn.14017ba50
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.14017b9f0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x40]
call fcn.14017ba50
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, dword [rsp + 0x68]
mov r8, rax
xor edx, edx
xor ecx, ecx
call fcn.140005123
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14017bbbe
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.14017b930
mov rax, qword [rsp + 0x80]
jmp 0x14017bce9
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.140003aad
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140003891
lea rcx, [rsp + 0x48]
call fcn.14000327e
movzx eax, al
test eax, eax
jne 0x14017bc25
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.140001dc5
lea rcx, [rsp + 0x40]
call fcn.14017b930
mov rax, qword [rsp + 0x88]
jmp 0x14017bce9
lea rcx, [rsp + 0x48]
call fcn.14000440d
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.14017ba50
mov qword [rsp + 0x98], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x68]
mov r8, qword [rsp + 0x98]
xor edx, edx
xor ecx, ecx
call fcn.140005123
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14017bcbb
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.140001dc5
lea rcx, [rsp + 0x40]
call fcn.14017b930
mov rax, qword [rsp + 0xa0]
jmp 0x14017bce9
lea rcx, [rsp + 0x48]
call fcn.140003841
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.140001dc5
lea rcx, [rsp + 0x40]
call fcn.14017b930
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret
Function at 0x14017bd80
Capabilities:
Query environment variable

Disassembly:
jmp 0x14017bd80
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14017b900
lea rcx, [rsp + 0x20]
call fcn.14017b950
movzx eax, al
test eax, eax
jne 0x14017bdc5
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.14017b930
mov rax, qword [rsp + 0x40]
jmp 0x14017bebf
lea rcx, [rsp + 0x20]
call fcn.14017ba50
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.14017b9f0
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
sar rax, 1
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r9d, 0x40
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, rax
call fcn.140003aad
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14000303f
lea rcx, [rsp + 0x28]
call fcn.140003fad
movzx eax, al
test eax, eax
jne 0x14017be5f
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.1400054f2
lea rcx, [rsp + 0x20]
call fcn.14017b930
mov rax, qword [rsp + 0x50]
jmp 0x14017bebf
lea rcx, [rsp + 0x20]
call fcn.14017ba50
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.140006550
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x38]
shl rax, 1
mov r8, rax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call fcn.1400039e5
lea rcx, [rsp + 0x28]
call fcn.140006f05
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.1400054f2
lea rcx, [rsp + 0x20]
call fcn.14017b930
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret

Function at 0x14017dc30
Capabilities:
Set environment variable

Disassembly:
jmp 0x14017dc30
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add rsp, 0x28
ret
Function at 0x140194ea0
Capabilities:
Set environment variable

Disassembly:
jmp 0x140194ea0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.140002fe5
lea rcx, [rsp + 0x48]
call fcn.140002fe5
call fcn.140003e3b
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.140002cc0
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140194f0f
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.14000357b
lea rcx, [rsp + 0x78]
call fcn.14000357b
mov eax, dword [rsp + 0x24]
jmp 0x140194fa0
call fcn.140003e3b
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.140002cc0
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x140194f56
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.14000357b
lea rcx, [rsp + 0x78]
call fcn.14000357b
mov eax, dword [rsp + 0x2c]
jmp 0x140194fa0
lea rcx, [rsp + 0x48]
call fcn.140002f09
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.140002f09
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x48]
call fcn.14000357b
lea rcx, [rsp + 0x78]
call fcn.14000357b
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret
Function at 0x140005b70
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
sub rsp, 0x68
lea rdx, [rsp + 0x30]
lea rcx, [0x14003a1d0]
call fcn.140005d80
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x140005cc3
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140005cb8
lea rax, str.123123
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x38]
lea r8, [0x1400260a0]
mov edx, 0x7fff
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov dword [rsp + 0x50], eax
cmp dword [0x14003c040], 1
jne 0x140005c48
lea r8, [rsp + 0x48]
lea rdx, [0x1400260b0]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x140005c48
mov eax, dword [rsp + 0x50]
inc eax
cdqe
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.AB1F3E47_AEF1_400E_A108_233A046C3A34
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x14003c03c], 1
jne 0x140005cad
lea r8, [rsp + 0x48]
lea rdx, [0x140026110]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x140005cad
mov eax, dword [rsp + 0x50]
inc eax
cdqe
shl rax, 1
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, [0x14003c162]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 1
add rsp, 0x68
ret

Function at 0x140005ce0
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
sub rsp, 0x38
cmp dword [0x14003c040], 1
jne 0x140005d27
lea r8, [rsp + 0x20]
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x140005d27
lea rdx, str.AB1F3E47_AEF1_400E_A108_233A046C3A34
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x14003c03c], 1
jne 0x140005d6a
lea r8, [rsp + 0x20]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x140005d6a
lea rdx, [0x14003c162]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
add rsp, 0x38
ret
Function at 0x140008740
Capabilities:
Create process on windows
Get common file path

Disassembly:
sub rsp, 0x118
lea rdx, [rsp + 0x50]
lea rcx, [0x14003a1d0]
call fcn.140005d80
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x140008932
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
je 0x140008927
mov rdx, qword [rsp + 0x60]
mov ecx, 0x7fff
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x140008927
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x140008927
mov r8d, 0x7fff
mov rdx, qword [rsp + 0x68]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000891c
mov dx, 0x5c
mov rcx, qword [rsp + 0x68]
call fcn.140002100
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
je 0x14000891c
xor eax, eax
mov rcx, qword [rsp + 0x70]
mov word [rcx + 2], ax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14000891c
mov edx, 0xfffe
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x14000891c
lea rax, str.83A4D59E_778F_4E28_B56A_ADC4325A92D4
mov qword [rsp + 0x28], rax
lea rax, str.123123
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x58]
lea r8, str.__s_s___s
mov edx, 0x7fff
mov rcx, qword [rsp + 0x78]
call fcn.140019c8c
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0xa0]
call fcn.140019ba0
mov dword [rsp + 0xa0], WSAGetLastError
lea rax, [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, 1
jne 0x140008911
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, 1
jmp 0x140008934
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
add rsp, 0x118
ret

Function at 0x140008940
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
lea rax, [0x14003f3e0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x140008a00]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [0x14003f3d0], rax
cmp qword [0x14003f3d0], 0
je 0x140008984
mov eax, 1
jmp 0x140008986
xor eax, eax
add rsp, 0x38
ret
Function at 0x14000a508
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x88
mov dword [rsp + 0x28], 0xff
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x3c]
lea rdx, [rsp + 0x44]
lea rcx, [rsp + 0x3c]
call fcn.14000a2c8
mov eax, dword [rsp + 0x40]
and eax, 0x10000000
test eax, eax
je 0x14000a54c
mov byte [rsp + 0x30], 1
jmp 0x14000a551
mov byte [rsp + 0x30], 0
mov al, byte [rsp + 0x30]
mov byte [rsp + 0x31], al
movzx eax, byte [rsp + 0x31]
test eax, eax
jne 0x14000a566
xor al, al
jmp 0x14000a5b1
mov eax, dword [rsp + 0x44]
shr eax, 0x10
and eax, 0xff
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x34], 0
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x48], eax
jle 0x14000a5a5
mov dword [rsp + 0x38], 1
jmp 0x14000a5ad
mov dword [rsp + 0x38], 0
mov al, byte [rsp + 0x38]
add rsp, 0x88
ret

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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14000e0d2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14000e0d2
mov dword [rsp + 0x20], 0
jmp 0x14000e0da
mov dword [rsp + 0x20], 1
mov al, byte [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x14000e128
Capabilities:
Get disk size

Disassembly:
sub rsp, 0x48
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x30], 0x40000000
xor r9d, r9d
lea r8, [rsp + 0x28]
xor edx, edx
lea rcx, [0x1401a9b70]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x14000e16a
mov eax, dword [rsp + 0x28]
xor edx, edx
mov ecx, 0x40000000
div rcx
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x14000e175
xor eax, eax
jmp 0x14000e1a0
mov eax, dword [rsp + 0x20]
cvtsi2sd xmm0, rax
divsd xmm0, qword [0x1401b2190]
mulsd xmm0, qword [0x1401b2190]
call fcn.14007a500
cvttsd2si rax, xmm0
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
add rsp, 0x48
ret

Function at 0x14000e1f0
Capabilities:
Get memory capacity

Disassembly:
push rdi
sub rsp, 0x60
lea rax, [rsp + 0x20]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
mov dword [rsp + 0x20], 0x40
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0x28]
add rsp, 0x60
pop rdi
ret