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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x18019f690]
xorps xmm0, xmm0
add rcx, 1
mov rbx, qword [0x18019f6b8]
js 0x180046f10
cvtsi2ss xmm0, rcx
jmp 0x180046f25
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [0x18019f680]
call sub.msvcrt.dll_ceilf
movss xmm1, dword [0x1800d10fc]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x180046f57
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x180046f57
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x180046f85
cmp rbx, 0x200
jae 0x180046f82
shl rbx, 3
cmp rbx, rcx
jae 0x180046f85
mov rbx, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rbx, rax
ja 0x1800470fd
lea rax, [rbx - 1]
mov edi, 1
mov rbx, qword [0x18019f688]
or rax, 1
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x18019f698]
lea rdx, [rdi + rdi]
call fcn.18000da30
mov rax, qword [0x18019f688]
lea r9, [rdi - 1]
mov qword [0x18019f6b0], r9
mov qword [0x18019f6b8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x1800470f2
mov rcx, qword [rcx]
movabs r11, 0xcbf29ce484222325
xor r8d, r8d
movzx edx, byte [r8 + rax + 0x10]
movabs r10, 0x100000001b3
xor r11, rdx
inc r8
imul r11, r10
cmp r8, 4
jb 0x18004700c
mov rdi, qword [0x18019f698]
and r11, r9
add r11, r11
cmp qword [rdi + r11*8], rbx
jne 0x18004704a
mov qword [rdi + r11*8], rax
mov qword [rdi + r11*8 + 8], rax
jmp 0x1800470b8
mov r10, qword [rdi + r11*8 + 8]
mov edx, dword [rax + 0x10]
cmp edx, dword [r10 + 0x10]
jne 0x18004708d
mov r10, qword [r10]
cmp r10, rax
je 0x180047043
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x180047043
mov r10, qword [r10 + 8]
cmp edx, dword [r10 + 0x10]
je 0x1800470cc
cmp qword [rdi + r11*8], r10
jne 0x180047083
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rdi + r11*8], rax
mov rax, rcx
cmp rcx, rbx
je 0x1800470f2
mov r9, qword [0x18019f6b0]
jmp 0x180046ffc
mov r10, qword [r10]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1800470b8
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea rcx, str.invalid_hash_bucket_count
call fcn.18008ab48
int3
Function at 0x180047b84
Capabilities:
Check if file exists
Create directory

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x30
cmp qword [rcx + 0x278], 0
mov rdi, rcx
je 0x180047cc2
lea rcx, [0x18019ee80]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180047bc4
xor edx, edx
lea rcx, [0x18019ee80]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rdi + 0x1c]
lea rdx, [0x1800c3ed8]
call qword [sym.imp.msvcrt.dll__wfopen]
mov rsi, rax
test rax, rax
je 0x180047cc2
mov byte [rbp + 0x20], 0x4d
mov byte [rbp + 0x21], 0x58
mov byte [rbp + 0x22], 0x49
mov byte [rbp + 0x23], 0x51
mov byte [rbp + 0x24], 0x57
mov byte [rbp + 0x25], 0
mov cl, byte [rbp + 0x20]
xor ecx, ecx
mov al, byte [rbp + rcx + 0x20]
sub al, 4
mov byte [rbp + rcx + 0x20], al
inc rcx
cmp rcx, 5
jb 0x180047bfe
mov byte [rbp + 0x28], 0x5e
xor ecx, ecx
mov byte [rbp + 0x29], 0x28
mov byte [rbp + 0x2a], 0x76
mov byte [rbp + 0x2b], 0x60
mov byte [rbp + 0x2c], 0xd
mov byte [rbp + 0x2d], 0
mov al, byte [rbp + 0x28]
mov al, byte [rbp + rcx + 0x28]
sub al, 3
mov byte [rbp + rcx + 0x28], al
inc rcx
cmp rcx, 5
jb 0x180047c2e
lea r8, [rbp + 0x20]
mov rcx, rsi
lea rdx, [rbp + 0x28]
call fcn.18001b994
mov rdi, qword [rdi + 0x270]
mov rbx, qword [rdi]
jmp 0x180047cb4
mov r8, qword [rbx + 0x10]
xor ecx, ecx
mov byte [rbp - 0x10], 0x2d
mov byte [rbp - 0xf], 0x6c
mov byte [rbp - 0xe], 0x28
mov byte [rbp - 0xd], 0x45
mov byte [rbp - 0xc], 0x28
mov byte [rbp - 0xb], 0x2d
mov byte [rbp - 0xa], 0x6c
mov byte [rbp - 9], 0x12
mov byte [rbp - 8], 0
mov al, byte [rbp - 0x10]
mov qword [rbp + 0x30], r8
mov al, byte [rbp + rcx - 0x10]
sub al, 8
mov byte [rbp + rcx - 0x10], al
inc rcx
cmp rcx, 8
jb 0x180047c8e
mov r9d, dword [rbp + 0x34]
lea rdx, [rbp - 0x10]
mov rcx, rsi
call fcn.18001b994
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x180047c5d
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_fclose]
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret

Function at 0x180047cd0
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 0x180047cf9
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 0x180047d54
mov rcx, qword [rcx + rax*8]
jmp 0x180047d4d
cmp rbx, rcx
je 0x180047d54
mov rbx, qword [rbx + 8]
cmp edx, dword [rbx + 0x10]
jne 0x180047d44
jmp 0x180047d56
xor ebx, ebx
test rbx, rbx
cmove rbx, r8
cmp rbx, r8
jne 0x180047d66
xor al, al
jmp 0x180047d9e
test rdi, rdi
je 0x180047d8e
mov rdx, qword [rbx + 0x18]
mov r8, qword [rbx + 0x20]
mov eax, dword [r9]
sub r8, rdx
sar r8, 4
cmp rax, r8
jb 0x180047d8e
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 0x180047db0
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 0x180047dc8
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 0x180047e23
mov r9, qword [r9 + rcx*8]
jmp 0x180047e1c
cmp rax, r9
je 0x180047e23
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x180047e13
jmp 0x180047e25
xor eax, eax
test rax, rax
cmove rax, r8
cmp rax, r8
je 0x180047e46
mov dword [rsp + 0x38], edx
lea rcx, [r10 + 0x228]
lea rdx, [rsp + 0x38]
call fcn.180048cf0
add rsp, 0x28
ret
Function at 0x18004865c
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 0x180048686
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 0x1800486e2
mov r10, qword [r9 + rdx*8]
jmp 0x1800486da
cmp rax, r10
je 0x1800486e2
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
jne 0x1800486d1
jmp 0x1800486e4
xor eax, eax
test rax, rax
cmove rax, rcx
cmp rax, rcx
je 0x180048784
lea rdi, [rbx + 0x18]
test r11, r11
je 0x180048702
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.180048ec8
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.18004910c
lea rdx, [rsp + 0x20]
mov rcx, qword [rax]
add rcx, 0x18
call fcn.180048be0
mov ecx, dword [rdi]
lea r8, [0x18019ff58]
mov r9d, 8
mov dword [0x18019ff58], ecx
mov edx, 0x125c
mov dword [0x18019ff5c], 1
call fcn.180042ab0
inc dword [rdi]
mov rcx, rbx
call fcn.180047b84
mov rbx, qword [rsp + 0x58]
mov al, 1
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x180048cf0
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 [r9 + rdx]
movabs rcx, 0x100000001b3
xor r8, rax
add r9, rdi
imul r8, rcx
cmp r9, 4
jb 0x180048d11
mov rcx, qword [r11 + 0x30]
mov rdx, qword [r11 + 0x18]
and rcx, r8
add rcx, rcx
mov rbx, qword [rdx + rcx*8 + 8]
cmp rbx, qword [r11 + 8]
je 0x180048d5f
mov eax, dword [r10]
jmp 0x180048d58
cmp rbx, qword [rdx + rcx*8]
je 0x180048d5f
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x180048d4e
jmp 0x180048d61
xor ebx, ebx
test rbx, rbx
je 0x180048e07
cmp qword [rdx + rcx*8 + 8], rbx
jne 0x180048d8c
cmp qword [rdx + rcx*8], rbx
jne 0x180048d81
mov rax, qword [r11 + 8]
mov qword [rdx + rcx*8], rax
jmp 0x180048d85
mov rax, qword [rbx + 8]
mov qword [rdx + rcx*8 + 8], rax
jmp 0x180048d99
cmp qword [rdx + rcx*8], rbx
jne 0x180048d99
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 0x180048df8
mov rdx, qword [rbx + 0x28]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
cmp rdx, 0x1000
jb 0x180048de4
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180048e17
mov rcx, r8
call fcn.18008c5a0
and qword [rbx + 0x18], 0
and qword [rbx + 0x20], 0
and qword [rbx + 0x28], 0
mov edx, 0x30
mov rcx, rbx
call fcn.18008c5a0
jmp 0x180048e09
xor edi, edi
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
call fcn.1800908c0
int3
Function at 0x1800498d8
Capabilities:
Hash data using fnv

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

Function at 0x1800498e4
Capabilities:
Hash data using fnv

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

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

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

Function at 0x180049914
Capabilities:
Hash data using fnv

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

Function at 0x18004992c
Capabilities:
Hash data using fnv

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

Function at 0x180049944
Capabilities:
Hash data using fnv

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

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

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

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

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

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

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

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

Disassembly:
sub rcx, 8
jmp method.IMySteamInventory.2.virtual_168
Function at 0x18004a3f4
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 0x18004a411
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 0x18004a461
mov rdx, qword [rdx + rcx*8]
jmp 0x18004a459
cmp rax, rdx
je 0x18004a461
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
jne 0x18004a450
jmp 0x18004a463
xor eax, eax
test rax, rax
cmove rax, qword [r11 + 0x20]
cmp rax, qword [r11 + 0x20]
je 0x18004a497
cmp qword [rax + 0x38], 0
je 0x18004a497
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 0x18004a499
xor al, al
mov rbx, qword [rsp + 8]
ret

Function at 0x18004a4c8
Capabilities:
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], 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 0x18004a4f6
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 0x18004a545
mov rcx, qword [rcx + rax*8]
jmp 0x18004a53e
cmp rbx, rcx
je 0x18004a545
mov rbx, qword [rbx + 8]
cmp edi, dword [rbx + 0x10]
jne 0x18004a535
jmp 0x18004a547
xor ebx, ebx
test rbx, rbx
cmove rbx, qword [rsi + 0x20]
cmp rbx, qword [rsi + 0x20]
je 0x18004a5d9
cmp qword [rbx + 0x38], 0
je 0x18004a5d9
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 0x18004a5d9
cmp qword [rdx + 0x18], 0xf
jbe 0x18004a588
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.18004ae3c
sub qword [rbx + 0x38], 1
jne 0x18004a5bb
and qword [rbx + 0x30], 0
jmp 0x18004a5bf
inc qword [rbx + 0x30]
mov rcx, qword [0x18019ea40]
mov al, 1
mov rdx, qword [rcx + 8]
mov rcx, qword [rsp + 0x50]
mov r8, qword [rdx]
mov qword [rcx], r8
jmp 0x18004a5db
xor al, al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18004a85c
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 0x18004a92c
mov rax, qword [rcx + 8]
mov rsi, rdx
mov r15, qword [rdx + 8]
movabs r14, 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 r14, rax
imul r14, r8
cmp rdx, 4
jb 0x18004a8aa
and r14, qword [rcx + 0x30]
add r14, r14
mov rax, qword [r12 + r14*8]
mov qword [rsp + 0x80], rax
mov rax, qword [r12 + r14*8 + 8]
mov qword [rsp + 0x88], rax
mov rbx, rsi
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x18]
call fcn.18004a6ac
mov edx, 0x40
mov rcx, rbx
call fcn.18008c5a0
mov rcx, qword [rsp + 0x70]
dec qword [rcx + 0x10]
cmp rbx, qword [rsp + 0x88]
je 0x18004a940
cmp rsi, rbp
jne 0x18004a8e0
cmp qword [rsp + 0x80], r13
jne 0x18004a925
mov qword [r12 + r14*8], rsi
mov qword [r15], rsi
mov qword [rsi + 8], r15
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 0x18004a958
mov r13, qword [rsp + 0x78]
mov qword [r12 + r14*8], r13
mov rax, r13
jmp 0x18004a95b
mov rax, r15
mov qword [r12 + r14*8 + 8], rax
jmp 0x18004a9ee
xor edx, edx
movabs r14, 0xcbf29ce484222325
movabs r13, 0x100000001b3
movzx eax, byte [rsi + rdx + 0x10]
inc rdx
xor r14, rax
imul r14, r13
cmp rdx, 4
jb 0x18004a97b
and r14, qword [rcx + 0x30]
mov r13, qword [rsp + 0x78]
add r14, r14
mov rax, qword [r12 + r14*8 + 8]
mov qword [rsp + 0x80], rax
mov rbx, rsi
mov rdi, rsi
mov rsi, qword [rsi]
lea rcx, [rbx + 0x18]
call fcn.18004a6ac
mov edx, 0x40
mov rcx, rbx
call fcn.18008c5a0
mov rcx, qword [rsp + 0x70]
dec qword [rcx + 0x10]
cmp rbx, qword [rsp + 0x80]
je 0x18004a9e5
cmp rsi, rbp
jne 0x18004a9a9
jmp 0x18004a921
mov qword [r12 + r14*8], r13
mov qword [r12 + r14*8 + 8], r13
cmp rsi, rbp
jne 0x18004a965
jmp 0x18004a925
Function at 0x18004b8ec
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.18004b148
lea rcx, [rsp + 0x50]
call fcn.180052204
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 0x18004b959
xor al, al
jmp 0x18004b98d
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.18004b1a8
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 0x18004b9a8
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.18004b148
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 0x18004ba04
xor eax, eax
jmp 0x18004ba38
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 0x18004ba2b
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 0x18004ba84
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 0x18004bc90
lea r8, [rbp - 0x80]
mov rdx, rbx
call fcn.18004b148
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 0x18004bc90
xor r9d, r9d
xor r8d, r8d
mov edx, r12d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x18004bb34
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x18004bc87
lea rbx, [r13 + 0x70]
mov qword [rsp + 0x60], rbx
mov rcx, rbx
call fcn.18008b188
test eax, eax
jne 0x18004bcb4
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x18004bcbf
mov rcx, r14
call fcn.18008ca24
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 0x18004bc7f
cmp dword [rbp + 0xe0], r14d
jne 0x18004bc7f
mov ecx, 0x18
call fcn.18008c5a8
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.18000f038
nop
lea rcx, [r13 + 0x30]
lea r8, [rbp + 0xd0]
lea rdx, [rsp + 0x68]
call fcn.18004c820
mov rcx, qword [rax]
add rcx, 0x18
lea rdx, [rsp + 0x40]
call fcn.18000d604
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x18004bc5d
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004bc58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004bcae
call fcn.18008c5a0
mov rcx, r15
call fcn.18008c5a0
mov r9d, 0x18
mov r8, qword [rbp + 0xd0]
mov edx, 0x534
call fcn.180042ba4
mov rdi, rax
mov rcx, rbx
call fcn.18008b1b0
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.1800908c0
nop
mov ecx, 5
call fcn.18008af9c
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.18008af9c
int3
Function at 0x18004bcd0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rbp, rcx
mov r12d, r9d
add rcx, 0x70
mov r13, r8
mov r14, rdx
call fcn.18008b188
xor esi, esi
test eax, eax
jne 0x18004be03
mov eax, dword [rbp + 0xbc]
cmp eax, 0x7fffffff
je 0x18004bdf0
mov qword [rsp + 0x50], r14
movabs rcx, 0xcbf29ce484222325
mov edx, esi
movzx eax, byte [rsp + rdx + 0x50]
movabs r8, 0x100000001b3
xor rcx, rax
inc rdx
imul rcx, r8
cmp rdx, 8
jb 0x18004bd2d
mov rax, qword [rbp + 0x60]
and rax, rcx
mov rcx, qword [rbp + 0x48]
add rax, rax
mov rbx, qword [rcx + rax*8 + 8]
cmp rbx, qword [rbp + 0x38]
je 0x18004bd7c
mov rcx, qword [rcx + rax*8]
jmp 0x18004bd74
cmp rbx, rcx
je 0x18004bd7c
mov rbx, qword [rbx + 8]
cmp r14, qword [rbx + 0x10]
jne 0x18004bd6b
jmp 0x18004bd7f
mov rbx, rsi
test rbx, rbx
cmove rbx, qword [rbp + 0x38]
cmp rbx, qword [rbp + 0x38]
je 0x18004bdc7
lea rdx, [rbx + 0x18]
cmp qword [rdx + 0x18], 0xf
jbe 0x18004bd9b
mov rdx, qword [rdx]
mov r8, r12
mov rcx, r13
call sub.msvcrt.dll_memcpy
mov edx, 0x18
mov rcx, r14
call fcn.18008c5a0
mov r8, rbx
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x30]
call fcn.18004c714
mov sil, 1
lea rcx, [rbp + 0x70]
call fcn.18008b1b0
mov rbx, qword [rsp + 0x58]
mov al, sil
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
dec eax
mov ecx, 6
mov dword [rbp + 0xbc], eax
call fcn.18008af9c
int3
mov ecx, 5
call fcn.18008af9c
int3

Function at 0x18004be10
Capabilities:
Delete file

Disassembly:
sub rsp, 0x138
lea r8, [rsp + 0x20]
call fcn.18004b148
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
add rsp, 0x138
ret

Function at 0x18004bed8
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x48
and qword [rsp + 0x20], 0
mov eax, r9d
mov r10, r8
lea r9, [rsp + 0x30]
mov rcx, rdx
mov r8d, eax
mov rdx, r10
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne al
add rsp, 0x48
ret
Function at 0x18004c714
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, r8
mov rsi, rdx
movabs r8, 0xcbf29ce484222325
mov r10, rcx
xor r9d, r9d
movzx eax, byte [rbx + r9 + 0x10]
movabs rcx, 0x100000001b3
xor r8, rax
inc r9
imul r8, rcx
cmp r9, 8
jb 0x18004c739
mov rcx, qword [r10 + 0x30]
mov rdx, qword [r10 + 0x18]
and rcx, r8
add rcx, rcx
cmp qword [rdx + rcx*8 + 8], rbx
jne 0x18004c789
cmp qword [rdx + rcx*8], rbx
jne 0x18004c77e
mov rax, qword [r10 + 8]
mov qword [rdx + rcx*8], rax
jmp 0x18004c782
mov rax, qword [rbx + 8]
mov qword [rdx + rcx*8 + 8], rax
jmp 0x18004c796
cmp qword [rdx + rcx*8], rbx
jne 0x18004c796
mov rax, qword [rbx]
mov qword [rdx + rcx*8], rax
mov rdi, qword [rbx]
dec qword [r10 + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rdi
mov rax, qword [rbx + 8]
mov qword [rdi + 8], rax
mov rdx, qword [rbx + 0x30]
cmp rdx, 0xf
jbe 0x18004c7e3
mov rcx, qword [rbx + 0x18]
inc rdx
cmp rdx, 0x1000
jb 0x18004c7de
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18004c817
mov rcx, r8
call fcn.18008c5a0
and qword [rbx + 0x28], 0
mov edx, 0x38
mov rcx, rbx
mov qword [rbx + 0x30], 0xf
mov byte [rbx + 0x18], 0
call fcn.18008c5a0
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov qword [rsi], rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
call fcn.1800908c0
int3