joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001000
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x810
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x800], rax
mov edi, r8d
mov ebx, edx
mov qword [rsp + 0x40], 0x100
lea rax, [r11 - 0x218]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x100
lea rax, [r11 - 0x118]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x100
lea r9, [r11 - 0x748]
mov r8d, 3
lea rdx, [rsp + 0x50]
call fcn.140002004
test edi, edi
je 0x1400010db
lea rax, str.idmwfp64.sys
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xd0]
lea r8, [rsp + 0x50]
lea rdx, str._s_s_s
lea rcx, [rsp + 0x2e0]
call qword [sym.imp.USER32.dll_wsprintfA]
lea r11, str.idmwfp.inf
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0xd0]
lea r8, [rsp + 0x50]
lea rdx, str._s_s_s
lea rcx, [rsp + 0x1d0]
call qword [sym.imp.USER32.dll_wsprintfA]
jmp 0x140001137
lea rax, str.idmtdi64.sys
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xd0]
lea r8, [rsp + 0x50]
lea rdx, str._s_s_s
lea rcx, [rsp + 0x2e0]
call qword [sym.imp.USER32.dll_wsprintfA]
lea r11, str.idmtdi.inf
mov qword [rsp + 0x20], r11
lea r9, [rsp + 0xd0]
lea r8, [rsp + 0x50]
lea rdx, str._s_s_s
lea rcx, [rsp + 0x1d0]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rcx, [rsp + 0x2e0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14000115c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14000115c
xor eax, eax
jmp 0x140001256
lea rcx, [rsp + 0x1d0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140001181
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x140001181
xor eax, eax
jmp 0x140001256
test ebx, ebx
je 0x1400011a4
lea r8, [rsp + 0x1d0]
lea rdx, str.SETUPAPI.DLL_InstallHinfSection_DefaultInstall_128__s
lea rcx, [rsp + 0x3f0]
call qword [sym.imp.USER32.dll_wsprintfA]
jmp 0x1400011c1
lea r8, [rsp + 0x1d0]
lea rdx, str.SETUPAPI.DLL_InstallHinfSection_DefaultUninstall_128__s
lea rcx, [rsp + 0x3f0]
call qword [sym.imp.USER32.dll_wsprintfA]
xor edx, edx
lea r8d, [rdx + 0x70]
lea rcx, [rsp + 0x60]
call fcn.140002300
mov dword [rsp + 0x60], 0x70
mov dword [rsp + 0x64], 0x40
lea rax, str.open
mov qword [rsp + 0x70], rax
lea rax, str.RUNDLL32.EXE
mov qword [rsp + 0x78], rax
xor eax, eax
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x90], eax
mov qword [rsp + 0x98], rax
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x3f0]
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x14000124d
or edx, 0xffffffff
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
jmp 0x140001256
mov rcx, qword [rsp + 0x800]
xor rcx, rsp
call fcn.1400022d0
mov rbx, qword [rsp + 0x828]
add rsp, 0x810
pop rdi
ret
Function at 0x140001280
Capabilities:
Check os version

Disassembly:
push rdi
sub rsp, 0x1f0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x200], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov edi, ecx
xor ebx, ebx
mov dword [rsp + 0x30], 0x94
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x140001311
cmp dword [rsp + 0x40], 2
jne 0x140001311
cmp dword [rsp + 0x34], 6
jb 0x1400012da
mov ebx, 1
mov r8d, 0x104
lea rdx, [rsp + 0xd0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x140001317
mov r8d, ebx
mov edx, edi
lea rcx, [rsp + 0xd0]
call section..text
test eax, eax
je 0x140001317
mov eax, 1
jmp 0x140001317
xor eax, eax
jmp 0x140001317
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.1400022d0
mov rbx, qword [rsp + 0x200]
add rsp, 0x1f0
pop rdi
ret
Function at 0x1400049cf
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [section..data]
jne 0x1400022ea
rol rcx, 0x10
test cx, 0xffff
jne 0x1400022e6
repz ret
ror rcx, 0x10
jmp 0x140004928
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x14000f1a0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x14000f298]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400049ad
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x14000f1a0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400049cf
mov rax, qword [rsp + 0x88]
mov qword [0x14000f298], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x14000f238], rax
mov rax, qword [0x14000f298]
mov qword [0x14000f110], rax
mov rax, qword [rsp + 0x90]
mov qword [0x14000f220], rax
mov dword [0x14000f100], 0xc0000409
mov dword [0x14000f104], 1
mov rax, qword [section..data]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14000e008]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x14000f198], eax
mov ecx, 1
call fcn.140007298
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14000a728]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x14000f198], 0
jne 0x140004a56
mov ecx, 1
call fcn.140007298
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x140004e24
Capabilities:
Terminate process

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.140002770
xor ebx, ebx
mov rdi, rax
cmp qword [0x14000fde0], rbx
jne 0x14000786e
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x140007943
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140007943
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x14000fde0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x14000fde8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x14000fdf0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x14000fe00], rax
test rax, rax
je 0x140007865
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x14000fdf8], rax
jmp 0x140007875
mov rax, qword [0x14000fdf8]
jmp 0x14000787c
mov rax, qword [0x14000fdf8]
mov r11, qword [0x14000fe00]
cmp rax, rdi
je 0x1400078e4
cmp r11, rdi
je 0x1400078e4
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x14000fe00]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x1400078e4
test rax, rax
je 0x1400078e4
call rsi
test rax, rax
je 0x1400078de
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400078de
test byte [rsp + 0x38], 1
jne 0x1400078e4
bts ebp, 0x15
jmp 0x140007922
mov rcx, qword [0x14000fde8]
cmp rcx, rdi
je 0x140007922
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140007922
call rax
mov rbx, rax
test rax, rax
je 0x140007922
mov rcx, qword [0x14000fdf0]
cmp rcx, rdi
je 0x140007922
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140007922
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x14000fde0]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x140007943
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x140007945
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x180006498
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x180106010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rax, qword [rcx]
lea r8, [0x1801072b0]
lea rdx, [0x18004fe28]
mov rbx, rcx
call qword [rax + 0x38]
test eax, eax
js 0x18000663a
mov rcx, qword [0x1801072b0]
lea rdx, [0x1801072d8]
mov rax, qword [rcx]
call qword [rax + 0x140]
mov rax, qword [rbx]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [rax + 0x60]
mov rax, qword [rsp + 0x60]
lea r9, [rsp + 0x20]
mov qword [0x1801072c8], rax
lea r8, [0x18004fe40]
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [rax + 0x48]
mov rcx, qword [0x1801072b0]
lea r9, [0x1801072c0]
mov rdx, qword [rsp + 0x20]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x180107370]
test rax, rax
jne 0x1800065ef
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rbx, qword [rax]
mov r10, rbx
mov r8, qword [r10 + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov r9d, dword [rax + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x1800065d4
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x1800065d4
mov esi, dword [r9 + 0x20]
dec edx
mov r11d, 0x811c9dc5
lea rax, [rsi + rdx*4]
mov ecx, dword [rax + r8]
add rcx, r8
mov al, byte [rcx]
inc rcx
test al, al
je 0x1800065d0
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
mov al, byte [rcx]
inc rcx
test al, al
jne 0x1800065b1
cmp r11d, 0xb652e838
je 0x180006620
test edx, edx
jne 0x180006595
mov rax, qword [r10]
mov r10, rax
cmp rax, rbx
je 0x1800065e6
cmp qword [rax + 0x30], 0
jne 0x180006571
xor eax, eax
mov qword [0x180107370], rax
mov rcx, qword [0x1801072c8]
lea r8, [0x180006360]
mov edx, 0xfffffffc
call rax
mov qword [0x1801072b8], rax
call fcn.180005fe8
mov byte [0x180106312], 0
call fcn.180046090
mov al, 1
jmp 0x18000663c
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdx*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
jmp 0x1800065e8
xor al, al
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.18004c6e0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x18000c3cc
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x18000c426
mov r11b, 0x23
lea rdi, [0x1800c23e0]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x18000c410
cmp rdx, 2
jb 0x18000c410
cmp byte [r10], r11b
jne 0x18000c410
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x18000c3ee
jmp 0x18000c467
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x18000c467
mov r11b, 0x23
lea rdi, [0x1800c23e0]
cmp dl, r11b
jne 0x18000c44b
cmp byte [r10], r11b
jne 0x18000c44b
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x18000c439
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x18000c61c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x18000c655
mov r8d, 0x647
lea rdx, str.C:Users0DesktopFivemimguiimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x18000c65e
and qword [rdi], 0
lea rdx, [0x1800fc088]
mov rcx, rbx
call fcn.18000c478
mov rbx, rax
test rax, rax
je 0x18000c752
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x18000c749
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18000c749
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x18000c749
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18000c749
mov rbp, rsi
cmp rsi, 0xffffffffffffffff
je 0x18000c749
mov rax, qword [0x180106e68]
test rax, rax
je 0x18000c6e6
inc dword [rax + 0x3b0]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x18000c749
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rbp
je 0x18000c736
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180106e68]
test rax, rax
je 0x18000c72b
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18000c752
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x18000c744
mov qword [rdi], rbp
mov rax, rsi
jmp 0x18000c754
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18000e22c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
cmp dword [rcx + 0xc8], 0
mov rbx, rcx
jg 0x18000e25b
mov r8d, 0x6c1
lea rdx, str.C:Users0DesktopFivemimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rdx, dword [rbx + 0xc8]
mov r9d, 4
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rax + rdx*4 - 4]
lea rdx, [rsp + 0x38]
not r8d
movzx eax, byte [rdx]
inc rdx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x1800c23e0]
xor r8d, dword [rax + rcx*4]
sub r9, 1
jne 0x18000e27c
not r8d
mov ecx, r8d
call fcn.18000e580
mov eax, r8d
add rsp, 0x20
pop rbx
ret

Function at 0x18000e2b4
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xc8], 0
mov rdi, rdx
mov rbx, rcx
jg 0x18000e2e7
mov r8d, 0x6c1
lea rdx, str.C:Users0DesktopFivemimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, dword [rbx + 0xc8]
xor edx, edx
mov r8, qword [rbx + 0xd0]
mov rcx, rdi
mov r8d, dword [r8 + rax*4 - 4]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.18000c3cc

Function at 0x18000e310
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180106010]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp dword [rcx + 0xc8], 0
mov rdi, rdx
mov rbx, rcx
jg 0x18000e352
mov r8d, 0x6c1
lea rdx, str.C:Users0DesktopFivemimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm0, dword [rdi]
lea r8, [rsp + 0x20]
subss xmm0, dword [rbx + 0x10]
movss xmm1, dword [rdi + 8]
mov r9d, 0x10
subss xmm1, dword [rbx + 0x10]
movsxd rcx, dword [rbx + 0xc8]
cvttss2si eax, xmm0
movss xmm0, dword [rdi + 4]
subss xmm0, dword [rbx + 0x14]
mov dword [rsp + 0x20], eax
cvttss2si eax, xmm0
movss xmm0, dword [rdi + 0xc]
subss xmm0, dword [rbx + 0x14]
mov dword [rsp + 0x24], eax
cvttss2si eax, xmm1
mov dword [rsp + 0x28], eax
cvttss2si eax, xmm0
mov dword [rsp + 0x2c], eax
mov rax, qword [rbx + 0xd0]
mov edx, dword [rax + rcx*4 - 4]
not edx
movzx eax, byte [r8]
inc r8
movzx ecx, dl
xor rcx, rax
shr edx, 8
lea rax, [0x1800c23e0]
xor edx, dword [rax + rcx*4]
sub r9, 1
jne 0x18000e3b8
not edx
mov ecx, edx
call fcn.18000e580
mov eax, edx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18004c6e0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x1800188c4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x180106010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rax, qword [0x180106e68]
mov dword [rsp + 0x20], ecx
mov rbx, qword [rax + 0x1c10]
cmp dword [rbx + 0xc8], 0
jg 0x18001890e
mov r8d, 0x6c1
lea rdx, str.C:Users0DesktopFivemimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rcx, dword [rbx + 0xc8]
mov r9d, 4
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rsp + 0x20]
not r8d
movzx eax, byte [rcx]
inc rcx
movzx edx, r8b
xor rdx, rax
shr r8d, 8
lea rax, [0x1800c23e0]
xor r8d, dword [rax + rdx*4]
sub r9, 1
jne 0x18001892f
not r8d
lea rdx, [rsp + 0x20]
lea rcx, [rbx + 0xc8]
mov dword [rsp + 0x20], r8d
call fcn.180020a84
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18004c6e0
add rsp, 0x30
pop rbx
ret

