joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140091d90
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140091e17
mov rsi, rbx
cmp word [rax], bp
je 0x140091dd6
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140091dc0
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140091dbc
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140030230
mov rdi, rax
test rax, rax
je 0x140091e04
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14006cc40
mov rbp, rdi
xor ecx, ecx
call fcn.140057800
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x1400943b8
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1400f4038]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp ecx, 0x1a
jbe 0x140094402
call fcn.14007c890
mov dword [rax], 0xf
call fcn.14007c870
mov dword [rax], 0xd
call fcn.14008ca84
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14006b1b0
add rsp, 0x30
pop rbx
ret
xor ebx, ebx
test ecx, ecx
jne 0x14009440d
lea eax, [rbx + 1]
jmp 0x1400943ef
add cx, 0x40
mov dword [rsp + 0x22], 0x5c003a
mov word [rsp + 0x20], cx
lea rcx, [rsp + 0x20]
mov word [rsp + 0x26], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
test eax, eax
je 0x1400943ed
cmp eax, 1
setne bl
mov eax, ebx
jmp 0x1400943ef

Function at 0x1400949d8
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400949ee
mov al, 1
jmp 0x140094a4e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400949ff
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140094a4c
mov ecx, dword [rcx + 0x18]
nop
call fcn.14007ccbc
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140094a4c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140094a4c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140094a4c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140094a4e
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14009c1a0
Capabilities:
Set registry value

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x1400f4038]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x34]
mov dword [rax], r8d
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14006b1b0
mov eax, esi
add rsp, 0x40
pop rsi
ret
xor r8d, r8d
test edx, edx
cmovg r8d, edx
lea rdx, str.PWALauncherResult
jmp 0x140027060
Function at 0x1400b4940
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov edi, edx
mov rsi, rcx
mov rax, qword [0x1400f4038]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x1400b49b1
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x1400b49bb
mov dil, 1
test bl, bl
je 0x1400b499a
cmp byte [rsi + 8], 0
je 0x1400b49b6
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14006b1b0
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rsi]
jmp 0x1400b496d
mov rcx, qword [rsi]
jmp 0x1400b498f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rsi + 8], 0
je 0x1400b49e3
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400b49e8
xor edi, edi
jmp 0x1400b499a
mov rcx, qword [rsi]
jmp 0x1400b49d0
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rsi + 8], 0
je 0x1400b4a0f
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dil, 1
jmp 0x1400b499a
mov rcx, qword [rsi]
jmp 0x1400b49ff
Function at 0x1400b4a20
Capabilities:
Create process on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x140
movaps xmmword [rsp + 0x130], xmm6
mov ebx, r9d
mov edi, r8d
mov r14, rdx
mov rsi, rcx
mov rax, qword [0x1400f4038]
xor rax, rsp
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x40], 0xa
mov rax, qword [0x1400deb38]
mov al, byte [rax + 0xa]
test al, al
jne 0x1400b4ccd
movabs r13, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x120], r13
movaps xmm6, xmmword [0x1400d2b10]
movaps xmmword [rsp + 0x110], xmm6
lea r15, [rsp + 0x80]
mov rcx, r14
mov rdx, r15
call fcn.14002d3c0
cmp byte [r15 + 0x17], 0
js 0x1400b4b51
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x120], rax
movups xmm0, xmmword [rsp + 0x80]
movaps xmmword [rsp + 0x110], xmm0
lea r12, [rsp + 0x80]
mov rcx, r12
call fcn.140053b70
lea r15, [rsp + 0xf0]
mov qword [r15 + 0x10], r13
movaps xmmword [r15], xmm6
mov rcx, r14
mov rdx, r15
call fcn.1400b7470
xorps xmm0, xmm0
movups xmmword [r12 + 0x60], xmm0
movups xmmword [r12 + 0x50], xmm0
movups xmmword [r12 + 0x40], xmm0
movups xmmword [r12 + 0x30], xmm0
movabs rax, 0x4000000070
mov qword [r12], rax
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov qword [r12 + 8], rax
lea rax, str.runas
mov qword [r12 + 0x10], rax
cmp byte [rsp + 0x127], 0
js 0x1400b4b73
lea rax, [rsp + 0x110]
jmp 0x1400b4b7b
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
lea rcx, [rsp + 0x110]
call fcn.14004ce20
jmp 0x1400b4ad2
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x98], rax
cmp byte [rsp + 0x107], 0
jns 0x1400b4b95
mov r15, qword [rsp + 0xf0]
lea rcx, [rsp + 0x80]
mov qword [rcx + 0x20], r15
xor r14d, r14d
mov qword [rcx + 0x28], r14
xor dil, 1
movzx eax, dil
mov dword [rcx + 0x30], eax
mov qword [rcx + 0x38], r14
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x1400b4c2b
test bl, bl
je 0x1400b4c23
lea rdi, [rsp + 0x40]
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
lea rdx, str.LaunchElevatedProcess
lea r8, str....._baseprocesslaunch_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x9e
call fcn.140053890
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140057f90
mov rcx, qword [rsp + 0xe8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call fcn.140058010
mov r14, qword [rsp + 0xe8]
mov rcx, rsi
mov rdx, r14
call fcn.140027550
cmp byte [rsp + 0x107], 0
jns 0x1400b4c4d
mov rcx, qword [rsp + 0xf0]
call fcn.140069c1c
cmp byte [rsp + 0x127], 0
jns 0x1400b4c64
mov rcx, qword [rsp + 0x110]
call fcn.140069c1c
mov qword [rsp + 0x40], 0xa
mov rax, qword [0x1400deb38]
mov al, byte [rax + 0xa]
test al, al
jne 0x1400b4ca9
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.14006b1b0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x130]
add rsp, 0x140
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movzx ecx, al
lea r8, [rsp + 0x80]
mov qword [r8], 0
lea rdx, [rsp + 0x40]
mov r9d, 2
call fcn.140049a40
jmp 0x1400b4c7b
movzx ecx, al
lea rax, str.LaunchElevatedProcess
lea r8, [rsp + 0x80]
mov qword [r8], rax
lea rdx, [rsp + 0x40]
mov r9d, 1
call fcn.140048e10
jmp 0x1400b4a73
Function at 0x1400b5730
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x1400f4038]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x1401057e8], 0
je 0x1400b5776
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.14006b1b0
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x1401057c0]
test rdi, rdi
je 0x1400b5817
test byte [0x1400f6528], 1
je 0x1400b5759
cmp byte [rdi + 0x17], 0
jns 0x1400b5798
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1401057e8], rax
inc rax
cmp rax, 1
ja 0x1400b5759
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14006d2f0
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x1400b58d9
xor esi, esi
jmp 0x1400b5759
mov ecx, 0x18
call fcn.140069be0
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.14006d2f0
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x1400d2b10]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.14009d250
movzx eax, byte [rdi + 0x17]
mov rcx, rdi
test al, al
jns 0x1400b587f
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
test rax, rax
jne 0x1400b58a5
lea rdx, str.debug.log
mov r8d, 9
mov rcx, rdi
call fcn.14004cf20
mov qword [0x1401057c0], rdi
jmp 0x1400b5786
add rax, rax
test rax, rax
je 0x1400b5884
lea rdx, [rax - 2]
cmp word [rcx + rax - 2], 0x5c
mov rax, rdx
jne 0x1400b58a8
cmp rdx, 0xfffffffffffffffe
je 0x1400b5884
sar rdx, 1
inc rdx
mov rcx, rdi
mov r8, 0xffffffffffffffff
call fcn.14004a550
jmp 0x1400b5884
mov rcx, qword [0x1401057c0]
lea rdx, [rsp + 0x40]
call fcn.1400268b0
mov rcx, qword [0x1401057c0]
call fcn.1400b24b0
cmp word [rax], 0x5c
je 0x1400b5915
mov rcx, qword [0x1401057c0]
lea rdx, [0x1400d76cc]
mov r8d, 1
call fcn.14004cf20
mov rcx, qword [0x1401057c0]
lea rdx, str.debug.log
mov r8d, 9
call fcn.14004cf20
mov rcx, qword [0x1401057c0]
cmp byte [rcx + 0x17], 0
jns 0x1400b593e
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1401057e8], rax
inc rax
cmp rax, 1
ja 0x1400b5759
mov qword [0x1401057e8], 0
jmp 0x1400b5810
Function at 0x1400c45b0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x28
test rdx, rdx
je 0x1400c45c3
cmp dword [0x14010bd30], ecx
jle 0x1400c45ca
add rsp, 0x28
pop rdi
pop rsi
ret
mov rsi, rdx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenA]
movsxd rdi, eax
mov rcx, rsi
mov rdx, rdi
call fcn.1400c4610
test edi, edi
je 0x1400c45c3
cmp byte [rsi + rdi - 1], 0xa
je 0x1400c45c3
lea rcx, str._nl_
mov edx, 1
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1400c4610

Function at 0x1400c4610
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1400f4038]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
add rsi, rdi
lea r14, [rsp + 0x34]
mov r15, qword [sym.imp.KERNEL32.dll_WriteFile]
cmp rdi, rsi
jae 0x1400c4687
mov dword [rsp + 0x34], 0
mov r8d, esi
sub r8d, edi
mov qword [rsp + 0x20], 0
mov rcx, rbx
mov rdx, rdi
mov r9, r14
call r15
mov ecx, dword [rsp + 0x34]
test eax, eax
cmovne eax, ecx
je 0x1400c4687
add rdi, rax
test ecx, ecx
jne 0x1400c464d
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14006b1b0
nop
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14000a168
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
call fcn.14000aa44
add rsp, 0x28
jmp 0x14000a168
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push r14
sub rsp, 0xb0
and dword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor edi, edi
xor eax, eax
lock cmpxchg qword [0x14003ffa0], rbx
je 0x14000a1b2
cmp rax, rbx
jne 0x14000a1c7
mov edi, 1
mov eax, dword [0x14003ffa8]
cmp eax, 1
jne 0x14000a1d4
lea ecx, [rax + 0x1e]
call fcn.1400da000
jmp 0x14000a241
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14000a19b
mov eax, dword [0x14003ffa8]
test eax, eax
jne 0x14000a237
mov dword [0x14003ffa8], 1
lea r14, [0x140020840]
lea rbx, [0x140020828]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x24], eax
cmp rbx, r14
jae 0x14000a229
test eax, eax
jne 0x14000a22d
cmp qword [rbx], 0
je 0x14000a21e
mov rax, qword [rbx]
mov rcx, qword [0x140020800]
call rcx
mov dword [rsp + 0x24], eax
add rbx, 8
mov qword [rsp + 0x30], rbx
jmp 0x14000a1ff
test eax, eax
je 0x14000a241
mov eax, 0xff
jmp 0x14000a394
mov dword [0x14003f964], 1
mov eax, dword [0x14003ffa8]
cmp eax, 1
jne 0x14000a269
lea rdx, [0x140020820]
lea rcx, [0x140020808]
call sub.msvcrt.dll__initterm
mov dword [0x14003ffa8], 2
test edi, edi
jne 0x14000a276
xor eax, eax
xchg qword [0x14003ffa0], rax
cmp qword [0x14003ffb0], 0
je 0x14000a2aa
lea rcx, [0x14003ffb0]
call fcn.14000a9b0
test eax, eax
je 0x14000a2aa
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14003ffb0]
mov r9, qword [0x140020800]
call r9
mov rax, qword [sym.imp.msvcrt.dll__acmdln]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov edi, dword [rsp + 0x20]
movzx ecx, byte [rbx]
cmp cl, 0x20
ja 0x14000a336
test cl, cl
je 0x14000a2cd
test edi, edi
jne 0x14000a336
dec cl
cmp cl, 0x1f
ja 0x14000a2e0
inc rbx
mov qword [rsp + 0x28], rbx
mov cl, byte [rbx]
jmp 0x14000a2cd
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rbx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140007bf4
mov dword [0x14003f960], eax
cmp dword [0x14003f980], 0
jne 0x14000a31f
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14003f964], 0
jne 0x14000a334
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14003f960]
jmp 0x14000a394
cmp cl, 0x22
jne 0x14000a348
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [rsp + 0x20], eax
call qword [sym.imp.msvcrt.dll__ismbblead]
test eax, eax
je 0x14000a35a
inc rbx
mov qword [rsp + 0x28], rbx
inc rbx
mov qword [rsp + 0x28], rbx
jmp 0x14000a2bd
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop r14
ret
Function at 0x140008cd0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140008acc
Function at 0x1400134e0
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14000d008
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14001356a
cmp byte [rbp - 0x21], r15b
je 0x140013565
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400135a0
call fcn.140009da4
test eax, eax
jne 0x14001358c
cmp byte [rbp - 0x21], r15b
je 0x140013584
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400135a0
cmp byte [rbp - 0x21], r15b
je 0x14001359d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14000c5e8
test eax, eax
jne 0x140013640
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000d008
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400135df
cmp byte [rbp - 0x21], r15b
je 0x140013614
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140013614
call fcn.140009da4
test eax, eax
jne 0x140013600
cmp byte [rbp - 0x21], r15b
je 0x1400135f9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x140013614
cmp byte [rbp - 0x21], r15b
je 0x140013611
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14000c5e8
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140013640
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140013643
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140013651
mov rcx, rdi
call fcn.140009b54
cmp byte [rbp + 0x3f], r15b
je 0x140013660
mov rcx, qword [rbp + 0x27]
call fcn.140009b54
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140494f30
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140494f3d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140494f4d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140494f35
lea eax, [rcx + 1]
jmp 0x140494f5b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140494f6e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140494f54
sub eax, 3
jb 0x140494f8e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140494fdd
sar eax, 1
movsxd rbp, eax
jb 0x140494fc4
jmp 0x140494f9c
add ebx, ebx
jne 0x140494f9a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140494fc4
inc ecx
add ebx, ebx
jne 0x140494faa
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140494fc4
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140494fbd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140494fac
add ecx, 2
jmp 0x140494fc9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140494ef2
jmp 0x140494f3d
pop rsi
pop rdi
pop rax
mov dword [rdi], eax
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x317400
mov dl, 0x5b
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x14049502d
cmp rsi, rcx
jae 0x140495035
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140495014
cmp al, 0x8f
ja 0x140495014
cmp byte [rsi - 2], 0xf
je 0x14049501a
sub al, 0xe8
cmp al, 1
ja 0x140494ffe
cmp rsi, rcx
jae 0x140495035
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140495004
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140495035
lodsb al, byte [rsi]
jmp 0x140495014
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x48d000]
mov eax, dword [rdi]
or eax, eax
je 0x14049509e
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x495720]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140495042
jns 0x140495077
movzx rdx, word [rdi]
add rdi, 2
jmp 0x140495081
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140495098
mov qword [rbx], rax
add rbx, 8
jmp 0x140495062
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x1404950e2
cmp al, 0xef
ja 0x1404950ca
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x1404950aa
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0x1404950b9
mov eax, dword [rdi]
add rdi, 4
jmp 0x1404950b9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x287]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140495136
sub rsp, 0xffffffffffffff80
jmp 0x140178ac0
Function at 0x14012c35b
Capabilities:
Hash data using fnv

