joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002220
Capabilities:
Extract resource via kernel32 functions
Get common file path
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x2b0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov edx, 0x65
xor ecx, ecx
lea r8d, [rdx - 0x5b]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
je 0x140002420
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140002420
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rbx
xor ecx, ecx
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test rbp, rbp
je 0x14000229e
test eax, eax
je 0x14000229e
mov ecx, 1
jmp 0x1400022a0
xor ecx, ecx
test ecx, ecx
je 0x140002420
mov ecx, 0x208
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x1400022f8
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0x1b]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x1400022f8
lea r8, str.TempRTCore64.sys
mov edx, 0x104
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400022fa
xor ebx, ebx
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x14000231c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rax, rbx
jmp 0x140002373
mov qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 1
mov rcx, rbx
mov qword [rsp + 0x2c0], rdi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140002398
mov rdx, rbx
lea rcx, str.Unable_to_open_file___s__for_write._n
call fcn.140001010
xor eax, eax
mov rdi, qword [rsp + 0x2c0]
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.140002ad0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rsi
ret
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], 0
mov r8d, esi
mov qword [rsp + 0x20], 0
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1400023db
lea rcx, str.Terminal_failure:_Unable_to_write_to_file._n
call fcn.140001010
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
jmp 0x14000236b
mov edx, dword [rsp + 0x40]
cmp edx, esi
je 0x140002400
lea rcx, str.Error:_dwBytesWritten___dwBytesToWrite_n
call fcn.140001010
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
jmp 0x14000236b
mov r8, rbx
lea rcx, str.Wrote__d_bytes_to__s_successfully._n
call fcn.140001010
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
jmp 0x14000236b
lea rcx, str.GetResourcePointer_failed_n
call fcn.140001010
xor eax, eax
jmp 0x140002373
Function at 0x140003390
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400033da
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400033da
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400033da
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400033da
cmp dword [rcx + 0x84], 0xe
jbe 0x1400033da
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400033dc
xor al, al
add rsp, 0x28
ret
Function at 0x14000df00
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x140165340]
xor rax, rsp
mov qword [rsp + 0x80], rax
movzx eax, byte [0x140206b28]
test eax, eax
jne 0x14000df3b
mov rcx, qword [rsp + 0xa0]
call fcn.14000e130
jmp 0x14000e114
mov eax, 8
mov eax, eax
mov rcx, qword gs:[0x58]
mov rcx, qword [rcx]
mov eax, dword [rax + rcx]
cmp dword [0x140206ff8], eax
jle 0x14000df87
lea rcx, [0x140206ff8]
call fcn.14011c518
cmp dword [0x140206ff8], 0xffffffff
jne 0x14000df87
lea rcx, [0x140206b48]
call fcn.140009420
nop
lea rcx, [0x140206ff8]
call fcn.14011c4ac
mov rax, qword [rsp + 0xa0]
mov ecx, dword [0x140190d68]
cmp dword [rax + 0xc0], ecx
jbe 0x14000e0ed
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x70]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xa0]
add rax, 0xc4
mov qword [rsp + 0x38], rax
movss xmm2, dword [0x140154578]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
call fcn.14000d6b0
mov r8, qword [rax]
lea rdx, [rsp + 0x50]
lea rcx, [0x140206b48]
call fcn.14000d660
mov r8, qword [rax]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.14000d610
mov r8, qword [rax]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x70]
call fcn.14000d660
mov rax, qword [rsp + 0xa0]
movss xmm0, dword [rax + 0x110]
mulss xmm0, dword [0x1401543c4]
movss xmm1, dword [rsp + 0x7c]
divss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x140207290]
cvttss2si eax, xmm0
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0xa0]
movss xmm0, dword [rax + 0x110]
mulss xmm0, dword [0x1401543c4]
movss xmm1, dword [rsp + 0x78]
divss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x140207294]
cvttss2si eax, xmm0
mov dword [rsp + 0x30], eax
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14000e0b7
mov eax, dword [rsp + 0x30]
neg eax
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, eax
mov edx, dword [rsp + 0x34]
mov ecx, 1
call qword [sym.imp.USER32.dll_mouse_event]
mov rax, qword [rsp + 0xa0]
add rax, 0xc4
mov qword [rsp + 0x40], rax
movss xmm2, dword [0x140154578]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
call fcn.14000d6b0
mov rax, qword [rax]
mov qword [0x140206b48], rax
jmp 0x14000e107
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rsp + 0x68]
call fcn.14000d330
mov rax, qword [rax]
mov qword [0x140206b48], rax
mov rcx, qword [rsp + 0xa0]
call fcn.14000e130
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14011c450
add rsp, 0x98
ret
Function at 0x140013520
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
add rsp, 0x28
ret

