joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1401c19e0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rcx + 0x10]
cmp r15, qword [rcx + 0x18]
je 0x1401c1a1f
test r15, r15
je 0x1401c1b0d
mov rax, qword [rdi]
mov qword [r15], rax
add qword [rsi + 0x10], 8
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r14, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r14
jbe 0x1401c1a69
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r14, [rax + rcx]
inc r14
shr r14, 1
shl r14, 3
mov rcx, rbx
sub rcx, r14
mov r8, r15
sub r8, rbx
mov rdx, rbx
call fcn.14014f780
sub r15, r14
mov qword [rsi + 0x10], r15
sub qword [rsi + 8], r14
jmp 0x1401c19fd
mov rax, r15
sub rax, r14
sar rax, 2
cmp r15, r14
mov r12d, 1
cmovne r12, rax
mov rax, r12
shr rax, 0x3d
jne 0x1401c1b39
lea rcx, [r12*8]
call fcn.14014c3b0
mov rcx, r12
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, rcx
sub r15, rbx
je 0x1401c1add
mov r8, r15
sar r8, 3
and r15, 0xfffffffffffffff8
mov rdx, r15
add rdx, rcx
shl r8, 3
xor r9d, r9d
mov r10, rcx
add r10, r9
je 0x1401c1b0d
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp r8, r9
jne 0x1401c1ac5
lea r8, [rax + r12*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
mov qword [rsi + 0x18], r8
mov r15, rdx
test r14, r14
je 0x1401c19fd
mov rcx, r14
call fcn.14014c3ec
mov r15, qword [rsi + 0x10]
jmp 0x1401c19fd
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x23
call fcn.14018a2b0
call fcn.140189a80
int3
Function at 0x1401c1b40
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rcx + 8]
cmp rbx, qword [rcx]
je 0x1401c1b82
mov r14, rbx
add r14, 0xfffffffffffffff8
je 0x1401c1c79
mov rax, qword [rdi]
mov qword [r14], rax
add qword [rsi + 8], 0xfffffffffffffff8
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r15, qword [rsi + 0x10]
mov rax, qword [rsi + 0x18]
cmp r15, rax
jae 0x1401c1bd4
sub rax, r15
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r12, [rax + rcx]
inc r12
sar r12, 1
lea r14, [r15 + r12*8]
sub r15, rbx
je 0x1401c1bc6
sub r14, r15
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.14014f780
mov rbx, qword [rsi + 0x10]
mov qword [rsi + 8], r14
lea rax, [rbx + r12*8]
mov qword [rsi + 0x10], rax
jmp 0x1401c1b5f
mov rcx, rax
sub rcx, rbx
sar rcx, 2
cmp rax, rbx
mov r12d, 1
cmovne r12, rcx
mov rax, r12
shr rax, 0x3d
jne 0x1401c1ca5
lea rcx, [r12*8]
call fcn.14014c3b0
lea r14, [r12 + r12]
add r14, 6
and r14, 0xfffffffffffffff8
add r14, rax
mov rcx, r14
sub r15, rbx
je 0x1401c1c4c
mov rdx, r15
sar rdx, 3
and r15, 0xfffffffffffffff8
mov rcx, r15
add rcx, r14
shl rdx, 3
xor r8d, r8d
mov r9, r14
add r9, r8
je 0x1401c1c79
mov r10, qword [rbx + r8]
mov qword [r9], r10
add r8, 8
cmp rdx, r8
jne 0x1401c1c34
lea rdx, [rax + r12*8]
mov qword [rsi], rax
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rdx
test rbx, rbx
je 0x1401c1b5f
mov rcx, rbx
call fcn.14014c3ec
mov r14, qword [rsi + 8]
jmp 0x1401c1b5f
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x23
call fcn.14018a2b0
call fcn.140189a80
int3

Function at 0x1401c2210
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
lea rcx, [0x14024a3e8]
call fcn.1401c2590
mov rcx, rax
xor edx, edx
add rsp, 0x28
jmp fcn.14010cc90
Function at 0x1401ca0b0
Capabilities:
Link many functions at runtime

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
lea rax, [0x140208e90]
mov qword [rcx], rax
mov byte [rcx + 8], 0
lea rcx, str.qwave.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x1401ca15e
mov rdi, rax
lea rdx, str.QOSCreateHandle
mov rbx, qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call rbx
mov qword [rsi + 0x10], rax
lea rdx, str.QOSCloseHandle
mov rcx, rdi
call rbx
mov qword [rsi + 0x18], rax
lea rdx, str.QOSAddSocketToFlow
mov rcx, rdi
call rbx
mov qword [rsi + 0x20], rax
lea rdx, str.QOSRemoveSocketFromFlow
mov rcx, rdi
call rbx
mov qword [rsi + 0x28], rax
lea rdx, str.QOSSetFlow
mov rcx, rdi
call rbx
mov qword [rsi + 0x30], rax
cmp qword [rsi + 0x10], 0
je 0x1401ca15e
cmp qword [rsi + 0x18], 0
je 0x1401ca15e
cmp qword [rsi + 0x20], 0
je 0x1401ca15e
cmp qword [rsi + 0x28], 0
je 0x1401ca15e
test rax, rax
je 0x1401ca15e
mov al, 1
xchg byte [rsi + 8], al
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret

Function at 0x1401ca2d0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
mov r14, r9
mov ebp, r8d
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x14022f038]
xor rax, rsp
mov qword [rsp + 0xe0], rax
lea rbx, [rsp + 0x50]
mov r8d, SysAllocStringByteLen
mov rcx, rbx
mov dl, 0xaa
call fcn.14014fe30
mov rcx, rbx
call fcn.1400e6570
mov dword [rbx + 0x80], 0x80
mov rcx, qword [rsi + 8]
cmp rcx, 0xffffffffffffffff
je 0x1401ca46c
lea rax, [rsp + 0xd0]
mov r8, qword [rax + 8]
mov rdx, qword [rdi + 0x10]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
mov r8d, ebp
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp eax, 0xffffffff
je 0x1401ca3b7
mov ebx, eax
movaps xmm0, xmmword [0x14020b860]
lea rcx, [rsp + 0x30]
movaps xmmword [rcx], xmm0
mov dword [rcx + 0x10], 0xaaaaaaaa
call fcn.140115ba0
test ebx, ebx
js 0x1401ca3e4
mov r8d, dword [rsp + 0xd0]
mov rdx, qword [rsp + 0xd8]
lea r15, [rsp + 0x30]
mov rcx, r15
call fcn.1400b8750
test al, al
je 0x1401ca3df
test r14, r14
je 0x1401ca3e7
mov eax, dword [rsp + 0x40]
mov dword [r14 + 0x10], eax
movaps xmm0, xmmword [rsp + 0x30]
movups xmmword [r14], xmm0
jmp 0x1401ca3e7
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x1401ca424
mov ecx, eax
call fcn.1400e6630
mov ebx, eax
mov rcx, rsi
mov edx, eax
xor r8d, r8d
xor r9d, r9d
call fcn.1401ca5e0
jmp 0x1401ca402
mov ebx, 0xffffff94
xor r15d, r15d
mov r8, qword [rdi + 0x10]
mov rcx, rsi
mov edx, ebx
mov r9, r15
call fcn.1401ca5e0
lea rcx, [rsp + 0x30]
call fcn.140115b90
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.14014ced0
mov eax, ebx
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
test rdi, rdi
je 0x1401ca42d
lock inc dword [rdi + 8]
mov rcx, qword [rsi + 0xa8]
mov qword [rsi + 0xa8], rdi
test rcx, rcx
je 0x1401ca457
lock dec dword [rcx + 8]
jne 0x1401ca457
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [case.0x1401b58f0.0]
mov dword [rsi + 0xb8], ebp
mov rcx, rsi
call fcn.1401cab30
mov ebx, 0xffffffff
jmp 0x1401ca402
int3
Function at 0x1401ca470
Capabilities:
Send data
Send data on socket

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc8
mov r14, r9
mov edi, r8d
mov rbx, rdx
mov rsi, rcx
mov rax, qword [0x14022f038]
xor rax, rsp
mov qword [rsp + 0xc0], rax
lea r15, [rsp + 0x30]
mov r8d, SysAllocStringByteLen
mov rcx, r15
mov dl, 0xaa
call fcn.14014fe30
mov rcx, r15
call fcn.1400e6570
test r14, r14
je 0x1401ca4e3
lea r8, [rsp + 0xb0]
mov r15, qword [r8 + 8]
mov rcx, r14
mov rdx, r15
call fcn.1400b86e0
test al, al
je 0x1401ca54a
mov eax, dword [rsp + 0xb0]
jmp 0x1401ca4f3
mov dword [rsp + 0xb0], 0
xor eax, eax
xor r15d, r15d
mov rdx, qword [rbx + 0x10]
mov rcx, qword [rsi + 8]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r15
mov r8d, edi
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
je 0x1401ca56b
mov ebp, eax
mov r8, qword [rbx + 0x10]
mov rcx, rsi
mov edx, eax
mov r9, r14
call fcn.1401ca640
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14014ced0
mov eax, ebp
add rsp, 0xc8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
add rsi, 0xe0
mov ebp, 0xffffff94
mov rcx, rsi
mov edx, 0x54
mov r8d, 0xffffff94
call fcn.1400b8b70
jmp 0x1401ca528
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x1401ca58e
mov ecx, eax
call fcn.1400e6630
mov ebp, eax
mov rcx, rsi
mov edx, eax
xor r8d, r8d
xor r9d, r9d
jmp 0x1401ca523
test rbx, rbx
je 0x1401ca597
lock inc dword [rbx + 8]
mov rcx, qword [rsi + 0xb0]
mov qword [rsi + 0xb0], rbx
test rcx, rcx
je 0x1401ca5c1
lock dec dword [rcx + 8]
jne 0x1401ca5c1
mov rax, qword [rcx]
mov rax, qword [rax]
mov edx, 1
call qword [case.0x1401b58f0.0]
mov dword [rsi + 0xbc], edi
mov rcx, rsi
call fcn.1401cab30
mov ebp, 0xffffffff
jmp 0x1401ca528
Function at 0x1401cdf70
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov r14, rdx
mov rsi, rcx
mov rax, qword [rcx + 8]
cmp rax, qword [rcx + 0x10]
je 0x1401cdfae
test rax, rax
je 0x1401ce06b
mov rcx, qword [r14]
mov qword [rax], rcx
add rax, 8
mov qword [rsi + 8], rax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
sub rax, qword [rsi]
mov rbx, rax
sar rbx, 3
lea rcx, [rbx + 1]
mov rdx, rcx
shr rdx, 0x3d
jne 0x1401ce097
movabs rdx, 0x1fffffffffffffff
lea rdi, [rsi + 0x18]
mov r15, rax
sar r15, 2
cmp r15, rcx
cmovbe r15, rcx
movabs rcx, 0x7ffffffffffffff8
cmp rax, rcx
cmovae r15, rdx
test r15, r15
jne 0x1401ce05e
xor eax, eax
shl rbx, 3
add rbx, rax
je 0x1401ce06b
lea r15, [rax + r15*8]
mov rax, qword [r14]
mov qword [rbx], rax
lea r14, [rbx + 8]
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
sub r8, rdx
sub rbx, r8
mov rcx, rbx
call fcn.14014f780
mov rdx, qword [rsi]
mov r8, qword [rsi + 0x10]
mov qword [rsi], rbx
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], r15
test rdx, rdx
je 0x1401cdfa2
sub r8, rdx
sar r8, 3
mov rcx, rdi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.1401ce5d0
mov rcx, rdi
mov rdx, r15
call fcn.1401ceb50
jmp 0x1401cdffd
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x23
call fcn.14018a2b0
call fcn.1401663e0
int3

Function at 0x1401d4ee0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
lea rcx, [0x14024b338]
call fcn.1401c2590
mov rcx, rax
xor edx, edx
add rsp, 0x28
jmp fcn.14010cc90

Function at 0x1401d7f20
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x1401d7f5c
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1401d7f66
add rdi, rbx
sub rsi, rbx
jne 0x1401d7f3a
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.1401663e0
int3

Function at 0x1401db520
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14022f038]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
add rsi, rdi
xor r15d, r15d
lea r14, [rsp + 0x2c]
mov r12, qword [sym.imp.KERNEL32.dll_WriteFile]
cmp rdi, rsi
jae 0x1401db5a8
mov dword [rsp + 0x2c], 0
mov r8d, esi
sub r8d, edi
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov rdx, rdi
mov r9, r14
call r12
test eax, eax
sete dl
mov ecx, dword [rsp + 0x2c]
test rcx, rcx
sete al
or al, dl
mov edx, 0
jne 0x1401db5a1
mov rdx, rcx
add rdi, rdx
cmp al, 1
jne 0x1401db562
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14014ced0
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x180003758
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0xd0
mov rax, qword [0x1800e1010]
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 0x1800037e2
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.180002db4
xor eax, eax
jmp 0x18000382f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, [rsp + 0x40]
call fcn.180003464
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.180002ddc
mov eax, 9
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.18009c250
mov rbx, qword [rsp + 0x108]
add rsp, 0xd0
pop rdi
pop rsi
pop rbp
ret

Function at 0x1800081fc
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 0x180008256
mov r11b, 0x23
lea rdi, [0x1800a6130]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x180008240
cmp rdx, 2
jb 0x180008240
cmp byte [r10], r11b
jne 0x180008240
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 0x18000821e
jmp 0x180008297
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x180008297
mov r11b, 0x23
lea rdi, [0x1800a6130]
cmp dl, r11b
jne 0x18000827b
cmp byte [r10], r11b
jne 0x18000827b
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 0x180008269
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret
Function at 0x1800083cc
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 0x1800083ec
and qword [r8], 0
lea rdx, [0x1800c6928]
call fcn.1800082a8
mov rbx, rax
test rax, rax
je 0x1800084dd
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x1800084d4
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 0x1800084d4
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x1800084d4
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 0x1800084d4
mov rbp, rdi
cmp rdi, 0xffffffffffffffff
je 0x1800084d4
mov rax, qword [0x1800e4b80]
test rax, rax
je 0x180008471
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 0x1800084d4
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 0x1800084c1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x1800e4b80]
test rax, rax
je 0x1800084b6
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x1800084dd
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rsi, rsi
je 0x1800084cf
mov qword [rsi], rbp
mov rax, rdi
jmp 0x1800084df
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 0x18000b0bc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1800e1010]
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, [0x1800a6130]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x18000b0fb
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x1210], ebx
jne 0x18000b132
lea edx, [r10 + 0xc]
mov ecx, ebx
call fcn.18001b660
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18009c250
add rsp, 0x30
pop rbx
ret
Function at 0x18000b148
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x1800e1010]
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, [0x1800a6130]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x18000b187
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x1210], ebx
jne 0x18000b1c1
movsxd r8, edx
mov ecx, ebx
mov edx, r11d
call fcn.18001b660
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18009c250
add rsp, 0x30
pop rbx
ret

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

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1800e1010]
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, [0x1800a6130]
movzx edx, r8b
inc r9
xor rdx, rcx
shr r8d, 8
xor r8d, dword [rax + rdx*4]
sub r10, 1
jne 0x18000b255
not r8d
mov eax, r8d
mov rcx, qword [rsp + 0x10]
xor rcx, rsp
call fcn.18009c250
add rsp, 0x28
ret
Function at 0x18001a358
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 0x18001a3f1
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x18001a3a9
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.18001c588
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.180008d68
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, [0x1800e4b78]
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 0x18001a3f9
mov rcx, rbx
call fcn.180008d68
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18001aab4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x1800e4b80]
mov rbx, rcx
and dword [rax + 0x2ea4], 0
test rcx, rcx
je 0x18001ab1d
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.18001ab28
lea rdx, [0x1800c692c]
mov rcx, rbx
mov rdi, rax
call fcn.1800082a8
mov rbx, rax
test rax, rax
je 0x18001ab1d
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 0x1800371a0
Capabilities:
Create thread
Set console window title

Disassembly:
push rbx
sub rsp, 0x30
cmp edx, 1
jne 0x180037226
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, [0x1800c7348]
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, [0x180036df8]
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 0x18003724e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18003724e
test edx, edx
jne 0x18003724e
test r8, r8
jne 0x18003724e
call fcn.180036f90
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 0x18003789c
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x1800e1010]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor ebx, ebx
mov rdi, rcx
test rcx, rcx
jne 0x1800378cd
lea rcx, str.Tried_getting_virtual_function_from_a_null_class._n
call fcn.180006624
jmp 0x1800378ea
mov rax, qword [rcx]
test rax, rax
jne 0x1800378de
lea rcx, str.Tried_getting_virtual_function_from_a_null_vtable._n
jmp 0x1800378c6
mov rdx, qword [rax + 0x480]
test rdx, rdx
jne 0x18003790c
lea rcx, str.Tried_calling_a_null_virtual_function._n
call fcn.180006624
mov rcx, rdi
call fcn.18003fd84
test al, al
je 0x18003791c
mov eax, 2
jmp 0x1800379ac
call rdx
test al, al
je 0x1800378f6
mov eax, 1
jmp 0x1800379ac
mov qword [rsp + 0x20], rbx
test rdi, rdi
jne 0x180037934
lea rcx, str.Tried_getting_virtual_function_from_a_null_class._n
call fcn.180006624
jmp 0x180037951
mov rax, qword [rdi]
test rax, rax
jne 0x180037945
lea rcx, str.Tried_getting_virtual_function_from_a_null_vtable._n
jmp 0x18003792d
mov r8, qword [rax + 0x110]
test r8, r8
jne 0x18003795f
lea rcx, str.Tried_calling_a_null_virtual_function._n
call fcn.180006624
jmp 0x18003796a
lea rdx, [rsp + 0x20]
mov rcx, rdi
call r8
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x1800379aa
mov rax, qword [rax + 8]
test rax, rax
je 0x1800379aa
cmp byte [rax], bl
je 0x1800379aa
movsx ecx, byte [rax]
xor ecx, 0x811c9dc5
imul edx, ecx, 0x1000193
lea rcx, [rax + 1]
call fcn.18003c354
cmp eax, 0x94f0c692
mov ecx, 3
cmove ebx, ecx
mov eax, ebx
jmp 0x1800379ac
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18009c250
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x18003c354
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
cmp byte [rcx], 0
je 0x18003c372
movsx eax, byte [rcx]
xor eax, edx
imul edx, eax, 0x1000193
inc rcx
call fcn.18003c354
mov edx, eax
mov eax, edx
add rsp, 0x28
ret