joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c6e74
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400a4c90
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400c6efe
cmp byte [rbp - 0x21], r15b
je 0x1400c6ef9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400c6f34
call fcn.1400b903c
test eax, eax
jne 0x1400c6f20
cmp byte [rbp - 0x21], r15b
je 0x1400c6f18
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400c6f34
cmp byte [rbp - 0x21], r15b
je 0x1400c6f31
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400ae768
test eax, eax
jne 0x1400c6fd4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400a4c90
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400c6f73
cmp byte [rbp - 0x21], r15b
je 0x1400c6fa8
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400c6fa8
call fcn.1400b903c
test eax, eax
jne 0x1400c6f94
cmp byte [rbp - 0x21], r15b
je 0x1400c6f8d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400c6fa8
cmp byte [rbp - 0x21], r15b
je 0x1400c6fa5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400ae768
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400c6fd4
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400c6fd7
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400c6fe5
mov rcx, rdi
call fcn.1400b8ce0
cmp byte [rbp + 0x3f], r15b
je 0x1400c6ff4
mov rcx, qword [rbp + 0x27]
call fcn.1400b8ce0
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x1400c8930
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400c8958
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400c8958
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1800016c0
Capabilities:
Hash data using fnv

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x70
lea rbp, [rsp + 0x70]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
mov eax, dword [0x18029f248]
mov ecx, dword [0x180560358]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x180001857
mov eax, dword [rsi + 0xc]
mov dword [rbp - 0xc], eax
movzx ecx, al
movabs rdx, 0xcbf29ce484222325
xor rdx, rcx
movabs rcx, 0x100000001b3
imul rdx, rcx
movzx edi, ah
xor rdi, rdx
imul rdi, rcx
mov edx, eax
shr edx, 0x10
movzx edx, dl
xor rdx, rdi
imul rdx, rcx
mov r8d, eax
shr r8d, 0x18
xor r8, rdx
imul r8, rcx
and r8, qword [0x18029f238]
mov r9, qword [0x18029f220]
mov rcx, r8
shl rcx, 4
mov rcx, qword [r9 + rcx + 8]
mov rdx, qword [0x18029f210]
cmp rcx, rdx
je 0x18000179c
cmp eax, dword [rcx + 0x10]
je 0x18000178e
add r8, r8
mov r8, qword [r9 + r8*8]
nop dword [rax]
cmp rcx, r8
je 0x18000179c
mov rcx, qword [rcx + 8]
cmp eax, dword [rcx + 0x10]
jne 0x180001780
cmp rcx, rdx
je 0x18000179c
mov rdi, qword [rcx + 0x18]
jmp 0x18000184c
mov eax, dword [0x18029f254]
mov ecx, dword [0x180560358]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1800018a8
mov eax, dword [0x18029f260]
mov ecx, dword [0x180560358]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1800018fc
mov eax, dword [0x18029f26c]
mov ecx, dword [0x180560358]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x180001950
mov rdi, qword [rsi + 0x10]
mov eax, dword [rdi + 0x18]
cmp dword [0x18029f264], eax
cmove rdi, rsi
cmp dword [0x18029f258], eax
cmove rdi, rsi
cmp dword [0x18029f24c], eax
cmove rdi, rsi
lea rcx, [0x18029f208]
lea rdx, [rbp - 0x20]
lea r8, [rbp - 0xc]
call fcn.18004a000
mov rax, qword [rbp - 0x20]
mov qword [rax + 0x18], rdi
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x18029f248]
call fcn.18004d270
cmp dword [0x18029f248], 0xffffffff
jne 0x1800016fc
mov dword [rbp - 0x20], 0
lea rcx, [0x18029f208]
lea rdx, [rbp - 0x20]
lea r8, [rbp - 0xc]
call fcn.180049ce0
lea rcx, [0x180001a70]
call fcn.18004d3f0
lea rcx, [0x18029f248]
call fcn.18004d324
jmp 0x1800016fc
lea rcx, [0x18029f254]
call fcn.18004d270
cmp dword [0x18029f254], 0xffffffff
jne 0x1800017c1
mov rdi, qword [0x18029f200]
lea rdx, str.ScriptStruct
lea rcx, [rbp - 0x50]
call fcn.180001c30
lea rdx, [0x18029f24c]
lea r8, [rbp - 0x50]
mov rcx, rdi
call fcn.180001b20
lea rcx, [0x18029f254]
call fcn.18004d324
jmp 0x1800017c1
lea rcx, [0x18029f260]
call fcn.18004d270
cmp dword [0x18029f260], 0xffffffff
jne 0x1800017e6
mov rdi, qword [0x18029f200]
lea rdx, str.Class
lea rcx, [rbp - 0x40]
call fcn.180001c30
lea rdx, [0x18029f258]
lea r8, [rbp - 0x40]
mov rcx, rdi
call fcn.180001b20
lea rcx, [0x18029f260]
call fcn.18004d324
jmp 0x1800017e6
lea rcx, [0x18029f26c]
call fcn.18004d270
cmp dword [0x18029f26c], 0xffffffff
jne 0x18000180b
mov rdi, qword [0x18029f200]
lea rdx, str.Function
lea rcx, [rbp - 0x30]
call fcn.180001c30
lea rdx, [0x18029f264]
lea r8, [rbp - 0x30]
mov rcx, rdi
call fcn.180001b20
lea rcx, [0x18029f26c]
call fcn.18004d324
jmp 0x18000180b
Function at 0x18003cfd0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push rsi
push rdi
mov eax, 0x13b8
call fcn.18004d3a0
sub rsp, rax
mov rdi, rdx
mov rsi, rcx
cmp qword [0x1805602c8], 0
jne 0x18003d09e
movups xmm0, xmmword [0x1800541e2]
movaps xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [0x1800541f2]
movaps xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x180054202]
movaps xmmword [rsp + 0x50], xmm0
movups xmm0, xmmword [0x180054212]
movaps xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [0x180054222]
movaps xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x80], 0x33
movaps xmm0, xmmword [0x180050260]
movaps xmm1, xmmword [rsp + 0x30]
xorps xmm1, xmm0
movaps xmmword [rsp + 0x30], xmm1
movaps xmm1, xmmword [rsp + 0x40]
xorps xmm1, xmm0
movaps xmmword [rsp + 0x40], xmm1
movaps xmm1, xmmword [rsp + 0x50]
xorps xmm1, xmm0
movaps xmmword [rsp + 0x50], xmm1
movaps xmm1, xmmword [rsp + 0x60]
xorps xmm1, xmm0
movaps xmmword [rsp + 0x60], xmm1
xorps xmm0, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x70], xmm0
xor byte [rsp + 0x80], 0x33
lea r8, [rsp + 0x30]
xor ecx, ecx
xor edx, edx
xor r9d, r9d
call fcn.180049720
mov qword [0x1805602c8], rax
mov qword [rsp + 0x20], rdi
call sub.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_
mov dword [rsp + 0x13b4], 0xffffffff
mov dword [rsp + 0x34], eax
mov ecx, 3
nop dword [rax]
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add rax, rcx
add rax, 0xfffffffffffffffe
mov dword [rsp + rcx*4 + 0x2c], eax
cmp rcx, 0x271
je 0x18003d0fc
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, ecx
dec eax
mov dword [rsp + rcx*4 + 0x30], eax
add rcx, 2
jmp 0x18003d0c0
mov dword [rsp + 0x30], 0x270
lea rcx, [rsp + 0x30]
call fcn.1800489e0
mov eax, eax
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, dword [0x180050f60]
xorps xmm1, xmm1
addss xmm1, xmm0
movss dword [rsp + 0x28], xmm1
mov rax, qword [rsi]
test rax, rax
je 0x18003d14a
mov rdx, qword [0x1805602c8]
lea r8, [rsp + 0x20]
mov rcx, rsi
call qword [rax + 0x278]
nop
add rsp, 0x13b8
pop rdi
pop rsi
ret

Function at 0x180046010
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x18004603e
mov r9, rcx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x18003dac0]
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
add rsp, 0x38
ret
Function at 0x180046fa0
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
cmp dx, 0xffff
je 0x1800470bb
mov esi, edx
mov rdi, rcx
mov rax, qword [rcx + 0x40]
cmp qword [rax], 0
je 0x180046fec
mov rax, qword [rdi + 0x58]
mov ecx, dword [rax]
test ecx, ecx
jle 0x180046fec
dec ecx
mov dword [rax], ecx
mov rax, qword [rdi + 0x40]
mov rcx, qword [rax]
lea rdx, [rcx + 2]
mov qword [rax], rdx
mov word [rcx], si
jmp 0x180047109
cmp qword [rdi + 0x80], 0
je 0x1800470bf
mov rax, qword [rdi + 0x18]
lea rcx, [rdi + 0x70]
cmp qword [rax], rcx
jne 0x18004702b
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [rax], rcx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
sub rdx, rcx
shr rdx, 1
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov rcx, qword [rdi + 0x68]
test rcx, rcx
je 0x1800470c5
mov word [rsp + 0x4e], si
lea rax, [rsp + 0x80]
lea r9, [rsp + 0x50]
lea rdx, [rdi + 0x74]
mov r10, qword [rcx]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rax
lea r14, [rsp + 0x60]
mov qword [rsp + 0x28], r14
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea rbx, [rsp + 0x4e]
mov r8, rbx
call qword [r10 + 0x38]
mov bp, 0xffff
cmp eax, 2
jae 0x1800470e4
mov r15, qword [rsp + 0x50]
sub r15, r14
je 0x1800470b0
mov r9, qword [rdi + 0x80]
mov edx, 1
mov rcx, r14
mov r8, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp r15, rax
jne 0x180047107
mov byte [rdi + 0x72], 1
cmp qword [rsp + 0x58], rbx
jmp 0x1800470ff
xor esi, esi
jmp 0x180047109
mov si, 0xffff
jmp 0x180047109
mov rdx, qword [rdi + 0x80]
mov ecx, esi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
cmp ax, 0xffff
mov eax, 0xffff
cmovne eax, esi
mov esi, eax
jmp 0x180047109
cmp eax, 3
jne 0x180047107
mov rdx, qword [rdi + 0x80]
movzx ecx, word [rsp + 0x4e]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
cmp ax, 0xffff
mov ebp, 0xffff
cmovne ebp, esi
mov esi, ebp
mov eax, esi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret

Function at 0x180047890
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov al, 1
cmp qword [rcx + 0x68], 0
je 0x180047929
mov rsi, rcx
cmp byte [rcx + 0x72], 0
je 0x180047929
mov rax, qword [rsi]
mov rcx, rsi
mov dx, 0xffff
call qword [rax + 0x18]
cmp ax, 0xffff
je 0x180047927
mov rcx, qword [rsi + 0x68]
lea r9, [rsp + 0x50]
lea rdx, [rsi + 0x74]
mov rax, qword [rcx]
lea r8, [rsp + 0x28]
mov qword [rsp + 0x20], r8
lea rdi, [rsp + 0x30]
mov r8, rdi
call qword [rax + 0x40]
cmp eax, 3
je 0x180047931
cmp eax, 1
je 0x1800478f7
test eax, eax
jne 0x180047927
mov byte [rsi + 0x72], 0
mov rbx, qword [rsp + 0x28]
sub rbx, rdi
je 0x18004791e
mov r9, qword [rsi + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x180047927
cmp byte [rsi + 0x72], 0
sete al
jmp 0x180047929
xor eax, eax
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
mov byte [rsi + 0x72], 0
mov al, 1
jmp 0x180047929
Function at 0x18004a2c0
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
movabs rax, 0x800000000000001
cmp rdx, rax
jae 0x18004a46f
mov rsi, rcx
dec rdx
or rdx, 1
bsr rcx, rdx
xor ecx, 0x3f
neg cl
mov ebx, 1
shl rbx, cl
lea rax, [rsi + 0x18]
mov rdi, qword [rsi + 8]
mov edx, 2
shl rdx, cl
mov rcx, rax
mov r8, rdi
call fcn.180049e40
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rbx
mov rax, qword [rsi + 8]
mov rax, qword [rax]
cmp rax, rdi
je 0x18004a462
movabs rcx, 0xcbf29ce484222325
movabs rdx, 0x100000001b3
jmp 0x18004a361
mov qword [r9 + r10*8], r8
mov qword [r9 + rbx*8], r8
cmp rax, rdi
je 0x18004a462
mov r8, rax
mov rax, qword [rax]
movzx r9d, byte [r8 + 0x10]
xor r9, rcx
imul r9, rdx
movzx r10d, byte [r8 + 0x11]
xor r10, r9
imul r10, rdx
movzx r9d, byte [r8 + 0x12]
xor r9, r10
imul r9, rdx
movzx r11d, byte [r8 + 0x13]
xor r11, r9
imul r11, rdx
and r11, qword [rsi + 0x30]
mov r9, qword [rsi + 0x18]
lea r10, [r11 + r11]
lea rbx, [r11*2 + 1]
shl r11, 4
mov r11, qword [r9 + r11]
cmp r11, rdi
je 0x18004a350
mov r14, qword [r9 + rbx*8]
mov ebp, dword [r8 + 0x10]
cmp ebp, dword [r14 + 0x10]
jne 0x18004a400
mov r10, qword [r14]
cmp r10, r8
je 0x18004a354
mov r11, qword [r8 + 8]
mov qword [r11], rax
mov r14, qword [rax + 8]
mov qword [r14], r10
mov r15, qword [r10 + 8]
mov qword [r15], r8
mov qword [r10 + 8], r14
mov qword [rax + 8], r11
mov qword [r8 + 8], r15
jmp 0x18004a354
cmp r11, r14
je 0x18004a438
mov r14, qword [r14 + 8]
cmp ebp, dword [r14 + 0x10]
jne 0x18004a400
mov r9, qword [r14]
mov r10, qword [r8 + 8]
mov qword [r10], rax
mov r11, qword [rax + 8]
mov qword [r11], r9
mov rbx, qword [r9 + 8]
mov qword [rbx], r8
mov qword [r9 + 8], r11
mov qword [rax + 8], r10
mov qword [r8 + 8], rbx
jmp 0x18004a358
mov rbx, qword [r8 + 8]
mov qword [rbx], rax
mov r14, qword [rax + 8]
mov qword [r14], r11
mov r15, qword [r11 + 8]
mov qword [r15], r8
mov qword [r11 + 8], r14
mov qword [rax + 8], rbx
mov qword [r8 + 8], r15
mov qword [r9 + r10*8], r8
jmp 0x18004a358
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x18004ab70
Capabilities:
Hash data using fnv

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
movabs rax, 0x800000000000001
cmp rdx, rax
jae 0x18004ad1f
mov rsi, rcx
dec rdx
or rdx, 1
bsr rcx, rdx
xor ecx, 0x3f
neg cl
mov ebx, 1
shl rbx, cl
lea rax, [rsi + 0x18]
mov rdi, qword [rsi + 8]
mov edx, 2
shl rdx, cl
mov rcx, rax
mov r8, rdi
call fcn.180049e40
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
mov qword [rsi + 0x38], rbx
mov rax, qword [rsi + 8]
mov rax, qword [rax]
cmp rax, rdi
je 0x18004ad12
movabs rcx, 0x100000001b3
movabs rdx, 0xcbf29ce484222325
jmp 0x18004ac11
mov qword [r9 + r10*8], r8
mov qword [r9 + rbx*8], r8
cmp rax, rdi
je 0x18004ad12
mov r8, rax
mov rax, qword [rax]
movzx r9d, byte [r8 + 0x10]
xor r9, rdx
imul r9, rcx
movzx r10d, byte [r8 + 0x11]
xor r10, r9
imul r10, rcx
movzx r9d, byte [r8 + 0x12]
xor r9, r10
imul r9, rcx
movzx r11d, byte [r8 + 0x13]
xor r11, r9
imul r11, rcx
and r11, qword [rsi + 0x30]
mov r9, qword [rsi + 0x18]
lea r10, [r11 + r11]
lea rbx, [r11*2 + 1]
shl r11, 4
mov r11, qword [r9 + r11]
cmp r11, rdi
je 0x18004ac00
mov r14, qword [r9 + rbx*8]
mov ebp, dword [r8 + 0x10]
cmp ebp, dword [r14 + 0x10]
jne 0x18004acb0
mov r10, qword [r14]
cmp r10, r8
je 0x18004ac04
mov r11, qword [r8 + 8]
mov qword [r11], rax
mov r14, qword [rax + 8]
mov qword [r14], r10
mov r15, qword [r10 + 8]
mov qword [r15], r8
mov qword [r10 + 8], r14
mov qword [rax + 8], r11
mov qword [r8 + 8], r15
jmp 0x18004ac04
cmp r11, r14
je 0x18004ace8
mov r14, qword [r14 + 8]
cmp ebp, dword [r14 + 0x10]
jne 0x18004acb0
mov r9, qword [r14]
mov r10, qword [r8 + 8]
mov qword [r10], rax
mov r11, qword [rax + 8]
mov qword [r11], r9
mov rbx, qword [r9 + 8]
mov qword [rbx], r8
mov qword [r9 + 8], r11
mov qword [rax + 8], r10
mov qword [r8 + 8], rbx
jmp 0x18004ac08
mov rbx, qword [r8 + 8]
mov qword [rbx], rax
mov r14, qword [rax + 8]
mov qword [r14], r11
mov r15, qword [r11 + 8]
mov qword [r15], r8
mov qword [r11 + 8], r14
mov qword [rax + 8], rbx
mov qword [r8 + 8], r15
mov qword [r9 + r10*8], r8
jmp 0x18004ac08
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
Function at 0x14000b2e0
Capabilities:
Create thread

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rcx
mov rcx, rdx
call fcn.14000b3c0
lea rdi, [rbp - 0x10]
mov rcx, rdi
mov rdx, rax
call fcn.14000b4e0
lea rbx, [rbp - 8]
mov rcx, rbx
mov rdx, rdi
call fcn.14000bed0
mov rcx, rdi
call fcn.14000c410
lea rdi, [rsi + 8]
mov rcx, rbx
call fcn.14000cbb0
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
lea r8, [0x14000cb30]
xor ecx, ecx
xor edx, edx
mov r9, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsi], rax
test rax, rax
je 0x14000b379
lea rsi, [rbp - 8]
mov rcx, rsi
call fcn.14000cf30
mov rcx, rsi
call fcn.14000c410
nop
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop rbp
ret
mov dword [rdi], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
Function at 0x1406e6c00
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword gs:[0x60]
movabs r11, 0x6e6c70
movabs r10, 0x6e6c74
mov r9, qword [rax + 0x10]
xor eax, eax
movsxd rcx, dword [r9 + 0x3c]
movsxd r11, dword [r9 + r11]
add rcx, r9
mov r10d, dword [r9 + r10]
movzx r8d, word [rcx + 0x14]
add r8, rcx
cmp dword [r8 + 0x20], eax
jbe 0x1406e6c66
mov edx, eax
nop dword [rax]
nop word [rax + rax]
mov ecx, dword [r8 + 0x24]
inc eax
add rcx, rdx
inc rdx
xor byte [rcx + r9], r10b
cmp eax, dword [r8 + 0x20]
jb 0x1406e6c50
lea rax, [r9 + r11]
jmp rax
Function at 0x14001fa80
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
test r8, r8
jle 0x14001fb16
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
cmp qword [rcx + 0x68], 0
je 0x14001fb1d
mov r15, rsi
jmp 0x14001fadb
cmp r15, r14
cmovb r14, r15
mov rcx, rdi
mov r8, r14
call fcn.14003bed0
add rdi, r14
sub r15, r14
mov rax, qword [rbx + 0x50]
sub dword [rax], r14d
mov rax, qword [rbx + 0x38]
add qword [rax], r14
test r15, r15
jle 0x14001fb0e
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x14001faf3
mov rax, qword [rbx + 0x50]
movsxd r14, dword [rax]
test r14, r14
jg 0x14001fab0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x14001fb0e
mov byte [rdi], al
inc rdi
dec r15
test r15, r15
jg 0x14001fadb
sub rsi, r15
jmp 0x14001fc0a
xor esi, esi
jmp 0x14001fc0a
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x14001fb70
mov rax, qword [rbx + 0x50]
movsxd r15, dword [rax]
test r15, r15
je 0x14001fb70
cmp r15, rsi
cmovae r15, rsi
mov rcx, rdi
mov r8, r15
call fcn.14003bed0
add rdi, r15
mov r14, rsi
sub r14, r15
mov rax, qword [rbx + 0x50]
sub dword [rax], r15d
mov rax, qword [rbx + 0x38]
movsxd rcx, r15d
add qword [rax], rcx
cmp qword [rbx + 0x80], 0
jne 0x14001fb81
jmp 0x14001fc07
mov r14, rsi
cmp qword [rbx + 0x80], 0
je 0x14001fc07
mov rax, qword [rbx + 0x18]
lea rcx, [rbx + 0x70]
cmp qword [rax], rcx
jne 0x14001fbb0
mov ecx, dword [rbx + 0x90]
mov rdx, qword [rbx + 0x88]
mov qword [rax], rdx
mov rax, qword [rbx + 0x38]
mov qword [rax], rdx
sub ecx, edx
mov rax, qword [rbx + 0x50]
mov dword [rax], ecx
nop dword [rax]
cmp r14, 0x1000
jb 0x14001fbe3
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rdi
call fcn.140047638
add rdi, rax
sub r14, rax
cmp rax, 0xfff
je 0x14001fbb0
jmp 0x14001fc07
test r14, r14
je 0x14001fc04
mov r9, qword [rbx + 0x80]
mov edx, 1
mov rcx, rdi
mov r8, r14
call fcn.140047638
sub r14, rax
jmp 0x14001fc07
xor r14d, r14d
sub rsi, r14
mov rax, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x14002e740
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rbp, r8
mov r14, rdx
mov rdi, rcx
movzx ebx, byte [rcx]
mov rsi, qword [rcx + 0x10]
movzx eax, word [rsi - 9]
mov dword [rsp + 0x2c], eax
lea r12, [rsi - 0xd0]
lea r15, [rdx + 0x20]
mov rcx, qword [rdx + 0x18]
cmp byte [rcx + 0x1470], 1
jne 0x14002e7ed
cmp byte [rcx + 0x1400], 0
jne 0x14002e926
lea rdx, [rcx - 0x10]
xor eax, eax
movzx r8d, byte [rdx - 0x70]
movzx r9d, byte [rdx]
not r9b
or r9b, r8b
add rax, 0x1480
add rdx, 0xffffffffffffeb80
test r9b, 1
je 0x14002e793
test r8b, 1
jne 0x14002e926
sub rcx, rax
lea r13, [rcx + 0x1480]
lea r9, [rcx + 0x2880]
mov byte [rsp + 0x20], 0
mov rdx, r13
mov r8, r15
call fcn.14002ee60
mov rcx, qword [r14 + 0x18]
cmp r13, rcx
jne 0x14002e8e4
cmp byte [rcx + 0x1471], 1
jne 0x14002e85f
cmp byte [rcx + 0x1401], 0
jne 0x14002e944
lea rdx, [rcx - 0xf]
xor eax, eax
movzx r8d, byte [rdx - 0x70]
movzx r9d, byte [rdx]
not r9b
or r9b, r8b
add rax, 0x1480
add rdx, 0xffffffffffffeb80
test r9b, 1
je 0x14002e809
test r8b, 1
jne 0x14002e944
sub rcx, rax
lea r12, [rcx + 0x1480]
lea r9, [rcx + 0x2880]
mov byte [rsp + 0x20], 1
mov rdx, r12
mov r8, r15
call fcn.14002ee60
mov rcx, qword [r14 + 0x18]
cmp r12, rcx
jne 0x14002e8b0
xor bl, 1
mov rdx, qword [rsi - 0xd0]
mov r8, qword [rsi - 0xc8]
mov r9d, ebx
call fcn.14002e970
movzx ecx, byte [rdi]
xor ecx, 1
add eax, dword [rbp + rcx*4]
cmp eax, 0xffff9e5a
mov ecx, 0xffff9e59
cmovl eax, ecx
cmp eax, 0x61a7
mov ecx, 0x61a7
cmovge eax, ecx
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r13, [r12 + 0x1480]
lea r9, [r12 + 0x2880]
mov byte [rsp + 0x20], 1
mov rcx, r12
mov rdx, r13
mov r8, r15
call fcn.14002ee60
mov rcx, qword [r14 + 0x18]
mov r12, r13
cmp r13, rcx
jne 0x14002e8b0
jmp 0x14002e85f
mov qword [rsp + 0x30], r12
mov r12, rbp
lea rbp, [r13 + 0x1480]
lea r9, [r13 + 0x2880]
mov byte [rsp + 0x20], 0
mov rcx, r13
mov rdx, rbp
mov r8, r15
call fcn.14002ee60
mov rcx, qword [r14 + 0x18]
mov r13, rbp
cmp rbp, rcx
mov rbp, r12
mov r12, qword [rsp + 0x30]
jne 0x14002e8e9
jmp 0x14002e7ed
mov eax, dword [rsp + 0x2c]
mov byte [rsp + 0x20], al
xor edx, edx
mov r8, r12
mov r9, r15
call fcn.140031420
mov rcx, qword [r14 + 0x18]
jmp 0x14002e7ed
mov eax, dword [rsp + 0x2c]
shr eax, 8
mov byte [rsp + 0x20], al
mov dl, 1
mov r8, r12
mov r9, r15
call fcn.140031420
mov rcx, qword [r14 + 0x18]
jmp 0x14002e85f