joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18006b530
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov esi, edx
mov ebx, r15d
xor eax, eax
mov rdi, rcx
mov ebp, 1
lock cmpxchg dword [0x18014a564], ebp
je 0x18006b587
cmp rbx, 0x20
jae 0x18006b570
xor ecx, ecx
jmp 0x18006b572
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_Sleep]
inc rbx
xor eax, eax
lock cmpxchg dword [0x18014a564], ebp
jne 0x18006b566
cmp qword [0x18014a770], r15
je 0x18006b681
test rdi, rdi
jne 0x18006b5a7
mov ecx, esi
call fcn.18006b050
mov edi, eax
jmp 0x18006b686
mov ecx, dword [0x18014b9dc]
mov ebx, r15d
test ecx, ecx
je 0x18006b5cf
mov rdx, qword [0x18014b9d0]
mov rax, rdx
nop
cmp rdi, qword [rax]
je 0x18006b5d9
inc ebx
add rax, 0x38
cmp ebx, ecx
jb 0x18006b5c0
mov edi, 4
jmp 0x18006b686
cmp ebx, 0xffffffff
je 0x18006b5cf
mov eax, ebx
imul rcx, rax, 0x38
movzx eax, byte [rcx + rdx + 0x20]
shr eax, 1
and eax, ebp
cmp eax, esi
je 0x18006b678
mov r8d, ebp
lea rcx, [rsp + 0x20]
mov edx, ebx
call fcn.18006ae60
mov edi, eax
test eax, eax
jne 0x18006b686
mov edx, esi
mov ecx, ebx
call fcn.18006af40
mov edi, eax
cmp qword [rsp + 0x20], r15
je 0x18006b686
mov eax, dword [rsp + 0x2c]
test eax, eax
je 0x18006b662
mov rbx, qword [rsp + 0x20]
mov ebp, eax
nop dword [rax + rax]
mov r8d, dword [rbx]
xor edx, edx
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18006b658
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rbx, 4
sub rbp, 1
jne 0x18006b630
mov r8, qword [rsp + 0x20]
xor edx, edx
mov rcx, qword [0x18014a770]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x18006b686
neg esi
sbb edi, edi
add edi, 6
jmp 0x18006b686
mov edi, 2
xchg dword [0x18014a564], r15d
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop r15
ret
Function at 0x180095f70
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
sub rsp, 0xe8
mov rax, qword [0x180120040]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov ecx, dword [0x180148094]
cmp dword [0x18014a598], ecx
cmovg ecx, dword [0x18014a598]
test ecx, ecx
js 0x180095fbb
lea r9, str.GetProcessWindow_calledK...
mov r8d, 0x49
lea rdx, str.C:UsersTOTOMAN2_source_reposWOLF2_QOLS_PUBLICImGuiutilsutils.cpp
xor ecx, ecx
call fcn.1800aa8b0
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], 0
lea rcx, [0x180095ef0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
jne 0x180096125
mov qword [rsp + 0xf0], rbx
mov qword [rsp + 0xf8], rbp
movabs rbp, 0x7fffffffffffffff
mov qword [rsp + 0x100], rsi
movabs rsi, 0x431bde82d7b634db
mov qword [rsp + 0x108], rdi
movabs rdi, 0x4e94914effff
mov qword [rsp + 0xe0], r14
movabs r14, 0x7ffffffff4143dfe
lea rdx, [rsp + 0x30]
lea rcx, [0x180095ef0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [0x180148094]
cmp dword [0x18014a598], ecx
cmovg ecx, dword [0x18014a598]
test ecx, ecx
js 0x180096078
lea r9, str.____Waiting_for_window_to_appear._n
mov r8d, 0x4f
lea rdx, str.C:UsersTOTOMAN2_source_reposWOLF2_QOLS_PUBLICImGuiutilsutils.cpp
xor ecx, ecx
call fcn.1800aa8b0
lea rcx, [rsp + 0x38]
call fcn.180009f30
mov rax, qword [rsp + 0x38]
lea rbx, [rax + 0xbebc200]
cmp rax, r14
jle 0x180096096
mov rbx, rbp
lea rcx, [rsp + 0x40]
call fcn.180009f30
mov rax, qword [rsp + 0x40]
cmp rbx, rax
je 0x1800960ef
jl 0x1800960ef
mov rcx, rbx
sub rcx, rax
cmp rcx, rdi
jg 0x1800960e3
mov rax, rsi
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul rax, rdx, 0xf4240
cmp rax, rcx
jge 0x1800960da
inc rdx
mov ecx, edx
call sub.KERNEL32.dll_Sleep
jmp 0x180096096
mov ecx, 0x5265c00
call sub.KERNEL32.dll_Sleep
jmp 0x180096096
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x180096034
mov r14, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0x108]
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rbx, qword [rsp + 0xf0]
mov r8d, 0x80
lea rdx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [0x180148094]
cmp dword [0x18014a598], ecx
cmovg ecx, dword [0x18014a598]
test ecx, ecx
js 0x180096172
lea rax, [rsp + 0x50]
mov r8d, 0x55
lea r9, str.Got_window_with_name:__s_n
mov qword [rsp + 0x20], rax
lea rdx, str.C:UsersTOTOMAN2_source_reposWOLF2_QOLS_PUBLICImGuiutilsutils.cpp
xor ecx, ecx
call fcn.1800aa8b0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.1800acfe0
add rsp, 0xe8
ret
Function at 0x1800a5d50
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x1800a5da1
mov qword [0x18014a888], rcx
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
mov r9, qword [0x18014a888]
lea r8, [0x1800a4af0]
xor eax, eax
mov dword [0x18014aeb8], 6
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1800a5da1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x38
ret
Function at 0x1800ac2a0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x180120040]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbp, rdx
mov rsi, rcx
mov ecx, 0x104
call fcn.1800ad7c4
mov rdi, rax
mov qword [rsp + 0x40], rax
mov edx, 0x104
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rdi + r8], 0
jne 0x1800ac310
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.180002e20
nop
mov ecx, 0x104
call fcn.1800ad7c4
mov r14, rax
mov qword [rsp + 0x48], rax
cmp qword [rsi + 0x18], 0xf
jbe 0x1800ac344
mov rsi, qword [rsi]
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova rdx, qword [rsp + 0x20]
mov r8, rsi
mov rcx, r14
call qword [sym.imp.SHLWAPI.dll_PathCombineA]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800ac361
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.180005450
nop
mov rcx, r14
call fcn.1800ad3b4
test rbp, rbp
je 0x1800ac3b0
lea rax, [rsp + 0x20]
cmp rbp, rax
je 0x1800ac3b0
lea rdx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova rdx, qword [rsp + 0x20]
mov r8, qword [rsp + 0x30]
mov rcx, rbp
call fcn.180005450
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0xf
cmova rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
mov rdx, qword [rsp + 0x38]
cmp rdx, 0xf
jbe 0x1800ac40a
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800ac405
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800ac405
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ad3b4
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0xf
mov byte [rsp + 0x20], 0
mov rcx, rdi
call fcn.1800ad3b4
mov rax, rbx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1800acfe0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x1800ac814
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 0x1800ac84e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800ac853
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 0x1800ac89c
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1800b50f0]
cmp byte [rcx + rax], 0
je 0x1800ac89c
dec r8
sub rdx, 1
jne 0x1800ac882
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x180003744
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x180066040]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rdi, rdx
mov rbp, rcx
mov rcx, r8
mov rax, 0xfffffffffffff000
and rcx, rax
mov rsi, r8
mov qword [rdx], rcx
mov rdx, r8
sub rdx, rcx
lea r9, [rdi + 0x10]
add rdx, 0x1004
mov r8d, 0x40
and rdx, rax
mov qword [rdi + 8], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1800037ce
mov r9, qword [rdi + 8]
lea rdx, str.__unprotect_memory__p__size_llu______p__size_llu__n
mov r8, qword [rdi]
mov rcx, rbp
mov qword [rsp + 0x28], 5
mov qword [rsp + 0x20], rsi
call fcn.180002da0
xor eax, eax
jmp 0x18000381b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, [rsp + 0x40]
call fcn.180003450
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, qword [rdi + 8]
lea rdx, str.Failed_to_unprotect_memory__p__size_llu______p__size_llu__error_lu__s__
mov r8, qword [rdi]
mov rcx, rbp
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], 5
mov qword [rsp + 0x20], rsi
call fcn.180002dc8
mov eax, 9
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.18003f620
mov rbx, qword [rsp + 0x108]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret

Function at 0x180008080
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 0x1800080da
mov r11b, 0x23
lea rdi, [0x1800490f0]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x1800080c4
cmp rdx, 2
jb 0x1800080c4
cmp byte [r10], r11b
jne 0x1800080c4
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 0x1800080a2
jmp 0x18000811b
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x18000811b
mov r11b, 0x23
lea rdi, [0x1800490f0]
cmp dl, r11b
jne 0x1800080ff
cmp byte [r10], r11b
jne 0x1800080ff
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 0x1800080ed
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x180008250
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 rsi, r8
test r8, r8
je 0x180008270
and qword [r8], 0
lea rdx, [0x18004f038]
call fcn.18000812c
mov rbx, rax
test rax, rax
je 0x180008361
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x180008358
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 0x180008358
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x180008358
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 0x180008358
mov rbp, rdi
cmp rdi, 0xffffffffffffffff
je 0x180008358
mov rax, qword [0x180069c00]
test rax, rax
je 0x1800082f5
inc dword [rax + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
je 0x180008358
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 0x180008345
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180069c00]
test rax, rax
je 0x18000833a
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x180008361
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x180008353
mov qword [rsi], rbp
mov rax, rdi
jmp 0x180008363
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 0x18000af78
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x180066040]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rax, qword [rcx + 0xf8]
mov r8, rdx
mov qword [rsp + 0x20], rdx
mov r9, rcx
movsxd rdx, dword [rcx + 0xf0]
mov r10d, 8
mov ebx, dword [rax + rdx*4 - 4]
lea rdx, [rsp + 0x20]
not ebx
movzx eax, byte [rdx]
inc rdx
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x1800490f0]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x18000afb7
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x1210], ebx
jne 0x18000afee
lea edx, [r10 + 0xc]
mov ecx, ebx
call fcn.18001b33c
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18003f620
add rsp, 0x30
pop rbx
ret
Function at 0x18000b004
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x180066040]
xor rax, rsp
mov qword [rsp + 0x28], rax
movsxd r8, dword [rcx + 0xf0]
mov r11d, 4
mov rax, qword [rcx + 0xf8]
mov r9, rcx
mov dword [rsp + 0x20], edx
mov r10d, r11d
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x20]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x1800490f0]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x18000b043
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x1210], ebx
jne 0x18000b07d
movsxd r8, edx
mov ecx, ebx
mov edx, r11d
call fcn.18001b33c
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18003f620
add rsp, 0x30
pop rbx
ret

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

Disassembly:
sub rsp, 0x28
mov rax, qword [0x180066040]
xor rax, rsp
mov qword [rsp + 0x10], rax
movss xmm2, dword [rcx + 0x110]
lea r9, [rsp]
movss xmm3, dword [rcx + 0x114]
mov r10d, 0x10
movss xmm0, dword [rdx]
movss xmm1, dword [rdx + 4]
subss xmm0, xmm2
mov rax, qword [rcx + 0xf8]
subss xmm1, xmm3
movsxd rcx, dword [rcx + 0xf0]
movss dword [rsp], xmm0
movss xmm0, dword [rdx + 8]
mov r8d, dword [rax + rcx*4 - 4]
subss xmm0, xmm2
movss dword [rsp + 4], xmm1
not r8d
movss xmm1, dword [rdx + 0xc]
subss xmm1, xmm3
movss dword [rsp + 8], xmm0
movss dword [rsp + 0xc], xmm1
movzx ecx, byte [r9]
lea rax, [0x1800490f0]
movzx edx, r8b
inc r9
xor rdx, rcx
shr r8d, 8
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x18000b111
not r8d
mov eax, r8d
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.18003f620
add rsp, 0x28
ret
Function at 0x18001a03c
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 + 0x2f40], 0
lea rbx, [rcx + 0x2f48]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18001a0d5
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x18001a08d
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.18001c274
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.180008bf8
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x2f40]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x180069bf8]
movsxd r8, eax
mov rax, qword [rdi + 0x2f50]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x18001a0dd
mov rcx, rbx
call fcn.180008bf8
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18001a790
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x180069c00]
mov rbx, rcx
and dword [rax + 0x2ea4], 0
test rcx, rcx
je 0x18001a7f9
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.18001a804
lea rdx, [0x18004f03c]
mov rcx, rbx
mov rdi, rax
call fcn.18000812c
mov rbx, rax
test rax, rax
je 0x18001a7f9
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 0x180036afc
Capabilities:
Create thread
Set console window title

Disassembly:
push rbx
sub rsp, 0x30
cmp edx, 1
jne 0x180036b82
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
call qword [sym.imp.KERNEL32.dll_AllocConsole]
lea rcx, str.cs2cheat_debug_console
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov ecx, 1
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9, rbx
lea r8, [0x18004fac0]
mov rcx, rax
lea rdx, str.CONOUT_
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
and qword [rsp + 0x28], 0
lea r8, [0x1800367b4]
and dword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x180036baa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180036baa
test edx, edx
jne 0x180036baa
test r8, r8
jne 0x180036baa
call fcn.18003694c
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x180039e68
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
cmp byte [rcx], 0
je 0x180039e86
movsx eax, byte [rcx]
xor eax, edx
imul edx, eax, 0x1000193
inc rcx
call fcn.180039e68
mov edx, eax
mov eax, edx
add rsp, 0x28
ret
Function at 0x18003b838
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
xor r8d, r8d
xor edx, edx
mov ecx, 0x208
call fcn.180013b4c
test al, al
je 0x18003b882
and qword [rsp + 0x28], 0
lea r9, [0x180000000]
and dword [rsp + 0x20], 0
lea r8, [0x18003652c]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18003b882
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [0x180069c00]
xor r8d, r8d
xor edx, edx
mov ecx, 0x209
mov dword [rbx + 8], 0x20
call fcn.180013b4c
test al, al
je 0x18003b8b2
cmp byte [0x180069c68], 0
sete cl
call fcn.180037494
cmp byte [0x180069c68], 0
je 0x18003b924
and dword [rbx + 8], 0
xor ecx, ecx
call qword [0x180069dc0]
movss xmm2, dword [rbx + 0x10]
mov ecx, 0x3f000000
movss xmm1, dword [rbx + 0x14]
mov rax, qword [0x180069c00]
mulss xmm2, dword [0x180060f70]
mulss xmm1, dword [0x180060f70]
or dword [rax + 0x1aa0], 1
movss dword [rax + 0x1ab0], xmm2
mov dword [rax + 0x1ab8], ecx
movss dword [rax + 0x1ab4], xmm1
mov dword [rax + 0x1abc], ecx
mov dword [rax + 0x1aa4], 2
call fcn.18003752c
call fcn.180012b9c
add rsp, 0x30
pop rbx
ret

Function at 0x18003da60
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
mov r9, rcx
xor r8d, r8d
mov rcx, qword [rcx + 0x80]
mov r10b, dl
cmp byte [rcx], r8b
je 0x18003dab6
movsx eax, byte [rcx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
inc rcx
call fcn.180039e68
cmp eax, 0xf102793d
jne 0x18003dab6
test r10b, r10b
je 0x18003daab
mov eax, 0x1f4
cmp word [r9 + 0x10], ax
setae r8b
jmp 0x18003dab1
mov r8d, 1
mov al, r8b
jmp 0x18003dab8
xor al, al
add rsp, 0x28
ret

Function at 0x18003dac0
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
mov r8, rcx
mov r9b, dl
mov rcx, qword [rcx + 0x80]
cmp byte [rcx], 0
je 0x18003db16
movsx eax, byte [rcx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
inc rcx
call fcn.180039e68
cmp eax, 0x1c826fb7
jne 0x18003db16
movzx ecx, word [r8 + 0x10]
mov eax, 0x13a4
sub cx, ax
mov eax, 1
cmp cx, ax
seta cl
test r9b, r9b
movzx edx, cl
cmovne eax, edx
jmp 0x18003db18
xor al, al
add rsp, 0x28
ret
Function at 0x18003e418
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x30
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
jbe 0x18003e451
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov rbx, qword [rsi + 8]
lea rax, [rdx - 1]
or rax, 1
mov edi, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.18003e2e4
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18003e563
mov rcx, qword [rcx]
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx edx, byte [r9 + rax + 0x10]
movabs r10, 0x100000001b3
xor r8, rdx
inc r9
imul r8, r10
cmp r9, 4
jb 0x18003e4aa
mov r11, qword [rsi + 0x30]
mov rdi, qword [rsi + 0x18]
and r11, r8
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x18003e4e9
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x18003e557
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x18003e52c
mov r10, qword [r10]
cmp r10, rax
je 0x18003e4e2
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18003e4e2
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x18003e581
cmp qword [rdi + r11*8], r10
jne 0x18003e522
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
jne 0x18003e49a
and qword [rsp + 0x20], 0
lea rcx, [rsp + 0x20]
call fcn.18003e5a8
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18003e557
Function at 0x18003e664
Capabilities:
Encode data using xor
Hash data using fnv

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
sub rsp, 0x40
mov rsi, r8
mov r13, rdx
mov r12, rcx
cmp rdx, r8
je 0x18003e725
mov rax, qword [rcx + 8]
mov rdi, rdx
mov rbp, qword [rcx + 0x18]
movabs r15, 0xcbf29ce484222325
mov r14, qword [rdx + 8]
xor ecx, ecx
mov qword [rsp + 0x20], rax
movabs rdx, 0x100000001b3
movzx eax, byte [rcx + r13 + 0x10]
inc rcx
xor r15, rax
imul r15, rdx
cmp rcx, 4
jb 0x18003e6bc
and r15, qword [r12 + 0x30]
add r15, r15
mov rax, qword [rbp + r15*8]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + r15*8 + 8]
mov qword [rsp + 0x28], rax
mov rcx, rdi
mov rbx, rdi
mov rdi, qword [rdi]
mov edx, 0x18
call fcn.18003f88c
dec qword [r12 + 0x10]
cmp rbx, qword [rsp + 0x28]
je 0x18003e746
cmp rdi, rsi
jne 0x18003e6ee
cmp qword [rsp + 0x30], r13
jne 0x18003e71e
mov qword [rbp + r15*8], rdi
mov qword [r14], rdi
mov qword [rdi + 8], r14
lea r11, [rsp + 0x40]
mov rax, rsi
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
cmp qword [rsp + 0x30], r13
jne 0x18003e75c
mov r13, qword [rsp + 0x20]
mov qword [rbp + r15*8], r13
mov rax, r13
jmp 0x18003e75f
mov rax, r14
mov qword [rbp + r15*8 + 8], rax
jmp 0x18003e7de
movabs rcx, 0xcbf29ce484222325
xor edx, edx
movabs r13, 0x100000001b3
movzx eax, byte [rdi + rdx + 0x10]
inc rdx
xor rcx, rax
imul rcx, r13
cmp rdx, 4
jb 0x18003e77c
mov r15, qword [r12 + 0x30]
mov r13, qword [rsp + 0x20]
and r15, rcx
add r15, r15
mov rax, qword [rbp + r15*8 + 8]
mov qword [rsp + 0x28], rax
mov rcx, rdi
mov rbx, rdi
mov rdi, qword [rdi]
mov edx, 0x18
call fcn.18003f88c
dec qword [r12 + 0x10]
cmp rbx, qword [rsp + 0x28]
je 0x18003e7d4
cmp rdi, rsi
jne 0x18003e7ab
jmp 0x18003e719
mov qword [rbp + r15*8], r13
mov qword [rbp + r15*8 + 8], r13
cmp rdi, rsi
jne 0x18003e766
jmp 0x18003e71e