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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x18022b1cc]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x18022cdf8], edx
jle 0x1800d8df1
lea rcx, [0x18022cdf8]
call fcn.18017f85c
cmp dword [0x18022cdf8], 0xffffffff
jne 0x1800d8df1
mov rcx, qword [0x18022cad0]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x1800d8dde
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x1800d8d82
mov rdx, r11
test rax, rax
je 0x1800d8dc0
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 0x1800d8da0
cmp r9d, 0x7a1c884e
je 0x1800d8dcb
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1800d8d71
jmp 0x1800d8dde
lea r8, str.m_vecVelocity_0_
mov rdx, qword [r10 + 0x18]
call fcn.18017f3f0
mov r11d, eax
mov dword [0x18022cdfc], r11d
lea rcx, [0x18022cdf8]
call fcn.18017f7f0
movsxd rax, dword [0x18022cdfc]
add rax, rbx
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x18022b1cc]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x18022cdec], edx
jle 0x1800d8ef1
lea rcx, [0x18022cdec]
call fcn.18017f85c
cmp dword [0x18022cdec], 0xffffffff
jne 0x1800d8ef1
mov rcx, qword [0x18022cad0]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x1800d8ede
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x1800d8e82
mov rdx, r11
test rax, rax
je 0x1800d8ec0
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 0x1800d8ea0
cmp r9d, 0x7a1c884e
je 0x1800d8ecb
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1800d8e71
jmp 0x1800d8ede
lea r8, str.m_flMaxspeed
mov rdx, qword [r10 + 0x18]
call fcn.18017f3f0
mov r11d, eax
mov dword [0x18022cdf0], r11d
lea rcx, [0x18022cdec]
call fcn.18017f7f0
movsxd rax, dword [0x18022cdf0]
add rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x1800db8b0
Capabilities:
Encode data using xor
Hash data using fnv

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, 0x40
mov rdi, r8
mov r14, rdx
mov r8, qword [r8 + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1800db8e1
mov rdx, qword [rdi]
movabs rbx, 0xcbf29ce484222325
xor ecx, ecx
test r8, r8
je 0x1800db913
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor rbx, rax
imul rbx, r9
inc rcx
cmp rcx, r8
jb 0x1800db900
mov r9, rbx
mov r8, rdi
lea rdx, [rsp + 0x20]
call fcn.1800dbe50
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x1800db93a
mov qword [r14], rax
mov byte [r14 + 8], 0
jmp 0x1800dbaf7
movabs rax, 0x249249249249249
cmp qword [0x1802260d0], rax
jne 0x1800db95b
lea rcx, str.unordered_map_set_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [0x1802260c8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
mov ecx, 0x70
call fcn.18017f8d4
mov rsi, rax
mov qword [rsp + 0x38], rax
mov rdx, rdi
lea rcx, [rax + 0x10]
call fcn.18008f2b0
mov qword [rsi + 0x68], 0
mov r8, qword [0x1802260d0]
lea rcx, [r8 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x1800db9b0
cvtsi2ss xmm0, rcx
jmp 0x1800db9c5
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rdi, qword [0x1802260f8]
xorps xmm2, xmm2
test rdi, rdi
js 0x1800db9db
cvtsi2ss xmm2, rdi
jmp 0x1800db9f3
mov rcx, rdi
shr rcx, 1
mov rax, rdi
and eax, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm1, xmm0
divss xmm1, xmm2
movss xmm3, dword [0x1802260c0]
comiss xmm1, xmm3
jbe 0x1800dba93
divss xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
xor ecx, ecx
movss xmm1, dword [0x18020378c]
comiss xmm0, xmm1
jb 0x1800dba39
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x1800dba39
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rdi, rcx
jae 0x1800dba6b
cmp rdi, 0x200
jae 0x1800dba68
lea rdi, [rdi*8]
cmp rdi, rcx
jae 0x1800dba6b
mov rdi, rcx
mov rdx, rdi
call fcn.1800dbbd0
mov r9, rbx
lea r8, [rsi + 0x10]
lea rdx, [rsp + 0x30]
call fcn.1800dbe50
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
mov r8, qword [0x1802260d0]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx + 8]
inc r8
mov qword [0x1802260d0], r8
mov qword [rsi], rcx
mov qword [rsi + 8], rdx
mov qword [rdx], rsi
mov qword [rcx + 8], rsi
mov rax, qword [0x1802260d8]
and rbx, qword [0x1802260f0]
add rbx, rbx
mov r8, qword [rax + rbx*8]
cmp r8, qword [0x1802260c8]
jne 0x1800dbad8
mov qword [rax + rbx*8], rsi
jmp 0x1800dbaea
cmp r8, rcx
jne 0x1800dbae3
mov qword [rax + rbx*8], rsi
jmp 0x1800dbaef
cmp qword [rax + rbx*8 + 8], rdx
jne 0x1800dbaef
mov qword [rax + rbx*8 + 8], rsi
mov qword [r14], rsi
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1800dd4d0
Capabilities:
Hash data using fnv

Disassembly:
movsx eax, byte [rcx]
test al, al
jne 0x1800dd4da
mov eax, edx
ret
xor eax, edx
imul edx, eax, 0x1000193
inc rcx
jmp fcn.1800dd4d0

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

Disassembly:
mov r9, rcx
mov rdx, 0xffffffffffffffff
mov r8d, 0x811c9dc5
inc rdx
cmp byte [rcx + rdx], 0
jne 0x1800dd500
xor ecx, ecx
test rdx, rdx
je 0x1800dd527
movsx eax, byte [r9 + rcx]
inc rcx
xor eax, r8d
imul r8d, eax, 0x1000193
cmp rcx, rdx
jb 0x1800dd510
mov eax, r8d
ret
Function at 0x1800de540
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x40
mov rbx, r8
mov rdi, rdx
mov r8, qword [r8 + 0x10]
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1800de566
mov rdx, qword [rbx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x1800de594
movabs r10, 0x100000001b3
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x1800de581
mov r8, rbx
lea rdx, [rsp + 0x28]
lea rcx, [0x180228550]
call fcn.180092ff0
cmp qword [rax + 8], 0
je 0x1800de5f2
mov r8, rbx
lea rdx, [rsp + 0x28]
lea rcx, [0x180228550]
call fcn.1800e0dd0
mov rdx, qword [rax]
cmp qword [rdx + 0x60], 0
je 0x1800de5f2
mov r8, rbx
lea rdx, [rsp + 0x28]
lea rcx, [0x180228550]
call fcn.1800e0dd0
mov rdx, qword [rax]
add rdx, 0x50
mov rcx, rdi
call fcn.18008f2b0
jmp 0x1800de63a
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov qword [rdi + 0x18], 0
mov qword [rdi + 0x10], 7
mov qword [rdi + 0x18], 0xf
mov rax, qword [0x1801f1c68]
mov dword [rdi], eax
movzx eax, word [0x1801f1c6c]
mov word [rdi + 4], ax
movzx eax, byte [0x1801f1c6e]
mov byte [rdi + 6], al
mov byte [rdi + 7], 0
mov rcx, rbx
call fcn.18008f640
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x30
mov rdi, r8
mov rbx, rdx
mov r10, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x1800de678
mov rdx, qword [rdx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x1800de6b3
movabs r8, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r8
inc rcx
cmp rcx, r10
jb 0x1800de6a0
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [0x180228550]
call fcn.180092ff0
cmp qword [rax + 8], 0
jne 0x1800de705
mov rax, qword [0x180228598]
cmp rax, qword [0x1802285a0]
je 0x1800de6f3
mov rdx, rbx
mov rcx, rax
call fcn.18008f2b0
add qword [0x180228598], 0x20
jmp 0x1800de705
mov r8, rbx
mov rdx, rax
lea rcx, [0x180228590]
call fcn.1800e2f60
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [0x180228550]
call fcn.1800e0dd0
mov rcx, qword [rax]
mov eax, dword [rdi]
mov dword [rcx + 0x30], eax
mov eax, dword [rdi + 4]
mov dword [rcx + 0x34], eax
mov eax, dword [rdi + 8]
mov dword [rcx + 0x38], eax
movzx eax, byte [rdi + 0xc]
mov byte [rcx + 0x3c], al
movzx eax, byte [rdi + 0xd]
mov byte [rcx + 0x3d], al
movzx eax, byte [rdi + 0xe]
mov byte [rcx + 0x3e], al
movups xmm0, xmmword [rdi + 0x10]
movups xmmword [rcx + 0x40], xmm0
add rdi, 0x20
add rcx, 0x50
cmp rcx, rdi
je 0x1800de76e
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1800de764
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
call fcn.18008f6a0
nop
mov rcx, rbx
call fcn.18008f640
nop
mov rcx, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.18008f640
Function at 0x1800e0400
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 0x1800e0415
mov r10, qword [rdx]
xor r8d, r8d
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x1800e0459
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 0x1800e0440
mov rbx, qword [rsp + 0x30]
mov r8, rdx
lea rdx, [rsp + 0x20]
call fcn.180092ff0
cmp qword [rax + 8], 0
setne al
add rsp, 0x38
ret

Function at 0x1800e0480
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 0x1800e04b1
mov r9, qword [r8 + 0x10]
xor edx, edx
movabs r8, 0xcbf29ce484222325
test r10, r10
je 0x1800e04e4
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [r9 + rdx]
inc rdx
xor r8, rax
imul r8, rcx
cmp rdx, r10
jb 0x1800e04d0
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 0x1800e0518
cmp rax, rbx
jne 0x1800e050e
mov rax, qword [rsi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x1800e0523
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x1800e0523
cmp rax, rbx
jne 0x1800e0523
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.18008f640
mov edx, 0x38
mov rcx, rbx
call fcn.18017f7ac
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 0x1800e0570
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 0x1800e05a1
mov r9, qword [r8 + 0x10]
xor edx, edx
movabs r8, 0xcbf29ce484222325
test r10, r10
je 0x1800e05d4
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [r9 + rdx]
inc rdx
xor r8, rax
imul r8, rcx
cmp rdx, r10
jb 0x1800e05c0
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 0x1800e0608
cmp rax, rbx
jne 0x1800e05fe
mov rax, qword [r11 + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x1800e0613
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x1800e0613
cmp rax, rbx
jne 0x1800e0613
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.18008f640
lea rcx, [rbx + 0x10]
call fcn.18008f640
mov edx, 0x50
mov rcx, rbx
call fcn.18017f7ac
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 0x1800e0670
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 0x1800e06a1
mov r9, qword [r8 + 0x10]
xor edx, edx
movabs r8, 0xcbf29ce484222325
test r10, r10
je 0x1800e06d4
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [r9 + rdx]
inc rdx
xor r8, rax
imul r8, rcx
cmp rdx, r10
jb 0x1800e06c0
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 0x1800e0708
cmp rax, rbx
jne 0x1800e06fe
mov rax, qword [r11 + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x1800e0713
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x1800e0713
cmp rax, rbx
jne 0x1800e0713
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.18008f490
lea rcx, [rbx + 0x10]
call fcn.18008f640
mov edx, 0x48
mov rcx, rbx
call fcn.18017f7ac
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 0x1800e0770
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 0x1800e07a1
mov r9, qword [r8 + 0x10]
xor edx, edx
movabs r8, 0xcbf29ce484222325
test r10, r10
je 0x1800e07d4
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [r9 + rdx]
inc rdx
xor r8, rax
imul r8, rcx
cmp rdx, r10
jb 0x1800e07c0
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 0x1800e0808
cmp rax, rbx
jne 0x1800e07fe
mov rax, qword [rsi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x1800e0813
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x1800e0813
cmp rax, rbx
jne 0x1800e0813
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.18008f640
mov edx, 0x40
mov rcx, rbx
call fcn.18017f7ac
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 0x1800f2fb0
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 0x1800f2fd8
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 0x1800f2ffe
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1800f3000
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1800f3059
test ecx, ecx
jle 0x1800f3039
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 0x1800f3059
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1800f3059
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 0x1800f3080
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 0x1800f30b1
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 0x1800f30cf
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 0x1800f30eb
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1800f30ed
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1800f3129
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 0x1800f31be
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1800f3164
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 0x1800f319e
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 0x1800f31be
cmp rbx, rax
ja 0x1800f3170
test rbx, rbx
je 0x1800f31be
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 0x1800f35d0
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 0x1800f35f4
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 0x1800f3637
mov rdx, qword [rbx + 0x58]
movsxd r8, dword [rdx]
lea rax, [rcx + r8]
cmp rcx, rax
jae 0x1800f3637
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 0x1800f3768
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1800f367a
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 0x1800f36a5
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 0x1800f376d
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 0x1800f371a
sub eax, 1
je 0x1800f371a
cmp eax, 2
jne 0x1800f3768
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 0x1800f376d
mov rsi, qword [rsp + 0x90]
lea rax, [rsp + 0x48]
sub rsi, rax
je 0x1800f374b
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 0x1800f3768
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x98], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1800f376d
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x1800f3db0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1800f3e79
cmp byte [rcx + 0x71], 0
je 0x1800f3e79
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x68], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1800f3e6c
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 0x1800f3e28
sub eax, 1
je 0x1800f3e2c
cmp eax, 2
jne 0x1800f3e6c
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 0x1800f3e5a
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 0x1800f3e6c
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 0x1800fbf80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x18022b1cc]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x18022ce60], edx
jle 0x1800fc061
lea rcx, [0x18022ce60]
call fcn.18017f85c
cmp dword [0x18022ce60], 0xffffffff
jne 0x1800fc061
mov rcx, qword [0x18022cad0]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x1800fc04e
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x1800fbff2
mov rdx, r11
test rax, rax
je 0x1800fc030
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 0x1800fc010
cmp r9d, 0xd134a6b7
je 0x1800fc03b
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1800fbfe1
jmp 0x1800fc04e
lea r8, str.m_iPrimaryAmmoType
mov rdx, qword [r10 + 0x18]
call fcn.18017f3f0
mov r11d, eax
mov dword [0x18022ce68], r11d
lea rcx, [0x18022ce60]
call fcn.18017f7f0
movsxd rax, dword [0x18022ce68]
add rax, rbx
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x18022b1cc]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x18022ce20], edx
jle 0x1800fc167
lea rcx, [0x18022ce20]
call fcn.18017f85c
cmp dword [0x18022ce20], 0xffffffff
jne 0x1800fc167
mov rcx, qword [0x18022cad0]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x1800fc14e
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x1800fc0f2
mov rdx, r11
test rax, rax
je 0x1800fc130
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 0x1800fc110
cmp r9d, 0x24615a25
je 0x1800fc13b
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1800fc0e1
jmp 0x1800fc14e
lea r8, str.m_iReloadMode
mov rdx, qword [r10 + 0x18]
call fcn.18017f3f0
mov r11d, eax
lea eax, [r11 - 0xf4]
mov dword [0x18022ce6c], eax
lea rcx, [0x18022ce20]
call fcn.18017f7f0
movsxd rax, dword [0x18022ce6c]
add rax, rbx
add rsp, 0x20
pop rbx
ret