joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800f62c0
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 0x1800f62e8
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 0x1800f630e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1800f6310
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1800f6369
test ecx, ecx
jle 0x1800f6349
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 0x1800f6369
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1800f6369
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 0x1800f6390
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 0x1800f63c1
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 0x1800f63df
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 0x1800f63fb
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1800f63fd
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1800f6439
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 0x1800f64ce
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1800f6474
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 0x1800f64ae
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 0x1800f64ce
cmp rbx, rax
ja 0x1800f6480
test rbx, rbx
je 0x1800f64ce
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 0x1800f68e0
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 0x1800f6904
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 0x1800f6947
mov rdx, qword [rbx + 0x58]
movsxd r8, dword [rdx]
lea rax, [rcx + r8]
cmp rcx, rax
jae 0x1800f6947
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 0x1800f6a78
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1800f698a
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 0x1800f69b5
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 0x1800f6a7d
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 0x1800f6a2a
sub eax, 1
je 0x1800f6a2a
cmp eax, 2
jne 0x1800f6a78
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 0x1800f6a7d
mov rsi, qword [rsp + 0x90]
lea rax, [rsp + 0x48]
sub rsi, rax
je 0x1800f6a5b
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 0x1800f6a78
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x98], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1800f6a7d
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x1800f70c0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1800f7189
cmp byte [rcx + 0x71], 0
je 0x1800f7189
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x68], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1800f717c
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 0x1800f7138
sub eax, 1
je 0x1800f713c
cmp eax, 2
jne 0x1800f717c
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 0x1800f716a
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 0x1800f717c
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 0x1800ff290
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x18022f1ec]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x180230e70], edx
jle 0x1800ff371
lea rcx, [0x180230e70]
call fcn.18018237c
cmp dword [0x180230e70], 0xffffffff
jne 0x1800ff371
mov rcx, qword [0x180230ae0]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x1800ff35e
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x1800ff302
mov rdx, r11
test rax, rax
je 0x1800ff340
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 0x1800ff320
cmp r9d, 0xd134a6b7
je 0x1800ff34b
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1800ff2f1
jmp 0x1800ff35e
lea r8, str.m_iPrimaryAmmoType
mov rdx, qword [r10 + 0x18]
call fcn.180181f10
mov r11d, eax
mov dword [0x180230e74], r11d
lea rcx, [0x180230e70]
call fcn.180182310
movsxd rax, dword [0x180230e74]
add rax, rbx
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x18022f1ec]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x180230e30], edx
jle 0x1800ff477
lea rcx, [0x180230e30]
call fcn.18018237c
cmp dword [0x180230e30], 0xffffffff
jne 0x1800ff477
mov rcx, qword [0x180230ae0]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x1800ff45e
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x1800ff402
mov rdx, r11
test rax, rax
je 0x1800ff440
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 0x1800ff420
cmp r9d, 0x24615a25
je 0x1800ff44b
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1800ff3f1
jmp 0x1800ff45e
lea r8, str.m_iReloadMode
mov rdx, qword [r10 + 0x18]
call fcn.180181f10
mov r11d, eax
lea eax, [r11 - 0xf4]
mov dword [0x180230e7c], eax
lea rcx, [0x180230e30]
call fcn.180182310
movsxd rax, dword [0x180230e7c]
add rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x1800ff490
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x18022f1ec]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x180230e80], edx
jle 0x1800ff577
lea rcx, [0x180230e80]
call fcn.18018237c
cmp dword [0x180230e80], 0xffffffff
jne 0x1800ff577
mov rcx, qword [0x180230ae0]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x1800ff55e
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x1800ff502
mov rdx, r11
test rax, rax
je 0x1800ff540
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 0x1800ff520
cmp r9d, 0x24615a25
je 0x1800ff54b
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1800ff4f1
jmp 0x1800ff55e
lea r8, str.m_iReloadMode
mov rdx, qword [r10 + 0x18]
call fcn.180181f10
mov r11d, eax
lea eax, [r11 - 0xf0]
mov dword [0x180230e60], eax
lea rcx, [0x180230e80]
call fcn.180182310
movsxd rax, dword [0x180230e60]
add rax, rbx
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x18022f1ec]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x180230e20], edx
jle 0x1800ff677
lea rcx, [0x180230e20]
call fcn.18018237c
cmp dword [0x180230e20], 0xffffffff
jne 0x1800ff677
mov rcx, qword [0x180230ae0]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x1800ff65e
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x1800ff602
mov rdx, r11
test rax, rax
je 0x1800ff640
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 0x1800ff620
cmp r9d, 0x24615a25
je 0x1800ff64b
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1800ff5f1
jmp 0x1800ff65e
lea r8, str.m_iReloadMode
mov rdx, qword [r10 + 0x18]
call fcn.180181f10
mov r11d, eax
lea eax, [r11 - 0xec]
mov dword [0x180230e3c], eax
lea rcx, [0x180230e20]
call fcn.180182310
movsxd rax, dword [0x180230e3c]
add rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x1800ff690
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x18022f1ec]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x180230e6c], edx
jle 0x1800ff774
lea rcx, [0x180230e6c]
call fcn.18018237c
cmp dword [0x180230e6c], 0xffffffff
jne 0x1800ff774
mov rcx, qword [0x180230ae0]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x1800ff75e
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x1800ff702
mov rdx, r11
test rax, rax
je 0x1800ff740
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 0x1800ff720
cmp r9d, 0x24615a25
je 0x1800ff74b
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1800ff6f1
jmp 0x1800ff75e
lea r8, str.m_flLastCritCheckTime
mov rdx, qword [r10 + 0x18]
call fcn.180181f10
mov r11d, eax
lea eax, [r11 - 4]
mov dword [0x180230e68], eax
lea rcx, [0x180230e6c]
call fcn.180182310
movsxd rax, dword [0x180230e68]
add rax, rbx
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x18022f1ec]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x180230e64], edx
jle 0x1800ff871
lea rcx, [0x180230e64]
call fcn.18018237c
cmp dword [0x180230e64], 0xffffffff
jne 0x1800ff871
mov rcx, qword [0x180230ae0]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x1800ff85e
mov r9, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r8d, 0x811c9dc5
inc rcx
cmp byte [r9 + rcx], r11b
jne 0x1800ff802
mov rdx, r11
test rcx, rcx
je 0x1800ff840
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [r9 + rdx]
xor eax, r8d
imul r8d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x1800ff820
cmp r8d, 0x7c5cc931
je 0x1800ff84b
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1800ff7f1
jmp 0x1800ff85e
lea r8, str.m_iCritMult
mov rdx, qword [r10 + 0x18]
call fcn.180181f10
mov r11d, eax
mov dword [0x180230e78], r11d
lea rcx, [0x180230e64]
call fcn.180182310
movsxd rax, dword [0x180230e78]
movd xmm2, dword [rax + rbx]
cvtdq2ps xmm2, xmm2
xorps xmm0, xmm0
subss xmm2, xmm0
divss xmm2, dword [0x18020683c]
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 [0x180206650]
cmovbe rax, rcx
movss xmm0, dword [rax]
mulss xmm0, dword [0x1802066c8]
addss xmm0, dword [0x180206650]
add rsp, 0x20
pop rbx
ret
Function at 0x1800ff8e0
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 [0x18022f1ec]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + r8*8]
mov r8d, dword [rcx + rax]
cmp dword [0x180230e84], r8d
jle 0x1800ff9d1
lea rcx, [0x180230e84]
call fcn.18018237c
cmp dword [0x180230e84], 0xffffffff
jne 0x1800ff9d1
mov rcx, qword [0x180230ae0]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x1800ff9be
nop word [rax + rax]
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x1800ff961
mov rdx, r11
test rax, rax
je 0x1800ff9a0
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 0x1800ff980
cmp r9d, 0x3369e751
je 0x1800ff9ab
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1800ff950
jmp 0x1800ff9be
lea r8, str.m_iHealth
mov rdx, qword [r10 + 0x18]
call fcn.180181f10
mov r11d, eax
mov dword [0x180230e50], r11d
lea rcx, [0x180230e84]
call fcn.180182310
lea eax, [rbx*4]
cdqe
movsxd rdx, dword [0x180230e50]
add rax, rdi
mov eax, dword [rdx + rax]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1800ffd30
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 ebp, r8d
mov ebx, edx
call fcn.1801794a0
mov rcx, qword [0x180230b20]
mov esi, eax
xor r14d, r14d
mov eax, 8
btr esi, 0x1f
mov edi, r14d
cmp ebx, 2
mov rdx, qword [rcx]
cmove edi, eax
call qword [rdx + 0x60]
mov ecx, edi
mov ebx, eax
mov rax, qword gs:[0x58]
shl ebx, cl
lea ecx, [rdi + 8]
shl ebp, cl
mov ecx, dword [0x18022f1ec]
or ebx, ebp
xor ebx, esi
mov esi, 4
mov rdi, qword [rax + rcx*8]
mov eax, dword [rdi + rsi]
cmp dword [0x180243420], eax
jle 0x1800ffdf2
lea rcx, [0x180243420]
call fcn.18018237c
cmp dword [0x180243420], 0xffffffff
jne 0x1800ffdf2
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, [0x180243420]
mov qword [0x180243400], rax
call fcn.180182310
mov ecx, ebx
call qword [0x180243400]
mov eax, dword [rdi + rsi]
cmp dword [0x1802433f8], eax
jle 0x1800ffe4a
lea rcx, [0x1802433f8]
call fcn.18018237c
cmp dword [0x1802433f8], 0xffffffff
jne 0x1800ffe4a
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, [0x1802433f8]
mov qword [0x180243430], rax
call fcn.180182310
mov edx, 0x270f
xor ecx, ecx
call qword [0x180243430]
cmp byte [rsp + 0x50], r14b
je 0x1800ffe66
cmp eax, 0x64
setl al
jmp 0x1800ffe6e
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
Function at 0x1801018f0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
push r14
sub rsp, 0x40
mov r14, qword [0x18022a880]
test r14, r14
je 0x180101ae3
mov rax, qword [0x180240500]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x38], rsi
mov rbx, qword [rax]
mov qword [rsp + 0x30], rdi
cmp rbx, rax
je 0x180101a12
movabs rsi, 0xcbf29ce484222325
movabs rdi, 0x100000001b3
nop word [rax + rax]
mov rcx, qword [0x180230b08]
mov edx, dword [rbx + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x18]
test rax, rax
je 0x18010196d
mov rbx, qword [rbx]
jmp 0x180101a05
movzx eax, byte [rbx + 0x11]
mov rcx, rbx
movzx r8d, byte [rbx + 0x10]
xor r8, rsi
imul r8, rdi
xor r8, rax
movzx eax, byte [rbx + 0x12]
imul r8, rdi
xor r8, rax
movzx eax, byte [rbx + 0x13]
imul r8, rdi
xor r8, rax
imul r8, rdi
and r8, qword [0x180240528]
shl r8, 4
add r8, qword [0x180240510]
mov rax, qword [r8]
cmp qword [r8 + 8], rbx
jne 0x1801019d7
cmp rax, rbx
jne 0x1801019cd
mov rax, qword [0x180240500]
mov qword [r8], rax
mov qword [r8 + 8], rax
jmp 0x1801019e2
mov rax, qword [rbx + 8]
mov qword [r8 + 8], rax
jmp 0x1801019e2
cmp rax, rbx
jne 0x1801019e2
mov rax, qword [rbx]
mov qword [r8], rax
mov rbx, qword [rbx]
mov edx, 0x18
dec qword [0x180240508]
mov rax, qword [rcx + 8]
mov qword [rax], rbx
mov rax, qword [rcx + 8]
mov qword [rbx + 8], rax
call fcn.1801822cc
cmp rbx, qword [0x180240500]
jne 0x180101950
lea r8, [rsp + 0x50]
mov dword [rsp + 0x50], 0
lea rdx, [rsp + 0x20]
lea rcx, [0x18022a890]
call fcn.1800b3fa0
mov rcx, qword [rax]
mov rbp, qword [rcx + 0x20]
mov rsi, qword [rcx + 0x18]
cmp rsi, rbp
je 0x180101acf
mov rdi, qword [rsi]
mov rcx, rdi
call fcn.1800a8b40
cmp byte [rax], 0
jne 0x180101ac2
mov rcx, rdi
call fcn.1800a8e50
mov ecx, dword [rax]
shr ecx, 0xd
test cl, 1
jne 0x180101ac2
mov rax, qword [rdi + 0x10]
lea rbx, [rdi + 0x10]
mov rcx, rbx
call qword [rax + 0x40]
test al, al
je 0x180101a8f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x48]
mov edx, eax
mov rcx, r14
call fcn.1800ff8e0
mov edi, eax
jmp 0x180101a99
mov rcx, rdi
call fcn.1800aeb00
mov edi, dword [rax]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x48]
lea r8, [rsp + 0x50]
mov dword [rsp + 0x50], eax
lea rdx, [rsp + 0x20]
lea rcx, [0x1802404f8]
call fcn.1800b41e0
mov rcx, qword [rax]
mov dword [rcx + 0x14], edi
add rsi, 8
cmp rsi, rbp
jne 0x180101a44
mov rdi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x38]
add rsp, 0x40
pop r14
ret
Function at 0x180103520
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
mov r8d, dword [0x18022f1ec]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + r8*8]
mov r8d, dword [rcx + rax]
cmp dword [0x180230e9c], r8d
jle 0x180103614
lea rcx, [0x180230e9c]
call fcn.18018237c
cmp dword [0x180230e9c], 0xffffffff
jne 0x180103614
mov rcx, qword [0x180230ae0]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x1801035fe
nop dword [rax + rax]
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x1801035a1
mov rdx, r11
test rax, rax
je 0x1801035e0
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 0x1801035c0
cmp r9d, 0x7a1c884e
je 0x1801035eb
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x180103590
jmp 0x1801035fe
lea r8, str.m_hConstraintEntity
mov rdx, qword [r10 + 0x18]
call fcn.180181f10
mov r11d, eax
lea eax, [r11 - 8]
mov dword [0x180230e88], eax
lea rcx, [0x180230e9c]
call fcn.180182310
movsxd rax, dword [0x180230e88]
mov qword [rax + rdi], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180124610
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x1801246c9
mov rax, qword [rbx + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x18012464a
mov rdx, qword [rbx + 8]
mov rcx, rbx
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x20
pop rbx
jmp 0x1801247b0
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rax, qword [rcx + 8]
mov qword [rax], rsi
mov rcx, qword [rcx]
test rcx, rcx
je 0x180124685
nop dword [rax]
mov rdi, qword [rcx]
mov edx, 0x20
call fcn.1801822cc
mov rcx, rdi
test rdi, rdi
jne 0x180124670
mov rax, qword [rbx + 8]
mov qword [rax], rax
mov rax, qword [rbx + 8]
mov qword [rax + 8], rax
mov qword [rbx + 0x10], rsi
mov rdi, qword [rbx + 0x18]
mov rcx, qword [rbx + 0x20]
sub rcx, rdi
add rcx, 7
shr rcx, 3
cmp rdi, qword [rbx + 0x20]
cmova rcx, rsi
mov rsi, qword [rsp + 0x30]
test rcx, rcx
je 0x1801246c4
mov rax, qword [rbx + 8]
rep stosq qword [rdi], rax
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret