joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000a1e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140013040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000a20d
xor eax, eax
jmp 0x14000a379
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000a247
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14000a247
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x14000a379
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x14000a36c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000a28a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14000a2b5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000a371
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000a324
sub eax, 1
je 0x14000a324
cmp eax, 2
jne 0x14000a36c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x14000a371
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x14000a352
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x14000a36c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x14000a371
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14000b8a0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x14000a830
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140013040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000a903
cmp byte [rcx + 0x71], 0
je 0x14000a903
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14000a8ff
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14000a8c4
sub eax, 1
je 0x14000a8c8
cmp eax, 2
jne 0x14000a8ff
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000b8a0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000a8f6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14000a8ff
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000a8ac
xor al, al
jmp 0x14000a8ac
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000b8a0
add rsp, 0x60
pop rbx
ret

Function at 0x14000c4b8
Capabilities:
Parse pe header

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

Disassembly:
jmp 0x1402212f0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x18
mov qword [rsp], 0
jmp 0x140221318
mov rax, qword [rsp]
inc rax
mov qword [rsp], rax
mov rax, qword [rsp + 0x30]
cmp qword [rsp], rax
jae 0x140221362
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 0x14022130d
mov rax, qword [rsp + 0x20]
add rsp, 0x18
ret
Function at 0x14011aa26
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140353970
mov rax, rcx
neg rcx
test rax, 7
je 0x14035398d
nop
mov dl, byte [rax]
inc rax
test dl, dl
je 0x1403539e8
test al, 7
jne 0x140353980
movabs r8, 0x7efefefefefefeff
movabs r11, 0x8101010101010100
mov rdx, qword [rax]
mov r9, r8
add rax, 8
add r9, rdx
not rdx
xor rdx, r9
and rdx, r11
je 0x1403539a1
mov rdx, qword [rax - 8]
test dl, dl
je 0x140353a12
test dh, dh
je 0x140353a0c
shr rdx, 0x10
test dl, dl
je 0x140353a06
test dh, dh
je 0x140353a00
shr rdx, 0x10
test dl, dl
je 0x1403539fa
test dh, dh
je 0x1403539f4
shr edx, 0x10
test dl, dl
je 0x1403539ee
test dh, dh
jne 0x1403539a1
lea rax, [rax + rcx - 1]
ret
lea rax, [rax + rcx - 2]
ret
lea rax, [rax + rcx - 3]
ret
lea rax, [rax + rcx - 4]
ret
lea rax, [rax + rcx - 5]
ret
lea rax, [rax + rcx - 6]
ret
lea rax, [rax + rcx - 7]
ret
lea rax, [rax + rcx - 8]
ret

Function at 0x14011aa6c
Capabilities:
Query environment variable

Disassembly:
jmp 0x14032c960
sub rsp, 0x78
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14032c4e0
lea rcx, [rsp + 0x20]
call fcn.14032c530
movzx eax, al
test eax, eax
jne 0x14032c9a5
mov qword [rsp + 0x40], 0
lea rcx, [rsp + 0x20]
call fcn.14032c510
mov rax, qword [rsp + 0x40]
jmp 0x14032ca9f
lea rcx, [rsp + 0x20]
call fcn.14032c630
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x30]
call fcn.14032c5d0
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.14011ae72
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14011a30a
lea rcx, [rsp + 0x28]
call fcn.14011b403
movzx eax, al
test eax, eax
jne 0x14032ca3f
mov qword [rsp + 0x50], 0
lea rcx, [rsp + 0x28]
call fcn.14011cb69
lea rcx, [rsp + 0x20]
call fcn.14032c510
mov rax, qword [rsp + 0x50]
jmp 0x14032ca9f
lea rcx, [rsp + 0x20]
call fcn.14032c630
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x28]
call fcn.14011dd89
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.14011ad96
lea rcx, [rsp + 0x28]
call fcn.14011e856
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x28]
call fcn.14011cb69
lea rcx, [rsp + 0x20]
call fcn.14032c510
mov rax, qword [rsp + 0x68]
add rsp, 0x78
ret
Function at 0x14011b043
Capabilities:
Get thread local storage value

Disassembly:
jmp 0x140274450
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140273dd0
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14027448f
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 [0x1403da020]
jmp 0x140274499
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
add rsp, 0x48
ret

Function at 0x14011b30e
Capabilities:
Query environment variable

