joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140e0c058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140e0c1df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140e0c089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e0c06f
add dl, dl
jne 0x140e0c096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e0c0f6
xor eax, eax
add dl, dl
jne 0x140e0c0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140e0c1ad
add dl, dl
jne 0x140e0c0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e0c0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e0c0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e0c0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140e0c0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140e0c07e
mov eax, 1
add dl, dl
jne 0x140e0c106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140e0c113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e0c0fb
sub eax, ebx
mov ebx, 1
jne 0x140e0c14c
mov ecx, 1
add dl, dl
jne 0x140e0c12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140e0c13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e0c123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e0c07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140e0c168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140e0c175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140e0c15d
cmp eax, 0x7d00
jae 0x140e0c19b
cmp eax, 0x500
jb 0x140e0c196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e0c07e
cmp eax, 0x7f
ja 0x140e0c19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140e0c07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140e0c1d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140e0c07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140007a54
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140007a9e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140007a9e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140007a9e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140007a9e
cmp dword [rcx + 0x84], 0xe
jbe 0x140007a9e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140007aa0
xor al, al
add rsp, 0x28
ret

Function at 0x140001070
Capabilities:
Initialize winsock library

Disassembly:
sub rsp, 0x288
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov ecx, 0x202
lea rdx, [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1400010c8
mov edx, eax
lea rcx, str.WSAStartup_failed:__d_n
call fcn.140001010
mov eax, 1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400011f0
add rsp, 0x288
ret
movups xmm0, xmmword [str.Windows_64_Bit_Container]
movzx eax, word [0x1400032c8]
lea rcx, [rsp + 0x30]
movups xmm1, xmmword [0x1400032a8]
mov word [rsp + 0x210], ax
mov eax, dword [0x140003310]
movups xmmword [rsp + 0x1e0], xmm0
mov dword [rsp + 0x260], eax
movups xmm0, xmmword [0x1400032b8]
movups xmmword [rsp + 0x1f0], xmm1
movaps xmm1, xmmword [0x1400032e0]
movups xmmword [rsp + 0x200], xmm0
movaps xmm0, xmmword [str.C:Windows_system32win64help.dll]
movaps xmmword [rsp + 0x220], xmm0
movaps xmm0, xmmword [0x1400032f0]
movaps xmmword [rsp + 0x230], xmm1
movaps xmm1, xmmword [0x140003300]
movaps xmmword [rsp + 0x240], xmm0
movaps xmmword [rsp + 0x250], xmm1
call qword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
je 0x14000118b
lea rcx, str.____Failed_to_create_GUID_n
call fcn.140001010
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400011f0
add rsp, 0x288
ret
lea rax, [rsp + 0x30]
mov r9d, 1
mov r8d, 0xc
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x220]
lea rcx, [rsp + 0x1e0]
call qword [sym.imp.WS2_32.dll_WSCInstallNameSpace]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400011f0
add rsp, 0x288
ret

Function at 0x140001ab0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001afa
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001afa
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001afa
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001afa
cmp dword [rcx + 0x84], 0xe
jbe 0x140001afa
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001afc
xor al, al
add rsp, 0x28
ret
Function at 0x180005580
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x98
cmp byte [0x1800c7f7a], 0
je 0x1800057c6
mov ecx, 0x20
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x1800057c6
mov qword [rsp + 0xa0], rbx
movabs rbx, 0xd80958fc74e988a6
mov qword [rsp + 0x90], rdi
xor edi, edi
mov dword [0x1800b1b98], edi
mov dword [0x1800b1ba8], edi
mov qword [0x1800c9248], rbx
call fcn.180023c10
mov qword [rsp + 0xa8], rdi
mov ecx, dword [rax]
movabs rax, 0x997abd671d25ca0b
mov dword [rsp + 0xa8], ecx
mov qword [0x1800c9248], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xa8], rdi
mov qword [0x1800b1c70], rax
mov dword [rsp + 0xa8], 1
mov rax, qword [rsp + 0xa8]
mov qword [0x1800b1c78], rax
mov dword [0x1800b1ba8], edi
mov dword [0x1800b1b98], 2
call fcn.180023c10
cmp dword [rax], edi
je 0x1800057b6
movaps xmmword [rsp + 0x80], xmm6
movaps xmmword [rsp + 0x70], xmm7
mov dword [0x1800b1b98], edi
mov dword [0x1800b1ba8], edi
mov qword [0x1800c9248], rbx
call fcn.180023c10
mov qword [rsp + 0xa8], rdi
mov ecx, dword [rax]
movabs rax, 0x9a9112a0fe9a4713
mov dword [rsp + 0xa8], ecx
mov qword [0x1800c9248], rax
mov rax, qword [rsp + 0xa8]
mov qword [0x1800b1c70], rax
mov dword [0x1800b1ba8], edi
mov qword [0x1800b1c78], rdi
mov dword [0x1800b1b98], 2
call fcn.180023c10
mov qword [rsp + 0xa8], rdi
mov ebx, dword [rax]
movabs rax, 0x866a4a5fae349510
mov qword [0x1800c9248], rax
mov dword [rsp + 0xa8], ebx
mov rax, qword [rsp + 0xa8]
mov qword [0x1800b1c70], rax
mov dword [0x1800b1ba8], edi
mov dword [0x1800b1b98], 1
call fcn.180023c10
mov qword [rsp + 0xa8], rdi
xorps xmm6, xmm6
mov dword [rsp + 0xa8], ebx
movss xmm7, dword [rax]
movabs rax, 0x8bb4ef4214e0e6d5
mov qword [0x1800c9248], rax
addss xmm7, xmm6
mov rax, qword [rsp + 0xa8]
mov qword [0x1800b1c70], rax
mov dword [0x1800b1ba8], edi
mov dword [0x1800b1b98], 1
call fcn.180023c10
movss xmm0, dword [0x180081118]
movaps xmm3, xmm7
mov dword [rsp + 0x68], 1
mov ecx, ebx
mov dword [rsp + 0x60], 1
movss xmm2, dword [rax]
mov dword [rsp + 0x50], 1
addss xmm2, xmm6
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], 1
movss dword [rsp + 0x38], xmm6
movss dword [rsp + 0x30], xmm6
movss dword [rsp + 0x28], xmm6
movss dword [rsp + 0x20], xmm0
call fcn.180015dd0
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x80]
mov rbx, qword [rsp + 0xa0]
mov rdi, qword [rsp + 0x90]
add rsp, 0x98
ret
Function at 0x180005f40
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x28
cmp byte [0x1800c7f71], 0
je 0x1800060a7
mov ecx, 0xa0
mov qword [rsp + 0x20], rbx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
xor ebx, ebx
movabs rcx, 0xd80958fc74e988a6
mov qword [0x1800c9248], rcx
mov dword [0x1800b1b98], ebx
mov dword [0x1800b1ba8], ebx
test ax, ax
je 0x180006015
call fcn.180023c10
mov qword [rsp + 0x38], rbx
mov ecx, dword [rax]
movabs rax, 0x9a9112a0fe9a4713
mov dword [rsp + 0x38], ecx
mov qword [0x1800c9248], rax
mov rax, qword [rsp + 0x38]
mov qword [0x1800b1c70], rax
mov dword [0x1800b1ba8], ebx
mov qword [0x1800b1c78], rbx
mov dword [0x1800b1b98], 2
call fcn.180023c10
mov qword [rsp + 0x38], rbx
mov ecx, dword [rax]
movabs rax, 0x222ff6a823d122e2
mov dword [rsp + 0x38], ecx
mov qword [0x1800c9248], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x38], 1
mov qword [0x1800b1c70], rax
mov rax, qword [rsp + 0x38]
mov qword [0x1800b1c78], rax
jmp 0x18000608d
call fcn.180023c10
mov qword [rsp + 0x38], rbx
mov ecx, dword [rax]
movabs rax, 0x9a9112a0fe9a4713
mov dword [rsp + 0x38], ecx
mov qword [0x1800c9248], rax
mov rax, qword [rsp + 0x38]
mov qword [0x1800b1c70], rax
mov dword [0x1800b1ba8], ebx
mov qword [0x1800b1c78], rbx
mov dword [0x1800b1b98], 2
call fcn.180023c10
mov qword [rsp + 0x38], rbx
mov ecx, dword [rax]
movabs rax, 0x222ff6a823d122e2
mov dword [rsp + 0x38], ecx
mov qword [0x1800c9248], rax
mov rax, qword [rsp + 0x38]
mov qword [0x1800b1c70], rax
mov qword [0x1800b1c78], rbx
mov dword [0x1800b1ba8], ebx
mov dword [0x1800b1b98], 2
call fcn.180023c10
mov rbx, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x18000cff0
Capabilities:
Log keystrokes via polling
Terminate process

Disassembly:
sub rsp, 0x28
cmp byte [0x1800c7f2c], 0
je 0x18000d026
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18000d026
mov ecx, 0x73
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x18000d026
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add rsp, 0x28
ret
Function at 0x18000e7a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
sub rsp, 0x78
cmp byte [0x1800c771e], 0
je 0x18000e9b3
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
movabs rsi, 0xd80958fc74e988a6
mov qword [rax - 8], rdi
xor edi, edi
mov dword [0x1800b1b98], edi
mov dword [0x1800b1ba8], edi
movaps xmmword [rax - 0x18], xmm6
mov qword [0x1800c9248], rsi
call fcn.180023c10
mov qword [rsp + 0x88], rdi
mov ecx, dword [rax]
movabs rax, 0x3fef770d40960d5a
mov dword [rsp + 0x88], ecx
mov qword [0x1800c9248], rax
mov rax, qword [rsp + 0x88]
mov qword [0x1800b1c70], rax
mov dword [0x1800b1ba8], edi
mov qword [0x1800b1c78], rdi
mov dword [0x1800b1b98], 2
call fcn.180023c10
movsd xmm0, qword [rax + 0x10]
movups xmm6, xmmword [rax]
movabs rax, 0xd24d37cc275948cc
mov dword [0x1800b1ba8], edi
movsd qword [rsp + 0x50], xmm0
mov qword [0x1800c9248], rax
lea rax, str.prop_boogieboard_05
mov qword [0x1800b1c70], rax
mov dword [0x1800b1b98], 1
call fcn.180023c10
mov ebx, dword [rax]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1800c9530]
cmp eax, 0x64
jb 0x18000e999
movss xmm3, dword [rsp + 0x50]
movaps xmm2, xmm6
subss xmm3, dword [0x180081038]
shufps xmm2, xmm6, 0xaa
movaps xmm1, xmm6
subss xmm2, dword [0x180081038]
mov dword [rsp + 0x30], 1
mov ecx, ebx
mov dword [rsp + 0x28], 1
call fcn.180016120
mov ebx, eax
mov dword [0x1800b1b98], edi
mov dword [0x1800b1ba8], edi
mov qword [0x1800c9248], rsi
call fcn.180023c10
mov qword [rsp + 0x88], rdi
mov ecx, dword [rax]
movabs rax, 0xe83d4f9ba2a38914
mov dword [rsp + 0x88], ecx
mov rcx, qword [rsp + 0x88]
mov qword [0x1800b1c70], rcx
mov dword [0x1800b1ba8], edi
mov qword [0x1800c9248], rax
mov dword [0x1800b1b98], 1
call fcn.180023c10
mov qword [rsp + 0x88], rdi
mov dword [rsp + 0x88], ebx
movss xmm0, dword [rax]
movabs rax, 0x8e2530aa8ada980e
mov qword [0x1800c9248], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x88], rdi
movss dword [rsp + 0x88], xmm0
mov qword [0x1800b1c70], rax
mov rax, qword [rsp + 0x88]
mov qword [0x1800b1c78], rax
mov dword [0x1800b1ba8], edi
mov dword [0x1800b1b98], 2
call fcn.180023c10
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1800c9530], eax
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x78
ret
Function at 0x1800131b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbp
push rdi
sub rsp, 0xc50
mov rax, qword [0x1800983c0]
xor rax, rsp
mov qword [rsp + 0xc40], rax
mov rdi, rcx
mov qword [rsp + 0x38], rcx
lea rax, [rsp + 0x440]
xor ebp, ebp
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
lea edx, [rbp + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x1800132ee
mov qword [rsp + 0xc68], rbx
lea rdx, [rsp + 0x440]
mov r8d, 0x3ff
mov qword [rsp + 0xc70], rsi
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs]
cmp qword [0x1800c9408], 0xf
lea rcx, [0x1800c93f0]
cmova rcx, qword [0x1800c93f0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strdup]
xorps xmm0, xmm0
lea rsi, [0x1800c76d0]
mov rbx, rax
lea r8, [0x180068028]
xor eax, eax
lea edx, [rbp + 0x45]
mov rcx, rsi
mov dword [0x1800c7710], eax
mov byte [0x1800c7714], al
movups xmmword [0x1800c76d0], xmm0
movups xmmword [0x1800c76e0], xmm0
movups xmmword [0x1800c76f0], xmm0
movups xmmword [0x1800c7700], xmm0
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea r8, [rsp + 0x40]
mov rcx, rsi
lea edx, [rbp + 0x45]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
mov r8, rbx
lea edx, [rbp + 0x45]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
mov rbx, qword [rsp + 0xc68]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov r8, 0xffffffffffffffff
mov qword [rdi + 0x18], rbp
nop dword [rax]
inc r8
cmp byte [rsi + r8], bpl
jne 0x1800132d0
mov rdx, rsi
mov rcx, rdi
call fcn.180015b60
mov rsi, qword [rsp + 0xc70]
jmp 0x180013303
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 0xf
mov byte [rdi], bpl
mov rax, rdi
mov rcx, qword [rsp + 0xc40]
xor rcx, rsp
call fcn.18005e5a0
mov rbp, qword [rsp + 0xc78]
add rsp, 0xc50
pop rdi
ret
Function at 0x1800192c0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0xc0
lea rdx, [0x180072a04]
lea rcx, [rsp + 0xa0]
call fcn.180015c70
mov rbx, rax
lea rcx, [rsp + 0x80]
call fcn.1800131b0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.180019e10
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.180019e30
nop
lea rcx, [rsp + 0x60]
call fcn.180015ae0
nop
lea rcx, [rsp + 0x80]
call fcn.180015ae0
nop
lea rcx, [rsp + 0xa0]
call fcn.180015ae0
lea rcx, [rsp + 0x40]
call fcn.180014a80
mov qword [rsp + 0xd0], rax
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x20]
call fcn.180019eb0
nop
lea rcx, [rsp + 0x20]
call fcn.18001c540
movzx ebx, al
lea rcx, [rsp + 0x20]
call fcn.18001c2a0
test bl, bl
je 0x18001938f
lea rcx, [rsp + 0x40]
call fcn.180014a80
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.18001c800
lea rcx, str.Cleaning_up_hooks
call fcn.18001d380
call fcn.1800194d0
mov rsi, rax
call fcn.1800194e0
mov rbx, rax
cmp rax, rsi
je 0x1800193f4
mov rdi, qword [rbx]
mov rcx, rdi
call fcn.18005af10
test eax, eax
jne 0x1800193d2
lea rcx, str.Successfully_disabled_hooks
call fcn.18001d380
jmp 0x1800193eb
mov ecx, eax
call fcn.18005b0f0
mov r8, rax
mov rdx, rdi
lea rcx, str.Failed_to_disable_hookS__p___s_
call fcn.18001d380
add rbx, 8
cmp rbx, rsi
jne 0x1800193b5
mov dword [rsp + 0xd0], 0x32
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xd8]
call fcn.180002d30
mov rcx, rax
call fcn.180002d40
call fcn.1800194d0
mov rsi, rax
call fcn.1800194e0
mov rbx, rax
cmp rax, rsi
je 0x18001947c
mov rdi, qword [rbx]
mov rcx, rdi
call fcn.18005ae00
test eax, eax
jne 0x18001945a
lea rcx, str.Successfully_Cleaning_up_hooks
call fcn.18001d380
lea rcx, str.MarsModz_Successfully_____unloaded.
call fcn.18001d380
jmp 0x180019473
mov ecx, eax
call fcn.18005b0f0
mov r8, rax
mov rdx, rdi
lea rcx, str.Failed_to_unhook__p___s_
call fcn.18001d380
add rbx, 8
cmp rbx, rsi
jne 0x180019431
mov dword [rsp + 0xd0], 0x190
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xd8]
call fcn.180002d30
mov rcx, rax
call fcn.180002d40
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
call qword [sym.imp.KERNEL32.dll_FreeConsole]
xor edx, edx
mov rcx, qword [0x1800c8048]
call qword [sym.imp.KERNEL32.dll_FreeLibraryAndExitThread]
Function at 0x18001a420
Capabilities:
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov edi, 1
bsr rcx, rax
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x18001a451
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [0x1800c9498]
or rax, rdi
bsr rcx, rax
mov r8, rbx
inc ecx
shl rdi, cl
lea rcx, [0x1800c94a8]
lea rdx, [rdi + rdi]
call fcn.180001a40
mov rax, qword [0x1800c9498]
lea r9, [rdi - 1]
mov qword [0x1800c94c0], r9
mov qword [0x1800c94c8], rdi
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18001a5f2
mov qword [rsp + 0x38], rsi
movabs rdi, 0x100000001b3
movabs rsi, 0xcbf29ce484222325
movzx edx, byte [rax + 0x11]
movzx r11d, byte [rax + 0x10]
mov rcx, qword [rcx]
xor r11, rsi
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x12]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x13]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x14]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x15]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x16]
imul r11, rdi
xor r11, rdx
movzx edx, byte [rax + 0x17]
imul r11, rdi
xor r11, rdx
imul r11, rdi
and r11, r9
shl r11, 4
add r11, qword [0x1800c94a8]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18001a53c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18001a5b3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x18001a579
mov r10, qword [rdx]
cmp r10, rax
je 0x18001a573
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 [r11 + 8], rax
jmp 0x18001a5b3
cmp r9, rdx
je 0x18001a58f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x18001a5c7
cmp r9, rdx
jne 0x18001a580
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
je 0x18001a5ed
mov r9, qword [0x1800c94c0]
jmp 0x18001a4c1
mov r10, qword [rdx]
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 0x18001a5b3
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x18001db80
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x18001dba8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x18001dbce
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x18001dbd0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x18001dc29
test ecx, ecx
jle 0x18001dc09
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x18001dc29
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x18001dc29
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
Function at 0x18001dc50
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x18001dc81
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je 0x18001dc9f
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x18001dcbb
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x18001dcbd
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x18001dcf9
mov qword [rsp + 0x38], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x18001dd8e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x18001dd34
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x18001dd6e
nop dword [rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x18001dd8e
cmp rbx, rax
ja 0x18001dd40
test rbx, rbx
je 0x18001dd8e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret