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

Disassembly:
add rcx, 0x260
jmp 0x18013fd70
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov r15, r8
mov rsi, rcx
xor r14d, r14d
lea rcx, [rsp + 0x70]
call fcn.18013a6c0
nop
movabs rdx, 0xcbf29ce484222325
mov r9d, r14d
mov rax, qword [rsp + 0x70]
or rbp, 0xffffffffffffffff
mov rcx, rbp
inc rcx
cmp byte [rax + rcx], r9b
jne 0x18013fdb7
test rcx, rcx
je 0x18013fdf0
movabs r8, 0x100000001b3
nop
movzx ecx, byte [r9 + rax]
xor rdx, rcx
imul rdx, r8
inc r9
mov rcx, rbp
inc rcx
cmp byte [rax + rcx], 0
jne 0x18013fde2
cmp r9, rcx
jb 0x18013fdd0
mov rcx, rdx
shr rcx, 0x20
xor rdx, rcx
mov r8, qword [rsi + 0xa8]
mov rdi, r8
and rdi, rdx
cmp qword [rsi + 0xb0], rdi
ja 0x18013fe1c
shr r8, 1
mov rcx, rbp
sub rcx, r8
add rdi, rcx
add rdi, rdi
mov rbx, qword [rsi + 0x90]
mov rbx, qword [rbx + rdi*8]
nop word [rax + rax]
mov rcx, qword [rsi + 0x80]
mov rdx, qword [rsi + 0x90]
cmp qword [rdx + rdi*8], rcx
je 0x18013fe4c
mov rcx, qword [rdx + rdi*8 + 8]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rcx
cmp rbx, rcx
je 0x18013fee5
mov ecx, r14d
test rax, rax
setne cl
test ecx, ecx
je 0x18013feda
mov rdx, rax
mov rcx, qword [rbx + 0x10]
call fcn.18017bdf4
test eax, eax
je 0x18013fe81
mov rbx, qword [rbx]
mov rax, qword [rsp + 0x70]
jmp 0x18013fe30
mov rdx, qword [rbx + 0x10]
mov eax, r14d
test rdx, rdx
setne al
test eax, eax
jne 0x18013fe9d
mov ecx, 0x80004005
call fcn.180127e80
int3
mov rcx, qword [rsp + 0x70]
call fcn.18017bdf4
test eax, eax
je 0x18013febe
mov rax, qword [rsi + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x28]
jmp 0x18013fec8
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x70]
jmp 0x18013fef4
mov ecx, 0x80004005
call fcn.180127e80
int3
mov rcx, qword [rsi + 0x80]
mov qword [rsp + 0x88], rcx
lea rdx, [rax - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x18013ff08
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [rsp + 0x88]
cmp rax, qword [rsi + 0x80]
je 0x18013ff26
mov rcx, qword [rax + 0x18]
mov qword [r15], rcx
mov r14d, 1
mov eax, r14d
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1801405f0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push r14
push r15
sub rsp, 0x20
mov r11, qword [r8]
mov rbp, r8
mov r15, rdx
movzx r9d, byte [r11]
mov rsi, rcx
mov r10d, 0x811c9dc5
test r9b, r9b
je 0x180140647
nop
lea eax, [r9 - 0x41]
lea r11, [r11 + 1]
cmp al, 0x19
ja 0x180140630
add r9b, 0x20
imul r10, r10, 0x1000193
movsx rax, r9b
movzx r9d, byte [r11]
xor r10, rax
test r9b, r9b
jne 0x180140620
mov rcx, qword [rcx + 0x28]
mov r14, rcx
and r14, r10
cmp qword [rsi + 0x30], r14
ja 0x180140664
shr rcx, 1
or rax, 0xffffffffffffffff
sub rax, rcx
add r14, rax
mov rbx, qword [rsi + 0x10]
add r14, r14
mov qword [rsp + 0x40], rdi
mov rbx, qword [rbx + r14*8]
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rsi + 0x10]
mov rax, qword [rsi]
cmp qword [rcx + r14*8], rax
je 0x180140695
mov rax, qword [rcx + r14*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x180140703
mov rdx, qword [rbp]
test rdx, rdx
je 0x180140734
mov rcx, qword [rbx + 0x10]
call fcn.18017bef4
test eax, eax
je 0x1801406b9
mov rbx, qword [rbx]
jmp 0x180140680
mov rdi, rbx
nop dword [rax]
mov rcx, qword [rsi + 0x10]
mov rax, qword [rsi]
cmp qword [rcx + r14*8], rax
je 0x1801406d5
mov rax, qword [rcx + r14*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x1801406f5
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x180140729
mov rcx, qword [rbp]
call fcn.18017bef4
test eax, eax
jne 0x1801406f5
mov rbx, qword [rbx]
jmp 0x1801406c0
cmp rdi, rbx
je 0x180140703
mov qword [r15], rdi
mov qword [r15 + 8], rbx
jmp 0x18014070d
mov rax, qword [rsi]
mov qword [r15], rax
mov qword [r15 + 8], rax
mov rdi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rax, r15
add rsp, 0x20
pop r15
pop r14
pop rsi
ret
mov ecx, 0x80004005
call fcn.180127e80
int3
mov ecx, 0x80004005
call fcn.180127e80
int3
Function at 0x180141610
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r10, qword [r8]
mov r14, r8
mov r15, rdx
movzx r9d, byte [r10]
mov rsi, rcx
mov r11d, 0x811c9dc5
test r9b, r9b
je 0x180141667
nop
lea eax, [r9 - 0x41]
lea r10, [r10 + 1]
cmp al, 0x19
ja 0x180141650
add r9b, 0x20
imul r11, r11, 0x1000193
movsx rax, r9b
movzx r9d, byte [r10]
xor r11, rax
test r9b, r9b
jne 0x180141640
mov rcx, qword [rcx + 0x28]
mov rdi, rcx
and rdi, r11
cmp qword [rsi + 0x30], rdi
ja 0x180141684
shr rcx, 1
or rax, 0xffffffffffffffff
sub rax, rcx
add rdi, rax
mov rbx, qword [rsi + 0x10]
add rdi, rdi
mov rbx, qword [rbx + rdi*8]
nop
mov rcx, qword [rsi + 0x10]
mov rax, qword [rsi]
cmp qword [rcx + rdi*8], rax
je 0x1801416a5
mov rax, qword [rcx + rdi*8 + 8]
mov rax, qword [rax]
cmp rbx, rax
je 0x1801416fa
mov rdx, qword [r14]
test rdx, rdx
je 0x180141722
mov rcx, qword [rbx + 0x10]
call fcn.18017bef4
test eax, eax
je 0x1801416c4
mov rbx, qword [rbx]
jmp 0x180141690
mov rdx, qword [rbx + 0x10]
test rdx, rdx
je 0x180141717
mov rcx, qword [r14]
call fcn.18017bef4
test eax, eax
je 0x1801416eb
mov rax, qword [rsi]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x40]
mov rax, qword [rax]
jmp 0x1801416fd
lea rax, [rsp + 0x40]
mov qword [rsp + 0x40], rbx
mov rax, qword [rax]
jmp 0x1801416fd
mov rax, qword [rsi]
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov qword [r15], rax
mov rax, r15
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
mov ecx, 0x80004005
call fcn.180127e80
int3
mov ecx, 0x80004005
call fcn.180127e80
int3

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

Disassembly:
sub rsp, 8
mov r9, qword [rdx]
or r10, 0xffffffffffffffff
mov r11, rcx
mov rdx, r10
movabs r8, 0xcbf29ce484222325
nop dword [rax + rax]
inc rdx
cmp byte [r9 + rdx], 0
jne 0x180141bd0
xor ecx, ecx
test rdx, rdx
je 0x180141c08
mov qword [rsp], rbx
movabs rbx, 0x100000001b3
nop
movzx eax, byte [rcx + r9]
inc rcx
xor r8, rax
imul r8, rbx
cmp rcx, rdx
jb 0x180141bf0
mov rbx, qword [rsp]
mov rcx, qword [r11 + 0x28]
mov rax, r8
shr rax, 0x20
xor rax, r8
and rax, rcx
cmp qword [r11 + 0x30], rax
ja 0x180141c28
shr rcx, 1
sub r10, rcx
add rax, r10
add rsp, 8
ret
Function at 0x180143e80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rbx
push rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx]
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
cmp r8, qword [rax]
jne 0x180143ec0
cmp r9, rax
jne 0x180143ec0
call fcn.1801415b0
mov rax, qword [rdi]
mov rcx, qword [rax]
mov rax, rsi
mov qword [rsi], rcx
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
cmp rbx, r9
je 0x180144002
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], r14
movabs r14, 0xcbf29ce484222325
movabs rbp, 0x100000001b3
nop word [rax + rax]
mov rax, qword [rbx]
mov r8, r14
mov qword [rsp + 0x50], rax
mov r9, qword [rbx + 0x10]
or rax, 0xffffffffffffffff
inc rax
cmp byte [r9 + rax], 0
jne 0x180143f03
xor edx, edx
test rax, rax
je 0x180143f34
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rdx + r9]
inc rdx
xor r8, rcx
imul r8, rbp
cmp rdx, rax
jb 0x180143f20
mov rcx, qword [rdi + 0x28]
mov rdx, r8
shr rdx, 0x20
xor rdx, r8
and rdx, rcx
cmp qword [rdi + 0x30], rdx
ja 0x180143f58
shr rcx, 1
or rax, 0xffffffffffffffff
sub rax, rcx
add rdx, rax
mov rcx, qword [rdi + 0x10]
shl rdx, 4
add rcx, rdx
cmp qword [rcx + 8], rbx
jne 0x180143f8c
cmp qword [rcx], rbx
jne 0x180143f82
mov rax, qword [rdi]
mov qword [rcx], rax
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdi]
mov qword [rdx + rcx + 8], rax
jmp 0x180143f97
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
jmp 0x180143f97
cmp qword [rcx], rbx
jne 0x180143f97
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [rdi + 8]
mov rdx, qword [rbx + 0x18]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x180143fc8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdx, qword [rbx + 0x10]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x180143fe0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, rbx
call sym.HPSocket4C_U.dll_SYS_Free
mov rbx, qword [rsp + 0x50]
cmp rbx, qword [rsp + 0x58]
jne 0x180143ef0
mov r14, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x40]
mov qword [rsi], rbx
mov rax, rsi
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
Function at 0x1801444a0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov rdi, r9
mov r15, r8
mov r12, rdx
mov r14, rcx
mov r10d, 0x811c9dc5
mov r11, qword [r8]
movzx r9d, byte [r11]
test r9b, r9b
je 0x180144509
lea r11, [r11 + 1]
lea eax, [r9 - 0x41]
cmp al, 0x19
ja 0x1801444f2
add r9b, 0x20
imul r10, r10, 0x1000193
movsx rax, r9b
xor r10, rax
movzx r9d, byte [r11]
test r9b, r9b
jne 0x1801444e2
mov rcx, qword [rcx + 0x28]
mov rsi, rcx
and rsi, r10
cmp qword [r14 + 0x30], rsi
ja 0x180144526
shr rcx, 1
or rax, 0xffffffffffffffff
sub rax, rcx
add rsi, rax
mov rbx, qword [r14]
shl rsi, 4
mov rax, qword [r14 + 0x10]
cmp qword [rsi + rax], rbx
je 0x180144540
mov rbx, qword [rsi + rax + 8]
mov rbx, qword [rbx]
nop
mov rax, qword [r14 + 0x10]
cmp rbx, qword [rsi + rax]
je 0x18014457c
mov rbx, qword [rbx + 8]
mov rdx, qword [rbx + 0x10]
xor eax, eax
test rdx, rdx
setne al
test eax, eax
jne 0x180144568
mov ecx, 0x80004005
call fcn.180127e80
mov rcx, qword [r15]
call fcn.18017bef4
mov rdi, qword [rsp + 0x78]
test eax, eax
jne 0x180144540
mov rbx, qword [rbx]
mov rax, qword [rdi]
cmp rbx, rax
je 0x1801445b1
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [r14 + 0x10]
add rdx, rsi
mov rax, qword [rdx]
cmp rax, qword [r14]
jne 0x1801445ce
mov qword [rdx], rdi
mov rax, qword [r14 + 0x10]
mov qword [rsi + rax + 8], rdi
jmp 0x1801445fa
cmp rax, rbx
jne 0x1801445d8
mov qword [rdx], rdi
jmp 0x1801445fa
mov rax, qword [rdx + 8]
mov rcx, qword [rax]
mov qword [rdx + 8], rcx
cmp rcx, rdi
je 0x1801445fa
mov rdx, qword [r14 + 0x10]
mov rax, qword [rdx + rsi + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + rsi + 8], rcx
mov rcx, r14
call fcn.180144630
mov qword [r12], rdi
mov byte [r12 + 8], 1
mov rax, r12
mov rbx, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x180144b70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x180144ba3
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x180144be9
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x180144be4
nop
cmp rbx, rcx
jae 0x180144be9
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
dec edi
jne 0x180144bd0
cmp rbx, rcx
jb 0x180144bed
xor eax, eax
jmp 0x180144bf9
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x180147d20
Capabilities:
Hash data using fnv

