joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400118a0
Capabilities:
Access pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
mov edi, r9d
mov r12, r8
mov r15d, edx
mov r14, rcx
xor ebx, ebx
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov rsi, rax
test rax, rax
je 0x14001199f
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], ebx
mov rcx, r14
call section..text
mov rbp, rax
test rax, rax
je 0x14001199f
mov rdx, r12
mov rcx, rax
call fcn.140001190
test rax, rax
je 0x14001198e
sub eax, ebp
mov dword [rsi + 0x28], eax
test edi, edi
je 0x140011920
mov eax, 0xdfff
and word [rsi + 0x16], ax
lea r8d, [r15 + 1]
mov r9, r14
shr r8d, 1
mov edx, ebx
je 0x140011948
movzx eax, word [r9]
lea r9, [r9 + 2]
add edx, eax
mov ecx, edx
movzx edx, dx
shr ecx, 0x10
add edx, ecx
add r8d, 0xffffffff
jne 0x14001192e
mov edi, edx
mov rcx, r14
shr edi, 0x10
add di, dx
call qword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov rcx, rax
test rax, rax
je 0x14001197d
movzx eax, word [rax + 0x58]
cmp di, ax
adc ax, bx
sub di, ax
movzx eax, word [rcx + 0x5a]
cmp di, ax
adc ax, bx
sub di, ax
jmp 0x140011980
movzx edi, bx
movzx eax, di
mov ebx, 1
add eax, r15d
mov dword [rsi + 0x58], eax
xor edx, edx
mov r8d, 0x8000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
ret

Function at 0x140011a74
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x440
mov rbx, rcx
mov qword [rsp + 0x20], r9
xor eax, eax
lea rdi, [rsp + 0x30]
mov esi, edx
mov r9, r8
mov ecx, 0x410
lea r8, [0x14003ac10]
rep stosb byte [rdi], al
lea rcx, [rsp + 0x30]
mov edx, 0x208
call fcn.1400032a4
cmp dword [rsp + 0x470], 0
je 0x140011ace
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x140011ae3
test rbx, rbx
je 0x140011ae3
mov r8d, esi
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.1400119c0
lea r11, [rsp + 0x440]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x140011af8
Capabilities:
Read file via mapping

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x40
xor ebx, ebx
xor r9d, r9d
mov qword [rax - 0x18], rbx
xor r8d, r8d
mov dword [rax - 0x20], 0x80
mov edx, 0x80000000
mov dword [rax - 0x28], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140011b87
mov qword [rsp + 0x28], rbx
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], ebx
mov r8d, 0x1000002
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rsi, rax
test rax, rax
je 0x140011b7e
xor r9d, r9d
mov qword [rsp + 0x20], rbx
xor r8d, r8d
lea edx, [rbx + 4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rsi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x58]
mov rax, rbx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140011f6c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x30
and dword [rbp + 0x10], 0
lea rax, [rbp + 0x20]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rbp + 0x18], 8
lea rdx, str.HARDWARERESOURCEMAPSystem_ResourcesPhysical_Memory
mov rcx, 0xffffffff80000002
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001203a
mov rcx, qword [rbp + 0x20]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x18]
and qword [rsp + 0x20], rbx
lea rdx, str..Translated
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140012030
cmp dword [rbp + 0x18], 8
jne 0x140012030
mov rax, qword gs:[0x30]
lea edx, [rbx + 8]
mov r8d, dword [rbp + 0x10]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
test rax, rax
je 0x140012030
mov rcx, qword [rbp + 0x20]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x18]
xor r8d, r8d
mov qword [rsp + 0x20], rbx
lea rdx, str..Translated
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rbp
ret

Function at 0x1400121b0
Capabilities:
Get windows directory from kuser_shared_data
Load ntoskrnl

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x470
xor ebx, ebx
lea r8, str._ws_system32_ws
mov qword [rax + 8], rbx
lea rcx, [rsp + 0x60]
lea rax, str.ntoskrnl.exe
mov r9d, 0x7ffe0030
mov edx, 0x208
mov qword [rsp + 0x20], rax
mov r15d, ebx
call fcn.1400032a4
xor edx, edx
lea r8d, [rbx + 1]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rsi, rax
test rax, rax
je 0x1400122bb
call fcn.140010e80
mov rbp, rax
test rax, rax
je 0x1400122b2
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.1400137ec
test eax, eax
je 0x1400122b2
lea rdx, [rsp + 0x4a0]
lea rcx, str.MiFillPteHierarchy
call fcn.140013870
test eax, eax
je 0x1400122b2
mov r14, qword [rsp + 0x4a0]
lea rdi, [rsp + 0x30]
xor eax, eax
lea ecx, [rbx + 0x25]
rep stosb byte [rdi], al
mov edi, ebx
lea rdx, [rsp + 0x30]
lea r12, [rdi + r14]
mov rcx, r12
call fcn.140004d98
test dword [rsp + 0x51], 0x1000
jne 0x1400122b2
movzx eax, byte [rsp + 0x30]
cmp al, 0xa
jne 0x14001229c
mov ecx, 0xb849
cmp word [r12], cx
je 0x1400122a5
add ebx, eax
cmp ebx, 0x40
jb 0x14001226a
jmp 0x1400122b2
sub rdi, rsi
lea r15, [rbp + 2]
add r15, rdi
add r15, r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea r11, [rsp + 0x470]
mov rax, r15
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140013ca0
Capabilities:
Get windows directory from kuser_shared_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
xor esi, esi
mov rbx, rcx
mov r8, rcx
test rcx, rcx
jne 0x140013cc1
mov r8d, esi
jmp 0x140013cd6
cmp word [rcx], si
je 0x140013cd0
add r8, 2
cmp word [r8], si
jne 0x140013cc6
sub r8, rbx
sar r8, 1
mov rax, qword gs:[0x30]
lea r8, [r8*2 + 0x208]
mov edx, 8
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rdi, rax
test rax, rax
jne 0x140013d0d
lea ecx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140013d2c
mov r9d, 0x7ffe0030
mov qword [rsp + 0x20], rbx
lea r8, str._ws_system32drivers_ws.sys
mov edx, 0x208
mov rcx, rdi
call fcn.1400032a4
mov rbx, qword [rsp + 0x40]
mov rax, rdi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140014c00
Capabilities:
Parse pe header

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

Function at 0x14001f484
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001f280
Function at 0x140025310
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x140025340
xor eax, eax
jmp 0x140025403
mov rbp, rbx
cmp word [rax], si
je 0x140025365
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14002534c
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x140025348
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.140025230
movsxd r14, eax
test eax, eax
jne 0x1400253a3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x140025339
mov rcx, r14
call fcn.140022010
mov rdi, rax
test rax, rax
jne 0x1400253bc
xor ecx, ecx
call fcn.1400202c4
jmp 0x140025398
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.140025230
test eax, eax
jne 0x1400253ed
mov rcx, rdi
call fcn.1400202c4
jmp 0x1400253f7
xor ecx, ecx
call fcn.1400202c4
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x1400288e0
Capabilities:
Get file size

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

Function at 0x14002b630
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002b658
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002b658
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x18003eb3c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
xor edi, edi
mov esi, edx
mov rbp, rcx
test r8, r8
jne 0x18003eb73
call fcn.180042e68
mov dword [rax], 0x16
call fcn.180041f80
xor eax, eax
jmp 0x18003ec01
mov rdx, r9
mov rcx, r8
call fcn.18003ead8
mov rbx, rax
test rax, rax
je 0x18003ebfe
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
lea r8, [0x18003ea04]
mov eax, dword [rsp + 0x60]
mov r9, rbx
mov rcx, rbp
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x18003ebeb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.180042ddc
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x18003ebd2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x18003ebe1
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.180046070
jmp 0x18003ebfe
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x18003ebfb
mov eax, dword [rsp + 0x50]
mov dword [rcx], eax
mov rdi, rdx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x180043f50
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x180043fbf
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x180043fbf
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x180043fbf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x180043fbf
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180043fbf
cmp dword [rcx + 0x84], 0xe
jbe 0x180043fbf
cmp dword [rcx + 0xf8], 0
je 0x180043fbf
mov ecx, ebx
call fcn.180044070
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.180043e4c
nop
cmp dword [rbp + 0x20], 0
je 0x18004400d
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.180044018
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x180043f50
Function at 0x18004e8f8
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18004e928
xor eax, eax
jmp 0x18004e9eb
mov rbp, rbx
cmp word [rax], si
je 0x18004e94d
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18004e934
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18004e930
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18004d060
movsxd r14, eax
test eax, eax
jne 0x18004e98b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18004e921
mov rcx, r14
call fcn.180046c4c
mov rdi, rax
test rax, rax
jne 0x18004e9a4
xor ecx, ecx
call fcn.180046070
jmp 0x18004e980
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18004d060
test eax, eax
jne 0x18004e9d5
mov rcx, rdi
call fcn.180046070
jmp 0x18004e9df
xor ecx, ecx
call fcn.180046070
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x18004ea08
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 0x18004ea8f
mov rsi, rbx
cmp word [rax], bp
je 0x18004ea4e
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x18004ea38
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x18004ea34
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.180046c4c
mov rdi, rax
test rax, rax
je 0x18004ea7c
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.180058b20
mov rbp, rdi
xor ecx, ecx
call fcn.180046070
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 0x180053024
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.180045d10
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1800530c5
cmp ebx, dword [rsp + 0x30]
je 0x1800530be
test esi, esi
je 0x1800530be
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x180053099
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1800530a6
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x180053083
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1800530aa
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1800530c7
mov eax, 1
jmp 0x1800530c7
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180057580
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1800575a8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1800575a8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400011c0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x290
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor edx, edx
mov dword [rsp + 0x40], 0x238
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x40]
mov r14, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x1400013f1
lea rdx, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x1400013f1
movabs r15, 0x7ffffffffffffffe
xor r12d, r12d
movabs r13, 0x7fffffffffffffff
xorps xmm0, xmm0
lea rax, [rsp + 0x6c]
movups xmmword [rsp + 0x20], xmm0
mov ecx, 0xa
mov rdi, 0xffffffffffffffff
nop word [rax + rax]
inc rdi
cmp word [rax + rdi*2], r12w
jne 0x140001270
cmp rdi, r15
ja 0x14000143e
cmp rdi, 7
ja 0x1400012c7
lea rbx, [rdi + rdi]
mov qword [rsp + 0x30], rdi
mov r8, rbx
mov qword [rsp + 0x38], 7
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x20], r12w
mov rbp, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x20]
jmp 0x140001362
mov rbp, rdi
or rbp, 7
cmp rbp, r15
jbe 0x140001313
mov rbp, r15
lea rcx, [r13*2]
cmp rcx, 0x1000
jb 0x140001332
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001438
mov rcx, rax
call fcn.1400014a0
test rax, rax
je 0x14000142d
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x14000133a
cmp rbp, 0xa
cmovb rbp, rcx
lea rcx, [rbp + 1]
cmp rcx, r13
ja 0x140001438
add rcx, rcx
jne 0x1400012de
mov rsi, r12
jmp 0x14000133a
call fcn.1400014a0
mov rsi, rax
lea rbx, [rdi + rdi]
mov qword [rsp + 0x20], rsi
mov r8, rbx
mov qword [rsp + 0x30], rdi
lea rdx, [rsp + 0x6c]
mov qword [rsp + 0x38], rbp
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rsi], r12w
cmp rbp, 7
lea r8, [rsp + 0x20]
cmova r8, rsi
cmp rdi, 0xe
jne 0x14000139d
lea rcx, str.DualSenseY.exe
mov rdx, rdi
mov rax, rcx
sub r8, rcx
movzx ecx, word [rax]
cmp word [r8 + rax], cx
jne 0x14000139d
add rax, 2
sub rdx, 1
jne 0x140001385
mov bl, 1
jmp 0x14000139f
xor bl, bl
cmp rbp, 7
jbe 0x1400013d6
lea rdx, [rbp*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400013ce
mov rsi, qword [rsi - 8]
add rdx, 0x27
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000142d
mov rcx, rsi
call fcn.1400014dc
test bl, bl
jne 0x140001434
lea rdx, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x14000124e
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140001480
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov al, 1
jmp 0x1400013fc
call fcn.140001100
int3
call fcn.1400011a0
int3
Function at 0x14001c230
Capabilities:
Encode data using base64

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x10], 0xfffffffffffffffe
mov rsi, rcx
mov r15, qword [rcx + 0x30]
movzx ecx, byte [rcx + 0x158]
shr r15, cl
mov rdi, r15
test r15, r15
mov qword [rbp - 0x28], r15
je 0x14001c442
mov rax, r15
shr rax, 0x3d
jne 0x14001c480
lea r14, [r15*4]
test r14, r14
je 0x14001c2b4
movzx eax, byte [0x1401c6201]
mov edx, 4
mov rcx, r14
call fcn.140003a20
mov rbx, rax
test rax, rax
je 0x14001c487
cmp r15, 8
jae 0x14001c2bf
xor eax, eax
jmp 0x14001c310
mov ebx, 4
cmp r15, 8
jb 0x14001c2b0
mov rax, r15
and rax, 0xfffffffffffffff8
movdqa xmm0, xmmword [0x14011eea0]
xor ecx, ecx
movdqa xmm1, xmmword [0x14011eeb0]
movdqa xmm2, xmmword [str._b_b_b_b]
movdqa xmm3, xmm0
paddd xmm3, xmm1
movdqu xmmword [rbx + rcx*4], xmm0
movdqu xmmword [rbx + rcx*4 + 0x10], xmm3
add rcx, 8
paddd xmm0, xmm2
cmp rax, rcx
jne 0x14001c2e0
cmp r15, rax
je 0x14001c31f
nop word cs:[rax + rax]
mov dword [rbx + rax*4], eax
lea rcx, [rax + 1]
mov rax, rcx
cmp r15, rcx
jne 0x14001c310
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], 0
lea r14, [rbp - 0x20]
mov r15d, edi
lea rax, [rdi - 0x80000000]
cmp rax, 0xffffffff80000001
jb 0x14001c3e4
dec r15d
mov rcx, qword [rsi + 0x158]
and ecx, 0x3f
mov r8, qword [rsi + 0x160]
mov r9, qword [rsi + 0x20]
mov rdx, qword [rsi + 0x30]
nop dword [rax]
sub rdi, 1
jb 0x14001c3ed
mov eax, edi
shl rax, cl
add rax, r8
cmp rax, rdx
jae 0x14001c426
mov rax, qword [r9 + rax*8]
shr rax, 0x2a
cmp eax, 0x3ffffe
ja 0x14001c370
mov qword [rbp], rbx
mov byte [rbp + 0xf], 0
mov rcx, r14
mov rdx, rsi
mov r8d, r15d
mov r9d, edi
call fcn.140073060
mov dword [rsi + 0x170], r15d
test r15d, r15d
jne 0x14001c33a
mov qword [rbp], rbx
mov byte [rbp + 0xf], 0
lea rcx, str.match_states_should_be_a_proper_subset_of_all_states
lea r8, [0x14011f1e8]
mov edx, 0x34
call fcn.14011b6d0
jmp 0x14001c4cd
test rdi, rdi
jne 0x14001c496
movdqu xmm0, xmmword [rbp - 0x20]
movdqu xmm1, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x40], xmm1
movdqa xmmword [rbp - 0x50], xmm0
mov qword [rbp], rbx
mov byte [rbp + 0xf], 1
lea rcx, [rbp - 0x50]
mov rdx, rsi
call fcn.140073150
nop
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov qword [rbp], rbx
mov byte [rbp + 0xf], 0
lea r8, [0x14011f460]
mov rcx, rax
call fcn.14011b890
jmp 0x14001c4cd
mov qword [rbp - 0x20], 4
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], 0
mov qword [rbp], 4
mov byte [rbp + 0xf], 0
lea rcx, [0x14011efa8]
lea r8, [0x14011f490]
mov edx, 0x2b
call fcn.14011b7f0
jmp 0x14001c4cd
call fcn.14010d2d0
ud2
mov ecx, 4
mov rdx, r14
call fcn.14011b4f0
ud2
dec rdi
mov qword [rbp - 0x50], rdi
mov qword [rbp], rbx
mov byte [rbp + 0xf], 0
lea rax, [0x14011f198]
mov qword [rsp + 0x20], rax
lea rcx, [0x14011f10e]
lea r9, [0x14011ef58]
lea r8, [rbp - 0x50]
mov edx, 0x15
call fcn.14011bb60
ud2