Function at 0x14002b430
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov r9d, 0x6c078965
mov r8d, 0xffffffff
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
call fcn.14002bf00
mov rax, qword [rsp + 0x30]
add rsp, 0x28
ret

Function at 0x140031330
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x270
jne 0x140031352
mov rcx, qword [rsp + 0x40]
call fcn.140031400
jmp 0x140031369
mov rax, qword [rsp + 0x40]
cmp dword [rax], 0x4e0
jb 0x140031369
mov rcx, qword [rsp + 0x40]
call fcn.1400314b0
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax]
inc eax
mov rcx, qword [rsp + 0x40]
mov dword [rcx], eax
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0xb
mov rcx, qword [rsp + 0x40]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
shr eax, 0x12
mov ecx, dword [rsp + 0x20]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
add rsp, 0x38
ret

Function at 0x140031400
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp + 8], 0x270
jmp 0x140031421
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x4e0
jae 0x1400314a5
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 - 0x9bc]
and eax, 0x80000000
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 - 0x9b8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp], eax
mov eax, dword [rsp]
and eax, 1
test eax, eax
je 0x140031470
mov dword [rsp + 4], 0x9908b0df
jmp 0x140031478
mov dword [rsp + 4], 0
mov eax, dword [rsp]
shr eax, 1
xor eax, dword [rsp + 4]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x140031414
add rsp, 0x18
ret
Function at 0x1400314b0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov qword [rsp + 0x28], 0x26f
mov qword [rsp + 0x30], 0xe3
mov qword [rsp], 0
jmp 0x1400314e0
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
cmp qword [rsp], 0xe3
jae 0x140031562
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x10]
and eax, 1
test eax, eax
je 0x14003152e
mov dword [rsp + 0x14], 0x9908b0df
jmp 0x140031536
mov dword [rsp + 0x14], 0
mov eax, dword [rsp + 0x10]
shr eax, 1
xor eax, dword [rsp + 0x14]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x1400314d5
mov qword [rsp + 8], 0xe3
jmp 0x14003157a
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
cmp qword [rsp + 8], 0x26f
jae 0x140031601
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 8]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x18], eax
mov eax, dword [rsp + 0x18]
and eax, 1
test eax, eax
je 0x1400315cb
mov dword [rsp + 0x1c], 0x9908b0df
jmp 0x1400315d3
mov dword [rsp + 0x1c], 0
mov eax, dword [rsp + 0x18]
shr eax, 1
xor eax, dword [rsp + 0x1c]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rsp + 8]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x14003156d
mov qword [rsp + 0x38], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x140031655
mov dword [rsp + 0x24], 0x9908b0df
jmp 0x14003165d
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x20]
shr eax, 1
xor eax, dword [rsp + 0x24]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rsp + 0x50]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rsp + 0x50]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rsp + 0x50]
mov dword [rax], 0
add rsp, 0x48
ret
Function at 0x140033c40
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
movss dword [rsp + 0x20], xmm3
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x28
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140033c76
mov rax, qword [rsp + 0x38]
mov byte [rax], 1
jmp 0x140033cdb
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
test eax, eax
je 0x140033cdb
xor edx, edx
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov r8d, 8
movzx edx, al
movzx ecx, byte [rsp + 0x40]
call qword [sym.imp.USER32.dll_keybd_event]
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov ecx, dword [rsp + 0x40]
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
xor r9d, r9d
mov r8d, 2
movzx edx, al
movzx ecx, byte [rsp + 0x40]
call qword [sym.imp.USER32.dll_keybd_event]
mov rax, qword [rsp + 0x38]
mov byte [rax], 0
add rsp, 0x28
ret
Function at 0x140033d10
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x38
movzx eax, byte [0x140207014]
test eax, eax
jne 0x140033d24
jmp 0x140033f72
mov dword [rsp + 0x24], 0x20
movss xmm0, dword [0x14015443c]
call fcn.1400601d0
xorps xmm2, xmm2
movss xmm1, dword [0x140154748]
lea rcx, [rsp + 0x28]
call fcn.14000d330
xor edx, edx
mov rcx, rax
call fcn.1400600c0
mov r8d, dword [rsp + 0x24]
xor edx, edx
lea rcx, str.Cheats_List
call fcn.14005aed0
movzx eax, byte [0x140206b29]
test eax, eax
je 0x140033d9e
movzx eax, byte [0x140206b38]
test eax, eax
jne 0x140033d92
mov ecx, dword [0x140190d8c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x140033d9e
lea rcx, str.Aimbot__Toggle_
call fcn.14009fd90
movzx edx, byte [0x140206b37]
lea rcx, [0x14012dfd0]
call fcn.140033bc0
movzx edx, byte [0x140207008]
lea rcx, [0x14012dfdc]
call fcn.140033bc0
movzx edx, byte [0x140207019]
lea rcx, [0x14012dfe8]
call fcn.140033bc0
movzx edx, byte [0x140206b0b]
lea rcx, str.Crosshair
call fcn.140033bc0
movzx edx, byte [0x140207015]
lea rcx, str.Enemy_Sensor
call fcn.140033bc0
movzx edx, byte [0x1401653c1]
lea rcx, [0x14012e018]
call fcn.140033bc0
movzx edx, byte [0x14020701d]
lea rcx, str.External_Radar
call fcn.140033bc0
movzx edx, byte [0x140207007]
lea rcx, [0x14012e030]
call fcn.140033bc0
movzx edx, byte [0x14020701b]
lea rcx, [0x14012e040]
call fcn.140033bc0
movss xmm0, dword [0x140207000]
ucomiss xmm0, dword [0x140154388]
je 0x140033e66
lea rcx, str.Flash_Immunity
call fcn.14009fd90
movzx edx, byte [0x140207016]
lea rcx, [0x14012e060]
call fcn.140033bc0
cmp dword [0x140190d6c], 0x5a
je 0x140033e8e
lea rcx, str.Fov_Changer
call fcn.14009fd90
movzx edx, byte [0x140206b22]
lea rcx, [0x14012e080]
call fcn.140033bc0
cmp dword [0x140207010], 0
je 0x140033eb1
mov byte [rsp + 0x20], 1
jmp 0x140033eb6
mov byte [rsp + 0x20], 0
movzx edx, byte [rsp + 0x20]
lea rcx, str.HitSound
call fcn.140033bc0
movzx edx, byte [0x140207009]
lea rcx, str.Money_Service
call fcn.140033bc0
movzx edx, byte [0x140206ffc]
lea rcx, [0x14012e0b0]
call fcn.140033bc0
movzx edx, byte [0x14020703d]
lea rcx, [0x14012e0c0]
call fcn.140033bc0
movzx edx, byte [0x140206b28]
lea rcx, [0x14012e0cc]
call fcn.140033bc0
movzx edx, byte [0x140207018]
lea rcx, [0x14012e0d0]
call fcn.140033bc0
movzx edx, byte [0x140207017]
lea rcx, [0x14012e0e0]
call fcn.140033bc0
movzx eax, byte [0x140206b18]
test eax, eax
je 0x140033f6c
movzx eax, byte [0x140206b23]
test eax, eax
jne 0x140033f60
mov ecx, dword [0x140206b3c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
je 0x140033f6c
lea rcx, str.TriggerBot__Toggle_
call fcn.14009fd90
call fcn.14005e920
nop
add rsp, 0x38
ret
Function at 0x140034320
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
movzx eax, byte [0x14020701b]
test eax, eax
jne 0x140034334
jmp 0x1400343e2
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x14003434e
jmp 0x1400343e2
mov ecx, 0xa0
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140034365
jmp 0x1400343e2
movss xmm3, dword [0x1401546c0]
mov r8d, 0x44
lea rdx, [0x140204687]
mov ecx, 0x41
call fcn.140033c40
movss xmm3, dword [0x1401546c0]
mov r8d, 0x41
lea rdx, [0x140204689]
mov ecx, 0x44
call fcn.140033c40
movss xmm3, dword [0x1401546c0]
mov r8d, 0x53
lea rdx, [0x140204688]
mov ecx, 0x57
call fcn.140033c40
movss xmm3, dword [0x1401546c0]
mov r8d, 0x57
lea rdx, [0x140204686]
mov ecx, 0x53
call fcn.140033c40
nop
add rsp, 0x28
ret

Function at 0x140034df0
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [0x140165340]
xor rax, rsp
mov qword [rsp + 0x38], rax
movzx eax, byte [0x140207008]
test eax, eax
jne 0x140034e18
jmp 0x140034eea
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140034e2f
mov byte [rsp + 0x21], 1
jmp 0x140034e34
mov byte [rsp + 0x21], 0
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x20], al
mov rcx, qword [rsp + 0x50]
call fcn.14000f300
mov byte [rsp + 0x22], al
lea rdx, [rsp + 0x30]
lea rcx, [0x140207100]
call fcn.14003b110
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140034ea0
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x140034ea0
mov dword [rsp + 0x24], 0x11
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x28]
call fcn.140028710
mov rcx, rax
call fcn.140028730
mov edx, 0x10001
lea rcx, [0x140207100]
call fcn.14003b0d0
jmp 0x140034eea
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140034ec5
movzx eax, byte [rsp + 0x22]
test eax, eax
jne 0x140034ec5
mov edx, pe_nt_image_headers64
lea rcx, [0x140207100]
call fcn.14003b0d0
jmp 0x140034eea
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140034eea
cmp dword [rsp + 0x30], 0x10001
jne 0x140034eea
mov edx, pe_nt_image_headers64
lea rcx, [0x140207100]
call fcn.14003b0d0
nop
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14011c450
add rsp, 0x48
ret
Function at 0x14003ab10
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x4d0
lea rbp, [rsp + 0x20]
mov rax, qword [0x140165340]
xor rax, rbp
mov qword [rbp + 0x4a0], rax
mov dword [rbp + 0x60], 0x438
mov rax, qword [rbp + 0x4c0]
mov edx, dword [rax + 0x10]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rbp + 0x10], rax
lea rdx, [rbp + 0x60]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
call fcn.14003aa70
mov dword [rbp + 0x18], eax
lea rax, [rbp + 0x90]
mov qword [rbp + 0x20], rax
cmp qword [rbp + 0x20], 0
jne 0x14003ab8d
mov qword [rbp + 0x30], 0
jmp 0x14003ac2b
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x38], rax
mov qword [rbp + 8], 0xffffffffffffffff
inc qword [rbp + 8]
mov rax, qword [rbp + 0x38]
mov rcx, qword [rbp + 8]
cmp word [rax + rcx*2], 0
jne 0x14003ab9d
mov rax, qword [rbp + 8]
inc eax
mov dword [rbp], eax
cmp dword [rbp], 0x3fffffff
jle 0x14003abcc
mov qword [rbp + 0x28], 0
jmp 0x14003ac23
movsxd rax, dword [rbp]
shl rax, 1
mov qword [rbp + 0x40], rax
movsxd rcx, dword [rbp]
shl rcx, 1
mov rdx, rcx
add rdx, 0xf
cmp rdx, rcx
ja 0x14003abf4
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.14011d650
sub rsp, rax
lea rax, [rsp + 0x20]
mov r9d, dword [rbp + 0x18]
mov rcx, qword [rbp + 0x40]
mov r8d, ecx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call fcn.14003aa80
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x30], rax
mov rcx, qword [rbp + 0x4c8]
call fcn.140026780
mov rcx, qword [rbp + 0x30]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x14003ac51
inc rcx
test dl, dl
jne 0x14003ac3e
xor eax, eax
jmp 0x14003ac56
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14003ac81
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbp + 0x88]
mov qword [rbp + 0x48], rax
mov rcx, qword [rbp + 0x4c8]
call fcn.140009e00
mov rax, qword [rbp + 0x48]
jmp 0x14003acb9
lea rdx, [rbp + 0x60]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x14003ab6e
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x50], 0
mov rcx, qword [rbp + 0x4c8]
call fcn.140009e00
mov rax, qword [rbp + 0x50]
mov rcx, qword [rbp + 0x4a0]
xor rcx, rbp
call fcn.14011c450
lea rsp, [rbp + 0x4b0]
pop rbp
ret
Function at 0x14003c6e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x2c0
lea rbp, [rsp + 0x20]
mov rax, qword [0x140165340]
xor rax, rbp
mov qword [rbp + 0x290], rax
mov dword [rbp + 0x50], 0x238
xor edx, edx
mov ecx, 0xf
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rbp + 0x10], rax
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
call fcn.14003aa70
mov dword [rbp + 0x18], eax
lea rax, [rbp + 0x7c]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x14003c752
mov qword [rbp + 0x38], 0
jmp 0x14003c7f0
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x40], rax
mov qword [rbp + 8], 0xffffffffffffffff
inc qword [rbp + 8]
mov rax, qword [rbp + 0x40]
mov rcx, qword [rbp + 8]
cmp word [rax + rcx*2], 0
jne 0x14003c762
mov rax, qword [rbp + 8]
inc eax
mov dword [rbp], eax
cmp dword [rbp], 0x3fffffff
jle 0x14003c791
mov qword [rbp + 0x30], 0
jmp 0x14003c7e8
movsxd rax, dword [rbp]
shl rax, 1
mov qword [rbp + 0x48], rax
movsxd rcx, dword [rbp]
shl rcx, 1
mov rdx, rcx
add rdx, 0xf
cmp rdx, rcx
ja 0x14003c7b9
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.14011d650
sub rsp, rax
lea rax, [rsp + 0x20]
mov r9d, dword [rbp + 0x18]
mov rcx, qword [rbp + 0x48]
mov r8d, ecx
mov rdx, qword [rbp + 0x28]
mov rcx, rax
call fcn.14003aa80
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x38], rax
mov rcx, qword [rbp + 0x2b8]
call fcn.140026780
mov rcx, qword [rbp + 0x38]
sub rax, rcx
movzx edx, byte [rcx]
cmp dl, byte [rcx + rax]
jne 0x14003c816
inc rcx
test dl, dl
jne 0x14003c803
xor eax, eax
jmp 0x14003c81b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14003c840
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rbp + 0x58]
mov dword [rbp + 0x1c], eax
mov rcx, qword [rbp + 0x2b8]
call fcn.140009e00
mov eax, dword [rbp + 0x1c]
jmp 0x14003c876
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14003c736
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp + 0x20], 0
mov rcx, qword [rbp + 0x2b8]
call fcn.140009e00
mov eax, dword [rbp + 0x20]
mov rcx, qword [rbp + 0x290]
xor rcx, rbp
call fcn.14011c450
lea rsp, [rbp + 0x2a0]
pop rbp
ret

Function at 0x14003d9a0
Capabilities:
Execute command
Terminate process

Disassembly:
sub rsp, 0x28
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
add rsp, 0x28
ret
Function at 0x14003eeb0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x68], 0
je 0x14003eee9
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14003efd7
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x50], 0
jle 0x14003ef7f
cmp qword [rsp + 0x20], 0
jle 0x14003ef7f
mov rax, qword [rsp + 0x20]
cmp qword [rsp + 0x50], rax
jge 0x14003ef29
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov rcx, rax
call fcn.14000a6d0
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rsp + 0x50], 0
jle 0x14003efc7
mov rax, qword [rsp + 0x40]
cmp qword [rax + 0x80], 0
je 0x14003efc7
mov rax, qword [rsp + 0x40]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x28]
sub rcx, rax
mov rax, rcx
add rsp, 0x38
ret