joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001a350
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x98
mov rax, qword [0x14005d028]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov edi, dword [rsp + 0x100]
mov r14, rcx
mov rcx, r8
mov ebx, r9d
mov r15, r8
mov rsi, rdx
call qword [sym.imp.GDI32.dll_SelectObject]
xorps xmm0, xmm0
mov dword [rsp + 0x50], 0x28
mov r12, rax
mov ecx, edi
xor eax, eax
neg ecx
mov qword [rsp + 0x74], rax
mov r13d, edi
movups xmmword [rsp + 0x54], xmm0
mov dword [rsp + 0x58], ecx
mov eax, 4
imul r13d, ebx
movups xmmword [rsp + 0x64], xmm0
mov dword [rsp + 0x54], ebx
mov qword [rsp + 0x5c], 0x200001
mul r13d
mov ecx, eax
mov rax, 0xffffffffffffffff
cmovo rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov dword [rsp + 0x30], 0
mov r9d, edi
mov rbp, rax
xor r8d, r8d
lea rax, [rsp + 0x50]
mov rdx, rsi
mov qword [rsp + 0x28], rax
mov rcx, r15
mov qword [rsp + 0x20], rbp
call qword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
je 0x14001a505
cmp qword [r14 + 0x18], 0x10
jb 0x14001a426
mov r14, qword [r14]
xor esi, esi
xor r9d, r9d
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov rcx, r14
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001a505
mov eax, 0x4d42
mov dword [rsp + 0x4a], 0x3a
lea edi, [r13*4]
mov word [rsp + 0x40], ax
lea ecx, [rdi + 0x3a]
mov dword [rsp + 0x46], esi
mov dword [rsp + 0x42], ecx
lea r8d, [rsi + 0xe]
mov rcx, rbx
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14001a4fc
xor r9d, r9d
mov qword [rsp + 0x20], rsi
lea r8d, [rsi + 0x2c]
mov rcx, rbx
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14001a4fc
xor r9d, r9d
mov qword [rsp + 0x20], rsi
mov r8d, edi
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14001a4fc
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rdx, r12
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14001a51c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, r12
mov rcx, r15
call qword [sym.imp.GDI32.dll_SelectObject]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
xor al, al
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14002c6f0
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14001d090
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0xffe0]
mov eax, 0x100e0
call fcn.14002d820
sub rsp, rax
mov rax, qword [0x14005d028]
xor rax, rsp
mov qword [rbp + 0xffd0], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x48], 0x7fff
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14001d100
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x28]
call fcn.14000d830
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rax
lea rcx, [rsp + 0x50]
call fcn.14001f4a0
nop
lea r8, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae r8, qword [rsp + 0x28]
mov r9, r8
cmp word [r8], 0
je 0x14001d17b
nop dword [rax + rax]
add r9, 2
cmp word [r9], 0
jne 0x14001d170
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14001fae0
nop
lea rcx, [rsp + 0x50]
call fcn.14001f3b0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x14001d1d9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d1d4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d1d4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002c710
mov rax, rbx
mov rcx, qword [rbp + 0xffd0]
xor rcx, rsp
call fcn.14002c6f0
mov rbx, qword [rsp + 0x100f8]
add rsp, 0x100e0
pop rbp
ret
Function at 0x14001d200
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0xffe0]
mov eax, 0x100e0
call fcn.14002d820
sub rsp, rax
mov rax, qword [0x14005d028]
xor rax, rsp
mov qword [rbp + 0xffd0], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x48], 0x7fff
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14001d270
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x28]
call fcn.14000d830
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rax
lea rcx, [rsp + 0x50]
call fcn.14001f4a0
nop
lea r8, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae r8, qword [rsp + 0x28]
mov r9, r8
cmp word [r8], 0
je 0x14001d2eb
nop dword [rax + rax]
add r9, 2
cmp word [r9], 0
jne 0x14001d2e0
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14001fae0
nop
lea rcx, [rsp + 0x50]
call fcn.14001f3b0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x14001d349
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d344
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d344
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002c710
mov rax, rbx
mov rcx, qword [rbp + 0xffd0]
xor rcx, rsp
call fcn.14002c6f0
mov rbx, qword [rsp + 0x100f8]
add rsp, 0x100e0
pop rbp
ret
Function at 0x14002bf18
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14002bf9c
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140030850]
cmp byte [rcx + rax], 0
je 0x14002bf9c
dec r8
sub rdx, 1
jne 0x14002bf82
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x14002c2dc
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.14002c02c
mov ebx, eax
test eax, eax
jne 0x14002c30c
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x14002c36f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002c366
test al, 0x10
je 0x14002c366
bt eax, 0xa
jae 0x14002c35f
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.14002c380
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x14002c35b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14002c35b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
test edi, edi
jne 0x14002c366
and dword [rsp + 0x3c], 0
jmp 0x14002c36b
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14002d398
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002d3e2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002d3e2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002d3e2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002d3e2
cmp dword [rcx + 0x84], 0xe
jbe 0x14002d3e2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14002d3e4
xor al, al
add rsp, 0x28
ret
Function at 0x140001b20
Capabilities:
Hash data using sha256

Disassembly:
jmp 0x140111750
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1401f4210]
xor rax, rsp
mov qword [rbp + 0x10], rax
xor eax, eax
mov dword [rbp - 0x58], 0x6a09e667
xorps xmm0, xmm0
mov qword [rsp + 0x60], rax
mov word [rbp - 0x38], ax
lea r9, [rbp - 0x58]
lea rax, [0x1401aa740]
mov dword [rbp - 0x54], 0xbb67ae85
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x60]
lea rax, [rsp + 0x38]
mov dword [rbp - 0x50], 0x3c6ef372
mov r14, rdx
mov qword [rsp + 0x20], rax
mov rbx, rcx
mov dword [rbp - 0x4c], 0xa54ff53a
lea rdx, [rbp - 0x38]
mov dword [rbp - 0x48], 0x510e527f
lea rcx, [rsp + 0x68]
mov dword [rbp - 0x44], 0x9b05688c
movups xmmword [rsp + 0x68], xmm0
mov dword [rbp - 0x40], 0x1f83d9ab
movups xmmword [rsp + 0x78], xmm0
mov dword [rbp - 0x3c], 0x5be0cd19
movups xmmword [rbp - 0x78], xmm0
mov qword [rsp + 0x40], 0x40
movups xmmword [rbp - 0x68], xmm0
call fcn.14000d7a0
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140007510
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400023e0
lea rdx, [rbx + 0x118]
lea rcx, [rsp + 0x60]
call fcn.14000fad0
lea rdx, [rbx + 0x138]
lea rcx, [rsp + 0x60]
call fcn.14000fad0
lea rdx, [rbx + 0x158]
lea rcx, [rsp + 0x60]
call fcn.14000fad0
mov rsi, qword [rbx + 0x180]
mov edi, 0x80
mov rbx, qword [rbx + 0x178]
cmp rbx, rsi
je 0x140111893
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140017050
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400023e0
add rbx, rdi
cmp rbx, rsi
jne 0x140111871
movups xmm0, xmmword [rsp + 0x68]
movzx edx, word [rbp - 0x38]
mov r8d, 0x20
movups xmm1, xmmword [rsp + 0x78]
mov rbx, qword [rsp + 0x60]
lea r9, [rbp - 0x30]
movaps xmmword [rbp - 0x30], xmm0
mov ecx, edx
movups xmm0, xmmword [rbp - 0x78]
and ecx, 0x1f
mov eax, edx
movaps xmmword [rbp - 0x20], xmm1
sub r8, rcx
movups xmm1, xmmword [rbp - 0x68]
shr rax, 5
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp], xmm1
movups xmm0, xmmword [rbp - 0x58]
lea r9, [r9 + rax*4]
movups xmm1, xmmword [rbp - 0x48]
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm1
cmp r8, 8
jae 0x1401118fe
mov ecx, 8
sub cl, r8b
shr edi, cl
jmp 0x140111909
jbe 0x140111909
lea ecx, [r8 + 0xf8]
shl edi, cl
or dword [r9], edi
inc dx
mov eax, 0x200
mov word [rsp + 0x30], dx
cmp dx, ax
jne 0x140111936
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x38]
call fcn.14000d800
movzx edx, word [rsp + 0x30]
mov eax, 0x1c0
cmp dx, ax
jbe 0x140111953
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x38]
call fcn.14000d800
mov eax, 0xffffffff
cmp rbx, rax
jbe 0x140111967
mov rcx, rbx
shr rcx, 0x20
mov dword [rbp + 8], ecx
lea r8, [rsp + 0x30]
mov dword [rbp + 0xc], ebx
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x38]
call fcn.14000d800
movups xmm0, xmmword [rsp + 0x38]
mov rax, r14
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [r14], xmm0
movups xmmword [r14 + 0x10], xmm1
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14000a9e0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140001cd0
Capabilities:
Print debug messages

Disassembly:
jmp 0x140064810
sub rsp, 0x58
mov rax, qword [0x1401f4210]
xor rax, rsp
mov qword [rsp + 0x48], rax
add rcx, 0x10
lea rdx, [rsp + 0x28]
call fcn.140001b70
cmp qword [rsp + 0x40], 0x10
lea rcx, [rsp + 0x28]
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x140064888
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140064883
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140064883
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400118b0
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14000a9e0
add rsp, 0x58
ret

Function at 0x140001db0
Capabilities:
Write file on windows

Disassembly:
jmp 0x14004c500
mov r11, rsp
push rbx
push rbp
push r14
push r15
sub rsp, 0x58
mov rax, qword [0x1401f4210]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, qword [rcx + 0x78]
mov r15, r8
mov r14, rdx
mov rbp, rcx
test rbx, rbx
jne 0x14004c63e
xor eax, eax
mov qword [r11 + 0x20], rsi
mov qword [r11 - 0x28], rdi
lea rdi, [rcx + 0x80]
cmp qword [rdi + 0x18], 8
mov rsi, qword [rdi + 0x10]
mov qword [r11 - 0x58], rax
mov qword [r11 - 0x48], rax
mov qword [r11 - 0x40], rax
jb 0x14004c55d
mov rdi, qword [rdi]
lea rcx, [rsp + 0x20]
cmp rsi, 8
jae 0x14004c57b
movups xmm0, xmmword [rdi]
mov qword [rsp + 0x38], 7
movups xmmword [rsp + 0x20], xmm0
jmp 0x14004c5c8
movabs rax, 0x7ffffffffffffffe
mov rbx, rsi
or rbx, 7
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
call fcn.140008770
lea r8, [rsi*2 + 2]
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
cmp rbx, 8
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
mov r8d, 0x40
mov qword [rsp + 0x30], rsi
lea rdx, [0x14019b9f8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__wfsopen]
mov rdx, qword [rsp + 0x38]
mov rbx, rax
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x98]
cmp rdx, 8
jb 0x14004c635
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004c630
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004c630
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400118b0
mov qword [rbp + 0x78], rbx
test rbx, rbx
je 0x14004c652
mov r9, rbx
mov r8, r15
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14000a9e0
add rsp, 0x58
pop r15
pop r14
pop rbp
pop rbx
ret
Function at 0x140002690
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x140105ab0
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
ja 0x140105c8f
lea rax, [rdx - 1]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x40], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.140009470
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140105c54
mov qword [rsp + 0x38], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax]
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140105bcc
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140105c43
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x140105c09
mov r10, qword [rdx]
cmp r10, rax
je 0x140105c03
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 0x140105c43
cmp r9, rdx
je 0x140105c1f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x140105c69
cmp r9, rdx
jne 0x140105c10
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
jne 0x140105b50
mov rbp, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
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 0x140105c43
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x1400029f0
Capabilities:
Write file on windows

Disassembly:
jmp 0x1400564a0
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x1400564c8
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 0x1400564ee
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400564f0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140056549
test ecx, ecx
jle 0x140056529
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 0x140056549
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140056549
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 0x140003620
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x14008b800
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x130
mov rax, qword [0x1401f4210]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rbp, r8
mov rsi, rdx
mov r14, rcx
mov rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x14008b840
cmp qword [rcx + 0x18], 8
mov rdi, qword [rcx + 0x10]
jb 0x14008b858
mov r14, qword [rcx]
mov qword [rsp + 0x150], r15
test rbx, rbx
je 0x14008b8d4
cmp rbp, rdi
jae 0x14008b8d4
mov r15d, 0x100
lea rcx, [rsp + 0x20]
mov r8d, r15d
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsi + rbx*2]
mov rcx, rsi
cmp rsi, rdx
je 0x14008b8aa
nop dword [rax + rax]
movzx eax, word [rcx]
cmp ax, r15w
jae 0x14008b90b
movzx eax, al
add rcx, 2
mov byte [rsp + rax + 0x20], 1
cmp rcx, rdx
jne 0x14008b890
lea rdx, [r14 + rdi*2]
lea rcx, [r14 + rbp*2]
cmp rcx, rdx
jae 0x14008b8d4
movzx eax, word [rcx]
cmp ax, r15w
jae 0x14008b8cb
cmp byte [rsp + rax + 0x20], 0
jne 0x14008b96e
add rcx, 2
cmp rcx, rdx
jb 0x14008b8b7
mov rax, 0xffffffffffffffff
mov r15, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.14000a9e0
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
lea r9, [r14 + rdi*2]
lea rdx, [r14 + rbp*2]
cmp rdx, r9
jae 0x14008b951
movzx r10d, word [rsi]
nop dword [rax]
movzx r8d, word [rdx]
mov rcx, rbx
mov rax, rsi
cmp r10w, r8w
je 0x14008b960
cmp rcx, 1
je 0x14008b948
add rax, 2
dec rcx
cmp word [rax], r8w
jne 0x14008b930
test rax, rax
jne 0x14008b960
add rdx, 2
cmp rdx, r9
jb 0x14008b920
mov rdx, 0xffffffffffffffff
mov rax, rdx
jmp 0x14008b8db
sub rdx, r14
sar rdx, 1
mov rax, rdx
jmp 0x14008b8db
sub rcx, r14
sar rcx, 1
mov rax, rcx
jmp 0x14008b8db
Function at 0x140005930
Capabilities:
Hash data using sha256

Disassembly:
jmp 0x14006f480
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1401f4210]
xor rax, rsp
mov qword [rbp + 0x10], rax
xor eax, eax
mov dword [rbp - 0x58], 0x6a09e667
xorps xmm0, xmm0
mov qword [rsp + 0x60], rax
mov word [rbp - 0x38], ax
lea r9, [rbp - 0x58]
lea rax, [0x14019e320]
mov dword [rbp - 0x54], 0xbb67ae85
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x60]
lea rax, [rsp + 0x38]
mov dword [rbp - 0x50], 0x3c6ef372
mov rdi, rdx
mov qword [rsp + 0x20], rax
mov rbx, rcx
mov dword [rbp - 0x4c], 0xa54ff53a
lea rdx, [rbp - 0x38]
mov dword [rbp - 0x48], 0x510e527f
lea rcx, [rsp + 0x68]
mov dword [rbp - 0x44], 0x9b05688c
movups xmmword [rsp + 0x68], xmm0
mov dword [rbp - 0x40], 0x1f83d9ab
movups xmmword [rsp + 0x78], xmm0
mov dword [rbp - 0x3c], 0x5be0cd19
movups xmmword [rbp - 0x78], xmm0
mov qword [rsp + 0x40], 0x40
movups xmmword [rbp - 0x68], xmm0
call fcn.14000d7a0
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.140007840
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.1400023e0
movups xmm0, xmmword [rsp + 0x68]
movzx r8d, word [rbp - 0x38]
mov r9d, 0x20
movups xmm1, xmmword [rsp + 0x78]
mov rbx, qword [rsp + 0x60]
lea r10, [rbp - 0x30]
movaps xmmword [rbp - 0x30], xmm0
mov ecx, r8d
movups xmm0, xmmword [rbp - 0x78]
and ecx, 0x1f
mov eax, r8d
movaps xmmword [rbp - 0x20], xmm1
sub r9, rcx
movups xmm1, xmmword [rbp - 0x68]
shr rax, 5
mov edx, 0x80
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp], xmm1
movups xmm0, xmmword [rbp - 0x58]
lea r10, [r10 + rax*4]
movups xmm1, xmmword [rbp - 0x48]
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm1
cmp r9, 8
jae 0x14006f5c6
mov ecx, 8
sub cl, r9b
shr edx, cl
jmp 0x14006f5d1
jbe 0x14006f5d1
lea ecx, [r9 + 0xf8]
shl edx, cl
or dword [r10], edx
inc r8w
mov eax, 0x200
mov word [rsp + 0x30], r8w
cmp r8w, ax
jne 0x14006f602
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x38]
call fcn.14000d800
movzx r8d, word [rsp + 0x30]
mov eax, 0x1c0
cmp r8w, ax
jbe 0x14006f620
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x38]
call fcn.14000d800
mov eax, 0xffffffff
cmp rbx, rax
jbe 0x14006f634
mov rcx, rbx
shr rcx, 0x20
mov dword [rbp + 8], ecx
lea r8, [rsp + 0x30]
mov dword [rbp + 0xc], ebx
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x38]
call fcn.14000d800
movups xmm0, xmmword [rsp + 0x38]
mov rax, rdi
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm1
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14000a9e0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret