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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x18023228c]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x180233eb0], edx
jle 0x1800dc001
lea rcx, [0x180233eb0]
call fcn.180183aac
cmp dword [0x180233eb0], 0xffffffff
jne 0x1800dc001
mov rcx, qword [0x180233b80]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x1800dbfee
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x1800dbf92
mov rdx, r11
test rax, rax
je 0x1800dbfd0
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 0x1800dbfb0
cmp r9d, 0x7a1c884e
je 0x1800dbfdb
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1800dbf81
jmp 0x1800dbfee
lea r8, str.m_vecVelocity_0_
mov rdx, qword [r10 + 0x18]
call fcn.180183640
mov r11d, eax
mov dword [0x180233eb4], r11d
lea rcx, [0x180233eb0]
call fcn.180183a40
movsxd rax, dword [0x180233eb4]
add rax, rbx
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x18023228c]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x180233ea4], edx
jle 0x1800dc101
lea rcx, [0x180233ea4]
call fcn.180183aac
cmp dword [0x180233ea4], 0xffffffff
jne 0x1800dc101
mov rcx, qword [0x180233b80]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x1800dc0ee
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x1800dc092
mov rdx, r11
test rax, rax
je 0x1800dc0d0
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 0x1800dc0b0
cmp r9d, 0x7a1c884e
je 0x1800dc0db
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1800dc081
jmp 0x1800dc0ee
lea r8, str.m_flMaxspeed
mov rdx, qword [r10 + 0x18]
call fcn.180183640
mov r11d, eax
mov dword [0x180233ea8], r11d
lea rcx, [0x180233ea4]
call fcn.180183a40
movsxd rax, dword [0x180233ea8]
add rax, rbx
add rsp, 0x20
pop rbx
ret
Function at 0x1800de9c0
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 0x1800de9f1
mov rdx, qword [rdi]
movabs rbx, 0xcbf29ce484222325
xor ecx, ecx
test r8, r8
je 0x1800dea23
movabs r9, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + rcx]
xor rbx, rax
imul rbx, r9
inc rcx
cmp rcx, r8
jb 0x1800dea10
mov r9, rbx
mov r8, rdi
lea rdx, [rsp + 0x20]
call fcn.1800def60
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x1800dea4a
mov qword [r14], rax
mov byte [r14 + 8], 0
jmp 0x1800dec07
movabs rax, 0x249249249249249
cmp qword [0x18022d0d0], rax
jne 0x1800dea6b
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, [0x18022d0c8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
mov ecx, 0x70
call fcn.180183b24
mov rsi, rax
mov qword [rsp + 0x38], rax
mov rdx, rdi
lea rcx, [rax + 0x10]
call fcn.180090730
mov qword [rsi + 0x68], 0
mov r8, qword [0x18022d0d0]
lea rcx, [r8 + 1]
xorps xmm0, xmm0
test rcx, rcx
js 0x1800deac0
cvtsi2ss xmm0, rcx
jmp 0x1800dead5
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rdi, qword [0x18022d0f8]
xorps xmm2, xmm2
test rdi, rdi
js 0x1800deaeb
cvtsi2ss xmm2, rdi
jmp 0x1800deb03
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 [0x18022d0c0]
comiss xmm1, xmm3
jbe 0x1800deba3
divss xmm0, xmm3
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
xor ecx, ecx
movss xmm1, dword [0x18020946c]
comiss xmm0, xmm1
jb 0x1800deb49
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x1800deb49
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 0x1800deb7b
cmp rdi, 0x200
jae 0x1800deb78
lea rdi, [rdi*8]
cmp rdi, rcx
jae 0x1800deb7b
mov rdi, rcx
mov rdx, rdi
call fcn.1800dece0
mov r9, rbx
lea r8, [rsi + 0x10]
lea rdx, [rsp + 0x30]
call fcn.1800def60
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
mov r8, qword [0x18022d0d0]
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rcx + 8]
inc r8
mov qword [0x18022d0d0], r8
mov qword [rsi], rcx
mov qword [rsi + 8], rdx
mov qword [rdx], rsi
mov qword [rcx + 8], rsi
mov rax, qword [0x18022d0d8]
and rbx, qword [0x18022d0f0]
add rbx, rbx
mov r8, qword [rax + rbx*8]
cmp r8, qword [0x18022d0c8]
jne 0x1800debe8
mov qword [rax + rbx*8], rsi
jmp 0x1800debfa
cmp r8, rcx
jne 0x1800debf3
mov qword [rax + rbx*8], rsi
jmp 0x1800debff
cmp qword [rax + rbx*8 + 8], rdx
jne 0x1800debff
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 0x1800e05e0
Capabilities:
Hash data using fnv

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

Function at 0x1800e0600
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 0x1800e0610
xor ecx, ecx
test rdx, rdx
je 0x1800e0637
movsx eax, byte [r9 + rcx]
inc rcx
xor eax, r8d
imul r8d, eax, 0x1000193
cmp rcx, rdx
jb 0x1800e0620
mov eax, r8d
ret
Function at 0x1800e1650
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 0x1800e1676
mov rdx, qword [rbx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r8, r8
je 0x1800e16a4
movabs r10, 0x100000001b3
movzx eax, byte [rdx + rcx]
xor r9, rax
imul r9, r10
inc rcx
cmp rcx, r8
jb 0x1800e1691
mov r8, rbx
lea rdx, [rsp + 0x28]
lea rcx, [0x18022f590]
call fcn.180094450
cmp qword [rax + 8], 0
je 0x1800e1702
mov r8, rbx
lea rdx, [rsp + 0x28]
lea rcx, [0x18022f590]
call fcn.1800e3ee0
mov rdx, qword [rax]
cmp qword [rdx + 0x60], 0
je 0x1800e1702
mov r8, rbx
lea rdx, [rsp + 0x28]
lea rcx, [0x18022f590]
call fcn.1800e3ee0
mov rdx, qword [rax]
add rdx, 0x50
mov rcx, rdi
call fcn.180090730
jmp 0x1800e174a
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 [0x1801f5cd8]
mov dword [rdi], eax
movzx eax, word [0x1801f5cdc]
mov word [rdi + 4], ax
movzx eax, byte [0x1801f5cde]
mov byte [rdi + 6], al
mov byte [rdi + 7], 0
mov rcx, rbx
call fcn.180090ac0
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1800e1760
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 0x1800e1788
mov rdx, qword [rdx]
xor ecx, ecx
movabs r9, 0xcbf29ce484222325
test r10, r10
je 0x1800e17c3
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 0x1800e17b0
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [0x18022f590]
call fcn.180094450
cmp qword [rax + 8], 0
jne 0x1800e1815
mov rax, qword [0x18022f5d8]
cmp rax, qword [0x18022f5e0]
je 0x1800e1803
mov rdx, rbx
mov rcx, rax
call fcn.180090730
add qword [0x18022f5d8], 0x20
jmp 0x1800e1815
mov r8, rbx
mov rdx, rax
lea rcx, [0x18022f5d0]
call fcn.1800e6070
mov r8, rbx
lea rdx, [rsp + 0x20]
lea rcx, [0x18022f590]
call fcn.1800e3ee0
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 0x1800e187e
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1800e1874
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
call fcn.180090b20
nop
mov rcx, rbx
call fcn.180090ac0
nop
mov rcx, rdi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.180090ac0
Function at 0x1800e3510
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 0x1800e3525
mov r10, qword [rdx]
xor r8d, r8d
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x1800e3569
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 0x1800e3550
mov rbx, qword [rsp + 0x30]
mov r8, rdx
lea rdx, [rsp + 0x20]
call fcn.180094450
cmp qword [rax + 8], 0
setne al
add rsp, 0x38
ret

Function at 0x1800e3590
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 0x1800e35c1
mov r9, qword [r8 + 0x10]
xor edx, edx
movabs r8, 0xcbf29ce484222325
test r10, r10
je 0x1800e35f4
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [r9 + rdx]
inc rdx
xor r8, rax
imul r8, rcx
cmp rdx, r10
jb 0x1800e35e0
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 0x1800e3628
cmp rax, rbx
jne 0x1800e361e
mov rax, qword [rsi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x1800e3633
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x1800e3633
cmp rax, rbx
jne 0x1800e3633
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.180090ac0
mov edx, 0x38
mov rcx, rbx
call fcn.1801839fc
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 0x1800e3680
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 0x1800e36b1
mov r9, qword [r8 + 0x10]
xor edx, edx
movabs r8, 0xcbf29ce484222325
test r10, r10
je 0x1800e36e4
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [r9 + rdx]
inc rdx
xor r8, rax
imul r8, rcx
cmp rdx, r10
jb 0x1800e36d0
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 0x1800e3718
cmp rax, rbx
jne 0x1800e370e
mov rax, qword [r11 + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x1800e3723
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x1800e3723
cmp rax, rbx
jne 0x1800e3723
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.180090ac0
lea rcx, [rbx + 0x10]
call fcn.180090ac0
mov edx, 0x50
mov rcx, rbx
call fcn.1801839fc
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 0x1800e3780
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 0x1800e37b1
mov r9, qword [r8 + 0x10]
xor edx, edx
movabs r8, 0xcbf29ce484222325
test r10, r10
je 0x1800e37e4
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [r9 + rdx]
inc rdx
xor r8, rax
imul r8, rcx
cmp rdx, r10
jb 0x1800e37d0
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 0x1800e3818
cmp rax, rbx
jne 0x1800e380e
mov rax, qword [r11 + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x1800e3823
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x1800e3823
cmp rax, rbx
jne 0x1800e3823
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.180090910
lea rcx, [rbx + 0x10]
call fcn.180090ac0
mov edx, 0x48
mov rcx, rbx
call fcn.1801839fc
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 0x1800e3880
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 0x1800e38b1
mov r9, qword [r8 + 0x10]
xor edx, edx
movabs r8, 0xcbf29ce484222325
test r10, r10
je 0x1800e38e4
movabs rcx, 0x100000001b3
nop dword [rax]
movzx eax, byte [r9 + rdx]
inc rdx
xor r8, rax
imul r8, rcx
cmp rdx, r10
jb 0x1800e38d0
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 0x1800e3918
cmp rax, rbx
jne 0x1800e390e
mov rax, qword [rsi + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x1800e3923
mov rax, qword [rbx + 8]
mov qword [rdx + 8], rax
jmp 0x1800e3923
cmp rax, rbx
jne 0x1800e3923
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.180090ac0
mov edx, 0x40
mov rcx, rbx
call fcn.1801839fc
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 0x1800f6120
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 0x1800f6148
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 0x1800f616e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1800f6170
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x1800f61c9
test ecx, ecx
jle 0x1800f61a9
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 0x1800f61c9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x1800f61c9
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 0x1800f61f0
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 0x1800f6221
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 0x1800f623f
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 0x1800f625b
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1800f625d
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1800f6299
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 0x1800f632e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x1800f62d4
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 0x1800f630e
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 0x1800f632e
cmp rbx, rax
ja 0x1800f62e0
test rbx, rbx
je 0x1800f632e
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 0x1800f6740
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 0x1800f6764
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 0x1800f67a7
mov rdx, qword [rbx + 0x58]
movsxd r8, dword [rdx]
lea rax, [rcx + r8]
cmp rcx, rax
jae 0x1800f67a7
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 0x1800f68d8
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1800f67ea
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 0x1800f6815
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 0x1800f68dd
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 0x1800f688a
sub eax, 1
je 0x1800f688a
cmp eax, 2
jne 0x1800f68d8
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 0x1800f68dd
mov rsi, qword [rsp + 0x90]
lea rax, [rsp + 0x48]
sub rsi, rax
je 0x1800f68bb
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 0x1800f68d8
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x98], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1800f68dd
mov eax, 0xffffffff
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x1800f6f20
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1800f6fe9
cmp byte [rcx + 0x71], 0
je 0x1800f6fe9
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x68], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1800f6fdc
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 0x1800f6f98
sub eax, 1
je 0x1800f6f9c
cmp eax, 2
jne 0x1800f6fdc
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 0x1800f6fca
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 0x1800f6fdc
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 0x1800ff0f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x18023228c]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x180233f18], edx
jle 0x1800ff1d1
lea rcx, [0x180233f18]
call fcn.180183aac
cmp dword [0x180233f18], 0xffffffff
jne 0x1800ff1d1
mov rcx, qword [0x180233b80]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x1800ff1be
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x1800ff162
mov rdx, r11
test rax, rax
je 0x1800ff1a0
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 0x1800ff180
cmp r9d, 0xd134a6b7
je 0x1800ff1ab
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1800ff151
jmp 0x1800ff1be
lea r8, str.m_iPrimaryAmmoType
mov rdx, qword [r10 + 0x18]
call fcn.180183640
mov r11d, eax
mov dword [0x180233f1c], r11d
lea rcx, [0x180233f18]
call fcn.180183a40
movsxd rax, dword [0x180233f1c]
add rax, rbx
add rsp, 0x20
pop rbx
ret

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

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov edx, dword [0x18023228c]
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x180233ed8], edx
jle 0x1800ff2d7
lea rcx, [0x180233ed8]
call fcn.180183aac
cmp dword [0x180233ed8], 0xffffffff
jne 0x1800ff2d7
mov rcx, qword [0x180233b80]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
xor r11d, r11d
test rax, rax
je 0x1800ff2be
mov r8, qword [r10 + 0x10]
mov rax, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rax
cmp byte [r8 + rax], r11b
jne 0x1800ff262
mov rdx, r11
test rax, rax
je 0x1800ff2a0
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 0x1800ff280
cmp r9d, 0x24615a25
je 0x1800ff2ab
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1800ff251
jmp 0x1800ff2be
lea r8, str.m_iReloadMode
mov rdx, qword [r10 + 0x18]
call fcn.180183640
mov r11d, eax
lea eax, [r11 - 0xf4]
mov dword [0x180233f24], eax
lea rcx, [0x180233ed8]
call fcn.180183a40
movsxd rax, dword [0x180233f24]
add rax, rbx
add rsp, 0x20
pop rbx
ret