joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b7650
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x70], rbx
mov rax, qword [0x1403ddfb8]
xor rax, rbp
mov qword [rbp + 0x20], rax
mov rsi, r9
mov r14, rdx
mov r15, rcx
xor ebx, ebx
mov edi, ebx
mov dword [rbp], ebx
test r9, r9
jne 0x1400b769b
lea eax, [rbx + 0x57]
jmp 0x1400b76d3
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
or r9d, 0xffffffff
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x1400b76cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400b76d3
mov edi, eax
mov dword [rbp], eax
mov eax, ebx
test eax, eax
jne 0x1400b7803
mov qword [rbp + 8], rbx
mov edx, edi
lea rax, [rdx + 0x10]
mov rcx, rbx
cmp rax, rdx
cmova rcx, rax
test rcx, rcx
je 0x1400b7780
lea rax, [rdx + 0x10]
mov rcx, rbx
cmp rax, rdx
cmova rcx, rax
lea rax, [rdx + 0x10]
cmp rcx, 0x400
ja 0x1400b7757
cmp rax, rdx
cmova rbx, rax
lea rax, [rbx + 0xf]
cmp rax, rbx
ja 0x1400b772d
movabs rax, 0xffffffffffffff0
and rax, 0xfffffffffffffff0
call fcn.14026e690
sub rsp, rax
lea rbx, [rsp + 0x40]
mov qword [rbp + 0x10], rbx
test rbx, rbx
je 0x1400b7780
mov dword [rbx], 0xcccc
add rbx, 0x10
mov qword [rbp + 0x10], rbx
jmp 0x1400b7780
cmp rax, rdx
cmova rbx, rax
mov rcx, rbx
call fcn.14029de2c
mov rbx, rax
mov qword [rbp + 0x18], rax
test rax, rax
je 0x1400b7780
mov dword [rax], 0xdddd
add rbx, 0x10
mov qword [rbp + 0x18], rbx
mov qword [rbp + 8], rbx
jmp 0x1400b779e
test rbx, rbx
jne 0x1400b77a8
lea eax, [rbx + 0xe]
jmp 0x1400b7803
mov r8d, edi
xor edx, edx
mov rcx, rbx
call fcn.14028e7e0
lea r9, [rbp]
mov r8, rbx
mov rdx, rsi
mov ecx, 3
call fcn.14003e4c0
mov edi, eax
test eax, eax
jne 0x1400b77f0
mov eax, dword [rbp]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
lea r9d, [rdi + 1]
xor r8d, r8d
mov rdx, r14
mov rcx, qword [r15]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
lea rcx, [rbx - 0x10]
cmp dword [rcx], 0xdddd
jne 0x1400b7801
call fcn.140290594
mov eax, edi
mov rcx, qword [rbp + 0x20]
xor rcx, rbp
call fcn.14026d870
mov rbx, qword [rbp + 0x70]
lea rsp, [rbp + 0x30]
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400b7bc0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r14
lea rbp, [rsp - 0x7d0]
sub rsp, 0x8d0
mov rax, qword [0x1403ddfb8]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov r14, rdx
mov rsi, rcx
test rcx, rcx
je 0x1400b7e0a
xor ebx, ebx
cmp bx, word [rcx]
je 0x1400b7e0a
test rdx, rdx
je 0x1400b7e0a
xor edx, edx
mov qword [rsp + 0x900], rdi
mov r8d, 0x208
lea rcx, [rbp + 0x1a0]
call fcn.14028e7e0
xor eax, eax
mov dword [rbp + 0x190], ebx
mov r8, rsi
mov qword [rbp + 0x194], rax
lea rdx, str._s___
mov dword [rbp + 0x19c], eax
lea rcx, [rbp + 0x3b0]
mov qword [rbp + 0x184], rax
mov dword [rbp + 0x18c], eax
mov dword [rbp + 0x180], ebx
call fcn.1400b9370
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x250
call fcn.14028e7e0
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x3b0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1400b7df0
nop word [rax + rax]
cmp dword [rsp + 0x30], 0x10
jne 0x1400b7d94
cmp bx, word [rsp + 0x5c]
je 0x1400b7d94
lea rdx, str._lu__lu__lu__lu
lea rcx, [rsp + 0x5c]
cmp bx, word [rbp + 0x1a0]
jne 0x1400b7d1a
lea rax, [rbp + 0x19c]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x194]
lea rax, [rbp + 0x198]
lea r8, [rbp + 0x190]
mov qword [rsp + 0x20], rax
call fcn.140028930
cmp eax, 4
jne 0x1400b7d94
lea r8, [rsp + 0x5c]
mov edx, 0x104
lea rcx, [rbp + 0x1a0]
call fcn.14029dd40
jmp 0x1400b7d94
lea rax, [rbp + 0x18c]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x184]
lea rax, [rbp + 0x188]
lea r8, [rbp + 0x180]
mov qword [rsp + 0x20], rax
call fcn.140028930
cmp eax, 4
jne 0x1400b7d94
mov rax, rbx
nop dword [rax]
mov ecx, dword [rbp + rax + 0x180]
mov edx, dword [rbp + rax + 0x190]
cmp ecx, edx
jne 0x1400b7d6e
add rax, 4
cmp rax, 0x10
jl 0x1400b7d50
jmp 0x1400b7d94
jbe 0x1400b7d94
lea r8, [rsp + 0x5c]
mov edx, 0x104
lea rcx, [rbp + 0x1a0]
call fcn.14029dd40
movups xmm0, xmmword [rbp + 0x180]
movups xmmword [rbp + 0x190], xmm0
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400b7ca0
cmp bx, word [rbp + 0x1a0]
je 0x1400b7df0
mov r8, rsi
mov edx, 0x104
mov rcx, r14
call fcn.14029dd40
lea r8, [0x140327fbc]
mov edx, 0x104
mov rcx, r14
call fcn.14029de34
lea r8, [rbp + 0x1a0]
mov edx, 0x104
mov rcx, r14
call fcn.14029de34
mov ebx, 1
test rdi, rdi
je 0x1400b7dfe
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdi, qword [rsp + 0x900]
mov eax, ebx
jmp 0x1400b7e0c
xor eax, eax
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.14026d870
mov rbx, qword [rsp + 0x908]
add rsp, 0x8d0
pop r14
pop rsi
pop rbp
ret
Function at 0x1400b7e30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x360
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x1403ddfb8]
xor rax, rsp
mov qword [rsp + 0x350], rax
mov rbx, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [r11 - 0x228]
call fcn.14028e7e0
test rbx, rbx
je 0x1400b7ed0
cmp word [rbx], 0
je 0x1400b7ed0
mov r8, rbx
mov edx, 0x104
lea rcx, [rsp + 0x140]
call fcn.14029dd40
mov edx, 0x104
lea rcx, [rsp + 0x140]
call fcn.14029af34
cmp word [rsp + rax*2 + 0x13e], 0x5c
je 0x1400b7f2c
lea r8, [0x140327fbc]
mov edx, 0x104
lea rcx, [rsp + 0x140]
call fcn.14029de34
jmp 0x1400b7f2c
mov r8d, 0x104
lea rdx, [rsp + 0x140]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x1400b7ef5
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400b8063
mov edx, 0x5c
lea rcx, [rsp + 0x140]
call fcn.14028e070
test rax, rax
je 0x1400b7f2c
xor edi, edi
mov word [rax], di
lea r8, [0x140327fbc]
mov edx, 0x104
lea rcx, [rsp + 0x140]
call fcn.14029de34
jmp 0x1400b7f2e
xor edi, edi
mov r8, qword [rsi]
mov edx, 0x104
lea rcx, [rsp + 0x140]
call fcn.14029de34
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400b7f60
mov eax, 2
jmp 0x1400b8063
lea r8, [rsi + 8]
lea rdx, [rsp + 0x140]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
test eax, eax
je 0x1400b7f86
cmp qword [rsi + 8], 0
je 0x1400b7f86
xor eax, eax
jmp 0x1400b8063
lea rax, [rsp + 0x38]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x140]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400b7fa0
inc ebx
mov r9d, 0x80
lea r8, [rsp + 0x38]
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.14009d650
movsxd rdx, ebx
add rdx, rdx
mov r9, rdx
lea r8, [rsp + 0x140]
mov rcx, qword [rsp + 0x30]
call fcn.140028d70
test eax, eax
je 0x1400b8015
cmp eax, 0xc
je 0x1400b800a
cmp eax, 0x16
je 0x1400b8000
cmp eax, 0x22
je 0x1400b8000
cmp eax, 0x50
je 0x1400b8015
mov ecx, 0x80004005
call fcn.140028e20
mov ecx, 0x80070057
call fcn.140028e20
mov ecx, 0x8007000e
call fcn.140028e20
nop
mov rcx, qword [rsp + 0x30]
call fcn.140100d78
mov ebx, eax
lea rax, [rsp + 0x38]
mov rcx, qword [rsp + 0x30]
cmp rcx, rax
je 0x1400b8036
call fcn.140290594
nop
test ebx, ebx
jne 0x1400b8061
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsi + 8], rax
test rax, rax
jne 0x1400b8059
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, edi
jmp 0x1400b8063
mov eax, ebx
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.14026d870
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400b8690
Capabilities:
Compare security identifiers

Disassembly:
push rsi
sub rsp, 0x90
mov rax, qword [0x1403ddfb8]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor esi, esi
mov qword [rsp + 0xa8], rdi
mov qword [rsp + 0x68], rsi
mov edi, esi
mov dword [rsp + 0x78], esi
mov qword [rsp + 0x70], rsi
mov word [rsp + 0x7c], 0x500
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x70]
lea edx, [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400b87fd
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x60], esi
lea edx, [rsi + 2]
mov qword [rsp + 0x68], rsi
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x1400b8725
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400b87fd
mov edx, dword [rsp + 0x60]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x1400b87fd
mov r9d, dword [rsp + 0x60]
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x70]
mov r8, rdi
mov edx, 2
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x1400b87fd
lea rax, [rsp + 0x68]
mov r9d, 0x220
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x78]
mov dword [rsp + 0x48], esi
mov r8d, 0x20
mov dword [rsp + 0x40], esi
mov dl, 2
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x1400b87fd
mov qword [rsp + 0xa0], rbx
mov ebx, esi
cmp dword [rdi], esi
jbe 0x1400b87f5
nop word [rax + rax]
mov rcx, qword [rsp + 0x68]
mov edx, ebx
add rdx, rdx
mov rdx, qword [rdi + rdx*8 + 8]
call qword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x1400b87e1
inc ebx
cmp ebx, dword [rdi]
jb 0x1400b87c0
jmp 0x1400b87f5
mov eax, ebx
inc rax
add rax, rax
test byte [rdi + rax*8], 4
mov eax, 1
cmovne esi, eax
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400b880d
call qword [sym.imp.ADVAPI32.dll_FreeSid]
test rdi, rdi
je 0x1400b881b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x70]
mov rdi, qword [rsp + 0xa8]
test rcx, rcx
je 0x1400b8833
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14026d870
add rsp, 0x90
pop rsi
ret
Function at 0x1400c1580
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
movzx r9d, byte [r8]
mov r10, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r9, rax
mov rbx, rdx
movzx eax, byte [r8 + 1]
mov r11, r8
mov rdx, qword [r10 + 0x18]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 2]
imul r9, rcx
xor r9, rax
movzx eax, byte [r8 + 3]
mov r8, qword [r10 + 8]
imul r9, rcx
xor r9, rax
imul r9, rcx
mov rcx, qword [r10 + 0x30]
and rcx, r9
mov rax, rcx
add rax, rax
add rcx, rcx
mov rax, qword [rdx + rax*8]
mov r9, qword [rdx + rcx*8]
lea r10, [rdx + rcx*8]
cmp r9, r8
jne 0x1400c15ff
mov rcx, r8
jmp 0x1400c1606
mov rcx, qword [r10 + 8]
mov rcx, qword [rcx]
cmp rax, rcx
je 0x1400c162e
mov ecx, dword [r11]
cmp dword [rax + 0x10], ecx
je 0x1400c1618
mov rax, qword [rax]
jmp 0x1400c15f5
mov ecx, dword [rax + 0x10]
cmp dword [r11], ecx
cmovne rax, r8
mov qword [rbx], rax
mov rax, rbx
mov rbx, qword [rsp + 8]
ret
mov qword [rbx], r8
mov rax, rbx
mov rbx, qword [rsp + 8]
ret
Function at 0x1400c1b10
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rcx
push r14
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rdi
mov rdi, r9
mov r11, r8
mov r14, rdx
mov r10, rcx
movzx r9d, byte [r8]
movabs rax, 0xcbf29ce484222325
xor r9, rax
movabs rcx, 0x100000001b3
imul r9, rcx
movzx eax, byte [r8 + 1]
xor r9, rax
imul r9, rcx
movzx eax, byte [r8 + 2]
xor r9, rax
imul r9, rcx
movzx eax, byte [r8 + 3]
xor r9, rax
imul r9, rcx
mov r8, qword [r10 + 0x30]
and r8, r9
shl r8, 4
mov rbx, qword [r10 + 0x18]
mov rax, qword [rbx + r8]
cmp rax, qword [r10 + 8]
jne 0x1400c1ba1
mov rbx, qword [r10 + 8]
jmp 0x1400c1ba9
mov rbx, qword [rbx + r8 + 8]
mov rbx, qword [rbx]
cmp rbx, rax
je 0x1400c1c29
mov ecx, dword [r11]
mov rbx, qword [rbx + 8]
cmp ecx, dword [rbx + 0x10]
je 0x1400c1bc1
cmp rbx, rax
jne 0x1400c1bb1
jmp 0x1400c1c29
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
mov qword [rcx], rax
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
dec qword [r10 + 0x10]
lea rsi, [rdi + 0x18]
mov r8, qword [rsi + 0x18]
cmp r8, 8
jb 0x1400c1bf6
inc r8
mov rdx, qword [rsi]
mov rcx, rsi
call fcn.14002e610
mov qword [rsi + 0x18], 7
xor eax, eax
mov qword [rsi + 0x10], rax
cmp qword [rsi + 0x18], 8
jb 0x1400c1c0e
mov rsi, qword [rsi]
mov word [rsi], ax
mov rcx, rdi
call fcn.14026d850
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x1400c1cc1
mov qword [rsp + 0x20], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x1400c1c63
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 [r10 + 0x18]
add rdx, r8
mov rax, qword [rdx]
cmp rax, qword [r10 + 8]
jne 0x1400c1c81
mov qword [rdx], rdi
mov rax, qword [r10 + 0x18]
mov qword [rax + r8 + 8], rdi
jmp 0x1400c1cad
cmp rax, rbx
jne 0x1400c1c8b
mov qword [rdx], rdi
jmp 0x1400c1cad
mov rax, qword [rdx + 8]
mov rcx, qword [rax]
mov qword [rdx + 8], rcx
cmp rcx, rdi
je 0x1400c1cad
mov rdx, qword [r10 + 0x18]
mov rax, qword [rdx + r8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8 + 8], rcx
mov rcx, r10
call fcn.1400c1ce0
nop
mov qword [r14], rdi
mov byte [r14 + 8], 1
mov rax, r14
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x1400c1da0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x18], r8
push r14
sub rsp, 0x20
mov rdi, r8
mov r9, rcx
movzx r8d, byte [r8 + 0x10]
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
mov r14, rdx
xor r8, rax
movzx eax, byte [rdi + 0x11]
mov rdx, qword [r9 + 0x30]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdi + 0x12]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdi + 0x13]
imul r8, rcx
xor r8, rax
imul r8, rcx
mov rcx, qword [r9 + 0x18]
and rdx, r8
shl rdx, 4
add rcx, rdx
cmp qword [rcx + 8], rdi
jne 0x1400c1e41
cmp qword [rcx], rdi
jne 0x1400c1e37
mov rax, qword [r9 + 8]
mov qword [rcx], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
mov qword [rdx + rcx + 8], rax
jmp 0x1400c1e4c
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
jmp 0x1400c1e4c
cmp qword [rcx], rdi
jne 0x1400c1e51
mov rax, qword [rdi]
mov qword [rcx], rax
mov rdi, qword [rsp + 0x40]
mov rax, qword [rdi + 8]
lea rsi, [rdi + 0x18]
mov rbx, qword [rdi]
mov qword [rax], rbx
mov rcx, qword [rdi]
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
dec qword [r9 + 0x10]
mov r8, qword [rsi + 0x18]
cmp r8, 8
jb 0x1400c1e86
mov rdx, qword [rsi]
inc r8
mov rcx, rsi
call fcn.14002e610
xor eax, eax
mov qword [rsi + 0x18], 7
cmp qword [rsi + 0x18], 8
mov qword [rsi + 0x10], rax
jb 0x1400c1e9e
mov rsi, qword [rsi]
mov rcx, rdi
mov word [rsi], ax
call fcn.14026d850
mov rsi, qword [rsp + 0x38]
mov rax, r14
mov rdi, qword [rsp + 0x48]
mov qword [r14], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop r14
ret
Function at 0x1400c31f0
Capabilities:
Get file size
Read file on windows

Disassembly:
push rsi
push rdi
push r15
sub rsp, 0x60
mov rax, qword [0x1403ddfb8]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor esi, esi
mov r15, r9
mov rax, rdx
mov rdi, rcx
test rdx, rdx
jne 0x1400c3220
mov qword [rcx], rsi
jmp 0x1400c3321
xor r9d, r9d
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov rcx, rax
mov qword [rsp + 0x90], rbx
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400c326c
or rcx, rax
mov qword [rdi], rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400c3319
xor edx, edx
mov qword [rsp + 0x50], r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [r15], eax
mov r14d, eax
test eax, eax
jne 0x1400c329d
mov qword [rdi], rsi
test rbx, rbx
je 0x1400c3314
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400c3314
lea ecx, [rax + 1]
mov qword [rsp + 0x58], rbp
lea rdx, [0x1403eed54]
call fcn.14026e5e4
mov rbp, rax
test rax, rax
jne 0x1400c32be
mov qword [rdi], rsi
jmp 0x1400c3301
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], esi
mov r8d, r14d
mov qword [rsp + 0x20], rsi
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400c32f1
mov eax, dword [rsp + 0x40]
cmp eax, r14d
jne 0x1400c32f1
mov byte [rax + rbp], sil
mov qword [rdi], rbp
jmp 0x1400c3301
mov edx, 1
mov qword [rdi], rsi
mov rcx, rbp
call fcn.14026e340
test rbx, rbx
je 0x1400c330f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbp, qword [rsp + 0x58]
mov r14, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x90]
mov rax, rdi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14026d870
add rsp, 0x60
pop r15
pop rdi
pop rsi
ret
Function at 0x1400c41b0
Capabilities:
Hash data using fnv

Disassembly:
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rsi
mov edi, edx
mov rsi, rcx
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1400c41e2
mov edx, edi
call qword [sym.imp.USER32.dll_KillTimer]
movzx edx, dil
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs rcx, 0x100000001b3
imul rdx, rcx
movzx eax, byte [rsp + 0x59]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rsp + 0x5a]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rsp + 0x5b]
xor rdx, rax
imul rdx, rcx
mov rax, qword [rsi + 0x68]
and rax, rdx
mov rdx, qword [rsi + 0x50]
mov rcx, rax
add rcx, rcx
mov rcx, qword [rdx + rcx*8]
add rax, rax
lea r8, [rax*8 + 8]
mov r9, qword [rdx + rax*8]
nop dword [rax]
cmp r9, qword [rsi + 0x40]
jne 0x1400c425c
mov rax, qword [rsi + 0x40]
jmp 0x1400c4263
mov rax, qword [r8 + rdx]
mov rax, qword [rax]
cmp rcx, rax
je 0x1400c4272
cmp edi, dword [rcx + 0x10]
je 0x1400c4276
mov rcx, qword [rcx]
jmp 0x1400c4250
mov rcx, qword [rsi + 0x40]
mov rax, qword [rsi + 0x40]
mov qword [rsp + 0x50], rax
cmp rcx, rax
je 0x1400c4301
movzx eax, byte [rcx + 0x18]
mov byte [rsp + 0x28], al
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov r8, qword [rcx + 0x28]
mov rdx, qword [rcx + 0x20]
test r8, r8
je 0x1400c42a7
lock inc dword [r8 + 8]
lea rcx, [rsp + 0x30]
call fcn.14002f180
nop
mov dword [rsp + 0x58], edi
lea rdx, [rsp + 0x58]
lea rcx, [rsi + 0x38]
call fcn.1400c4510
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400c4301
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400c4301
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400c4301
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
xor eax, eax
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
Function at 0x1400c4320
Capabilities:
Hash data using fnv

Disassembly:
mov dword [rsp + 0x10], edx
mov r11, rsp
push rdi
sub rsp, 0x60
mov qword [r11 - 0x38], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov esi, edx
mov rdi, rcx
movzx r8d, dl
movabs rax, 0xcbf29ce484222325
xor r8, rax
movabs rcx, 0x100000001b3
imul r8, rcx
movzx eax, byte [r11 + 0x11]
xor r8, rax
imul r8, rcx
movzx eax, byte [r11 + 0x12]
xor r8, rax
imul r8, rcx
movzx eax, byte [r11 + 0x13]
xor r8, rax
imul r8, rcx
mov rax, qword [rdi + 0x68]
and rax, r8
mov rdx, qword [rdi + 0x50]
mov rcx, rax
add rcx, rcx
mov rcx, qword [rdx + rcx*8]
add rax, rax
lea r8, [rax*8 + 8]
mov r9, qword [rdx + rax*8]
cmp r9, qword [rdi + 0x40]
jne 0x1400c43b4
mov rax, qword [rdi + 0x40]
jmp 0x1400c43bb
mov rax, qword [r8 + rdx]
mov rax, qword [rax]
cmp rcx, rax
je 0x1400c43ca
cmp esi, dword [rcx + 0x10]
je 0x1400c43ce
mov rcx, qword [rcx]
jmp 0x1400c43a8
mov rcx, qword [rdi + 0x40]
mov rax, qword [rdi + 0x40]
mov qword [rsp + 0x70], rax
cmp rcx, rax
jne 0x1400c43e3
xor eax, eax
jmp 0x1400c44f0
movzx eax, byte [rcx + 0x18]
mov byte [rsp + 0x48], al
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov r8, qword [rcx + 0x28]
mov rdx, qword [rcx + 0x20]
test r8, r8
je 0x1400c440a
lock inc dword [r8 + 8]
mov esi, dword [rsp + 0x78]
lea rcx, [rsp + 0x50]
call fcn.14002f180
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x1400c4435
lock inc dword [rbx + 8]
mov esi, dword [rsp + 0x78]
mov rbx, qword [rsp + 0x58]
mov r8, rbx
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.14002f180
nop
cmp byte [rsp + 0x48], 1
jne 0x1400c445b
mov rax, qword [rdi]
mov edx, esi
mov rcx, rdi
call qword [rax + 0x18]
nop
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea rdx, str.OnTimeout
call qword [rax + 0x40]
nop
jmp 0x1400c4475
mov rcx, qword [rsp + 0x40]
or edi, 0xffffffff
test rcx, rcx
je 0x1400c44b7
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400c44b2
mov rbx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400c44b2
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x1400c44eb
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400c44eb
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400c44eb
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400c4510
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rsi
mov r10, rdx
mov rbp, rcx
movzx r8d, byte [rdx]
movabs rax, 0xcbf29ce484222325
xor r8, rax
movabs rcx, 0x100000001b3
imul r8, rcx
movzx eax, byte [rdx + 1]
xor r8, rax
imul r8, rcx
movzx eax, byte [rdx + 2]
xor r8, rax
imul r8, rcx
movzx eax, byte [rdx + 3]
xor r8, rax
imul r8, rcx
mov rax, qword [rbp + 0x30]
and rax, r8
mov rdx, qword [rbp + 0x18]
mov rbx, rax
add rbx, rbx
mov rbx, qword [rdx + rbx*8]
add rax, rax
lea r8, [rax*8 + 8]
mov r9, qword [rdx + rax*8]
lea rcx, [rbp + 8]
nop dword [rax]
cmp r9, qword [rcx]
jne 0x1400c45aa
mov rax, qword [rcx]
jmp 0x1400c45b1
mov rax, qword [r8 + rdx]
mov rax, qword [rax]
cmp rbx, rax
je 0x1400c45f6
mov eax, dword [r10]
cmp dword [rbx + 0x10], eax
je 0x1400c45c3
mov rbx, qword [rbx]
jmp 0x1400c45a0
mov rdi, rbx
mov r11d, eax
nop dword [rax]
cmp r9, qword [rcx]
jne 0x1400c45da
mov rax, qword [rcx]
jmp 0x1400c45e1
mov rax, qword [r8 + rdx]
mov rax, qword [rax]
cmp rbx, rax
je 0x1400c45f1
cmp r11d, dword [rbx + 0x10]
jne 0x1400c45f1
mov rbx, qword [rbx]
jmp 0x1400c45d0
cmp rdi, rbx
jne 0x1400c45fc
mov rbx, qword [rcx]
mov rdi, rbx
mov rax, rdi
xor esi, esi
cmp rdi, rbx
je 0x1400c461b
nop word [rax + rax]
inc rsi
mov rax, qword [rax]
cmp rax, rbx
jne 0x1400c4610
mov rax, qword [rcx]
cmp rdi, qword [rax]
jne 0x1400c463d
cmp rbx, rax
jne 0x1400c463d
call fcn.1400c4850
mov edx, 8
mov rcx, rbp
call fcn.1400c1640
nop
jmp 0x1400c465a
cmp rdi, rbx
je 0x1400c465a
mov r8, rdi
mov rdi, qword [rdi]
lea rdx, [rsp + 0x40]
mov rcx, rbp
call fcn.1400c4720
cmp rdi, rbx
jne 0x1400c4642
mov rax, rsi
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret