joyce8/EMBER2024-capa huggingface dataset:
Function at 0x21a9058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.021a91df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x21a9089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x21a906f
add dl, dl
jne 0x21a9096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x21a90f6
xor eax, eax
add dl, dl
jne 0x21a90a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x21a91ad
add dl, dl
jne 0x21a90b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x21a90c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x21a90d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x21a90dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x21a90ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x21a907e
mov eax, 1
add dl, dl
jne 0x21a9106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x21a9113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x21a90fb
sub eax, ebx
mov ebx, 1
jne 0x21a914c
mov ecx, 1
add dl, dl
jne 0x21a912e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x21a913b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x21a9123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x21a907e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x21a9168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x21a9175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x21a915d
cmp eax, 0x7d00
jae 0x21a919b
cmp eax, 0x500
jb 0x21a9196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x21a907e
cmp eax, 0x7f
ja 0x21a919e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x21a907e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x21a91d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x21a907e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14000720c
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.14000719c
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021170]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400205b8]
jmp 0x140007248
cmp qword [rbx + 0x18], rdi
je 0x14000724f
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14000723f
jmp 0x140007269
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x1400205b8]
call fcn.140011c68
lea rcx, [0x140021170]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
shl bh, cl
mov byte [rcx + rdx*4 + 0x400e1ea7], dl
mov ah, 0x2e
leave
pop rdx
movsd dword [rdi], dword [rsi]
invalid
jmp 0x14003f674
loope 0x14003f5e6
test dword [r13 - 0x7db3480e], r12d
sbb dh, byte [rbp + 0x58dc3ac7]
invalid
or dword [r14 - 1], ebp
shl byte [rsi - 0x39], 1
pushfq
mov ebx, 0xd682aa59
iretd
mov dl, 0x88
mov edx, 0x40ba021f
out dx, al
push 0x2b
pop rsi
insb byte [rdi], dx
invalid
mov edi, 0x9be85261
wait
je 0x14003f6ca
wait
cmc
invalid
sub byte [0xd79dc991], bh
and al, 0x69
stc
rcr dword [rcx - 0x696db69], cl
pop rcx
push rax
invalid
invalid
mov dh, 0x72
fcomp dword [rbp - 0x694a2ae4]
jae 0x14003f6c5
stosb byte [rdi], al
mov bl, 0x51
invalid
sbb edi, dword [rax]
fnsave dword [rsi + rdx*4 - 0x32]
adc byte [rdx + riz*2], ch
sub al, 0x62
and byte [rbp + 0x2b], ah
clc
mov ebx, 0xcf9349de
ja 0x14003f685
invalid
xchg edx, eax
rol byte [0x111ae33e7], 0x9e
xchg dword [rcx + rdx - 0x68], eax
sbb al, 0x7c
and al, 0xa8
nop
leave
clc
pop rdi
cmp byte es:[rsi + 0x1fa5b02d], bh
push rsp
js 0x14003f776
cwde
cdq
cmc
invalid
test al, 0x52
xor dword [rsi - 0x724ce833], esi
movabs eax, dword [0xcef5bb901ccddf24]
mov ch, 0x49
adc ecx, dword [rcx - 0x5342fe7f]
xchg ebp, eax
fbstp tbyte [rbp + 0x232746ee]
invalid
invalid
and esp, dword [rax]
fcom dword [rbx + rbx - 0x6960809b]
cld
mov esi, 0x76185489
imul r10d, dword [r9 - 0x2a7949a2], 0xcd44d671
pop rdx
imul esi, dword [rdi + 5], 0xcfb1e706
sal dword [rdi + 0xbb21ccf], cl
popfq
invalid
Function at 0x180001650
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
xor ecx, ecx
mov edx, 0xbe8
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
xor edx, edx
mov r8d, 0xbe8
mov rcx, rax
mov qword [0x180018a50], rax
mov rdi, rax
call fcn.180002c80
lea rbx, str.433bee2f_3277_ea2f_cb43_079998982fe6
lea rsi, [0x180014758]
nop
mov rcx, qword [rbx]
mov rdx, rdi
call qword [sym.imp.RPCRT4.dll_UuidFromStringA]
test eax, eax
jne 0x1800016bd
add rdi, 0x10
add rbx, 8
cmp rbx, rsi
jl 0x1800016a0
mov rdx, qword [0x180018a50]
mov ecx, 0x5f
movdqa xmm2, xmmword [str.gggggggggggggggg]
lea rax, [rdx + 0x10]
nop word [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
lea rax, [rax + 0x20]
pxor xmm0, xmm2
movdqu xmmword [rax - 0x30], xmm0
movdqu xmm1, xmmword [rax - 0x20]
pxor xmm1, xmm2
movdqu xmmword [rax - 0x20], xmm1
sub rcx, 1
jne 0x1800016e0
lea rax, [rdx + 0xbe0]
mov ecx, 8
xor byte [rax], 0x67
lea rax, [rax + 1]
sub rcx, 1
jne 0x180001712
movups xmm0, xmmword [str.C:WindowsSystem32colorcpl.exe]
movzx eax, byte [0x180014148]
lea rdx, [rsp + 0x20]
movups xmm1, xmmword [0x180014138]
mov byte [rsp + 0x40], al
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm1
call fcn.180001200
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x180001f68
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x180000000], ax
jne 0x180001ff9
movsxd rax, dword [0x18000003c]
lea rdx, [0x180000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x180001ff9
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x180001ff9
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x180001fdd
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x180001fd7
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x180001fdf
add rdx, 0x28
jmp 0x180001fbc
xor edx, edx
test rdx, rdx
jne 0x180001fe8
xor al, al
jmp 0x180001fff
test dword [rdx + 0x24], 0x80000000
je 0x180001ff5
xor al, al
jmp 0x180001fff
mov al, 1
jmp 0x180001fff
xor al, al
jmp 0x180001fff
add rsp, 0x18
ret
Function at 0x140a65058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140a651df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140a65089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a6506f
add dl, dl
jne 0x140a65096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a650f6
xor eax, eax
add dl, dl
jne 0x140a650a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a651ad
add dl, dl
jne 0x140a650b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a650c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a650d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a650dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140a650ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140a6507e
mov eax, 1
add dl, dl
jne 0x140a65106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a65113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a650fb
sub eax, ebx
mov ebx, 1
jne 0x140a6514c
mov ecx, 1
add dl, dl
jne 0x140a6512e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a6513b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a65123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a6507e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140a65168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a65175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a6515d
cmp eax, 0x7d00
jae 0x140a6519b
cmp eax, 0x500
jb 0x140a65196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a6507e
cmp eax, 0x7f
ja 0x140a6519e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a6507e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140a651d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140a6507e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140011339
Capabilities:
Terminate process

Disassembly:
jmp 0x140016460
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret
Function at 0x1400113f2
Capabilities:
Create thread
Inject thread

Disassembly:
jmp 0x1400146b0
push rbp
push rdi
sub rsp, 0x428
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x9a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140023040]
xor rax, rbp
mov qword [rbp + 0x3d0], rax
lea rcx, [0x14002900a]
call fcn.140011591
nop
mov dword [rbp + 4], 0
lea rax, str.ShibaGT_Template.dll
mov qword [rbp + 0x158], rax
lea rax, str.Gorilla_Tag
mov qword [rbp + 0x178], rax
lea rax, [rbp + 0x378]
mov qword [rbp + 0x3b8], rax
mov rdx, qword [rbp + 0x158]
mov rcx, qword [rbp + 0x3b8]
call fcn.14001127b
mov qword [rbp + 0x3c8], rax
mov rcx, qword [rbp + 0x3c8]
call fcn.1400111d1
movzx eax, al
test eax, eax
jne 0x140014760
lea rdx, str.File_Doesnt_Exist
lea rcx, str.file_exists
call fcn.140011023
nop
xor r9d, r9d
lea r8, [rbp + 0x30]
mov edx, 0x104
mov rcx, qword [rbp + 0x158]
call qword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
jne 0x140014791
lea rdx, str.Failed_To_Get_Full_Path_To_Dll
lea rcx, str.GetFullPathName
call fcn.140011023
nop
lea rdx, [rbp + 4]
mov rcx, qword [rbp + 0x178]
call fcn.1400110e1
nop
cmp dword [rbp + 4], 0
jne 0x1400147bc
lea rdx, str.Failed_To_Get_Proc_id
lea rcx, str.proc_id
call fcn.140011023
nop
mov r8d, dword [rbp + 4]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 0x198], rax
cmp qword [rbp + 0x198], 0
jne 0x1400147f2
lea rdx, str.failed_to_open_handle
lea rcx, str.open_process
call fcn.140011023
nop
mov dword [rsp + 0x20], 4
mov r9d, 0x3000
mov r8d, 0x104
xor edx, edx
mov rcx, qword [rbp + 0x198]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x1b8], rax
cmp qword [rbp + 0x1b8], 0
jne 0x14001483a
lea rdx, str.Failed_to_allocate_memory
lea rcx, str.VirtualAllocEx
call fcn.140011023
nop
mov qword [rsp + 0x20], 0
mov r9d, 0x104
lea r8, [rbp + 0x30]
mov rdx, qword [rbp + 0x1b8]
mov rcx, qword [rbp + 0x198]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140014879
lea rdx, str.Failed_to_write_memory
lea rcx, str.WriteProcessMemory
call fcn.140011023
nop
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rbp + 0x1b8]
mov qword [rsp + 0x20], rax
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x198]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rbp + 0x1d8], rax
cmp qword [rbp + 0x1d8], 0
jne 0x1400148d4
lea rdx, str.Failed_To_CreateRemotethread
lea rcx, str.CreateRemoteThread
call fcn.140011023
nop
mov rcx, qword [rbp + 0x198]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rbp + 0x1b8]
mov rcx, qword [rbp + 0x198]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
nop
xor r9d, r9d
lea r8, str.Success
lea rdx, str.Succesfully_injected
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
nop
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, [0x14001e050]
call fcn.1400114c4
mov eax, edi
mov rcx, qword [rbp + 0x3d0]
xor rcx, rbp
call fcn.1400112c6
lea rsp, [rbp + 0x3e8]
pop rdi
pop rbp
ret
Function at 0x140011406
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400177b0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400177d0
xor al, al
jmp 0x140017851
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400177e3
xor al, al
jmp 0x140017851
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001780d
xor al, al
jmp 0x140017851
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140017821
xor al, al
jmp 0x140017851
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140017833
xor al, al
jmp 0x140017851
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001784f
xor al, al
jmp 0x140017851
mov al, 1
add rsp, 0x38
ret
Function at 0x1400098f0
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
call fcn.14000a770
test eax, eax
je 0x140009939
lea rdx, str.1091500
lea rcx, str.SteamAppId
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
lea rdx, str.1091500
lea rcx, str.SteamGameId
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.140008940
mov rsi, qword [rsp + 0x48]
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14001c6d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x14002b080]
xor rax, rsp
mov qword [rbp + 0x40], rax
xor edx, edx
mov dword [rbp - 0x40], 0x10001
mov rax, rcx
mov qword [rsp + 0x10], rdx
or rax, 1
mov qword [rsp + 0x18], rdx
bsr rax, rax
mov r8, rcx
mov dword [rbp - 0x3c], 0x20001
cdqe
mov r9d, 0xa
mov dword [rbp - 0x38], 0x20002
mov dword [rbp - 0x34], 0x30003
mov dword [rbp - 0x30], 0x40003
mov dword [rbp - 0x2c], 0x40004
mov dword [rbp - 0x28], 0x50004
mov dword [rbp - 0x24], 0x50005
mov dword [rbp - 0x20], 0x60006
mov dword [rbp - 0x1c], 0x70006
mov dword [rbp - 0x18], 0x70007
mov dword [rbp - 0x14], 0x80007
mov dword [rbp - 0x10], 0x80008
mov dword [rbp - 0xc], 0x90009
mov dword [rbp - 8], 0xa0009
mov dword [rbp - 4], 0xa000a
mov dword [rbp], 0xb000a
mov dword [rbp + 4], 0xb000b
mov dword [rbp + 8], 0xc000c
mov dword [rbp + 0xc], 0xd000c
mov dword [rbp + 0x10], 0xd000d
mov dword [rbp + 0x14], 0xe000d
mov dword [rbp + 0x18], 0xe000e
mov dword [rbp + 0x1c], 0xf000f
mov dword [rbp + 0x20], 0x10000f
mov dword [rbp + 0x24], 0x100010
mov dword [rbp + 0x28], 0x110010
mov dword [rbp + 0x2c], 0x110011
mov dword [rbp + 0x30], 0x120012
mov dword [rbp + 0x34], 0x130012
mov dword [rbp + 0x38], 0x130013
mov dword [rbp + 0x3c], 0x140013
movzx ecx, word [rbp + rax*2 - 0x40]
movabs rax, 0x2540be400
mov qword [rsp + 0x68], rax
movabs rax, 0x174876e800
mov qword [rsp + 0x70], rax
movabs rax, 0xe8d4a51000
mov qword [rsp + 0x78], rax
movabs rax, 0x9184e72a000
mov qword [rbp - 0x80], rax
movabs rax, 0x5af3107a4000
mov qword [rbp - 0x78], rax
movabs rax, 0x38d7ea4c68000
mov qword [rbp - 0x70], rax
movabs rax, 0x2386f26fc10000
mov qword [rbp - 0x68], rax
movabs rax, 0x16345785d8a0000
mov qword [rbp - 0x60], rax
movabs rax, 0xde0b6b3a7640000
mov qword [rbp - 0x58], rax
movabs rax, 0x8ac7230489e80000
mov qword [rbp - 0x50], rax
mov eax, ecx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x28], 0x64
mov qword [rsp + 0x30], 0x3e8
mov qword [rsp + 0x38], 0x2710
mov qword [rsp + 0x40], 0x186a0
mov qword [rsp + 0x48], 0xf4240
mov qword [rsp + 0x50], 0x989680
mov qword [rsp + 0x58], 0x5f5e100
mov qword [rsp + 0x60], 0x3b9aca00
cmp r8, qword [rsp + rcx*8 + 0x10]
setb dl
sub eax, edx
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14001e380
add rsp, 0x150
pop rbp
ret
Function at 0x14001dd08
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 0x14001dd42
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14001dd47
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 0x14001dd90
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140022ee0]
cmp byte [rcx + rax], 0
je 0x14001dd90
dec r8
sub rdx, 1
jne 0x14001dd76
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14001edf0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001ee3a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001ee3a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001ee3a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001ee3a
cmp dword [rcx + 0x84], 0xe
jbe 0x14001ee3a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14001ee3c
xor al, al
add rsp, 0x28
ret
Function at 0x1400011e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x13f0
call fcn.1400034b0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x13e0], rax
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
lea rdx, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
lea rcx, [rsp + 0x30]
call fcn.140001f40
nop
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rsp + 0x13d4], 0xffffffff
mov dword [rsp + 0x54], eax
lea ecx, [r13 + 1]
nop dword [rax]
nop dword [rax + rax]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x54], edx
inc rcx
cmp rcx, 0x270
jb 0x140001260
mov dword [rsp + 0x50], 0x270
mov ebp, dword [rsp + 0x40]
dec ebp
lea rdx, [0x1400044fc]
mov rcx, rdi
call fcn.140001f40
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x50]
call fcn.1400024c0
mov ecx, eax
shl rcx, 3
shr rcx, 0x20
add ecx, 1
mov r12, qword [rsp + 0x48]
mov r15, qword [rsp + 0x30]
je 0x140001381
mov r14d, ecx
nop
mov eax, ebp
cmp ebp, 0x80000000
jb 0x1400012ed
cmp ebp, 0xffffffff
jne 0x1400012ed
lea rcx, [rsp + 0x50]
call fcn.1400024c0
mov ecx, eax
jmp 0x14000132c
lea ebx, [rax + 1]
lea rcx, [rsp + 0x50]
call fcn.1400024c0
mov esi, ebx
mov ecx, eax
imul rcx, rsi
cmp ecx, ebx
jae 0x140001328
mov eax, ebx
neg eax
xor edx, edx
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x140001328
lea rcx, [rsp + 0x50]
call fcn.1400024c0
mov ecx, eax
imul rcx, rsi
cmp ecx, ebx
jb 0x140001314
shr rcx, 0x20
lea rdx, [rsp + 0x30]
cmp r12, 7
cmova rdx, r15
movsxd rax, ecx
movzx r9d, word [rdx + rax*2]
mov rcx, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x14000136f
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 7
jbe 0x140001362
mov rax, qword [rdi]
mov word [rax + rcx*2], r9w
mov word [rax + rcx*2 + 2], r13w
jmp 0x140001377
mov rcx, rdi
call fcn.140002310
sub r14, 1
jne 0x1400012d0
cmp r12, 7
jbe 0x1400013bf
lea rdx, [r12*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x1400013b7
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400013b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.1400026bc
mov rax, rdi
mov rcx, qword [rsp + 0x13e0]
xor rcx, rsp
call fcn.140002660
lea r11, [rsp + 0x13f0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140001400
Capabilities:
Enumerate process modules

Disassembly:
push rbx
sub rsp, 0x470
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x460], rax
mov dword [rsp + 0x20], 0x438
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov edx, eax
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400014d7
mov qword [rsp + 0x490], rdi
lea rdx, [rsp + 0x20]
mov rcx, rax
xor edi, edi
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x1400014c1
mov qword [rsp + 0x488], rsi
lea rsi, str.FiveM_b2699_GTAProcess.exe
nop
lea rdx, [rsp + 0x50]
mov rax, 0xffffffffffffffff
nop dword [rax]
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [rsi + rax*2 + 2]
jne 0x1400014a0
add rax, 2
cmp rax, 0x1b
je 0x1400014b4
movzx ecx, word [rdx + rax*2]
cmp cx, word [rsi + rax*2]
je 0x140001480
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140001470
jmp 0x1400014b9
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x488]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rdi, qword [rsp + 0x490]
jmp 0x1400014d9
xor eax, eax
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140002660
add rsp, 0x470
pop rbx
ret
Function at 0x1400024c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x140002521
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x1400024e0
mov ecx, dword [r9]
jmp 0x14000260b
cmp ecx, 0x4e0
jb 0x14000260b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140002540
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x140002590
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret

Function at 0x140002fe0
Capabilities:
Parse pe header

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