Disassembly:
jmp 0x14032c6b0
sub rsp, 0xb8
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14032c4e0
lea rcx, [rsp + 0x40]
call fcn.14032c660
movzx eax, al
test eax, eax
jne 0x14032c6f8
mov qword [rsp + 0x70], 0
lea rcx, [rsp + 0x40]
call fcn.14032c510
mov rax, qword [rsp + 0x70]
jmp 0x14032c8c9
lea rcx, [rsp + 0x40]
call fcn.14032c630
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0x60]
call fcn.14032c5d0
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.14032c630
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.14011c72c
cdqe
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14032c79e
mov qword [rsp + 0x80], 0
lea rcx, [rsp + 0x40]
call fcn.14032c510
mov rax, qword [rsp + 0x80]
jmp 0x14032c8c9
mov r9d, 0x66
lea r8, str.minkernelcrtsucrt_srcdesktopcrtenvget_environment_from_os.cpp
mov edx, 2
mov rcx, qword [rsp + 0x58]
call fcn.14011ae72
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14011abf7
lea rcx, [rsp + 0x48]
call fcn.14011a562
movzx eax, al
test eax, eax
jne 0x14032c805
mov qword [rsp + 0x88], 0
lea rcx, [rsp + 0x48]
call fcn.140118ec9
lea rcx, [rsp + 0x40]
call fcn.14032c510
mov rax, qword [rsp + 0x88]
jmp 0x14032c8c9
lea rcx, [rsp + 0x48]
call fcn.14011b8a4
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x40]
call fcn.14032c630
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.14011c72c
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 0
jne 0x14032c89b
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0x48]
call fcn.140118ec9
lea rcx, [rsp + 0x40]
call fcn.14032c510
mov rax, qword [rsp + 0xa0]
jmp 0x14032c8c9
lea rcx, [rsp + 0x48]
call fcn.14011abb1
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0x48]
call fcn.140118ec9
lea rcx, [rsp + 0x40]
call fcn.14032c510
mov rax, qword [rsp + 0xa8]
add rsp, 0xb8
ret
Function at 0x14011b327
Capabilities:
Allocate thread local storage

Disassembly:
jmp 0x140274380
mov qword [rsp + 8], rcx
sub rsp, 0x48
call fcn.140273d50
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x1402743c1
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 [0x1403da020]
jmp 0x1402743c7
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
add rsp, 0x48
ret

Function at 0x14011b408
Capabilities:
Get geographical location

Disassembly:
jmp 0x14030b2a0
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.14030a140
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14030b2fc
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 fcn.14011e833
jmp 0x14030b31e
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.14011a4b3
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 0x14011b42b
Capabilities:
Terminate process

Disassembly:
jmp 0x140251bf0
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 0x14011b831
Capabilities:
Print debug messages

Disassembly:
jmp 0x14033acf0
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov rax, qword [0x1403ba180]
xor rax, rbp
mov qword [rbp + 0x18], rax
cmp qword [rbp + 0x30], 0
jne 0x14033ad19
jmp 0x14033ad9e
mov rcx, qword [rbp + 0x30]
call fcn.14011aa26
inc rax
mov qword [rbp], rax
cmp qword [rbp], 0
jne 0x14033ad32
jmp 0x14033ad9e
mov rax, qword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x14033ad4f
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140119130
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], 0
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.14011981f
test eax, eax
jne 0x14033ad9e
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rbp + 0x18]
xor rcx, rbp
call fcn.14011ad6e
lea rsp, [rbp + 0x20]
pop rbp
ret

Function at 0x14011bc05
Capabilities:
Get geographical location

Disassembly:
jmp 0x140203e40
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x58
mov r9d, 2
lea r8, [rsp + 0x40]
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
jne 0x140203e7d
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x40]
mov r8d, dword [rsp + 0x60]
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov edx, eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax]
call fcn.14011de60
add rsp, 0x58
ret

Function at 0x14011bd0e
Capabilities:
Set environment variable

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

Disassembly:
jmp 0x1402534b0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1402534d0
xor al, al
jmp 0x140253551
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1402534e3
xor al, al
jmp 0x140253551
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 0x14025350d
xor al, al
jmp 0x140253551
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140253521
xor al, al
jmp 0x140253551
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140253533
xor al, al
jmp 0x140253551
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14025354f
xor al, al
jmp 0x140253551
mov al, 1
add rsp, 0x38
ret
Function at 0x14011ca38
Capabilities:
Terminate process

Disassembly:
jmp 0x140275450
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 0x14027547e
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
mov ecx, 2
call fcn.14011d7cb
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 0x14011d014
Capabilities:
Enumerate processes

Disassembly:
jmp 0x1401b41d0
push rbp
push rdi
sub rsp, 0x4c8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xca
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1403ba180]
xor rax, rbp
mov qword [rbp + 0x498], rax
lea rcx, [0x1403d922e]
call fcn.14011deab
nop
mov dword [rbp + 0x10], 0x238
xor edx, edx
mov ecx, 2
call fcn.14011acab
mov qword [rbp + 0x268], rax
cmp qword [rbp + 0x268], 0xffffffffffffffff
jne 0x1401b4244
mov qword [0x1403bcc00], 0
xor eax, eax
jmp 0x1401b4364
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.14011b8c2
test eax, eax
je 0x1401b4354
lea rcx, [rbp + 0x464]
call fcn.14011b291
mov qword [rbp + 0x478], rax
lea rcx, str.RobloxPlayerBeta.exe
call fcn.14011aa26
lea rcx, str.RobloxPlayerBeta.exe
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x480], rax
mov r9, qword [rbp + 0x478]
mov r8, qword [rbp + 0x480]
lea rdx, str.RobloxPlayerBeta.exe
lea rcx, [rbp + 0x428]
call fcn.14011d334
mov qword [rbp + 0x488], rax
mov rcx, qword [rbp + 0x488]
call fcn.14011a030
mov rdx, rax
lea rcx, [rbp + 0x3c]
call fcn.14011ae0e
test eax, eax
jne 0x1401b42df
mov dword [rbp + 0x490], 1
jmp 0x1401b42e9
mov dword [rbp + 0x490], 0
movzx eax, byte [rbp + 0x490]
mov byte [rbp + 0x404], al
lea rcx, [rbp + 0x428]
call fcn.14011d096
movzx eax, byte [rbp + 0x404]
test eax, eax
je 0x1401b433c
mov r8d, dword [rbp + 0x18]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x1403bcc00], rax
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [0x1403bcc00]
jmp 0x1401b4364
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x268]
call fcn.14011d0e1
test eax, eax
jne 0x1401b425c
mov rcx, qword [rbp + 0x268]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140364690]
call fcn.14011ce11
mov rax, rdi
mov rcx, qword [rbp + 0x498]
xor rcx, rbp
call fcn.14011ad6e
lea rsp, [rbp + 0x4a8]
pop rdi
pop rbp
ret
Function at 0x14011d857
Capabilities:
Print debug messages

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

Disassembly:
jmp 0x1402744c0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x48
call fcn.140273e10
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x140274509
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 [0x1403da020]
jmp 0x140274518
mov rdx, qword [rsp + 0x58]
mov ecx, dword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
add rsp, 0x48
ret

Function at 0x14011db13
Capabilities:
Set environment variable

Disassembly:
jmp 0x140347f10
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
lea rcx, [rsp + 0x78]
call fcn.14011a2b0
lea rcx, [rsp + 0x48]
call fcn.14011a2b0
call fcn.14011b26e
mov r8d, eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xc0]
call fcn.140119eff
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140347f7f
mov dword [rsp + 0x24], 0
lea rcx, [rsp + 0x48]
call fcn.14011a89b
lea rcx, [rsp + 0x78]
call fcn.14011a89b
mov eax, dword [rsp + 0x24]
jmp 0x140348010
call fcn.14011b26e
mov r8d, eax
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0xc8]
call fcn.140119eff
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x140347fc6
mov dword [rsp + 0x2c], 0
lea rcx, [rsp + 0x48]
call fcn.14011a89b
lea rcx, [rsp + 0x78]
call fcn.14011a89b
mov eax, dword [rsp + 0x2c]
jmp 0x140348010
lea rcx, [rsp + 0x48]
call fcn.14011a193
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x78]
call fcn.14011a193
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.14011a89b
lea rcx, [rsp + 0x78]
call fcn.14011a89b
mov eax, dword [rsp + 0x30]
add rsp, 0xb8
ret
Function at 0x1402f07e0
Capabilities:
Terminate process

Disassembly:
mov byte [rsp + 0x10], dl
mov dword [rsp + 8], ecx
sub rsp, 0x28
movzx eax, byte [rsp + 0x38]
test eax, eax
je 0x1402f0808
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [rsp + 0x30]
call fcn.1402f0980
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x14030f1e0
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.140119130
sub rsp, rax
mov rax, qword [0x1403ba180]
xor rax, rsp
mov qword [rsp + 0x1480], rax
mov eax, dword [rsp + 0x14b8]
sar eax, 6
cdqe
lea rcx, [0x1403bf270]
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 0x14030f3da
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 0x14030f326
mov rax, qword [rsp + 0x50]
cmp qword [rsp + 0x48], rax
jae 0x14030f326
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 0x14030f30b
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 0x14030f2a8
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, dword [rsp + 0x44]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x14030f39a
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 0x14030f3f9
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x40], eax
jae 0x14030f3d5
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 0x14030f3f9
jmp 0x14030f27e
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.14011ad6e
add rsp, 0x1498
pop rdi
pop rsi
ret