joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18004884c
Capabilities:
Check if file exists
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x30
cmp qword [rcx + 0x278], 0
mov rdi, rcx
je 0x18004898a
lea rcx, [0x1801b9ff0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18004888c
xor edx, edx
lea rcx, [0x1801b9ff0]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rdi + 0x1c]
lea rdx, [0x1800ce070]
call qword [sym.imp.msvcrt.dll__wfopen]
mov rsi, rax
test rax, rax
je 0x18004898a
mov byte [rbp + 0x20], 0x56
mov byte [rbp + 0x21], 0x61
mov byte [rbp + 0x22], 0x52
mov byte [rbp + 0x23], 0x5a
mov byte [rbp + 0x24], 0x60
mov byte [rbp + 0x25], 0
mov cl, byte [rbp + 0x20]
xor ecx, ecx
mov al, byte [rbp + rcx + 0x20]
sub al, 0xd
mov byte [rbp + rcx + 0x20], al
inc rcx
cmp rcx, 5
jb 0x1800488c6
mov byte [rbp + 0x28], 0x5d
xor ecx, ecx
mov byte [rbp + 0x29], 0x27
mov byte [rbp + 0x2a], 0x75
mov byte [rbp + 0x2b], 0x5f
mov byte [rbp + 0x2c], 0xc
mov byte [rbp + 0x2d], 0
mov al, byte [rbp + 0x28]
mov al, byte [rbp + rcx + 0x28]
sub al, 2
mov byte [rbp + rcx + 0x28], al
inc rcx
cmp rcx, 5
jb 0x1800488f6
lea r8, [rbp + 0x20]
mov rcx, rsi
lea rdx, [rbp + 0x28]
call fcn.18001c184
mov rdi, qword [rdi + 0x270]
mov rbx, qword [rdi]
jmp 0x18004897c
mov r8, qword [rbx + 0x10]
xor ecx, ecx
mov qword [rbp + 0x20], r8
mov byte [rbp - 0x10], 0x29
mov byte [rbp - 0xf], 0x68
mov byte [rbp - 0xe], 0x24
mov byte [rbp - 0xd], 0x41
mov byte [rbp - 0xc], 0x24
mov byte [rbp - 0xb], 0x29
mov byte [rbp - 0xa], 0x68
mov byte [rbp - 9], 0xe
mov byte [rbp - 8], 0
mov al, byte [rbp - 0x10]
mov al, byte [rbp + rcx - 0x10]
sub al, 4
mov byte [rbp + rcx - 0x10], al
inc rcx
cmp rcx, 8
jb 0x180048956
mov r9d, dword [rbp + 0x24]
lea rdx, [rbp - 0x10]
mov rcx, rsi
call fcn.18001c184
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x180048925
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_fclose]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret

Function at 0x180048998
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov dword [rsp + 0x38], edx
mov r8, rcx
mov rsi, r9
movabs r10, 0xcbf29ce484222325
xor r11d, r11d
movzx eax, byte [rsp + r11 + 0x38]
movabs rcx, 0x100000001b3
xor r10, rax
inc r11
imul r10, rcx
cmp r11, 4
jb 0x1800489c1
mov rax, qword [r8 + 0x258]
mov rcx, qword [r8 + 0x240]
and rax, r10
mov r8, qword [r8 + 0x230]
add rax, rax
mov rbx, qword [rcx + rax*8 + 8]
cmp rbx, r8
je 0x180048a1c
mov rcx, qword [rcx + rax*8]
jmp 0x180048a15
cmp rbx, rcx
je 0x180048a1c
mov rbx, qword [rbx + 8]
cmp edx, dword [rbx + 0x10]
jne 0x180048a0c
jmp 0x180048a1e
xor ebx, ebx
test rbx, rbx
cmove rbx, r8
cmp rbx, r8
jne 0x180048a2e
xor al, al
jmp 0x180048a66
test rdi, rdi
je 0x180048a56
mov rdx, qword [rbx + 0x18]
mov r8, qword [rbx + 0x20]
mov eax, dword [r9]
sub r8, rdx
sar r8, 4
cmp rax, r8
jb 0x180048a56
shl r8, 4
mov rcx, rdi
call sub.msvcrt.dll_memcpy
mov rcx, qword [rbx + 0x20]
mov al, 1
sub rcx, qword [rbx + 0x18]
sar rcx, 4
mov dword [rsi], ecx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x180048a78
Capabilities:
Hash data using fnv

Disassembly:
sub rsp, 0x28
mov r10, rcx
mov dword [rsp + 0x38], edx
movabs r8, 0xcbf29ce484222325
xor r9d, r9d
movzx eax, byte [rsp + r9 + 0x38]
movabs rcx, 0x100000001b3
xor r8, rax
inc r9
imul r8, rcx
cmp r9, 4
jb 0x180048a90
mov rcx, qword [r10 + 0x258]
mov r9, qword [r10 + 0x240]
and rcx, r8
mov r8, qword [r10 + 0x230]
add rcx, rcx
mov rax, qword [r9 + rcx*8 + 8]
cmp rax, r8
je 0x180048aeb
mov r9, qword [r9 + rcx*8]
jmp 0x180048ae4
cmp rax, r9
je 0x180048aeb
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x180048adb
jmp 0x180048aed
xor eax, eax
test rax, rax
cmove rax, r8
cmp rax, r8
je 0x180048b0e
mov dword [rsp + 0x38], edx
lea rcx, [r10 + 0x228]
lea rdx, [rsp + 0x38]
call fcn.1800499b8
add rsp, 0x28
ret
Function at 0x180049320
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
mov rbx, rcx
mov dword [rsp + 0x50], r8d
movabs rcx, 0xcbf29ce484222325
mov esi, r9d
mov r11, rdx
xor r10d, r10d
movzx eax, byte [rsp + r10 + 0x50]
movabs rdx, 0x100000001b3
xor rcx, rax
inc r10
imul rcx, rdx
cmp r10, 4
jb 0x18004934a
mov rdx, qword [rbx + 0x298]
mov r9, qword [rbx + 0x280]
and rdx, rcx
mov rcx, qword [rbx + 0x270]
add rdx, rdx
mov rax, qword [r9 + rdx*8 + 8]
cmp rax, rcx
je 0x1800493a6
mov r10, qword [r9 + rdx*8]
jmp 0x18004939e
cmp rax, r10
je 0x1800493a6
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
jne 0x180049395
jmp 0x1800493a8
xor eax, eax
test rax, rax
cmove rax, rcx
cmp rax, rcx
je 0x180049448
lea rdi, [rbx + 0x18]
test r11, r11
je 0x1800493c6
mov eax, dword [rdi]
mov dword [r11], eax
mov dword [rsp + 0x50], r8d
lea rcx, [rbx + 0x268]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x20]
call fcn.180049b90
xorps xmm0, xmm0
lea rdx, [rsp + 0x30]
mov r8, rdi
mov rcx, qword [rax]
sub dword [rcx + 0x14], esi
lea rcx, [rbx + 0x228]
movdqa xmmword [rsp + 0x20], xmm0
call fcn.180049da4
lea rdx, [rsp + 0x20]
mov rcx, qword [rax]
add rcx, 0x18
call fcn.1800498a8
mov ecx, dword [rdi]
lea r8, [0x1801bafb0]
mov r9d, 8
mov dword [0x1801bafb0], ecx
mov edx, 0x125c
mov dword [0x1801bafb4], 1
call fcn.1800434a0
inc dword [rdi]
mov rcx, rbx
call fcn.18004884c
mov rbx, qword [rsp + 0x58]
mov al, 1
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x1800499b8
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor r9d, r9d
mov r10, rdx
mov r11, rcx
movabs r8, 0xcbf29ce484222325
lea edi, [r9 + 1]
movzx eax, byte [rdx + r9]
movabs rcx, 0x100000001b3
xor r8, rax
add r9, rdi
imul r8, rcx
cmp r9, 4
jb 0x1800499d9
mov rcx, qword [r11 + 0x30]
mov rdx, qword [r11 + 0x18]
and rcx, r8
mov rax, qword [r11 + 8]
add rcx, rcx
mov rbx, qword [rdx + rcx*8 + 8]
cmp rbx, rax
je 0x180049a2b
mov r8d, dword [r10]
jmp 0x180049a23
cmp rbx, qword [rdx + rcx*8]
je 0x180049a2b
mov rbx, qword [rbx + 8]
cmp r8d, dword [rbx + 0x10]
jne 0x180049a19
jmp 0x180049a2d
xor ebx, ebx
test rbx, rbx
je 0x180049acf
cmp qword [rdx + rcx*8 + 8], rbx
jne 0x180049a54
cmp qword [rdx + rcx*8], rbx
jne 0x180049a49
mov qword [rdx + rcx*8], rax
jmp 0x180049a4d
mov rax, qword [rbx + 8]
mov qword [rdx + rcx*8 + 8], rax
jmp 0x180049a61
cmp qword [rdx + rcx*8], rbx
jne 0x180049a61
mov rax, qword [rbx]
mov qword [rdx + rcx*8], rax
mov rcx, qword [rbx]
dec qword [r11 + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x180049ac0
mov rdx, qword [rbx + 0x28]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
cmp rdx, 0x1000
jb 0x180049aac
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180049adf
mov rcx, r8
call fcn.180095ea4
and qword [rbx + 0x18], 0
and qword [rbx + 0x20], 0
and qword [rbx + 0x28], 0
mov edx, 0x30
mov rcx, rbx
call fcn.180095ea4
jmp 0x180049ad1
xor edi, edi
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
call fcn.18009a2c0
int3
Function at 0x180049b90
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
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13, r8
mov rsi, rdx
mov rbp, rcx
xor edx, edx
movabs r15, 0xcbf29ce484222325
movzx eax, byte [rdx + r8]
xor r15, rax
movabs rcx, 0x100000001b3
imul r15, rcx
inc rdx
cmp rdx, 4
jb 0x180049bc1
mov rax, qword [rbp + 0x30]
and rax, r15
add rax, rax
mov rcx, qword [rbp + 0x18]
mov rbx, qword [rcx + rax*8 + 8]
lea rdx, [rbp + 8]
mov r12, qword [rdx]
cmp rbx, r12
jne 0x180049c07
mov rbx, r12
mov r14, r12
jmp 0x180049c4f
mov rdx, qword [rcx + rax*8]
mov eax, dword [r8]
jmp 0x180049c19
cmp rbx, rdx
je 0x180049c45
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x180049c10
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r12, rbx
mov r14, rbx
lea rdx, [rbp + 8]
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [rbp + 0x10], rax
je 0x180049d95
mov qword [rsp + 0x20], rdx
and qword [rsp + 0x28], 0
mov ecx, 0x18
call fcn.180095eac
mov rdi, rax
mov qword [rsp + 0x28], rax
mov ecx, dword [r13]
mov dword [rax + 0x10], ecx
xor r13d, r13d
mov dword [rax + 0x14], r13d
mov rcx, qword [rbp + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x180049ca2
cvtsi2ss xmm0, rcx
jmp 0x180049cb7
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x180049cca
cvtsi2ss xmm1, rcx
jmp 0x180049cdf
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
jbe 0x180049d37
mov rcx, rbp
call fcn.18000facc
mov rcx, qword [rbp + 0x30]
and rcx, r15
add rcx, rcx
mov rdx, qword [rbp + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rbp + 8]
cmp rax, rbx
je 0x180049d2a
mov r8, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
jmp 0x180049d22
mov rbx, rax
cmp rax, r8
je 0x180049d6b
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x180049d16
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov r14, rbx
mov r12, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rbp + 0x10]
mov qword [rdi], r12
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, r15
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rbp + 8]
jne 0x180049d72
mov qword [rcx + rax*8], rdi
jmp 0x180049d84
mov qword [rsp + 0x20], rax
jmp 0x180049d2f
cmp r8, r14
jne 0x180049d7d
mov qword [rcx + rax*8], rdi
jmp 0x180049d89
cmp qword [rcx + rax*8 + 8], rdx
jne 0x180049d89
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x180049c25
lea rcx, str.unordered_map_set_too_long
call fcn.180094414
int3
Function at 0x180049da4
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
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r13, r8
mov rsi, rdx
mov rbp, rcx
xor ecx, ecx
movabs r15, 0xcbf29ce484222325
movzx eax, byte [rcx + r8]
xor r15, rax
movabs rdx, 0x100000001b3
imul r15, rdx
inc rcx
cmp rcx, 4
jb 0x180049dd5
mov rax, qword [rbp + 0x30]
and rax, r15
add rax, rax
mov rcx, qword [rbp + 0x18]
mov rbx, qword [rcx + rax*8 + 8]
lea rdx, [rbp + 8]
mov r12, qword [rdx]
cmp rbx, r12
jne 0x180049e1b
mov rbx, r12
mov r14, r12
jmp 0x180049e63
mov rdx, qword [rcx + rax*8]
mov eax, dword [r8]
jmp 0x180049e2d
cmp rbx, rdx
je 0x180049e59
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x180049e24
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov r12, rbx
mov r14, rbx
lea rdx, [rbp + 8]
movabs rax, 0x555555555555555
cmp qword [rbp + 0x10], rax
je 0x180049fb1
mov qword [rsp + 0x20], rdx
and qword [rsp + 0x28], 0
mov ecx, 0x30
call fcn.180095eac
mov rdi, rax
mov qword [rsp + 0x28], rax
mov ecx, dword [r13]
mov dword [rax + 0x10], ecx
xor r13d, r13d
mov qword [rax + 0x18], r13
mov qword [rax + 0x20], r13
mov qword [rax + 0x28], r13
mov rcx, qword [rbp + 0x10]
add rcx, 1
xorps xmm0, xmm0
js 0x180049ebe
cvtsi2ss xmm0, rcx
jmp 0x180049ed3
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
mov rcx, qword [rbp + 0x38]
xorps xmm1, xmm1
test rcx, rcx
js 0x180049ee6
cvtsi2ss xmm1, rcx
jmp 0x180049efb
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2ss xmm1, rax
addss xmm1, xmm1
divss xmm0, xmm1
comiss xmm0, dword [rbp]
jbe 0x180049f53
mov rcx, rbp
call fcn.18000facc
mov rcx, qword [rbp + 0x30]
and rcx, r15
add rcx, rcx
mov rdx, qword [rbp + 0x18]
mov rax, qword [rdx + rcx*8 + 8]
mov rbx, qword [rbp + 8]
cmp rax, rbx
je 0x180049f46
mov r8, qword [rdx + rcx*8]
mov ecx, dword [rdi + 0x10]
jmp 0x180049f3e
mov rbx, rax
cmp rax, r8
je 0x180049f87
mov rax, qword [rax + 8]
cmp ecx, dword [rax + 0x10]
jne 0x180049f32
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov r14, rbx
mov r12, qword [rsp + 0x20]
mov rdx, qword [rbx + 8]
inc qword [rbp + 0x10]
mov qword [rdi], r12
mov qword [rdi + 8], rdx
mov qword [rdx], rdi
mov qword [rbx + 8], rdi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x30]
and rax, r15
add rax, rax
mov r8, qword [rcx + rax*8]
cmp r8, qword [rbp + 8]
jne 0x180049f8e
mov qword [rcx + rax*8], rdi
jmp 0x180049fa0
mov qword [rsp + 0x20], rax
jmp 0x180049f4b
cmp r8, r14
jne 0x180049f99
mov qword [rcx + rax*8], rdi
jmp 0x180049fa5
cmp qword [rcx + rax*8 + 8], rdx
jne 0x180049fa5
mov qword [rcx + rax*8 + 8], rdi
mov qword [rsi], rdi
mov byte [rsi + 8], 1
jmp 0x180049e39
lea rcx, str.unordered_map_set_too_long
call fcn.180094414
int3

Function at 0x18004a50c
Capabilities:
Hash data using fnv

Disassembly:
sub rcx, 0x10
jmp method.IMySteamInventory.2.virtual_168
Function at 0x18004a518
Capabilities:
Hash data using fnv

Disassembly:
sub rcx, 8
jmp method.IMySteamInventory.2.virtual_32

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

Disassembly:
sub rcx, 0x10
jmp method.IMySteamInventory.2.virtual_32

Function at 0x18004a548
Capabilities:
Hash data using fnv

Disassembly:
sub rcx, 8
jmp method.IMySteamInventory.2.virtual_8

Function at 0x18004a560
Capabilities:
Hash data using fnv

Disassembly:
sub rcx, 8
jmp method.IMySteamInventory.2.virtual_80

Function at 0x18004a578
Capabilities:
Hash data using fnv

Disassembly:
sub rcx, 8
jmp method.IMySteamInventory.2.virtual_104

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

Disassembly:
sub rcx, 0x10
jmp method.IMySteamInventory.2.virtual_8

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

Disassembly:
sub rcx, 0x10
jmp method.IMySteamInventory.2.virtual_80

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

Disassembly:
sub rcx, 0x10
jmp method.IMySteamInventory.2.virtual_104

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

Disassembly:
sub rcx, 8
jmp method.IMySteamInventory.2.virtual_168
Function at 0x18004b0cc
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov rbx, rdx
mov dword [rsp + 0x18], r8d
mov r11, rcx
movabs r9, 0xcbf29ce484222325
xor r10d, r10d
movzx eax, byte [rsp + r10 + 0x18]
movabs rcx, 0x100000001b3
xor r9, rax
inc r10
imul r9, rcx
cmp r10, 4
jb 0x18004b0e9
mov rcx, qword [r11 + 0x48]
mov rdx, qword [r11 + 0x30]
and rcx, r9
add rcx, rcx
mov rax, qword [rdx + rcx*8 + 8]
cmp rax, qword [r11 + 0x20]
je 0x18004b139
mov rdx, qword [rdx + rcx*8]
jmp 0x18004b131
cmp rax, rdx
je 0x18004b139
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
jne 0x18004b128
jmp 0x18004b13b
xor eax, eax
test rax, rax
cmove rax, qword [r11 + 0x20]
cmp rax, qword [r11 + 0x20]
je 0x18004b16f
cmp qword [rax + 0x38], 0
je 0x18004b16f
mov rdx, qword [rax + 0x28]
mov rcx, qword [rax + 0x20]
dec rdx
and rdx, qword [rax + 0x30]
mov rax, qword [rcx + rdx*8]
mov ecx, dword [rax + 0x10]
test ecx, ecx
mov dword [rbx], ecx
setne al
jmp 0x18004b171
xor al, al
mov rbx, qword [rsp + 8]
ret

Function at 0x18004b1a0
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov edi, dword [rsp + 0x58]
mov rbp, rdx
mov dword [rax + 0x30], edi
mov rsi, rcx
movabs r10, 0xcbf29ce484222325
xor r11d, r11d
movzx eax, byte [rsp + r11 + 0x58]
movabs rcx, 0x100000001b3
xor r10, rax
inc r11
imul r10, rcx
cmp r11, 4
jb 0x18004b1ce
mov rax, qword [rsi + 0x48]
mov rcx, qword [rsi + 0x30]
and rax, r10
add rax, rax
mov rbx, qword [rcx + rax*8 + 8]
cmp rbx, qword [rsi + 0x20]
je 0x18004b21d
mov rcx, qword [rcx + rax*8]
jmp 0x18004b216
cmp rbx, rcx
je 0x18004b21d
mov rbx, qword [rbx + 8]
cmp edi, dword [rbx + 0x10]
jne 0x18004b20d
jmp 0x18004b21f
xor ebx, ebx
test rbx, rbx
cmove rbx, qword [rsi + 0x20]
cmp rbx, qword [rsi + 0x20]
je 0x18004b2b1
cmp qword [rbx + 0x38], 0
je 0x18004b2b1
mov rax, qword [rbx + 0x20]
mov rcx, qword [rbx + 0x28]
dec rcx
and rcx, qword [rbx + 0x30]
mov rdx, qword [rax + rcx*8]
mov eax, dword [rdx + 0x10]
mov dword [r9], eax
cmp eax, r8d
ja 0x18004b2b1
cmp qword [rdx + 0x18], 0xf
jbe 0x18004b260
mov rdx, qword [rdx]
mov r8, rax
mov rcx, rbp
call sub.msvcrt.dll_memcpy
mov rax, qword [rbx + 0x28]
xor edx, edx
mov rcx, qword [rbx + 0x20]
dec rax
and rax, qword [rbx + 0x30]
mov rcx, qword [rcx + rax*8]
call fcn.18004bb04
sub qword [rbx + 0x38], 1
jne 0x18004b293
and qword [rbx + 0x30], 0
jmp 0x18004b297
inc qword [rbx + 0x30]
mov rcx, qword [0x1801b9bb0]
mov al, 1
mov rdx, qword [rcx + 8]
mov rcx, qword [rsp + 0x50]
mov r8, qword [rdx]
mov qword [rcx], r8
jmp 0x18004b2b3
xor al, al
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x18004b538
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x28
mov rbp, r8
mov r13, rdx
cmp rdx, r8
je 0x18004b608
mov rax, qword [rcx + 8]
mov rsi, rdx
mov r14, qword [rdx + 8]
movabs r15, 0xcbf29ce484222325
mov r12, qword [rcx + 0x18]
xor edx, edx
mov qword [rsp + 0x78], rax
movabs r8, 0x100000001b3
movzx eax, byte [rdx + r13 + 0x10]
inc rdx
xor r15, rax
imul r15, r8
cmp rdx, 4
jb 0x18004b586
and r15, qword [rcx + 0x30]
add r15, r15
mov rax, qword [r12 + r15*8]
mov qword [rsp + 0x80], rax
mov rax, qword [r12 + r15*8 + 8]
mov qword [rsp + 0x88], rax
mov rbx, rsi
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x18]
call fcn.18004b398
mov edx, 0x40
mov rcx, rbx
call fcn.180095ea4
mov rdx, qword [rsp + 0x70]
dec qword [rdx + 0x10]
cmp rbx, qword [rsp + 0x88]
je 0x18004b61c
cmp rsi, rbp
jne 0x18004b5bc
cmp qword [rsp + 0x80], r13
jne 0x18004b601
mov qword [r12 + r15*8], rsi
mov qword [r14], rsi
mov qword [rsi + 8], r14
mov rax, rbp
add rsp, 0x28
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp qword [rsp + 0x80], r13
jne 0x18004b634
mov r13, qword [rsp + 0x78]
mov qword [r12 + r15*8], r13
mov rax, r13
jmp 0x18004b637
mov rax, r14
mov qword [r12 + r15*8 + 8], rax
jmp 0x18004b6cf
movabs rcx, 0xcbf29ce484222325
xor r8d, r8d
movabs r13, 0x100000001b3
movzx eax, byte [rsi + r8 + 0x10]
inc r8
xor rcx, rax
imul rcx, r13
cmp r8, 4
jb 0x18004b658
mov r15, qword [rdx + 0x30]
mov r13, qword [rsp + 0x78]
and r15, rcx
add r15, r15
mov rax, qword [r12 + r15*8 + 8]
mov qword [rsp + 0x80], rax
mov rbx, rsi
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x18]
call fcn.18004b398
mov edx, 0x40
mov rcx, rbx
call fcn.180095ea4
mov rdx, qword [rsp + 0x70]
dec qword [rdx + 0x10]
cmp rbx, qword [rsp + 0x80]
je 0x18004b6c6
cmp rsi, rbp
jne 0x18004b68a
jmp 0x18004b5fd
mov qword [r12 + r15*8], r13
mov qword [r12 + r15*8 + 8], r13
cmp rsi, rbp
jne 0x18004b641
jmp 0x18004b601
Function at 0x18004c5b4
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rsi, r8
mov ebx, r9d
lea r8, [rsp + 0x50]
mov rbp, rcx
call fcn.18004be20
lea rcx, [rsp + 0x50]
call fcn.180053134
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 2
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x18004c621
xor al, al
jmp 0x18004c655
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov r8d, ebx
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov rcx, rdi
setne bl
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov rcx, rbp
call fcn.18004be80
mov al, bl
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x18004c670
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x160
mov rsi, r8
mov edi, r9d
lea r8, [rsp + 0x50]
call fcn.18004be20
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x50]
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x18004c6cc
xor eax, eax
jmp 0x18004c700
and dword [rsp + 0x40], 0
lea r9, [rsp + 0x40]
and qword [rsp + 0x20], 0
mov r8d, edi
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x18004c6f3
and dword [rsp + 0x40], eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x40]
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x18004c780
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov r14d, r9d
mov r12d, r8d
mov rbx, rdx
mov r13, rcx
xor edi, edi
add rcx, 0xffffffffffffffc0
mov rax, qword [rcx]
call qword [rax + 8]
mov r10d, eax
lea eax, [r12 + r14]
cmp r10d, eax
jb 0x18004c98c
lea r8, [rbp - 0x80]
mov rdx, rbx
call fcn.18004be20
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rdi + 1]
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x18004c98c
xor r9d, r9d
xor r8d, r8d
mov edx, r12d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x18004c830
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x18004c983
lea rbx, [r13 + 0x70]
mov qword [rsp + 0x60], rbx
mov rcx, rbx
call fcn.180094a88
test eax, eax
jne 0x18004c9b0
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x18004c9bb
mov rcx, r14
call fcn.180096328
mov r15, rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0xe0]
mov r8d, r14d
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18004c97b
cmp dword [rbp + 0xe0], r14d
jne 0x18004c97b
mov ecx, 0x18
call fcn.180095eac
mov qword [rbp + 0xd0], rax
xor ecx, ecx
mov qword [rax], rcx
mov rax, qword [rbp + 0xd0]
mov qword [rax], rax
mov rax, qword [rbp + 0xd0]
mov dword [rax + 8], 1
mov rax, qword [rbp + 0xd0]
mov dword [rax + 0xc], r12d
mov rax, qword [rbp + 0xd0]
mov dword [rax + 0x10], r14d
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
mov r8, r14
mov rdx, r15
lea rcx, [rsp + 0x40]
call fcn.18000f1f0
nop
lea rcx, [r13 + 0x30]
lea r8, [rbp + 0xd0]
lea rdx, [rsp + 0x68]
call fcn.18004d52c
mov rcx, qword [rax]
add rcx, 0x18
lea rdx, [rsp + 0x40]
call fcn.18000d85c
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x18004c959
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c954
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004c9aa
call fcn.180095ea4
mov rcx, r15
call fcn.180095ea4
mov r9d, 0x18
mov r8, qword [rbp + 0xd0]
mov edx, 0x534
call fcn.180043538
mov rdi, rax
mov rcx, rbx
call fcn.180094ab0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rdi
mov rbx, qword [rsp + 0x1d8]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18009a2c0
nop
mov ecx, 5
call fcn.180094868
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.180094868
int3