Function at 0x18001ed78
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x30f8], 0
lea rbx, [rcx + 0x3100]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18001ee11
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x18001edc9
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.180020de4
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.18000d040
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x30f8]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x180106e59]
movsxd r8, eax
mov rax, qword [rdi + 0x3108]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x18001ee19
mov rcx, rbx
call fcn.18000d040
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18001f6b8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x180106e68]
mov rbx, rcx
and dword [rax + 0x3094], 0
test rcx, rcx
je 0x18001f721
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.18001f72c
lea rdx, [0x1800fc08c]
mov rcx, rbx
mov rdi, rax
call fcn.18000c478
mov rbx, rax
test rax, rax
je 0x18001f721
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18004bd9c
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x18004be00
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x18004bdee
mov r8, qword [rbx]
xor edx, edx
mov r8d, dword [r8 + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18004bde7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x18004bdbb
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x180106e80]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18004be10
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x180106010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
imul rdi, rax, 0x38
add rdi, qword [0x180107510]
mov rdx, qword [rdi]
mov cl, byte [rdi + 0x20]
mov rsi, rdx
lea rbx, [rdx - 5]
and cl, 1
je 0x18004be55
mov rsi, rbx
movzx eax, cl
lea r9, [rsp + 0x20]
test cl, cl
mov r8d, 0x40
cmove rbx, rdx
lea rbp, [rax*2 + 5]
mov rcx, rbx
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18004be88
mov eax, 0xa
jmp 0x18004bed5
mov byte [rbx], 0xe9
mov eax, dword [rdi + 8]
sub eax, esi
sub eax, 5
mov dword [rbx + 1], eax
test byte [rdi + 0x20], 1
je 0x18004bea4
mov rax, qword [rdi]
mov word [rax], 0xf9eb
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [rdi + 0x20], 6
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18004c6e0
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x18004c2e8
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x18004c2ff
cmp r8b, 0x90
je 0x18004c2ff
cmp r8b, 0xcc
jne 0x18004c321
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x18004c31d
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x18004c321
add edx, r10d
cmp edx, r9d
jb 0x18004c30d
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x140002630
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rdi
cmp dword [0x14006cb64], 0
lea rdi, [0x14006cb60]
mov r11d, r8d
mov r9d, edx
mov r10, rcx
jne 0x140002708
mov qword [rsp + 0x10], rbx
xor edx, edx
mov rbx, rdi
nop dword [rax]
mov r8d, edx
lea rbx, [rbx + 4]
and r8d, 1
mov eax, edx
shr eax, 1
neg r8d
and r8d, 0xedb88320
inc edx
xor r8d, eax
mov eax, r8d
shr r8d, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, r8d
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [rbx - 4], eax
cmp edx, 0x100
jb 0x140002660
mov rbx, qword [rsp + 0x10]
not r11d
mov eax, r11d
test r9d, r9d
jle 0x14000273e
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
lea r10, [r10 + 1]
movzx edx, al
xor rdx, rcx
shr eax, 8
xor eax, dword [rdi + rdx*4]
sub r9d, 1
jne 0x140002720
not eax
pop rdi
ret
movzx r9d, byte [r10]
lea r8, [r10 + 1]
test r9b, r9b
je 0x14000277f
nop dword [rax + rax]
cmp r9b, 0x23
jne 0x140002763
cmp byte [r8], r9b
jne 0x140002763
cmp byte [r8 + 1], r9b
cmove eax, r11d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [rdi + rdx*4]
test r9b, r9b
jne 0x140002750
not eax
pop rdi
ret