joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140080946
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [r12 + 0x160]
mov r8, rbx
mov edx, 0xff
call fcn.14001d7a0
lea rcx, [r12 + 0x160]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rdx, [r12 + 0x160]
lea rcx, [r12 + 0x160]
lea eax, [rax + rax + 2]
movsxd r8, eax
mov dword [r12 + 0x360], eax
call fcn.14001d030
mov r11d, dword [r12 + 0x360]
mov rcx, qword [r12 + 0x378]
xor edx, edx
add r11d, 6
add rcx, 8
mov word [rsp + 0x28], dx
mov dword [r12 + 0x364], r11d
mov rax, qword [rcx]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
movzx r8d, si
mov rdx, rbp
call qword [rax]
test eax, eax
je 0x140006054
lea rcx, [r12 + 0x140]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [r12 + 0x140]
sub rax, qword [r12 + 0x138]
pxor xmm0, xmm0
pxor xmm1, xmm1
cvtsi2sd xmm0, qword [r12 + 0x130]
cvtsi2sd xmm1, rax
divsd xmm0, qword [0x14003a880]
mov al, 1
divsd xmm1, xmm0
movsd qword [r12 + 0x128], xmm1
jmp 0x140006056
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r13
pop r12
pop rdi
ret
neg r8b
or qword [rsp + 0x30], r8
mov r8, qword [rsp + 0x58]
je 0x140005f79
call fcn.1400d4e8d

Function at 0x140085ee9
Capabilities:
Encode data using xor

Disassembly:
add dword [rsp + 0x18], 0xfffedb7e
insb byte [rdi], dx
and al, 0x3a
push r14
pop rdi
lea rax, [rax + r13 + 0x4324c852]
push r13
mov ebp, dword [rsp]
call fcn.1400cf307
call 0xe0254935
xchg edx, esp
xor ebp, edi
fist word [rbp - 0x320d2533]
jb 0x140085ec4
test byte [rax + 0x1b], dl
cmp dword [rbp - 0x6d5469ee], 0x78
imul edx, dword [rsi - 0x1839ff25], 0xdee1d98e
adc eax, 0x49532882
sub esi, dword [rcx - 5]
test esi, esp
cdq
rcr byte [rbp - 0xd], 1
push rdx
loopne 0x140085eb9
xchg edx, eax
js 0x140085f84
xchg esi, eax
fild dword [rax]
invalid
sub ebx, esi
sar ah, 1
ja 0x140085ec1
cdq
xchg dword [rbx], edi
out dx, eax
sal ebx, 1
test al, 0xd2
repne stosd dword [rdi], eax
je 0x140085f18
mov word [rax + 0x2d], ss
popfq
fcomp dword [rdx]
xchg esi, eax
xor al, 0xcc
sbb eax, 0xd849661
invalid
invalid
Function at 0x140093b7a
Capabilities:
Get graphical window text

Disassembly:
jb 0x1400abd88
add r10b, 0x92
jge 0x14005956d

Function at 0x1400b9044
Capabilities:
Get system information on windows

Disassembly:
add r12b, 0x5d
movzx r11w, r12w
mov r11, qword [rsp + 8]
cmp r12w, 0x3b9b
movzx r12, r12w
setno r12b
mov r12, qword [rsp + 0x20]
add qword [rsp + 0x18], 0xffffffffbff98b2d
call fcn.1400d0fcb

Function at 0x1400b9084
Capabilities:
Get system information on windows

Disassembly:
not dword [rsp + 0x68]
test r12b, r12b
call fcn.1400b669b

Function at 0x1400b9090
Capabilities:
Get system information on windows

Disassembly:
movabs r14, 0x1cea70c86e6c52b8
lea r14, [r14 + r14*8 + 0x74a8552d]

Function at 0x1400be437
Capabilities:
Encode data using xor

Disassembly:
mov word [rsp + 0x48], 0x5dd2
push rsi
xchg qword [rsp + rsi - 0x5092faa9], rdx
push r13
push r14
movabs r13, 0x116d405411a02865
mov rsi, qword [rsp + 0x40]
seto byte [rsp + 0x48]
neg r12w
mov rbx, qword [rsp + 0x50]
call fcn.14006292b
Function at 0x14028fb3d
Capabilities:
Encode data using xor

Disassembly:
push 0x43660dc5
pushfq
sub byte [rsp + 8], 0x15
call fcn.1402b2863
movsd dword [rdi], dword [rsi]
invalid

Function at 0x1402e62d9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
or bx, bx
sub bx, 0x3c81
mov rbx, qword [rsp + 8]
push qword [rsp]
popfq
lea rsp, [rsp + 0x10]
ret
push rbx
pushfq
movabs rbx, 0x433f444f18f439b8
mov qword [rsp + 0x18], 0x811fd8a
movabs rbx, 0x1d626af216967a23
add qword [rsp + 0x10], 0xfffffffffffff10d
sub bx, bx
jbe 0x1402723c8
push qword [rsp + 0x20]
popfq
lea rsp, [rsp + 0x38]
call fcn.1403f00af
call rax
mov r11, rax
cmc
test r9, r14
test rax, rax
je 0x14031bed9
cmp r11, rsi
jne 0x14031bfde
cmp byte [rsp + 0x180], dil
je 0x14031bfbb
lea rax, [rsp + 0x40]
or dx, bp
btr dx, r15w
sub rbp, rax
nop
lea rdx, [rsp + rdi + 0x40]
mov ecx, edi
btr ax, r13w
mov ah, ah
mov eax, 0x14bd1fe1
stc
rol eax, cl
add al, dil
cmc
cmp spl, 0x8d
clc
xor al, byte [rdx + rbp]
jmp 0x14031bf8c
xor eax, eax
jmp 0x14031bee0
jmp 0x14031c079
mov byte [rdx], al
jmp 0x14031bf93
je 0x14031bfb3
inc rdi
test ax, 0x4399
stc
cmp rdi, 0x104
jmp 0x14031bfad
jb 0x1402e6311
lea rbp, [rsp + 0x40]
setne al
mov rdx, rbp
movzx ecx, r13w
movzx rcx, bx
cbw
mov rcx, rsi
movzx ax, dil
xchg ah, ah
mov rax, qword [0x1402220c0]
jmp 0x1402f4a05
cmp byte [rbx + 1], 0x23
lea rdx, [rbx + 1]
jmp 0x14031bfeb
jne 0x14031c05b
movzx edx, byte [rbx + 2]
jmp 0x14031bffa
add rbx, 2
test al, ch
test dl, dl
jmp 0x14031c007
je 0x14031c055
nop
jmp 0x14031c013
lea eax, [rdx - 0x30]
jmp 0x14031c01b
inc rbx
cmp al, 9
jmp 0x14031c025
ja 0x14031c055
movsx eax, dl
bt dx, 0x4a
movzx edx, byte [rbx]
bts cx, sp
rcl cl, cl
shr ecx, cl
lea ecx, [rdi + rdi*4]
movsx di, spl
and dil, bpl
lea edi, [rax + rcx*2 - 0x30]
test dl, dl
jne 0x14031c013
movsxd rdx, edi
xadd cl, ch
sub r8d, r8d
mov rcx, r11
jmp 0x14031c066
call fcn.14031bb5e
jmp 0x14031c079

Function at 0x140309437
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], 0x2e952011
movabs rsi, 0x5cef7b410cbc26a8
mov rsi, qword [rsp + 8]
jl 0x140309475
add qword [rsp], 0xffffffffbfb9a362
add word [rsp + 0x10], 0x546f
add word [rsp + 0x10], 0x27b6
setb byte [rsp + 0x10]
push qword [rsp + 0x18]
popfq
lea rsp, [rsp + 0x20]
call fcn.14042b44a
cmpsb byte [rsi], byte [rdi]
cmpsb byte [rsi], byte [rdi]
bnd jp 0x1403094db
jp 0x1403094db
imul byte cs:[rsi + 0x5d]
sub esi, ebx
xor esi, ebx
push rsp
add ebp, dword [rcx - 0x47048e1c]
sar word [rdx + 0x337c02ab], 0xee
inc byte [rcx + rsi*4 + 0x1cdd0c3e]
scasd eax, dword [rdi]
ja 0x140309484
mov ebx, 0xaa75ccb3
cmpsd dword [rsi], dword [rdi]
pop rbp
rol ebx, 0xb5
cdq
xor bh, al
cmp ecx, dword [rcx]
mov dl, 0x3e
rol byte [rbp + 0x20], cl
popfq
int3
sbb dword [rbp - 0x3f], eax
invalid

Function at 0x14031a49e
Capabilities:
Encode data using base64
Encrypt data using speck

Disassembly:
push r13
push r9
movabs r9, 0x19d182867940a59
mov rsi, qword [rsp + 0x20]
mov qword [rsp + 0x20], 0x2d748eb5
mov r13, r9
cmp r13w, 0x6f8d
lea r9, [r13 + r9*8 + 0x61fa512c]
call fcn.14022dc54
mov qword [rsp + 0x20], r9
Function at 0x1800046f0
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 0x18000474d
lea rbx, [0x18003e740]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x180004734
cmp r10, 2
jb 0x180004734
cmp byte [r9], r8b
jne 0x180004734
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 0x180004710
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x18000478f
lea rbx, [0x18003e740]
cmp r8b, 0x23
jne 0x180004773
cmp byte [r9], r8b
jne 0x180004773
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 0x180004760
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x180004a00
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 0x180004a2f
mov r8d, 0x599
lea rdx, str.C:UsersKediDesktopToolsProjectsCPHOOK_MAIN___BETAImGui_DirectX_11_Kiero_Hookimguiimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x180004a3b
mov qword [rdi], 0
lea rdx, [0x1800451d0]
mov rcx, rbx
call fcn.1800047a0
mov rbx, rax
test rax, rax
jne 0x180004a5d
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 0x180004b34
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 0x180004b34
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x180004b34
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 0x180004b34
cmp rsi, 0xffffffffffffffff
je 0x180004b34
mov rax, qword [0x18004faf0]
test rax, rax
je 0x180004ad1
inc dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbp, rax
test rax, rax
je 0x180004b34
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 0x180004b21
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x18004faf0]
test rax, rax
je 0x180004b16
dec dword [rax + 0x3bc]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180004b3d
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x180004b2f
mov qword [rdi], rsi
mov rax, rbp
jmp 0x180004b3f
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 0x180006c80
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xc0], 0
mov rbx, rcx
mov edi, edx
jg 0x180006cb6
mov r8d, 0x502
lea rdx, str.C:UsersKediDesktopToolsProjectsCPHOOK_MAIN___BETAImGui_DirectX_11_Kiero_Hookimguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd r8, dword [rbx + 0xc0]
mov rax, qword [rbx + 0xc8]
mov edx, dword [rax + r8*4 - 4]
lea r8, [0x18003e740]
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 [0x18004faf0]
xor edx, dword [r8 + rcx*4]
not edx
cmp dword [rax + 0x1a60], edx
jne 0x180006d30
mov dword [rax + 0x1a64], edx
cmp dword [rax + 0x1a9c], edx
jne 0x180006d3f
mov byte [rax + 0x1aa0], 1
mov rbx, qword [rsp + 0x30]
mov eax, edx
add rsp, 0x20
pop rdi
ret
Function at 0x1800099e0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
cmp byte [rcx], 0
mov rbx, rcx
jne 0x1800099fb
cmp byte [rcx + 0x2ef4], 0
je 0x180009a15
mov r8d, 0xed0
lea rdx, str.C:UsersKediDesktopToolsProjectsCPHOOK_MAIN___BETAImGui_DirectX_11_Kiero_Hookimguiimgui.cpp
lea rcx, str._g.Initialized___g.SettingsLoaded
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xor eax, eax
lea r8, [0x180043839]
mov dword [rsp + 0x2c], eax
lea r11, [0x18003e740]
mov qword [rsp + 0x48], rax
mov r10d, 0xffffffff
lea rax, str.Window
mov edx, r10d
mov qword [rsp + 0x20], rax
mov r9b, 0x57
cmp r9b, 0x23
jne 0x180009a59
cmp byte [r8], r9b
jne 0x180009a59
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x180009a46
mov ecx, dword [rbx + 0x2f14]
lea rax, [0x180017260]
mov edi, dword [rbx + 0x2f10]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x1800172e0]
mov qword [rsp + 0x38], rax
lea rax, [0x1800173c0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x180009b5f
inc edi
test ecx, ecx
je 0x180009ac5
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180009aca
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x180009b5f
mov rax, qword [0x18004faf0]
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rsi
test rax, rax
je 0x180009af3
inc dword [rax + 0x3bc]
movsxd rax, edi
lea rcx, [rax + rax*2]
shl rcx, 4
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, qword [rbx + 0x2f18]
mov rbp, rax
test rsi, rsi
je 0x180009b48
movsxd rcx, dword [rbx + 0x2f10]
mov rdx, rsi
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 4
call fcn.18003d0fa
mov rax, qword [0x18004faf0]
test rax, rax
je 0x180009b3f
dec dword [rax + 0x3bc]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [rsp + 0x68]
mov qword [rbx + 0x2f18], rbp
mov rbp, qword [rsp + 0x60]
mov dword [rbx + 0x2f14], edi
movsxd rax, dword [rbx + 0x2f10]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x2f18]
add rcx, rcx
movups xmmword [rax + rcx*8], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movups xmmword [rax + rcx*8 + 0x20], xmm0
inc dword [rbx + 0x2f10]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x18000b150
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x18000b1a0
lea r11, [0x18003e740]
nop dword [rax]
cmp r9b, 0x23
jne 0x18000b183
cmp byte [r8], r9b
jne 0x18000b183
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18000b170
mov rcx, qword [0x18004faf0]
not eax
movsxd rdx, dword [rcx + 0x1a00]
mov r9, qword [rcx + 0x1a08]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x18000b201
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x18000b1f9
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x18000b1fc
mov rdx, r8
test rdx, rdx
jne 0x18000b1d0
cmp r9, r10
je 0x18000b210
cmp dword [r9], eax
jne 0x18000b210
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x180010ec0
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rax, qword [0x18004faf0]
mov rsi, rcx
mov rbx, qword [rax + 0x1a18]
add rbx, 0xc0
cmp dword [rbx], 0
jg 0x180010f0b
mov r8d, 0x502
lea rdx, str.C:UsersKediDesktopToolsProjectsCPHOOK_MAIN___BETAImGui_DirectX_11_Kiero_Hookimguiimgui.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, [0x18003e740]
mov rax, qword [rbx + 8]
mov edi, dword [rax + rdx*4 - 4]
not edi
movzx eax, sil
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x34]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x35]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x36]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x37]
xor edi, dword [r8 + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [r8 + rcx*4]
mov r8d, dword [rbx + 4]
not edi
cmp edx, r8d
jne 0x180010fea
lea ecx, [rdx + 1]
test r8d, r8d
je 0x180010fd6
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x180010fdb
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.1800183c0
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov rsi, qword [rsp + 0x40]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x180016860
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rdx
mov qword [rax + 0x18], r8
mov qword [rax + 0x20], r9
push rbx
sub rsp, 0x40
mov rbx, qword [0x18004faf0]
cmp byte [rbx + 0x2f30], 0
je 0x18001694c
cmp qword [rbx + 0x2f38], 0
mov qword [rax - 0x18], rsi
lea rsi, [rax + 0x10]
mov qword [rax - 0x20], rdi
lea rdi, [rbx + 0x2f40]
je 0x180016934
mov r9d, dword [rdi + 4]
mov qword [rax - 0x10], rbp
xor ebp, ebp
test r9d, r9d
jns 0x1800168db
mov eax, r9d
mov rcx, rdi
cdq
sub eax, edx
mov edx, ebp
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.1800181f0
mov rcx, qword [rsp + 0x50]
mov rdx, rcx
mov dword [rdi], ebp
mov rcx, rdi
mov r8, rsi
call fcn.180005060
mov eax, dword [rdi]
lea rcx, [0x18004fae8]
mov r9, qword [rbx + 0x2f38]
test eax, eax
lea edx, [rax - 1]
mov rax, qword [rbx + 0x2f48]
cmove edx, ebp
test rax, rax
movsxd r8, edx
mov edx, 1
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
mov rdx, rcx
mov r8, rsi
mov rcx, rdi
call fcn.180005060
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
add rsp, 0x40
pop rbx
ret
Function at 0x180017110
Capabilities:
Write file on windows

Disassembly:
push rbp
push rdi
push r15
sub rsp, 0x20
mov rdi, qword [0x18004faf0]
xor r15d, r15d
mov rbp, rcx
mov dword [rdi + 0x2ef8], r15d
test rcx, rcx
je 0x180017252
mov qword [rsp + 0x40], rbx
lea rbx, [rdi + 0x2f00]
mov dword [rdi + 0x2ef8], r15d
mov ecx, dword [rbx + 4]
mov qword [rsp + 0x48], rsi
test ecx, ecx
jns 0x18001716e
mov eax, ecx
cdq
sub eax, edx
mov edx, r15d
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.1800181f0
mov dword [rbx], r15d
cmp dword [rbx + 4], r15d
jne 0x180017184
mov edx, 8
mov rcx, rbx
call fcn.1800181f0
movsxd rcx, dword [rbx]
mov esi, r15d
mov rax, qword [rbx + 8]
mov byte [rcx + rax], r15b
inc dword [rbx]
mov eax, dword [rdi + 0x2f10]
test eax, eax
jle 0x1800171f1
mov qword [rsp + 0x50], r14
mov r14, r15
cmp r15d, eax
jl 0x1800171c5
mov r8d, 0x4f8
lea rdx, str.C:UsersKediDesktopToolsProjectsCPHOOK_MAIN___BETAImGui_DirectX_11_Kiero_Hookimguiimgui.h
lea rcx, str.i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r9, qword [rdi + 0x2f18]
mov r8, rbx
add r9, r14
mov rcx, rdi
mov rdx, r9
call qword [r9 + 0x20]
mov eax, dword [rdi + 0x2f10]
inc esi
add r14, 0x30
cmp esi, eax
jl 0x1800171c5
mov r14, qword [rsp + 0x50]
mov eax, dword [rbx]
lea rdx, [0x180045240]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x2f08]
cmove ecx, r15d
lea rdi, [0x18004fae8]
test rax, rax
movsxd rsi, ecx
mov rcx, rbp
cmovne rdi, rax
call fcn.1800047a0
mov rbx, rax
test rax, rax
je 0x180017248
mov r9, rax
mov r8, rsi
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 + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbp
ret
Function at 0x180022d20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, 0xff000000
je 0x180022eb1
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
movss xmm3, dword [rsp + 0x70]
xorps xmm0, xmm0
comiss xmm3, xmm0
mov edi, r9d
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
jbe 0x180022d90
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x20], eax
call fcn.180022740
mov r8d, dword [rbx + 0x80]
mov r9d, edi
mov rdx, qword [rbx + 0x88]
mov rcx, rbx
call fcn.180021da0
mov dword [rbx + 0x80], 0
jmp 0x180022e9d
mov edx, 6
movaps xmmword [rsp + 0x30], xmm6
lea r8d, [rdx - 2]
call fcn.180020c60
movzx edx, word [rbx + 0x4c]
mov rax, qword [rbx + 0x38]
movss xmm1, dword [rsi]
movss xmm2, dword [rbp + 4]
movss xmm3, dword [rbp]
lea ecx, [rdx + 1]
movss xmm6, dword [rax + 4]
movss xmm5, dword [rax]
movss xmm4, dword [rsi + 4]
mov rax, qword [rbx + 0x58]
mov word [rax], dx
mov rax, qword [rbx + 0x58]
mov word [rax + 2], cx
lea ecx, [rdx + 2]
mov rax, qword [rbx + 0x58]
mov word [rax + 4], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 6], dx
add dx, 3
mov rax, qword [rbx + 0x58]
mov word [rax + 8], cx
mov rax, qword [rbx + 0x58]
mov word [rax + 0xa], dx
movsd xmm0, qword [rbp]
mov rax, qword [rbx + 0x50]
movsd qword [rax], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 8], xmm5
movss dword [rax + 0xc], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x10], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x14], xmm1
movss dword [rax + 0x18], xmm2
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x1c], xmm5
movss dword [rax + 0x20], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x24], edi
movsd xmm0, qword [rsi]
mov rax, qword [rbx + 0x50]
movsd qword [rax + 0x28], xmm0
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x30], xmm5
movss dword [rax + 0x34], xmm6
mov rax, qword [rbx + 0x50]
mov dword [rax + 0x38], edi
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x3c], xmm3
movss dword [rax + 0x40], xmm4
mov rax, qword [rbx + 0x50]
movss dword [rax + 0x44], xmm5
movss dword [rax + 0x48], xmm6
mov rax, qword [rbx + 0x50]
movaps xmm6, xmmword [rsp + 0x30]
mov dword [rax + 0x4c], edi
add qword [rbx + 0x50], 0x50
add dword [rbx + 0x4c], 4
add qword [rbx + 0x58], 0xc
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1800387d0
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x18004f028]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
cmp rdi, 0x40000000
jbe 0x18003881f
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x180053580]
lea r15, [rdi + 0x40000000]
cmp rcx, r15
cmovbe r15, rcx
sub r15, 0xfff
test rsi, rsi
je 0x18003885d
cmp rsi, r14
jb 0x180038855
cmp rsi, r15
jae 0x180038855
cmp qword [rsi + 8], 0
jne 0x180038a27
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180038840
mov qword [rsp + 0xc8], rbx
mov rbx, rdi
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0x90], r12
mov r12d, 0x40
cmp rdi, r14
jb 0x1800388f2
nop dword [rax]
nop word [rax + rax]
mov ebp, dword [rsp + 0x78]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x1800388e9
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800388e9
cmp dword [rsp + 0x40], 0x10000
je 0x18003896b
mov rbx, qword [rsp + 0x28]
cmp rbx, rbp
jb 0x1800388e9
sub rbx, rbp
cmp rbx, r14
jae 0x1800388b0
test rsi, rsi
jne 0x1800389d0
cmp rdi, r15
ja 0x180038a0f
nop dword [rax + rax]
mov ebp, dword [rsp + 0x78]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x180038a0f
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180038a0f
cmp dword [rsp + 0x40], 0x10000
je 0x1800389a1
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x38]
add rdi, qword [rsp + 0x20]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x180038922
jmp 0x180038a0f
test rbx, rbx
je 0x1800388e9
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1800389d0
cmp rbx, r14
jae 0x180038890
jmp 0x1800388f2
test rdi, rdi
je 0x180038a0f
mov r9d, r12d
mov edx, 0x1000
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x1800389d0
cmp rdi, r15
jbe 0x180038900
jmp 0x180038a0f
xor edx, edx
lea rcx, [rsi + 0x40]
mov dword [rsi + 0x10], edx
nop dword [rax]
mov qword [rcx], rdx
mov rax, rcx
mov qword [rsi + 8], rcx
add r12, 0x40
add rcx, 0x40
mov rdx, rax
cmp r12, 0xfc0
jbe 0x1800389e0
mov rax, qword [0x180053580]
mov qword [rsi], rax
mov qword [0x180053580], rsi
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xd0]
mov rbx, qword [rsp + 0xc8]
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.18003bfa0
add rsp, 0x98
pop r15
pop r14
pop rdi
pop rsi
ret