Disassembly:
add dword [rax + 0x45000000], ecx
mov ebx, dword [rdx + rax + 0x20]
Function at 0x14012cb2a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test esp, ecx
fsubr st(1)
lock add eax, dword [rax]
add byte [rax - 1], cl
retf
jbe 0x14012b7c2
call rax
test r15d, 0x7446e69f
nop
lea ecx, [rbx + 0xf413]
lea ebp, [rdi - 0x939]
je fcn.14012bfb9
jne fcn.14012bfb9
mov r15d, 0x2c097a09
jne 0x14012b22f
jmp rcx
outsd dx, dword [rsi]
sub al, bh
mov r14b, r14b
div dh
div byte [rbp + 0xd]
mov dword [rbp + 0x4a], 0xf6f6f6f6
mov dword [rbp + 0x9e], 0x737c7e7d
mov dword [rbp + 0x4e], 0xf6f6f6f6
mov dword [rbp + 0xa2], 0x6b7e7f6c
mov dword [rbp + 0x52], 0xf6f6f6f6
mov dword [rbp + 0xa6], 0x7d6f766c
jmp 0x14012ccc7
nop dword [rax + rax]
mov dword [rbp + 0x56], 0xf6f6f6f6
mov dword [rbp + 0xaa], 0x6f7c6b2a
mov dword [rbp + 0x5a], 0xf6f6f6f6
mov dword [rbp + 0xae], 0x7d78732a
mov dword [rbp + 0x5e], 0xf6f6f6f6
jmp 0x14012cd05
mov dword [rbp + 0xb2], 0x76766b7e
mov word [rbp + 0x62], 0xf6f6
mov dword [rbp + 0xb6], 0x386e6f
mov byte [rbp + 0x64], 0xf6
nop dword [rax]
je 0x14012cd60
jne 0x14012cd60
jnp 0x14012d396
cmp esi, 0xe4c9f79e
cmp ebx, 0x875c8a42
lea r8d, [rcx - 0x1fe2]
mov r15d, 0x94f6dd15
call rax
rcl r15d, 0xd3
popf
loopne 0x14012cd42
invalid
inc dword [rcx - 0x41]
adc eax, 0xff94f6dd
rol byte [rcx - 0x3f], 1
xlatb
shl dword [rsi - 0x63], cl
bswap r8
call rax
ror edi, 0x51
rcr r12d, 0xc1
invalid
mov esi, 0xffff3de9
jmp rsp
push rsp
jmp 0x14012cca2
Function at 0x140001000
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea rdx, str.Roblox
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rcx, rax
lea rdx, [0x140005668]
call qword [sym.imp.USER32.dll_GetWindowThreadProcessId]
xor edx, edx
lea rcx, str.Injector.dll
mov edi, eax
lea r8d, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rbx, rax
test rax, rax
jne 0x140001069
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Injection_failed:_The_targeted_DLL_was_not_found
call fcn.140001140
lea rdx, [0x140001310]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, str.DllMain
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1400010be
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Injection_failed:_The_function_was_not_found.
call fcn.140001140
lea rdx, [0x140001310]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r9d, edi
mov r8, rbx
mov rdx, rax
mov ecx, 3
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov rbx, rax
test rax, rax
jne 0x14000110b
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Injection_failed:_Hook_failed.
call fcn.140001140
lea rdx, [0x140001310]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea eax, [rbx + 1]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, edi
call qword [sym.imp.USER32.dll_PostThreadMessageW]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret