joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140374460
Capabilities:
Parse pe header

Disassembly:
cmp rdx, 0x40
jb 0x1403744ae
cmp byte [rcx], 0x4d
jne 0x1403744ae
cmp byte [rcx + 1], 0x5a
jne 0x1403744ae
mov r9d, dword [rcx + 0x3c]
mov r10, rdx
sub r10, r9
xor eax, eax
cmp r10, 0x18
jb 0x1403744b0
cmp r9, rdx
jae 0x1403744b0
cmp r9d, 0x40
jb 0x1403744b0
mov r10d, r9d
and r10d, 7
jne 0x1403744b0
cmp byte [rcx + r9], 0x50
jne 0x1403744ae
cmp byte [rcx + r9 + 1], 0x45
jne 0x1403744ae
cmp byte [rcx + r9 + 2], 0
je 0x1403744b1
xor eax, eax
ret
cmp byte [rcx + r9 + 3], 0
jne 0x1403744ae
add r9, 0x18
xor eax, eax
sub rdx, r9
jbe 0x1403744b0
cmp rdx, 2
jb 0x1403744b0
cmp word [rcx + r9], r8w
sete al
jmp 0x1403744b0
Function at 0x14037a7b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, r8
mov rax, qword [0x140418038]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov eax, 0xaaaaaaaa
lea rdi, [rsp + 0x44]
mov dword [rdi], eax
lea r8, [rsp + 0x40]
mov dword [r8], eax
lea rax, [rsp + 0x3c]
mov dword [rax], 4
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov r9, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rdi]
xor ecx, 4
or ecx, eax
sete bl
jne 0x14037a810
mov eax, dword [rsp + 0x40]
mov dword [rsi], eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140242430
mov eax, ebx
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret

Function at 0x14037a8d0
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x1a0
mov rax, qword [0x140418038]
xor rax, rsp
mov qword [rsp + 0x198], rax
movaps xmm0, xmmword [0x1403aa440]
lea rsi, [rsp + 0x160]
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsi + 0x20], 0x100
jb 0x14037a924
mov ecx, 1
call fcn.1401de860
test al, al
jne 0x14037a953
mov eax, dword [rsp + 0x180]
cmp eax, 0x100
mov esi, 0xff
cmovb esi, eax
mov rcx, qword [rsp + 0x198]
xor rcx, rsp
call fcn.140242430
mov eax, esi
add rsp, 0x1a0
pop rsi
ret
lea rdx, str....._third_partycrashpadcrashpad_snapshotwin_system_snapshot_win.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x10a
mov r9d, 1
call fcn.1400e3550
lea rcx, [rsp + 0x38]
lea rdx, str.dwNumberOfProcessors_exceeds_uint8_t_storage
mov r8d, 0x2c
call fcn.14027e630
mov rcx, rsi
call fcn.1400e3a40
jmp 0x14037a924
Function at 0x18000d884
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
xor ebx, ebx
mov edi, edx
cmp qword [rcx + 0x20], rbx
je 0x18000d901
lea rdx, str.CreateInterface
call fcn.18000d910
mov qword [rsp + 0x30], rax
test rax, rax
je 0x18000d904
mov edx, 3
lea rcx, [rsp + 0x30]
call fcn.18000db74
mov rcx, rax
call fcn.18000dba4
mov rcx, qword [rax]
jmp 0x18000d8f5
mov rdx, qword [rcx + 8]
mov r8d, 0x811c9dc5
jmp 0x18000d8e6
movzx eax, al
xor eax, r8d
imul r8d, eax, 0x1000193
inc rdx
mov al, byte [rdx]
test al, al
jne 0x18000d8d6
cmp r8d, edi
je 0x18000d8fc
mov rcx, qword [rcx + 0x10]
test rcx, rcx
jne 0x18000d8ca
jmp 0x18000d901
call qword [rcx]
mov rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18000f298
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
sub rsp, 0x20
lea rdx, str.mp_teammates_are_enemies
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov ebp, 0x811c9dc5
mov al, 0x6d
movzx eax, al
inc rdx
xor eax, ebp
imul ebp, eax, 0x1000193
mov al, byte [rdx]
test al, al
jne 0x18000f2bf
call fcn.18000f1a0
mov rdi, rax
mov rdx, rdi
mov rcx, rsi
call fcn.18000f240
mov rbx, rax
test rax, rax
je 0x18000f310
mov rcx, qword [rax]
mov edx, 0x811c9dc5
jmp 0x18000f306
movzx eax, al
xor eax, edx
imul edx, eax, 0x1000193
inc rcx
mov al, byte [rcx]
test al, al
jne 0x18000f2f8
cmp edx, ebp
je 0x18000f344
mov rdx, rdi
mov rcx, rsi
call fcn.18000f1e8
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x18000f2db
lea rdx, [rsp + 0x48]
lea rcx, str._cvar__Couldnt_find_cvar_named_.
call fcn.1800016d8
xor eax, eax
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
lea r8, [rsp + 0x50]
mov qword [rsp + 0x50], rbx
lea rdx, [rsp + 0x48]
lea rcx, str._cvar______
call fcn.18000f564
mov rax, rbx
jmp 0x18000f337

Function at 0x1800108bc
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rcx, 0xcbf29ce484222325
xor r8d, r8d
movzx eax, byte [r8 + rdx]
movabs r9, 0x100000001b3
xor rcx, rax
inc r8
imul rcx, r9
cmp r8, 4
jb 0x180010899
mov rax, rcx
ret
mov rdx, rcx
jmp 0x18001088c
Function at 0x180011f6c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
push rbp
push rsi
push rdi
lea rbp, [rax - 0x57]
sub rsp, 0x90
mov rsi, r9
mov rbx, r8
mov rdi, rdx
call fcn.18000f944
mov rdx, rbx
mov rcx, rax
call fcn.18000f9c0
test rax, rax
jne 0x180011fbc
lea rdx, [rbp + 0x6f]
lea rcx, str._schemamgr__No_type_scope_found_for_.
call fcn.1800016d8
jmp 0x180012118
mov rdx, rsi
mov rcx, rax
call fcn.18000fa1c
mov rdx, rax
test rax, rax
jne 0x180011fe3
lea r8, [rbp + 0x6f]
lea rdx, [rbp + 0x77]
lea rcx, str._schemamgr__No_binding_named__has_been_found_in_module_.
jmp 0x180012113
mov r11d, 0x811c9dc5
mov r8d, r11d
mov rcx, qword [rbp + 0x7f]
cmp byte [rcx], 0
je 0x18001200d
mov al, byte [rcx]
movzx eax, al
xor eax, r8d
imul r8d, eax, 0x1000193
inc rcx
mov al, byte [rcx]
test al, al
jne 0x180011ff7
xor ecx, ecx
mov rbx, qword [rdx + 0x28]
test rbx, rbx
je 0x180012104
movzx r10d, byte [rdx + 0x1c]
cmp ecx, r10d
jge 0x180012104
mov rdx, qword [rbx]
mov r9d, r11d
jmp 0x180012042
movzx eax, al
xor eax, r9d
imul r9d, eax, 0x1000193
inc rdx
mov al, byte [rdx]
test al, al
jne 0x180012032
cmp r9d, r8d
je 0x180012055
inc ecx
add rbx, 0x20
jmp 0x180012021
call fcn.180001440
lea r9, [rbx + 0x10]
lea r8, [rbp + 0x7f]
lea rdx, [rbp + 0x77]
lea rcx, [rbp + 0xf]
call fcn.180012134
mov qword [rbp - 0x31], 3
mov qword [rbp - 0x29], rax
lea rax, str._schemamgr__::_offset_is_0x:x.
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], 0x26
movaps xmm0, xmmword [rbp - 0x31]
movdqa xmmword [rbp - 0x31], xmm0
movaps xmm1, xmmword [rbp - 0x21]
movdqa xmmword [rbp - 0x21], xmm1
lea r8, [rbp - 0x31]
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x11]
call fcn.180001950
nop
mov rdx, rax
call fcn.1800404e0
nop
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x1800120f9
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800120f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800120f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180042980
mov eax, dword [rbx + 0x10]
mov dword [rdi], eax
mov byte [rdi + 4], 1
jmp 0x18001211c
lea r8, [rbp + 0x77]
lea rdx, [rbp + 0x7f]
lea rcx, str._schemamgr__No_field_named__has_been_found_in_binding_.
call fcn.1800017a4
mov byte [rdi + 4], 0
mov rax, rdi
mov rbx, qword [rsp + 0xb0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
Function at 0x18001739c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0xc0
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 0x18001741c
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.180016538
xor eax, eax
jmp 0x180017469
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, [rsp + 0x40]
call fcn.180016c34
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.180016560
mov eax, 9
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

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

Disassembly:
not r8d
movzx eax, byte [rcx]
inc rcx
movzx r9d, r8b
xor r9, rax
shr r8d, 8
lea rax, [0x18006e800]
xor r8d, dword [rax + r9*4]
sub rdx, 1
jne 0x1800194ab
not r8d
mov eax, r8d
ret

Function at 0x1800194d4
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 0x18001952e
mov r11b, 0x23
lea rdi, [0x18006e800]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x180019518
cmp rdx, 2
jb 0x180019518
cmp byte [r10], r11b
jne 0x180019518
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 0x1800194f6
jmp 0x18001956f
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x18001956f
mov r11b, 0x23
lea rdi, [0x18006e800]
cmp dl, r11b
jne 0x180019553
cmp byte [r10], r11b
jne 0x180019553
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 0x180019541
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x18001bb18
Capabilities:
Hash data with crc32

Disassembly:
movsxd rax, dword [rcx + 0x100]
mov r9, rdx
mov r8, qword [rcx + 0x108]
xor edx, edx
mov rcx, r9
mov r8d, dword [r8 + rax*4 - 4]
jmp fcn.1800194d4
Function at 0x180038a64
Capabilities:
Compute adler32 checksum

Disassembly:
mov qword [rsp + 8], rbx
mov r11, rdx
mov eax, 0x5e6ea9af
mul r8d
mov ebx, r8d
xor r9d, r9d
shr edx, 0xb
mov r10d, 1
imul eax, edx, 0x15b0
sub ebx, eax
test r8d, r8d
je 0x180038b56
xor ecx, ecx
cmp ebx, 7
jbe 0x180038b03
lea edx, [rcx + 7]
movzx eax, byte [r11]
add ecx, 8
add r10d, eax
add edx, 8
movzx eax, byte [r11 + 1]
add r9d, r10d
add r10d, eax
movzx eax, byte [r11 + 2]
add r9d, r10d
add r10d, eax
movzx eax, byte [r11 + 3]
add r9d, r10d
add r10d, eax
movzx eax, byte [r11 + 4]
add r9d, r10d
add r10d, eax
movzx eax, byte [r11 + 5]
add r9d, r10d
add r10d, eax
movzx eax, byte [r11 + 6]
add r9d, r10d
add r10d, eax
movzx eax, byte [r11 + 7]
add r9d, r10d
add r10d, eax
add r11, 8
add r9d, r10d
cmp edx, ebx
jb 0x180038a9e
cmp ecx, ebx
jae 0x180038b20
mov eax, ebx
sub eax, ecx
mov ecx, eax
movzx eax, byte [r11]
inc r11
add r10d, eax
add r9d, r10d
sub rcx, 1
jne 0x180038b0d
mov eax, 0x80078071
mul r10d
shr edx, 0xf
imul eax, edx, 0xffff000f
add r10d, eax
mov eax, 0x80078071
mul r9d
shr edx, 0xf
imul ecx, edx, 0xffff000f
add r9d, ecx
sub r8d, ebx
mov ebx, 0x15b0
jne 0x180038a94
mov rbx, qword [rsp + 8]
shl r9d, 0x10
lea eax, [r10 + r9]
ret
Function at 0x18003a288
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbx
sub rsp, 0x20
call fcn.18003a264
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rbx + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x18003a2c1
and dword [rbx + 0x2c], eax
add rsp, 0x20
pop rbx
ret

Function at 0x18003a510
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
call qword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
and al, 1
add rsp, 0x28
ret

Function at 0x18003d66c
Capabilities:
Hash data with crc32

Disassembly:
mov eax, edx
lea r8, str.SCROLLX
test eax, eax
lea rdx, str.SCROLLY
cmove rdx, r8
jmp fcn.18001bb18

Function at 0x18003ec84
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp edx, 1
jne 0x18003ecc7
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
and qword [rsp + 0x28], 0
lea r8, [0x18003ece0]
and dword [rsp + 0x20], 0
mov r9, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18003ecd5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18003ecd5
test edx, edx
jne 0x18003ecd5
test r8, r8
jne 0x18003ecd5
call fcn.18004034c
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x18003f210
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
lea rax, str.void___cdecl_CInputHooks::Initialize_void_
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
lea rcx, str._prologue__
call fcn.1800016d8
lea rcx, [0x18007f7f8]
add rsp, 0x28
jmp 0x18003f430
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rbx, rcx
lea rax, str.void___cdecl_CWndProcHooks::Initialize_void_
mov qword [rbp + 0x10], rax
lea rdx, [rbp + 0x10]
lea rcx, str._prologue__
call fcn.1800016d8
mov rdx, rbx
lea rcx, [0x18003f3c0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rbx]
test rax, rax
jne 0x18003f484
lea rcx, str._wndproc__EnumWindows___returned_nullptr_
call fcn.18000162c
jmp 0x18003f540
mov qword [rbp + 0x10], rax
call fcn.180001440
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x30]
call fcn.18003f624
mov qword [rbp - 0x50], 1
mov qword [rbp - 0x48], rax
lea rax, str._wndproc__CWndProcHooks::m_Window____
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 0x27
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
movaps xmm1, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm1
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.180001950
nop
mov rdx, rax
call fcn.1800404e0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x18003f524
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003f51f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003f51f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180042980
lea r8, [0x18003f28c]
mov edx, 0xfffffffc
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov qword [0x18007f4b8], rax
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rbp
ret
Function at 0x18003f430
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
lea rax, str.void___cdecl_CInputHooks::Initialize_void_
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
lea rcx, str._prologue__
call fcn.1800016d8
lea rcx, [0x18007f7f8]
add rsp, 0x28
jmp 0x18003f430
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rbx, rcx
lea rax, str.void___cdecl_CWndProcHooks::Initialize_void_
mov qword [rbp + 0x10], rax
lea rdx, [rbp + 0x10]
lea rcx, str._prologue__
call fcn.1800016d8
mov rdx, rbx
lea rcx, [0x18003f3c0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rax, qword [rbx]
test rax, rax
jne 0x18003f484
lea rcx, str._wndproc__EnumWindows___returned_nullptr_
call fcn.18000162c
jmp 0x18003f540
mov qword [rbp + 0x10], rax
call fcn.180001440
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x30]
call fcn.18003f624
mov qword [rbp - 0x50], 1
mov qword [rbp - 0x48], rax
lea rax, str._wndproc__CWndProcHooks::m_Window____
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 0x27
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
movaps xmm1, xmmword [rbp - 0x40]
movdqa xmmword [rbp - 0x40], xmm1
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x20]
call fcn.180001950
nop
mov rdx, rax
call fcn.1800404e0
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x18003f524
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003f51f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003f51f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180042980
lea r8, [0x18003f28c]
mov edx, 0xfffffffc
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_SetWindowLongPtrA]
mov qword [0x18007f4b8], rax
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rbp
ret

Function at 0x1800403f4
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
lea rax, str.void___cdecl_CInstance::FreeLibrary_void_
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
lea rcx, str._prologue__
call fcn.1800016d8
and qword [rsp + 0x28], 0
lea r9, [0x180000000]
and dword [rsp + 0x20], 0
lea r8, [0x180040460]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x18004044b
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
add rsp, 0x38
ret

Function at 0x180040498
Capabilities:
Set console window title

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_AllocConsole]
lea rcx, str.cs2_sdk_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]
lea r8, [0x1800747e0]
mov rcx, rbx
mov r9, rax
lea rdx, str.CONOUT_
add rsp, 0x20
pop rbx
jmp qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
Function at 0x180040ae4
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rdi
mov rbp, rsp
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
mov r10d, 0x811c9dc5
jmp 0x180040b11
movzx eax, al
xor eax, r10d
imul r10d, eax, 0x1000193
inc rdx
mov al, byte [rdx]
test al, al
jne 0x180040b01
mov dword [rbp + 0x20], r10d
lea rcx, [rbp + 0x20]
call fcn.1800108bc
mov rcx, qword [rdi + 0x30]
and rcx, rax
mov rdx, qword [rdi + 0x18]
mov rax, rcx
add rax, rax
mov rax, qword [rdx + rax*8 + 8]
cmp rax, qword [rdi + 8]
je 0x180040b5a
add rcx, rcx
mov rdx, qword [rdx + rcx*8]
jmp 0x180040b52
cmp rax, rdx
je 0x180040b5a
mov rax, qword [rax + 8]
cmp r10d, dword [rax + 0x10]
jne 0x180040b49
jmp 0x180040b5c
xor eax, eax
test rax, rax
cmove rax, qword [rdi + 8]
cmp rax, qword [rdi + 8]
je 0x180040b73
add rax, 0x18
jmp 0x180040c2f
mov ecx, 0x38
call fcn.180042990
mov qword [rbp + 0x30], rax
mov rdx, rbx
mov rcx, rax
call fcn.18000d7d8
mov rbx, rax
mov qword [rbp + 0x30], rax
mov rcx, rax
call fcn.18000d854
lea rdx, [rbp + 0x28]
test al, al
je 0x180040bdc
mov rax, qword [rbx + 0x20]
mov qword [rbp + 0x38], rax
lea r8, [rbp + 0x38]
lea rcx, str._module______
call fcn.18000f564
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x20]
lea rdx, [rbp - 0x10]
mov rcx, rdi
call fcn.180040d8c
mov rdi, qword [rax]
add rdi, 0x18
mov rbx, qword [rbp + 0x30]
jmp 0x180040c12
lea rcx, str._module___not_found.
call fcn.1800016d8
mov ecx, dword [0x18007ed90]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov eax, dword [rdx + rax]
cmp dword [0x18007f9c4], eax
jg 0x180040c37
lea rdi, [0x18007f808]
test rbx, rbx
je 0x180040c2c
mov rcx, rbx
call fcn.18000d77c
mov edx, 0x38
mov rcx, rbx
call fcn.180042980
mov rax, rdi
add rsp, 0x30
pop rdi
pop rbx
pop rbp
ret
lea rcx, [0x18007f9c4]
call fcn.180042588
cmp dword [0x18007f9c4], 0xffffffff
jne 0x180040c0b
lea rcx, [0x18004438c]
call fcn.180042968
lea rcx, [0x18007f9c4]
call fcn.18004251c
jmp 0x180040c0b

Function at 0x180040c68
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x20
and qword [rdx], 0
mov rdi, rdx
mov rdx, r8
mov rbx, r9
call fcn.180040ae4
mov rcx, qword [rax]
test rcx, rcx
jne 0x180040cae
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
lea rcx, str._interface__Couldnt_retrieve__because__was_not_loaded
call fcn.1800017a4
jmp 0x180040cf6
cmp byte [rbx], 0
mov edx, 0x811c9dc5
je 0x180040cce
mov al, byte [rbx]
movzx eax, al
inc rbx
xor eax, edx
imul edx, eax, 0x1000193
mov al, byte [rbx]
test al, al
jne 0x180040cba
call fcn.18000d884
lea r9, [rsp + 0x38]
mov qword [rdi], rax
lea r8, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x40]
lea rcx, str._interface__________
call fcn.180040f9c
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x1800098e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x10]
mov rbx, rcx
mov r10d, edx
mov r9d, edx
and r10d, 7
je 0x18000996d
cmp edx, r10d
jge 0x18000995e
mov r9d, dword [rcx + 0x14]
mov eax, 1
mov ecx, edx
mov r8d, edx
shl eax, cl
cmp r9d, eax
jae 0x180009957
mov r11, qword [rbx + 8]
mov rax, qword [rbx]
cmp rax, r11
jb 0x180009922
xor cl, cl
jmp 0x18000992b
movzx ecx, byte [rax]
inc rax
mov qword [rbx], rax
movzx eax, cl
lea edx, [r8 + 8]
mov ecx, r8d
mov dword [rbx + 0x10], edx
shl eax, cl
or r9d, eax
mov dword [rbx + 0x14], r9d
cmp edx, 0x18
jg 0x18000995e
mov ecx, edx
mov eax, 1
shl eax, cl
mov r8d, edx
cmp r9d, eax
jb 0x180009916
mov rax, qword [rbx + 8]
mov qword [rbx], rax
mov ecx, r10d
shr dword [rbx + 0x14], cl
sub edx, r10d
mov dword [rbx + 0x10], edx
mov r9d, edx
xor r10d, r10d
test edx, edx
jle 0x1800099a2
mov ecx, dword [rbx + 0x14]
lea r8, [rsp + 0x30]
nop dword [rax]
movzx eax, byte [rbx + 0x14]
lea edx, [r9 - 8]
shr ecx, 8
inc r10d
mov byte [r8], al
lea r8, [r8 + 1]
mov dword [rbx + 0x14], ecx
mov r9d, edx
test edx, edx
jg 0x180009980
mov dword [rbx + 0x10], edx
jns 0x1800099cf
mov edx, dword [0x180076fa8]
mov rax, qword gs:[0x58]
mov ecx, 0x28
mov rax, qword [rax + rdx*8]
lea rdx, str.zlib_corrupt
mov qword [rcx + rax], rdx
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r10d
cmp rcx, 4
jge 0x1800099ff
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
nop
cmp rax, r8
jb 0x1800099e9
xor dl, dl
jmp 0x1800099f2
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x1800099e0
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x1800099a4
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x180009a74
mov edx, dword [0x180076fa8]
mov rax, qword gs:[0x58]
mov ecx, 0x28
mov rax, qword [rax + rdx*8]
lea rdx, str.read_past_buffer
mov qword [rcx + rax], rdx
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x180009a8e
mov rcx, rbx
call fcn.180008d50
test eax, eax
je 0x180009a67
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call sub.VCRUNTIME140.dll_memcpy
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret