joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140004b30
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x60
mov qword [rsp + 0x38], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x48], rax
xor eax, eax
mov word [rsp + 0x20], ax
jmp 0x140004b94
movzx eax, word [rsp + 0x20]
inc ax
mov word [rsp + 0x20], ax
movzx eax, word [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx ecx, word [rcx + 6]
cmp eax, ecx
jge 0x140004c37
movzx eax, word [rsp + 0x20]
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x24]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x25]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rsp + 0x24]
movzx r8d, byte [rsp + 0x25]
movzx edx, byte [rsp + 0x26]
lea rcx, [rsp + 0x50]
call fcn.140001d60
mov rcx, rax
call fcn.14000b020
mov rcx, qword [rsp + 0x30]
mov rdx, rax
call fcn.14000c0e0
test eax, eax
jne 0x140004c32
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x30]
add eax, dword [rcx + 8]
mov eax, eax
mov qword [rsp + 0x38], rax
jmp 0x140004c37
jmp 0x140004b87
mov rax, qword [rsp + 0x38]
add rsp, 0x60
pop rdi
ret

Function at 0x140006040
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0x88]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x24], 0
jmp 0x1400060aa
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x24], eax
jae 0x140006146
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x24]
movzx eax, word [rax + rcx*2]
mov word [rsp + 0x20], ax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x24]
mov eax, dword [rax + rcx*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x68]
call fcn.14000c0e0
test eax, eax
jne 0x140006141
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
movzx ecx, word [rsp + 0x20]
mov eax, dword [rax + rcx*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
jmp 0x140006148
jmp 0x1400060a0
xor eax, eax
add rsp, 0x58
ret
Function at 0x10007510
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xa0
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
xor edi, edi
xor eax, eax
lock cmpxchg qword [0x10015150], rbx
je 0x10007566
cmp rax, rbx
jne 0x10007559
mov edi, 1
jmp 0x10007566
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10007540
mov eax, dword [0x10015148]
cmp eax, 1
jne 0x1000757b
lea ecx, [rax + 0x1e]
call fcn.10165000
jmp 0x100075ba
mov eax, dword [0x10015148]
test eax, eax
jne 0x100075b0
mov dword [0x10015148], 1
lea rdx, [0x100014d0]
lea rcx, [0x100014b8]
call sub.MSVCR80.dll__initterm_e
test eax, eax
je 0x100075ba
mov eax, 0xff
jmp 0x10007714
mov dword [0x10014314], 1
mov eax, dword [0x10015148]
cmp eax, 1
jne 0x100075e2
lea rdx, [0x100014b0]
lea rcx, [0x10001470]
call sub.MSVCR80.dll__initterm
mov dword [0x10015148], 2
test edi, edi
jne 0x100075ef
xor eax, eax
xchg qword [0x10015150], rax
cmp qword [0x10015168], 0
je 0x10007618
lea rcx, [0x10015168]
call fcn.10007b90
test eax, eax
je 0x10007618
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x10015168]
mov rax, qword [sym.imp.MSVCR80.dll__acmdln]
mov rbx, qword [rax]
mov qword [rsp + 0x28], rbx
mov edi, dword [rsp + 0x20]
nop
nop
movzx ecx, byte [rbx]
cmp cl, 0x20
ja 0x100076aa
test cl, cl
je 0x10007640
test edi, edi
jne 0x100076aa
movzx eax, byte [rbx]
test al, al
je 0x10007656
cmp al, 0x20
ja 0x10007656
add rbx, 1
mov qword [rsp + 0x28], rbx
jmp 0x10007640
test byte [rsp + 0x6c], 1
je 0x10007665
movzx r9d, word [rsp + 0x70]
jmp 0x1000766b
mov r9d, 0xa
mov r8, rbx
xor edx, edx
lea rcx, [0x10000000]
call fcn.10005300
mov dword [0x10014310], eax
cmp dword [0x100142f4], 0
jne 0x10007693
mov ecx, eax
call qword [sym.imp.MSVCR80.dll_exit]
cmp dword [0x10014314], 0
jne 0x100076a8
call qword [sym.imp.MSVCR80.dll__cexit]
mov eax, dword [0x10014310]
jmp 0x1000770d
cmp cl, 0x22
jne 0x100076bc
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [rsp + 0x20], eax
movzx ecx, cl
call qword [sym.imp.MSVCR80.dll__ismbblead]
test eax, eax
je 0x100076d2
add rbx, 1
mov qword [rsp + 0x28], rbx
add rbx, 1
mov qword [rsp + 0x28], rbx
jmp 0x10007630
jmp 0x10007714
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret
sub rsp, 0x28
call fcn.10007c10
add rsp, 0x28
jmp 0x10007510
Function at 0x100002454
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r12
push r13
sub rsp, 0x30
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
xor r12d, r12d
xor eax, eax
lock cmpxchg qword [0x100004758], rdi
je 0x1000024a2
cmp rax, rdi
jne 0x100002495
mov edi, 1
mov r12d, edi
jmp 0x1000024a7
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100002479
mov edi, 1
mov eax, dword [0x100004750]
cmp eax, edi
jne 0x1000024bd
mov ecx, 0x1f
call fcn.100094000
jmp 0x10000251a
mov eax, dword [0x100004750]
test eax, eax
jne 0x100002514
mov dword [0x100004750], edi
lea r13, [0x100001290]
lea rsi, [0x100001278]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], eax
cmp rsi, r13
jae 0x100002506
test eax, eax
jne 0x100002506
mov rcx, qword [rsi]
test rcx, rcx
je 0x1000024fb
call rcx
mov dword [rsp + 0x20], eax
add rsi, 8
mov qword [rsp + 0x28], rsi
jmp 0x1000024e4
test eax, eax
je 0x10000251a
mov eax, 0xff
jmp 0x1000025ec
mov dword [0x100004184], edi
mov eax, dword [0x100004750]
cmp eax, edi
jne 0x100002541
lea rdx, [0x100001270]
lea rcx, [0x100001260]
call sub.msvcrt.dll__initterm
mov dword [0x100004750], 2
test r12d, r12d
jne 0x10000254f
xor eax, eax
xchg qword [0x100004758], rax
cmp qword [0x100004760], 0
je 0x100002578
lea rcx, [0x100004760]
call fcn.10000284c
test eax, eax
je 0x100002578
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100004760]
mov r8, qword [0x100004168]
mov rdx, qword [0x100004170]
mov ecx, dword [0x100004160]
call fcn.100001b54
mov dword [0x100004180], eax
cmp dword [0x100004164], 0
jne 0x1000025a8
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x100004184], 0
jne 0x1000025bd
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x100004180]
jmp 0x1000025ec
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
add rsp, 0x30
pop r13
ret
sub rsp, 0x28
call fcn.100002960
add rsp, 0x28
jmp 0x100002454
Function at 0x1400081d0
Capabilities:
Create directory
Get disk information
Query environment variable

Disassembly:
push rdi
mov eax, 0x4040
call fcn.14000c850
sub rsp, rax
mov rax, qword [0x14003e040]
xor rax, rsp
mov qword [rsp + 0x4030], rax
xor r8d, r8d
xor edx, edx
call fcn.140009390
mov rdi, rax
test rax, rax
jne 0x140008216
lea rcx, str.LOADER:_failed_to_convert_runtime_tmpdir_to_a_wide_string._n
call fcn.140002810
xor eax, eax
jmp 0x14000839f
mov r8d, 0x1000
mov qword [rsp + 0x4058], rbx
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov rcx, rdi
mov ebx, eax
call fcn.140014f30
test ebx, ebx
jne 0x140008253
lea rcx, str.LOADER:_failed_to_expand_environment_variables_in_the_runtime_tmpdir._n
call fcn.140002810
xor eax, eax
jmp 0x140008397
lea rcx, [rsp + 0x30]
call fcn.140009200
test eax, eax
je 0x1400082bf
cmp word [rsp + 0x34], 0x5c
je 0x140008285
lea rcx, [rsp + 0x30]
sub rcx, 2
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x140008272
mov eax, dword [0x14002d670]
mov dword [rcx], eax
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jg 0x1400082b0
mov r8d, eax
lea rdx, [rsp + 0x30]
lea rcx, str.LOADER:_runtime_tmpdir_points_to_non_existent_drive__ls__type:__d___n
call fcn.140002810
xor eax, eax
jmp 0x140008397
lea rcx, [rsp + 0x30]
call fcn.14001796c
jmp 0x140008397
mov r8d, 0x1000
lea rdx, [rsp + 0x30]
xor ecx, ecx
call fcn.140017e08
mov rbx, rax
test rax, rax
jne 0x1400082ec
lea rcx, str.LOADER:_failed_to_obtain_the_absolute_path_of_the_runtime_tmpdir._n
call fcn.140002810
xor eax, eax
jmp 0x140008397
mov edx, 0x5c
mov rcx, rbx
call fcn.14000d5d0
mov rdi, rax
test rax, rax
je 0x14000834e
mov r9, rdi
mov qword [rsp + 0x20], rbx
sub r9, rbx
lea r8, [0x14002d798]
sar r9, 1
lea rcx, [rsp + 0x2030]
mov edx, 0x1000
call fcn.1400026b0
xor edx, edx
lea rcx, [rsp + 0x2030]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, 0x5c
lea rcx, [rdi + 2]
call fcn.14000d5d0
mov rdi, rax
test rax, rax
jne 0x140008301
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140008394
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140008394
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, rbx
lea r8, str.LOADER:_failed_to_create_runtime_tmpdir_path__ls__n
mov edx, eax
lea rcx, str.CreateDirectory
call fcn.140002c50
mov rcx, rbx
call fcn.140014f30
xor eax, eax
jmp 0x140008397
mov rax, rbx
mov rbx, qword [rsp + 0x4058]
mov rcx, qword [rsp + 0x4030]
xor rcx, rsp
call fcn.14000c550
add rsp, 0x4040
pop rdi
ret
Function at 0x180005f20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
cmp byte [0x1800c54c8], 0
lea rbx, [0x1800c5980]
mov r10d, edx
mov r11, rcx
jne 0x180005fdc
xor r8d, r8d
mov r9, rbx
mov eax, r8d
shr eax, 1
test r8b, 1
je 0x180005f55
xor eax, 0xedb88320
test al, 1
je 0x180005f62
shr eax, 1
xor eax, 0xedb88320
jmp 0x180005f64
shr eax, 1
test al, 1
je 0x180005f71
shr eax, 1
xor eax, 0xedb88320
jmp 0x180005f73
shr eax, 1
test al, 1
je 0x180005f80
shr eax, 1
xor eax, 0xedb88320
jmp 0x180005f82
shr eax, 1
test al, 1
je 0x180005f8f
shr eax, 1
xor eax, 0xedb88320
jmp 0x180005f91
shr eax, 1
test al, 1
je 0x180005f9e
shr eax, 1
xor eax, 0xedb88320
jmp 0x180005fa0
shr eax, 1
test al, 1
je 0x180005fad
shr eax, 1
xor eax, 0xedb88320
jmp 0x180005faf
shr eax, 1
test al, 1
je 0x180005fbc
shr eax, 1
xor eax, 0xedb88320
jmp 0x180005fbe
shr eax, 1
mov dword [r9], eax
inc r8d
add r9, 4
cmp r8d, 0x100
jl 0x180005f45
mov byte [0x1800c54c8], 1
or edx, 0xffffffff
test r10d, r10d
je 0x180006010
nop dword [rax]
nop dword [rax + rax]
movsx ecx, byte [r11]
lea r11, [r11 + 1]
mov eax, edx
xor rcx, rax
movzx eax, cl
mov ecx, edx
shr ecx, 8
mov edx, dword [rbx + rax*4]
xor edx, ecx
sub r10d, 1
jne 0x180005ff0
mov rbx, qword [rsp + 8]
not edx
mov eax, edx
ret

Function at 0x180006020
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 8]
mov rbx, rcx
mov rcx, qword [rcx]
call fcn.180005f20
mov r9d, dword [rbx + 8]
mov r8d, dword [rbx]
mov edx, r8d
mov r10, qword [rbx]
xor r8d, r9d
xor r8d, 0x41433030
xor edx, r9d
xor edx, eax
xor eax, eax
mov word [rsp + 0x31], ax
movzx eax, r8w
shr ax, 8
mov byte [rsp + 0x30], al
mov byte [rsp + 0x31], r8b
shr r8d, 0x10
movzx eax, r8w
mov dword [rbx + 0xc], edx
shr ax, 8
mov byte [rsp + 0x32], al
xor eax, eax
mov byte [rsp + 0x33], r8b
test r9d, r9d
je 0x1800060b9
nop word [rax + rax]
mov r8d, eax
lea ecx, [rax + 2]
movzx ecx, cl
lea r9, [rax + r10]
imul edx, ecx, 0xbb
and r8d, 3
inc eax
movzx ecx, byte [rsp + r8 + 0x30]
xor cl, dl
xor byte [r9], cl
cmp eax, dword [rbx + 8]
jb 0x180006090
add rsp, 0x20
pop rbx
ret

Function at 0x1800062d0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rcx, [0x18009f2d8]
jmp 0x180a9ec81

Function at 0x180028d70
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rcx, [0x18009f2d8]
jmp 0x180aa77d5

Function at 0x1800290d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x270
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1800c2008]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rcx, [0x1800a0bb8]
jmp loc.180444f09

Function at 0x18002ab20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov rax, qword [0x1800c2008]
xor rax, rsp
mov qword [rsp + 0x48], rax
lea rcx, [0x1800a0db0]
jmp 0x180aa97c7
Function at 0x18004e360
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x208
mov rax, qword [0x1800c2008]
xor rax, rsp
mov qword [rsp + 0x1f8], rax
lea rcx, [0x1800a2410]
nop
nop
nop
nop
nop
nop
mov rax, qword [rsp + 0x230]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x18004e3bd
jmp 0x18004e4f3
mov rax, qword [rsp + 0x38]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x230]
and al, 0x30
add al, byte [rax]
add byte [rax + 3], cl
enter 0xffffffffffff8b48, 0xffffffffffffffc1
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax], 0x4550
je 0x18004e3eb
jmp 0x18004e4f3
mov rax, qword [rsp + 0x30]
add rax, 0x108
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x20], 0
jmp 0x18004e413
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x238]
call fcn.18004e5d0
cmp qword [rsp + 0x20], rax
jae 0x18004e4ed
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x238]
call fcn.18004e5c0
lea rcx, [rsp + 0x50]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x198
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 6]
mov ecx, dword [rsp + 0x50]
sub rcx, qword [rsp + 0x228]
mov r8, qword [rsp + 0x40]
mov edx, eax
call fcn.180028470
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x230]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x50]
lea r9, [rsp + 0x1f0]
mov r8d, 0x40
mov edx, 0x41
mov ecx, eax
call qword [0x18008c308]
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
je 0x18004e4e8
mov eax, dword [rsp + 0x50]
mov edi, eax
mov rsi, qword [rsp + 0x48]
mov ecx, 0x41
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x50]
lea r9, [rsp + 0x1f0]
mov r8d, dword [rsp + 0x1f0]
mov edx, 0x41
mov ecx, eax
call qword [0x18008c308]
jmp 0x18004e406
nop
nop
nop
nop
nop
nop
mov rcx, qword [rsp + 0x1f8]
xor rcx, rsp
call fcn.18005ef70
add rsp, 0x208
pop rdi
pop rsi
ret
Function at 0x1800d86e0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x1800d870d
xor al, al
jmp 0x1800d886f
mov rax, qword [0x1800f96c0]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x1800f96c8]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x1800f96d0]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x1800f96d8]
mov qword [rcx + 0x18], rax
mov rax, qword [0x1800f96e0]
mov qword [rcx + 0x20], rax
mov rax, qword [0x1800f96e8]
mov qword [rcx + 0x28], rax
mov rax, qword [0x1800f96f0]
mov qword [rcx + 0x30], rax
mov rax, qword [0x1800f96f8]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x1800f9700]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x1800d8861
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x1800d87b9
mov r11d, 2
jmp 0x1800d87dd
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x1800d87d3
mov r11d, 1
jmp 0x1800d87dd
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x1800d8885
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x1800d8822
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x1800d883a
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x1800d884a
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x1800d8858
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x1800d87a0
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x1800d886a

Function at 0x1801d5627
Capabilities:
Execute syscall

Disassembly:
call fcn.1800601a6
mov r10, rcx
movsx eax, bp
cdqe
movzx eax, bp
mov eax, dword [0x1800c2c9c]
syscall
ret

Function at 0x180302488
Capabilities:
Execute syscall

Disassembly:
call fcn.1800601a6
mov r10, rcx
movzx rax, r9w
mov eax, dword [0x1800c2c14]
jmp 0x180788b3f
syscall
ret
Function at 0x1400012c0
Capabilities:
Enumerate processes

Disassembly:
push rbx
sub rsp, 0x690
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x680], rax
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x140001312
mov r9d, 0x10
lea r8, [0x140006530]
lea rdx, str.Error_Creating_Process_Snapshot
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x1400013c2
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x238
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400013b9
lea r8, [rsp + 0x4c]
mov edx, 0x104
lea rcx, [rsp + 0x470]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x104
lea rcx, [rsp + 0x470]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
lea r8, str.GTAProcess.exe
mov edx, 0x104
lea rcx, [rsp + 0x260]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
mov edx, 0x104
lea rcx, [rsp + 0x260]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcslwr_s]
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x470]
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
mov rcx, rbx
test rax, rax
jne 0x1400013dd
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001330
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x680]
xor rcx, rsp
call fcn.140004690
add rsp, 0x690
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x28]
jmp 0x1400013c4
Function at 0x1400013f0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x290
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x280], rax
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x40], 0x238
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140001555
lea rsi, str.GTAProcess
nop dword [rax]
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.1400032e0
mov r9, rax
cmp qword [rax + 0x18], 7
mov rcx, qword [rax + 0x10]
jbe 0x140001470
mov r9, qword [rax]
cmp rcx, 0xa
jb 0x1400014f4
lea r10, [rcx - 9]
mov rbx, r9
lea r10, [r9 + r10*2]
nop dword [rax]
nop word [rax + rax]
mov rax, r10
mov ecx, 0
sub rax, rbx
sar rax, 1
je 0x1400014bc
cmp word [rbx], 0x47
je 0x1400014b9
cmp rax, 1
je 0x1400014bc
add rbx, 2
dec rax
cmp word [rbx], 0x47
jne 0x1400014a6
mov rcx, rbx
mov rbx, rcx
test rcx, rcx
je 0x1400014f4
mov r8, rbx
mov edx, 0xa
sub r8, rsi
mov rcx, rsi
movzx eax, word [r8 + rcx]
cmp ax, word [rcx]
jne 0x1400014ee
add rcx, 2
sub rdx, 1
jne 0x1400014d2
sub rbx, r9
sar rbx, 1
jmp 0x1400014fb
add rbx, 2
jmp 0x140001490
mov rbx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x140001539
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001534
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001585
call fcn.1400046b0
mov rcx, rdi
cmp rbx, 0xffffffffffffffff
jne 0x14000158c
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001450
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140004690
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x48]
jmp 0x140001560
Function at 0x1400015a0
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xc0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rsi, r8
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rbx, qword [rsp + 0x80]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov dword [rsp + 0x30], 1
cmp rbx, qword [rsp + 0x88]
jae 0x140001725
nop word [rax + rax]
mov r9d, 0x30
lea r8, [rsp + 0x48]
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualQueryEx]
cmp rax, 0x30
jne 0x140001710
cmp dword [rsp + 0x68], 0x1000
jne 0x140001704
mov eax, dword [rsp + 0x6c]
cmp eax, 0x40
je 0x140001661
cmp eax, 4
jne 0x140001704
mov rcx, qword [rsp + 0x60]
call fcn.1400046f4
mov rbp, rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x60]
mov r8, rbp
mov rdx, qword [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x1400016fc
mov rbx, r15
mov rcx, qword [rsp + 0xa8]
add rcx, 0xfffffffffffffff0
je 0x1400016fc
mov rax, qword [rbx + rbp]
cmp rax, qword [rsi]
jne 0x1400016e8
mov rax, qword [rbx + rbp + 8]
cmp rax, qword [rsi + 8]
jne 0x1400016e8
mov rcx, qword [rsp + 0x48]
add rcx, rbx
mov qword [rsp + 0x38], rcx
mov rdx, qword [rdi + 8]
cmp rdx, qword [rdi + 0x10]
je 0x1400016db
mov qword [rdx], rcx
add qword [rdi + 8], 8
jmp 0x1400016e8
lea r8, [rsp + 0x38]
mov rcx, rdi
call fcn.1400043d0
inc rbx
mov rax, qword [rsp + 0xa8]
add rax, 0xfffffffffffffff0
cmp rbx, rax
jb 0x1400016a6
mov rcx, rbp
call fcn.1400046b0
mov rbx, qword [rsp + 0x48]
add rbx, qword [rsp + 0x60]
jmp 0x140001717
mov ecx, dword [rsp + 0x7c]
add rbx, rcx
cmp rbx, qword [rsp + 0x88]
jb 0x140001620
mov rax, rdi
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140004690
mov rbx, qword [rsp + 0x100]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400030f0
Capabilities:
Set console window title

Disassembly:
sub rsp, 0x28
lea rcx, str.Client.Cfx_Server__Dekbangtlez
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
call fcn.140001bf0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
xor eax, eax
add rsp, 0x28
ret
Function at 0x140005018
Capabilities:
Parse pe header

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