joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180047efc
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 0x18004803a
lea rcx, [0x1801b5e90]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x180047f3c
xor edx, edx
lea rcx, [0x1801b5e90]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rdi + 0x1c]
lea rdx, [0x1800cbed0]
call qword [sym.imp.msvcrt.dll__wfopen]
mov rsi, rax
test rax, rax
je 0x18004803a
mov byte [rbp + 0x20], 0x54
mov byte [rbp + 0x21], 0x5f
mov byte [rbp + 0x22], 0x50
mov byte [rbp + 0x23], 0x58
mov byte [rbp + 0x24], 0x5e
mov byte [rbp + 0x25], 0
mov cl, byte [rbp + 0x20]
xor ecx, ecx
mov al, byte [rbp + rcx + 0x20]
sub al, 0xb
mov byte [rbp + rcx + 0x20], al
inc rcx
cmp rcx, 5
jb 0x180047f76
mov byte [rbp + 0x28], 0x67
xor ecx, ecx
mov byte [rbp + 0x29], 0x31
mov byte [rbp + 0x2a], 0x7f
mov byte [rbp + 0x2b], 0x69
mov byte [rbp + 0x2c], 0x16
mov byte [rbp + 0x2d], 0
mov al, byte [rbp + 0x28]
mov al, byte [rbp + rcx + 0x28]
sub al, 0xc
mov byte [rbp + rcx + 0x28], al
inc rcx
cmp rcx, 5
jb 0x180047fa6
lea r8, [rbp + 0x20]
mov rcx, rsi
lea rdx, [rbp + 0x28]
call fcn.18001b964
mov rdi, qword [rdi + 0x270]
mov rbx, qword [rdi]
jmp 0x18004802c
mov r8, qword [rbx + 0x10]
xor ecx, ecx
mov byte [rbp - 0x10], 0x28
mov byte [rbp - 0xf], 0x67
mov byte [rbp - 0xe], 0x23
mov byte [rbp - 0xd], 0x40
mov byte [rbp - 0xc], 0x23
mov byte [rbp - 0xb], 0x28
mov byte [rbp - 0xa], 0x67
mov byte [rbp - 9], 0xd
mov byte [rbp - 8], 0
mov al, byte [rbp - 0x10]
mov qword [rbp + 0x30], r8
mov al, byte [rbp + rcx - 0x10]
sub al, 3
mov byte [rbp + rcx - 0x10], al
inc rcx
cmp rcx, 8
jb 0x180048006
mov r9d, dword [rbp + 0x34]
lea rdx, [rbp - 0x10]
mov rcx, rsi
call fcn.18001b964
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x180047fd5
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 0x180048048
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 0x180048071
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 0x1800480cc
mov rcx, qword [rcx + rax*8]
jmp 0x1800480c5
cmp rbx, rcx
je 0x1800480cc
mov rbx, qword [rbx + 8]
cmp edx, dword [rbx + 0x10]
jne 0x1800480bc
jmp 0x1800480ce
xor ebx, ebx
test rbx, rbx
cmove rbx, r8
cmp rbx, r8
jne 0x1800480de
xor al, al
jmp 0x180048116
test rdi, rdi
je 0x180048106
mov rdx, qword [rbx + 0x18]
mov r8, qword [rbx + 0x20]
mov eax, dword [r9]
sub r8, rdx
sar r8, 4
cmp rax, r8
jb 0x180048106
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 0x180048128
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 0x180048140
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 0x18004819b
mov r9, qword [r9 + rcx*8]
jmp 0x180048194
cmp rax, r9
je 0x18004819b
mov rax, qword [rax + 8]
cmp edx, dword [rax + 0x10]
jne 0x18004818b
jmp 0x18004819d
xor eax, eax
test rax, rax
cmove rax, r8
cmp rax, r8
je 0x1800481be
mov dword [rsp + 0x38], edx
lea rcx, [r10 + 0x228]
lea rdx, [rsp + 0x38]
call fcn.180049068
add rsp, 0x28
ret
Function at 0x1800489d4
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 0x1800489fe
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 0x180048a5a
mov r10, qword [r9 + rdx*8]
jmp 0x180048a52
cmp rax, r10
je 0x180048a5a
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
jne 0x180048a49
jmp 0x180048a5c
xor eax, eax
test rax, rax
cmove rax, rcx
cmp rax, rcx
je 0x180048afc
lea rdi, [rbx + 0x18]
test r11, r11
je 0x180048a7a
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.180049240
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.180049484
lea rdx, [rsp + 0x20]
mov rcx, qword [rax]
add rcx, 0x18
call fcn.180048f58
mov ecx, dword [rdi]
lea r8, [0x1801b6e88]
mov r9d, 8
mov dword [0x1801b6e88], ecx
mov edx, 0x125c
mov dword [0x1801b6e8c], 1
call fcn.180042a80
inc dword [rdi]
mov rcx, rbx
call fcn.180047efc
mov rbx, qword [rsp + 0x58]
mov al, 1
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x180049068
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 0x180049089
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 0x1800490d7
mov eax, dword [r10]
jmp 0x1800490d0
cmp rbx, qword [rdx + rcx*8]
je 0x1800490d7
mov rbx, qword [rbx + 8]
cmp eax, dword [rbx + 0x10]
jne 0x1800490c6
jmp 0x1800490d9
xor ebx, ebx
test rbx, rbx
je 0x18004917f
cmp qword [rdx + rcx*8 + 8], rbx
jne 0x180049104
cmp qword [rdx + rcx*8], rbx
jne 0x1800490f9
mov rax, qword [r11 + 8]
mov qword [rdx + rcx*8], rax
jmp 0x1800490fd
mov rax, qword [rbx + 8]
mov qword [rdx + rcx*8 + 8], rax
jmp 0x180049111
cmp qword [rdx + rcx*8], rbx
jne 0x180049111
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 0x180049170
mov rdx, qword [rbx + 0x28]
sub rdx, rcx
and rdx, 0xfffffffffffffff0
cmp rdx, 0x1000
jb 0x18004915c
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18004918f
mov rcx, r8
call fcn.180093f54
and qword [rbx + 0x18], 0
and qword [rbx + 0x20], 0
and qword [rbx + 0x28], 0
mov edx, 0x30
mov rcx, rbx
call fcn.180093f54
jmp 0x180049181
xor edi, edi
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
call fcn.180098270
int3
Function at 0x180049c20
Capabilities:
Hash data using fnv

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

Function at 0x180049c2c
Capabilities:
Hash data using fnv

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

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

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

Function at 0x180049c5c
Capabilities:
Hash data using fnv

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

Function at 0x180049c74
Capabilities:
Hash data using fnv

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

Function at 0x180049c8c
Capabilities:
Hash data using fnv

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

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

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

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

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

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

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

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

Disassembly:
sub rcx, 8
jmp method.IMySteamInventory.2.virtual_168
Function at 0x18004a73c
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 0x18004a759
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 0x18004a7a9
mov rdx, qword [rdx + rcx*8]
jmp 0x18004a7a1
cmp rax, rdx
je 0x18004a7a9
mov rax, qword [rax + 8]
cmp r8d, dword [rax + 0x10]
jne 0x18004a798
jmp 0x18004a7ab
xor eax, eax
test rax, rax
cmove rax, qword [r11 + 0x20]
cmp rax, qword [r11 + 0x20]
je 0x18004a7df
cmp qword [rax + 0x38], 0
je 0x18004a7df
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 0x18004a7e1
xor al, al
mov rbx, qword [rsp + 8]
ret

Function at 0x18004a810
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 0x18004a83e
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 0x18004a88d
mov rcx, qword [rcx + rax*8]
jmp 0x18004a886
cmp rbx, rcx
je 0x18004a88d
mov rbx, qword [rbx + 8]
cmp edi, dword [rbx + 0x10]
jne 0x18004a87d
jmp 0x18004a88f
xor ebx, ebx
test rbx, rbx
cmove rbx, qword [rsi + 0x20]
cmp rbx, qword [rsi + 0x20]
je 0x18004a921
cmp qword [rbx + 0x38], 0
je 0x18004a921
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 0x18004a921
cmp qword [rdx + 0x18], 0xf
jbe 0x18004a8d0
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.18004b184
sub qword [rbx + 0x38], 1
jne 0x18004a903
and qword [rbx + 0x30], 0
jmp 0x18004a907
inc qword [rbx + 0x30]
mov rcx, qword [0x1801b5a50]
mov al, 1
mov rdx, qword [rcx + 8]
mov rcx, qword [rsp + 0x50]
mov r8, qword [rdx]
mov qword [rcx], r8
jmp 0x18004a923
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 0x18004aba4
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 0x18004ac74
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 0x18004abf2
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.18004a9f4
mov edx, 0x40
mov rcx, rbx
call fcn.180093f54
mov rcx, qword [rsp + 0x70]
dec qword [rcx + 0x10]
cmp rbx, qword [rsp + 0x88]
je 0x18004ac88
cmp rsi, rbp
jne 0x18004ac28
cmp qword [rsp + 0x80], r13
jne 0x18004ac6d
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 0x18004aca0
mov r13, qword [rsp + 0x78]
mov qword [r12 + r14*8], r13
mov rax, r13
jmp 0x18004aca3
mov rax, r15
mov qword [r12 + r14*8 + 8], rax
jmp 0x18004ad36
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 0x18004acc3
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.18004a9f4
mov edx, 0x40
mov rcx, rbx
call fcn.180093f54
mov rcx, qword [rsp + 0x70]
dec qword [rcx + 0x10]
cmp rbx, qword [rsp + 0x80]
je 0x18004ad2d
cmp rsi, rbp
jne 0x18004acf1
jmp 0x18004ac69
mov qword [r12 + r14*8], r13
mov qword [r12 + r14*8 + 8], r13
cmp rsi, rbp
jne 0x18004acad
jmp 0x18004ac6d
Function at 0x18004bc34
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.18004b490
lea rcx, [rsp + 0x50]
call fcn.18005253c
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 0x18004bca1
xor al, al
jmp 0x18004bcd5
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.18004b4f0
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 0x18004bcf0
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.18004b490
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 0x18004bd4c
xor eax, eax
jmp 0x18004bd80
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 0x18004bd73
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 0x18004bdcc
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 0x18004bfd8
lea r8, [rbp - 0x80]
mov rdx, rbx
call fcn.18004b490
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 0x18004bfd8
xor r9d, r9d
xor r8d, r8d
mov edx, r12d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x18004be7c
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x18004bfcf
lea rbx, [r13 + 0x70]
mov qword [rsp + 0x60], rbx
mov rcx, rbx
call fcn.180092b3c
test eax, eax
jne 0x18004bffc
mov eax, dword [rbx + 0x4c]
cmp eax, 0x7fffffff
je 0x18004c007
mov rcx, r14
call fcn.1800943d8
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 0x18004bfc7
cmp dword [rbp + 0xe0], r14d
jne 0x18004bfc7
mov ecx, 0x18
call fcn.180093f5c
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.18000f008
nop
lea rcx, [r13 + 0x30]
lea r8, [rbp + 0xd0]
lea rdx, [rsp + 0x68]
call fcn.18004cb68
mov rcx, qword [rax]
add rcx, 0x18
lea rdx, [rsp + 0x40]
call fcn.18000d5d4
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x18004bfa5
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004bfa0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004bff6
call fcn.180093f54
mov rcx, r15
call fcn.180093f54
mov r9d, 0x18
mov r8, qword [rbp + 0xd0]
mov edx, 0x534
call fcn.180042b74
mov rdi, rax
mov rcx, rbx
call fcn.180092b64
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.180098270
nop
mov ecx, 5
call fcn.180092950
int3
dec eax
mov dword [rbx + 0x4c], eax
mov ecx, 6
call fcn.180092950
int3
Function at 0x18004c018
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.180092b3c
xor esi, esi
test eax, eax
jne 0x18004c14b
mov eax, dword [rbp + 0xbc]
cmp eax, 0x7fffffff
je 0x18004c138
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 0x18004c075
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 0x18004c0c4
mov rcx, qword [rcx + rax*8]
jmp 0x18004c0bc
cmp rbx, rcx
je 0x18004c0c4
mov rbx, qword [rbx + 8]
cmp r14, qword [rbx + 0x10]
jne 0x18004c0b3
jmp 0x18004c0c7
mov rbx, rsi
test rbx, rbx
cmove rbx, qword [rbp + 0x38]
cmp rbx, qword [rbp + 0x38]
je 0x18004c10f
lea rdx, [rbx + 0x18]
cmp qword [rdx + 0x18], 0xf
jbe 0x18004c0e3
mov rdx, qword [rdx]
mov r8, r12
mov rcx, r13
call sub.msvcrt.dll_memcpy
mov edx, 0x18
mov rcx, r14
call fcn.180093f54
mov r8, rbx
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x30]
call fcn.18004ca5c
mov sil, 1
lea rcx, [rbp + 0x70]
call fcn.180092b64
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.180092950
int3
mov ecx, 5
call fcn.180092950
int3

Function at 0x18004c158
Capabilities:
Delete file

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

Function at 0x18004c220
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 0x18004ca5c
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 0x18004ca81
mov rcx, qword [r10 + 0x30]
mov rdx, qword [r10 + 0x18]
and rcx, r8
add rcx, rcx
cmp qword [rdx + rcx*8 + 8], rbx
jne 0x18004cad1
cmp qword [rdx + rcx*8], rbx
jne 0x18004cac6
mov rax, qword [r10 + 8]
mov qword [rdx + rcx*8], rax
jmp 0x18004caca
mov rax, qword [rbx + 8]
mov qword [rdx + rcx*8 + 8], rax
jmp 0x18004cade
cmp qword [rdx + rcx*8], rbx
jne 0x18004cade
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 0x18004cb2b
mov rcx, qword [rbx + 0x18]
inc rdx
cmp rdx, 0x1000
jb 0x18004cb26
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18004cb5f
mov rcx, r8
call fcn.180093f54
and qword [rbx + 0x28], 0
mov edx, 0x38
mov rcx, rbx
mov qword [rbx + 0x30], 0xf
mov byte [rbx + 0x18], 0
call fcn.180093f54
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.180098270
int3