Disassembly:
add rcx, 0x368
jmp 0x18013fd70

Function at 0x1801482e0
Capabilities:
Hash data using fnv

Disassembly:
mov rcx, qword [rcx + 0x568]
jmp 0x18013fd70
Function at 0x18014b730
Capabilities:
Get file size

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1c8
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov rax, qword [0x1802658e0]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov r13, r9
mov rax, r8
mov r12, rdx
mov r15, rcx
mov rcx, qword [rsp + 0x230]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0x238]
mov qword [rsp + 0x50], rcx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
xor ebp, ebp
mov esi, ebp
mov qword [rsp + 0x68], rbp
mov r14d, ebp
mov qword [rsp + 0x78], rbp
lea rcx, [rsp + 0xa8]
mov qword [rsp + 0xa0], rcx
lea r8d, [rbp + 3]
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.18014e390
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rbp + 1]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x18014b810
call fcn.180144c30
mov ebx, eax
mov rdi, qword [rsp + 0x58]
test eax, eax
jns 0x18014b815
jmp 0x18014b874
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x44]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x40], eax
cmp eax, 0xffffffff
jne 0x18014b837
call fcn.180144c30
mov ebx, eax
test eax, eax
js 0x18014b874
mov rax, qword [rsp + 0x40]
lea rcx, [rax - 1]
cmp rcx, 0x3ffffe
ja 0x18014b864
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.18015d1f0
mov ebx, eax
mov r14, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x68]
jmp 0x18014b874
mov ebx, 0x800700df
mov ecx, 0x800703ee
test rax, rax
cmove ebx, ecx
lea rax, [rsp + 0xa8]
mov rcx, qword [rsp + 0xa0]
cmp rcx, rax
je 0x18014b88e
call fcn.180179510
test ebx, ebx
jns 0x18014b89f
movzx ecx, bx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, ebp
jmp 0x18014b8db
mov r10, qword [r15]
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rsi
mov eax, dword [rsp + 0x240]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x48]
mov r8, r13
mov rdx, r12
mov rcx, r15
call qword [r10 + 0xc0]
mov ebx, eax
test rsi, rsi
je 0x18014b8f4
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
jne 0x18014b8f4
call fcn.180144c30
mov ebp, eax
test r14, r14
je 0x18014b910
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x18014b910
test ebp, ebp
js 0x18014b910
call fcn.180144c30
nop
test rdi, rdi
je 0x18014b91e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.180179370
add rsp, 0x1c8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18014c260
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
mov r11, qword [rcx + 0x1e0]
mov rbx, r8
test r11, r11
je 0x18014c2c6
mov r10d, dword [rcx + 0x1d8]
mov rcx, qword [rcx + 0x220]
lea rax, [rdx - 1]
xor edx, edx
div r10
movzx r8d, byte [rcx + rdx]
cmp rax, r8
jne 0x18014c2c6
mov rcx, qword [r11 + rdx*8]
xor eax, eax
cmp rcx, 0xf
seta al
cmp eax, 1
jne 0x18014c2c6
test rcx, rcx
je 0x18014c2c6
mov rcx, qword [rcx + 0x38]
test rcx, rcx
je 0x18014c2c6
mov r8, r9
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp 0x18013fd70
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x18014f690
Capabilities:
Get file size

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1b8
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov rax, qword [0x1802658e0]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov r13, r9
mov r12, r8
mov r15, rcx
mov rax, qword [rsp + 0x220]
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xor ebp, ebp
mov esi, ebp
mov qword [rsp + 0x60], rbp
mov r14d, ebp
mov qword [rsp + 0x70], rbp
lea rax, [rsp + 0x98]
mov qword [rsp + 0x90], rax
lea r8d, [rbp + 3]
lea rcx, [rsp + 0x90]
call fcn.18014e390
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rbp + 1]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x18014f75d
call fcn.180144c30
mov ebx, eax
mov rdi, qword [rsp + 0x50]
test eax, eax
jns 0x18014f762
jmp 0x18014f7c1
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x44]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rsp + 0x40], eax
cmp eax, 0xffffffff
jne 0x18014f784
call fcn.180144c30
mov ebx, eax
test eax, eax
js 0x18014f7c1
mov rax, qword [rsp + 0x40]
lea rcx, [rax - 1]
cmp rcx, 0x3ffffe
ja 0x18014f7b1
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.18015d1f0
mov ebx, eax
mov r14, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x60]
jmp 0x18014f7c1
mov ebx, 0x800700df
mov ecx, 0x800703ee
test rax, rax
cmove ebx, ecx
lea rax, [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
cmp rcx, rax
je 0x18014f7db
call fcn.180179510
test ebx, ebx
jns 0x18014f7ec
movzx ecx, bx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ebx, ebp
jmp 0x18014f81e
mov r10, qword [r15]
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rsi
mov eax, dword [rsp + 0x228]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x48]
mov r8, r13
mov rdx, r12
mov rcx, r15
call qword [r10 + 0xc8]
mov ebx, eax
test rsi, rsi
je 0x18014f837
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
test eax, eax
jne 0x18014f837
call fcn.180144c30
mov ebp, eax
test r14, r14
je 0x18014f853
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x18014f853
test ebp, ebp
js 0x18014f853
call fcn.180144c30
nop
test rdi, rdi
je 0x18014f861
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.180179370
add rsp, 0x1b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x180154370
Capabilities:
Check if file exists

Disassembly:
mov r8d, edx
mov rdx, rcx
jmp 0x180154370
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x60
mov rbx, rdx
test r8d, r8d
je 0x1801543a4
mov r8d, 1
call fcn.180153d20
test eax, eax
jne 0x1801543a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1801543a4
xor eax, eax
add rsp, 0x60
pop rbx
ret
mov qword [rsp + 0x50], r13
lea r8, [0x18022fa30]
lea rcx, [rsp + 0x70]
xor r13d, r13d
mov rdx, rbx
mov qword [rsp + 0x70], r13
call fcn.18017d05c
test eax, eax
je 0x180154402
call fcn.18017b3b8
cmp dword [rax], 2
jne 0x1801543e2
lea ecx, [r13 + 2]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x180154545
call fcn.18017b3b8
mov ecx, WSASetLastError
mov edx, 5
cmp dword [rax], 0xd
cmove ecx, edx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x180154545
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rdi
mov qword [rsp + 0x58], r12
xor ecx, ecx
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r15
call fcn.18017b6d4
lea rcx, [0x18026e2f0]
mov r12, rax
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
mov rbp, qword [0x18026e2f8]
mov r14, qword [rbp]
cmp r14, rbp
je 0x18015450e
nop dword [rax]
nop word [rax + rax]
mov r15, qword [r14 + 0x18]
mov rsi, qword [r15]
cmp rsi, r15
je 0x180154502
mov r9, qword [rsi + 0x10]
mov r8, qword [r14 + 0x10]
mov rcx, qword [rsp + 0x70]
lea rdx, str._s__s_n
call fcn.180179720
test eax, eax
js 0x180154562
mov rdi, qword [rsi + 0x18]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x1801544f6
nop dword [rax]
mov rax, qword [rbx + 0x30]
cmp rax, r12
jle 0x1801544ee
mov rcx, qword [rbx + 0x18]
mov r8, qword [rbx + 0x10]
lea r9, [0x18022fa3c]
cmp byte [rcx], r13b
lea rdx, str._t_s__s__I64d__d__d__d_n
cmovne r9, rcx
mov ecx, dword [rbx + 0x40]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rbx + 0x3c]
mov dword [rsp + 0x30], ecx
mov ecx, dword [rbx + 0x38]
mov dword [rsp + 0x28], ecx
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
call fcn.180179720
test eax, eax
js 0x180154562
mov rbx, qword [rbx]
cmp rbx, rdi
jne 0x1801544a0
mov rsi, qword [rsi]
cmp rsi, r15
jne 0x180154470
mov r14, qword [r14]
cmp r14, rbp
jne 0x180154460
lea rcx, [0x18026e2f0]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
mov r13d, 1
mov r14, qword [rsp + 0x48]
mov r12, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov r15, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x180154554
call fcn.18017d2dc
mov eax, r13d
mov r13, qword [rsp + 0x50]
add rsp, 0x60
pop rbx
ret
mov ecx, 0x1d
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [0x18026e2f0]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
jmp 0x180154521
Function at 0x180155390
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rdi, rdx
test r8, r8
jne 0x180155400
mov rcx, rdx
call fcn.180157170
mov rax, qword [rdi]
mov qword [rsp + 0xb0], rax
lea rcx, [rdi + 0x10]
mov r8, qword [rcx]
mov qword [rcx + 8], r8
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
mov r9d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x48]
call fcn.1801275d0
mov qword [rdi + 0x28], 7
mov qword [rdi + 0x30], 8
jmp 0x1801555a5
mov rdx, r8
lea rcx, [rsp + 0xa0]
call fcn.18013a6c0
nop
movabs rdx, 0xcbf29ce484222325
xor r14d, r14d
mov r8d, r14d
mov rax, qword [rsp + 0xa0]
or rbp, 0xffffffffffffffff
mov rcx, rbp
inc rcx
cmp byte [rax + rcx], r8b
jne 0x180155430
test rcx, rcx
je 0x180155470
movabs r9, 0x100000001b3
nop dword [rax + rax]
movzx ecx, byte [r8 + rax]
xor rdx, rcx
imul rdx, r9
inc r8
mov rcx, rbp
inc rcx
cmp byte [rax + rcx], r14b
jne 0x180155462
cmp r8, rcx
jb 0x180155450
mov rcx, rdx
shr rcx, 0x20
xor rdx, rcx
mov r8, qword [rdi + 0x28]
mov rsi, r8
and rsi, rdx
cmp qword [rdi + 0x30], rsi
ja 0x180155496
shr r8, 1
mov rcx, rbp
sub rcx, r8
add rsi, rcx
add rsi, rsi
mov rbx, qword [rdi + 0x10]
mov rbx, qword [rbx + rsi*8]
mov rcx, qword [rdi]
mov rdx, qword [rdi + 0x10]
cmp qword [rdx + rsi*8], rcx
je 0x1801554b6
mov rcx, qword [rdx + rsi*8 + 8]
mov rcx, qword [rcx]
mov qword [rsp + 0xb8], rcx
cmp rbx, rcx
je 0x18015554e
mov ecx, r14d
test rax, rax
setne cl
test ecx, ecx
je 0x180155543
mov rdx, rax
mov rcx, qword [rbx + 0x10]
call fcn.18017bdf4
test eax, eax
je 0x1801554f1
mov rbx, qword [rbx]
mov rax, qword [rsp + 0xa0]
jmp 0x1801554a1
mov rdx, qword [rbx + 0x10]
test rdx, rdx
setne r14b
test r14d, r14d
jne 0x18015550c
mov ecx, 0x80004005
call fcn.180127e80
int3
mov rcx, qword [rsp + 0xa0]
call fcn.18017bdf4
test eax, eax
je 0x18015552c
mov rax, qword [rdi]
mov qword [rsp + 0x30], rax
lea rbx, [rsp + 0x30]
jmp 0x180155536
mov qword [rsp + 0x38], rbx
lea rbx, [rsp + 0x38]
mov rbx, qword [rbx]
mov rax, qword [rsp + 0xa0]
jmp 0x180155551
mov ecx, 0x80004005
call fcn.180127e80
int3
mov rbx, qword [rdi]
lea rdx, [rax - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x180155565
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
cmp rbx, qword [rdi]
je 0x1801555a5
lea r8, [rbx + 0x10]
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.180144010
mov r8, qword [rsp + 0x58]
mov rax, r8
mov r9, qword [rsp + 0x60]
cmp r8, r9
je 0x180155598
nop dword [rax]
mov rax, qword [rax]
cmp rax, r9
jne 0x180155590
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.180156f90
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret