joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800e1020
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub rsp, 0x38
cmp qword [rdx + 0x18], 0xf
mov r10, rdx
mov r11, qword [rdx + 0x10]
jbe 0x1800e1035
mov r10, qword [rdx]
xor r8d, r8d
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x1800e1079
mov qword [rsp + 0x30], rbx
movabs rbx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r10 + r8]
inc r8
xor r9, rax
imul r9, rbx
cmp r8, r11
jb 0x1800e1060
mov rbx, qword [rsp + 0x30]
mov r8, rdx
lea rdx, [rsp + 0x20]
call fcn.180093740
cmp qword [rax + 8], 0
setne al
add rsp, 0x38
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
cmp qword [r8 + 0x28], 0xf
lea r9, [r8 + 0x10]
mov r10, qword [r8 + 0x20]
mov rbx, r8
mov r14, rdx
mov rsi, rcx
jbe 0x1800e10d1
mov r9, qword [r8 + 0x10]
xor edx, edx
movabs r8, 0xcbf29ce484222325
test r10, r10
je 0x1800e1104
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [r9 + rdx]
inc rdx
xor r8, rax
imul r8, rcx
cmp rdx, r10
jb 0x1800e10f0
mov rdx, qword [rsi + 0x30]
and rdx, r8
shl rdx, 4
add rdx, qword [rsi + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x1800e1138
cmp rax, rbx
jne 0x1800e112e
mov rax, qword [rsi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x1800e1143
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x1800e1143
cmp rax, rbx
jne 0x1800e1143
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdi, qword [rbx]
lea rcx, [rbx + 0x10]
dec qword [rsi + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov rax, qword [rbx + 8]
mov qword [rdi + 8], rax
call fcn.18008fd00
mov edx, 0x38
mov rcx, rbx
call fcn.18017f74c
mov rbx, qword [rsp + 0x30]
mov rax, r14
mov rsi, qword [rsp + 0x38]
mov qword [r14], rdi
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1800e1190
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
cmp qword [r8 + 0x28], 0xf
lea r9, [r8 + 0x10]
mov r10, qword [r8 + 0x20]
mov rbx, r8
mov r14, rdx
mov r11, rcx
jbe 0x1800e11c1
mov r9, qword [r8 + 0x10]
xor edx, edx
movabs r8, 0xcbf29ce484222325
test r10, r10
je 0x1800e11f4
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [r9 + rdx]
inc rdx
xor r8, rax
imul r8, rcx
cmp rdx, r10
jb 0x1800e11e0
mov rdx, qword [r11 + 0x30]
and rdx, r8
shl rdx, 4
add rdx, qword [r11 + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x1800e1228
cmp rax, rbx
jne 0x1800e121e
mov rax, qword [r11 + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x1800e1233
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x1800e1233
cmp rax, rbx
jne 0x1800e1233
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdi, qword [rbx]
lea rcx, [rbx + 0x30]
dec qword [r11 + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov rax, qword [rbx + 8]
mov qword [rdi + 8], rax
call fcn.18008fd00
lea rcx, [rbx + 0x10]
call fcn.18008fd00
mov edx, 0x50
mov rcx, rbx
call fcn.18017f74c
mov rbx, qword [rsp + 0x30]
mov rax, r14
mov rsi, qword [rsp + 0x38]
mov qword [r14], rdi
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
cmp qword [r8 + 0x28], 0xf
lea r9, [r8 + 0x10]
mov r10, qword [r8 + 0x20]
mov rbx, r8
mov r14, rdx
mov r11, rcx
jbe 0x1800e12c1
mov r9, qword [r8 + 0x10]
xor edx, edx
movabs r8, 0xcbf29ce484222325
test r10, r10
je 0x1800e12f4
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [r9 + rdx]
inc rdx
xor r8, rax
imul r8, rcx
cmp rdx, r10
jb 0x1800e12e0
mov rdx, qword [r11 + 0x30]
and rdx, r8
shl rdx, 4
add rdx, qword [r11 + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x1800e1328
cmp rax, rbx
jne 0x1800e131e
mov rax, qword [r11 + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x1800e1333
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x1800e1333
cmp rax, rbx
jne 0x1800e1333
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdi, qword [rbx]
lea rcx, [rbx + 0x30]
dec qword [r11 + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov rax, qword [rbx + 8]
mov qword [rdi + 8], rax
call fcn.18008fb50
lea rcx, [rbx + 0x10]
call fcn.18008fd00
mov edx, 0x48
mov rcx, rbx
call fcn.18017f74c
mov rbx, qword [rsp + 0x30]
mov rax, r14
mov rsi, qword [rsp + 0x38]
mov qword [r14], rdi
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1800e1390
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
cmp qword [r8 + 0x28], 0xf
lea r9, [r8 + 0x10]
mov r10, qword [r8 + 0x20]
mov rbx, r8
mov r14, rdx
mov rsi, rcx
jbe 0x1800e13c1
mov r9, qword [r8 + 0x10]
xor edx, edx
movabs r8, 0xcbf29ce484222325
test r10, r10
je 0x1800e13f4
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [r9 + rdx]
inc rdx
xor r8, rax
imul r8, rcx
cmp rdx, r10
jb 0x1800e13e0
mov rdx, qword [rsi + 0x30]
and rdx, r8
shl rdx, 4
add rdx, qword [rsi + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], rbx
jne 0x1800e1428
cmp rax, rbx
jne 0x1800e141e
mov rax, qword [rsi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x1800e1433
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x1800e1433
cmp rax, rbx
jne 0x1800e1433
mov rax, qword [rbx]
mov qword [rdx], rax
mov rdi, qword [rbx]
lea rcx, [rbx + 0x10]
dec qword [rsi + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov rax, qword [rbx + 8]
mov qword [rdi + 8], rax
call fcn.18008fd00
mov edx, 0x40
mov rcx, rbx
call fcn.18017f74c
mov rbx, qword [rsp + 0x30]
mov rax, r14
mov rsi, qword [rsp + 0x38]
mov qword [r14], rdi
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1800f3da0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x1800f3dc8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x1800f3dee
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1800f3df0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1800f3e49
test ecx, ecx
jle 0x1800f3e29
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x1800f3e49
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1800f3e49
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
Function at 0x1800f3e70
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x1800f3ea1
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je 0x1800f3ebf
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1800f3edb
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1800f3edd
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1800f3f19
mov qword [rsp + 0x38], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1800f3fae
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1800f3f54
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x1800f3f8e
nop dword [rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x1800f3fae
cmp rbx, rax
ja 0x1800f3f60
test rbx, rbx
je 0x1800f3fae
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1800f43c0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x70
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1800f43e4
xor eax, eax
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
mov rax, qword [rcx + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x1800f4427
mov rdx, qword [rbx + 0x58]
movsxd r8, dword [rdx]
lea rax, [rcx + r8]
cmp rcx, rax
jae 0x1800f4427
lea eax, [r8 - 1]
mov dword [rdx], eax
mov rcx, qword [rbx + 0x40]
mov rdx, qword [rcx]
lea rax, [rdx + 1]
mov qword [rcx], rax
mov eax, edi
mov byte [rdx], dil
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0x80], rsi
je 0x1800f4558
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1800f446a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1800f4495
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmove edi, ecx
mov eax, edi
jmp 0x1800f455d
lea rax, [rsp + 0x90]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1800f450a
sub eax, 1
je 0x1800f450a
cmp eax, 2
jne 0x1800f4558
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmove edi, ecx
mov eax, edi
jmp 0x1800f455d
mov rsi, qword [rsp + 0x90]
lea rax, [rsp + 0x48]
sub rsi, rax
je 0x1800f453b
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x48]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x1800f4558
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x98], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1800f455d
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x1800f4ba0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1800f4c69
cmp byte [rcx + 0x71], 0
je 0x1800f4c69
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x68], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1800f4c5c
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x60]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1800f4c18
sub eax, 1
je 0x1800f4c1c
cmp eax, 2
jne 0x1800f4c5c
mov rdi, qword [rsp + 0x68]
mov al, 1
mov byte [rbx + 0x71], 0
add rsp, 0x50
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x1800f4c4a
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1800f4c5c
cmp byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x68]
sete al
add rsp, 0x50
pop rbx
ret
mov rdi, qword [rsp + 0x68]
xor al, al
add rsp, 0x50
pop rbx
ret
mov al, 1
add rsp, 0x50
pop rbx
ret
Function at 0x1800fcc40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x18022a150]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x18022bdd8], edx
jle 0x1800fcd21
lea rcx, [0x18022bdd8]
call fcn.18017f7fc
cmp dword [0x18022bdd8], 0xffffffff
jne 0x1800fcd21
mov rcx, qword [0x18022ba50]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x1800fcd0e
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x1800fccb2
mov rdx, r11
test rax, rax
je 0x1800fccf0
nop dword [rax]
nop word [rax + rax]
movsx ecx, byte [r8 + rdx]
xor ecx, r9d
imul r9d, ecx, 0x1000193
inc rdx
cmp rdx, rax
jb 0x1800fccd0
cmp r9d, 0xd134a6b7
je 0x1800fccfb
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1800fcca1
jmp 0x1800fcd0e
lea r8, str.m_iPrimaryAmmoType
mov rdx, qword [r10 + 0x18]
call fcn.18017f390
mov r11d, eax
mov dword [0x18022bde0], r11d
lea rcx, [0x18022bdd8]
call fcn.18017f790
movsxd rax, dword [0x18022bde0]
add rax, rbx
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x18022a150]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x18022bd98], edx
jle 0x1800fce27
lea rcx, [0x18022bd98]
call fcn.18017f7fc
cmp dword [0x18022bd98], 0xffffffff
jne 0x1800fce27
mov rcx, qword [0x18022ba50]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x1800fce0e
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x1800fcdb2
mov rdx, r11
test rax, rax
je 0x1800fcdf0
nop dword [rax]
nop word [rax + rax]
movsx ecx, byte [r8 + rdx]
xor ecx, r9d
imul r9d, ecx, 0x1000193
inc rdx
cmp rdx, rax
jb 0x1800fcdd0
cmp r9d, 0x24615a25
je 0x1800fcdfb
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1800fcda1
jmp 0x1800fce0e
lea r8, str.m_iReloadMode
mov rdx, qword [r10 + 0x18]
call fcn.18017f390
mov r11d, eax
lea eax, [r11 - 0xf4]
mov dword [0x18022bde4], eax
lea rcx, [0x18022bd98]
call fcn.18017f790
movsxd rax, dword [0x18022bde4]
add rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x1800fce40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x18022a150]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x18022bde8], edx
jle 0x1800fcf27
lea rcx, [0x18022bde8]
call fcn.18017f7fc
cmp dword [0x18022bde8], 0xffffffff
jne 0x1800fcf27
mov rcx, qword [0x18022ba50]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x1800fcf0e
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x1800fceb2
mov rdx, r11
test rax, rax
je 0x1800fcef0
nop dword [rax]
nop word [rax + rax]
movsx ecx, byte [r8 + rdx]
xor ecx, r9d
imul r9d, ecx, 0x1000193
inc rdx
cmp rdx, rax
jb 0x1800fced0
cmp r9d, 0x24615a25
je 0x1800fcefb
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1800fcea1
jmp 0x1800fcf0e
lea r8, str.m_iReloadMode
mov rdx, qword [r10 + 0x18]
call fcn.18017f390
mov r11d, eax
lea eax, [r11 - 0xf0]
mov dword [0x18022bdc8], eax
lea rcx, [0x18022bde8]
call fcn.18017f790
movsxd rax, dword [0x18022bdc8]
add rax, rbx
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x18022a150]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x18022bd88], edx
jle 0x1800fd027
lea rcx, [0x18022bd88]
call fcn.18017f7fc
cmp dword [0x18022bd88], 0xffffffff
jne 0x1800fd027
mov rcx, qword [0x18022ba50]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x1800fd00e
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x1800fcfb2
mov rdx, r11
test rax, rax
je 0x1800fcff0
nop dword [rax]
nop word [rax + rax]
movsx ecx, byte [r8 + rdx]
xor ecx, r9d
imul r9d, ecx, 0x1000193
inc rdx
cmp rdx, rax
jb 0x1800fcfd0
cmp r9d, 0x24615a25
je 0x1800fcffb
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1800fcfa1
jmp 0x1800fd00e
lea r8, str.m_iReloadMode
mov rdx, qword [r10 + 0x18]
call fcn.18017f390
mov r11d, eax
lea eax, [r11 - 0xec]
mov dword [0x18022bda4], eax
lea rcx, [0x18022bd88]
call fcn.18017f790
movsxd rax, dword [0x18022bda4]
add rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x1800fd040
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x18022a150]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x18022bdd4], edx
jle 0x1800fd124
lea rcx, [0x18022bdd4]
call fcn.18017f7fc
cmp dword [0x18022bdd4], 0xffffffff
jne 0x1800fd124
mov rcx, qword [0x18022ba50]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x1800fd10e
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x1800fd0b2
mov rdx, r11
test rax, rax
je 0x1800fd0f0
nop dword [rax]
nop word [rax + rax]
movsx ecx, byte [r8 + rdx]
xor ecx, r9d
imul r9d, ecx, 0x1000193
inc rdx
cmp rdx, rax
jb 0x1800fd0d0
cmp r9d, 0x24615a25
je 0x1800fd0fb
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1800fd0a1
jmp 0x1800fd10e
lea r8, str.m_flLastCritCheckTime
mov rdx, qword [r10 + 0x18]
call fcn.18017f390
mov r11d, eax
lea eax, [r11 - 4]
mov dword [0x18022bdd0], eax
lea rcx, [0x18022bdd4]
call fcn.18017f790
movsxd rax, dword [0x18022bdd0]
add rax, rbx
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x18022a150]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x18022bdcc], edx
jle 0x1800fd221
lea rcx, [0x18022bdcc]
call fcn.18017f7fc
cmp dword [0x18022bdcc], 0xffffffff
jne 0x1800fd221
mov rcx, qword [0x18022ba50]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x1800fd20e
mov r8, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rcx
cmp byte [r8 + rcx], r11b
jne 0x1800fd1b2
mov rdx, r11
test rcx, rcx
je 0x1800fd1f0
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [r8 + rdx]
xor eax, r9d
imul r9d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x1800fd1d0
cmp r9d, 0x7c5cc931
je 0x1800fd1fb
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1800fd1a1
jmp 0x1800fd20e
lea r8, str.m_iCritMult
mov rdx, qword [r10 + 0x18]
call fcn.18017f390
mov r11d, eax
mov dword [0x18022bddc], r11d
lea rcx, [0x18022bdcc]
call fcn.18017f790
movsxd rax, dword [0x18022bddc]
movd xmm2, dword [rax + rbx]
cvtdq2ps xmm2, xmm2
xorps xmm0, xmm0
subss xmm2, xmm0
divss xmm2, dword [0x180202500]
movss dword [rsp + 0x38], xmm2
mov dword [rsp + 0x40], 0x3f800000
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
lea rax, [rsp + 0x38]
comiss xmm0, xmm2
cmovbe rcx, rax
lea rax, [rsp + 0x40]
comiss xmm2, dword [0x180202328]
cmovbe rax, rcx
movss xmm0, dword [rax]
mulss xmm0, dword [0x1802023a0]
addss xmm0, dword [0x180202328]
add rsp, 0x20
pop rbx
ret
Function at 0x1800fd290
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, edx
mov rdi, rcx
mov r8d, dword [0x18022a150]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + r8*8]
mov r8d, dword [rcx + rax]
cmp dword [0x18022bdec], r8d
jle 0x1800fd381
lea rcx, [0x18022bdec]
call fcn.18017f7fc
cmp dword [0x18022bdec], 0xffffffff
jne 0x1800fd381
mov rcx, qword [0x18022ba50]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x1800fd36e
nop word [rax + rax]
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x1800fd311
mov rdx, r11
test rax, rax
je 0x1800fd350
nop dword [rax]
nop word [rax + rax]
movsx ecx, byte [r8 + rdx]
xor ecx, r9d
imul r9d, ecx, 0x1000193
inc rdx
cmp rdx, rax
jb 0x1800fd330
cmp r9d, 0x3369e751
je 0x1800fd35b
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1800fd300
jmp 0x1800fd36e
lea r8, str.m_iHealth
mov rdx, qword [r10 + 0x18]
call fcn.18017f390
mov r11d, eax
mov dword [0x18022bdb8], r11d
lea rcx, [0x18022bdec]
call fcn.18017f790
lea eax, [rbx*4]
cdqe
movsxd rdx, dword [0x18022bdb8]
add rax, rdi
mov eax, dword [rdx + rax]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1800fd6e0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov ecx, r9d
mov esi, r8d
mov ebx, edx
call fcn.180176750
mov rcx, qword [0x18022ba90]
mov r14d, eax
xor ebp, ebp
mov eax, 8
btr r14d, 0x1f
mov edi, ebp
cmp ebx, 2
mov rdx, qword [rcx]
cmove edi, eax
call qword [rdx + 0x60]
mov edx, dword [0x18022a150]
mov ecx, edi
mov ebx, eax
shl ebx, cl
lea ecx, [rdi + 8]
shl esi, cl
mov rcx, qword gs:[0x58]
or ebx, esi
mov esi, 4
mov rdi, qword [rcx + rdx*8]
mov eax, dword [rdi + rsi]
cmp dword [0x18023d510], eax
jle 0x1800fd7a0
lea rcx, [0x18023d510]
call fcn.18017f7fc
cmp dword [0x18023d510], 0xffffffff
jne 0x1800fd7a0
lea rcx, str.vstdlib.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.RandomSeed
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x18023d510]
mov qword [0x18023d4f0], rax
call fcn.18017f790
xor ebx, r14d
mov ecx, ebx
call qword [0x18023d4f0]
mov eax, dword [rdi + rsi]
cmp dword [0x18023d4e8], eax
jle 0x1800fd7fb
lea rcx, [0x18023d4e8]
call fcn.18017f7fc
cmp dword [0x18023d4e8], 0xffffffff
jne 0x1800fd7fb
lea rcx, str.vstdlib.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.RandomInt
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [0x18023d4e8]
mov qword [0x18023d520], rax
call fcn.18017f790
mov edx, 0x270f
xor ecx, ecx
call qword [0x18023d520]
cmp byte [rsp + 0x50], bpl
je 0x1800fd817
cmp eax, 0x64
setl al
jmp 0x1800fd81f
cmp eax, 0x1770
setge al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret