joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800d5810
Capabilities:
Get file size
Read file on windows

Disassembly:
push rbx
push rbp
push r12
push r13
push r15
sub rsp, 0x180
mov rax, qword [0x18032b600]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov qword [rsp + 0x50], rcx
mov r15, r8
mov rcx, rdx
mov r12, rdx
xor ebp, ebp
xor ebx, ebx
call case.0x1800a8ae9.0
mov r13, rax
test rax, rax
jne 0x1800d5890
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.1800c1310
mov r9, rax
lea rdx, str.schannel:_invalid_path_name_for_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.1800b6e60
xor ecx, ecx
mov ebx, 0x4d
call qword [fcn.18019d4c0]
jmp 0x1800d5a48
mov qword [rsp + 0x30], rbx
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov r8d, 1
mov dword [rsp + 0x20], 3
mov rcx, r13
mov qword [rsp + 0x170], r14
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x1800d5906
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.1800c1310
mov r9, rax
lea rdx, str.schannel:_failed_to_open_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.1800b6e60
xor ecx, ecx
mov ebx, 0x4d
jmp 0x1800d5a32
lea rdx, [rsp + 0x48]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x1800d594f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.1800c1310
mov r9, rax
lea rdx, str.schannel:_failed_to_determine_size_of_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.1800b6e60
mov ebx, 0x4d
jmp 0x1800d5a26
mov qword [rsp + 0x178], rdi
mov rdi, qword [rsp + 0x48]
cmp rdi, 0x100000
jle 0x1800d5984
mov r8d, 0x100000
lea rdx, str.schannel:_CA_file_exceeds_max_size_of__u_bytes
mov rcx, r15
call fcn.1800b6e60
mov ebx, 0x4d
jmp 0x1800d5a1e
lea rcx, [rdi + 1]
call qword [fcn.1801ce2c0]
mov rbp, rax
test rax, rax
jne 0x1800d59a0
mov ebx, 0x1b
jmp 0x1800d5a1e
mov qword [rsp + 0x1c8], rsi
test rdi, rdi
je 0x1800d59f8
nop dword [rax]
mov r8d, edi
mov dword [rsp + 0x40], 0
sub r8d, ebx
mov esi, ebx
lea rdx, [rbx + rbp]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800d5a6a
mov eax, dword [rsp + 0x40]
test eax, eax
jne 0x1800d59ef
mov edi, esi
jmp 0x1800d59f1
add ebx, eax
mov eax, ebx
cmp rax, rdi
jb 0x1800d59b0
mov rcx, qword [rsp + 0x50]
mov r9, r12
mov r8, rdi
mov byte [rdi + rbp], 0
mov rdx, rbp
mov qword [rsp + 0x20], r15
call fcn.1800d5580
mov ebx, eax
mov rsi, qword [rsp + 0x1c8]
mov rdi, qword [rsp + 0x178]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbp
call qword [fcn.18019d4c0]
mov rcx, r13
call fcn.18019d4c0
mov r14, qword [rsp + 0x170]
mov eax, ebx
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.180150a90
add rsp, 0x180
pop r15
pop r13
pop r12
pop rbp
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0x60]
mov ecx, eax
call fcn.1800c1310
mov r9, rax
lea rdx, str.schannel:_failed_to_read_from_CA_file__s:__s
mov r8, r12
mov rcx, r15
call fcn.1800b6e60
mov ebx, 0x4d
jmp 0x1800d5a16
Function at 0x1800dd7d0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push r15
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbp, rcx
mov ecx, dword [rcx + 0x20]
mov rsi, rdx
add rcx, 0x18
mov r15d, r8d
lea r9d, [rax + rax]
add rcx, r9
call qword [fcn.1801ce2c0]
mov rbx, rax
test rax, rax
jne 0x1800dd813
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop rsi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov eax, dword [rbp + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rdi
mov qword [rbx + 0x10], rax
lea rdi, [rbp + 8]
mov qword [rsp + 0x50], r14
cmp r15d, dword [rbp + 0x1c]
jbe 0x1800dd860
call qword [rbp]
mov rcx, qword [rbx + 8]
mov r8d, r15d
mov rdx, rsi
call qword [rdi]
mov esi, dword [rbp + 0x18]
add rsi, qword [rbx + 0x10]
mov rdx, qword [rbx + 8]
mov rcx, rsi
call qword [rbp + reloc.WS2_32.dll_recv]
mov r15d, dword [rbp + 0x20]
mov rcx, qword [rbx + 8]
call qword [rbp]
mov rcx, qword [rbx + 0x10]
call qword [rbp]
xor r14d, r14d
test r15, r15
je 0x1800dd8c2
mov r14, r15
nop dword [rax]
movzx eax, byte [rsi]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rbx + 8]
call qword [rdi]
movzx eax, byte [rsi]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea rsi, [rsi + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rbx + 0x10]
call qword [rdi]
sub r15, 1
jne 0x1800dd880
lea rdi, [rbp + 8]
mov eax, dword [rbp + 0x1c]
cmp r14, rax
jae 0x1800dd901
nop word [rax + rax]
mov rcx, qword [rbx + 8]
lea rdx, [0x180244a75]
mov r8d, 1
call qword [rdi]
mov rcx, qword [rbx + 0x10]
lea rdx, [0x180244a76]
mov r8d, 1
call qword [rdi]
mov eax, dword [rbp + 0x1c]
inc r14
cmp r14, rax
jb 0x1800dd8d0
mov r14, qword [rsp + 0x50]
mov rax, rbx
mov rbx, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rsi
pop rbp
ret
Function at 0x1800e1910
Capabilities:
Access peb ldr_data

Disassembly:
push rbx
push rbp
push r14
sub rsp, 0x50
mov rax, qword [0x18032b600]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rax, qword gs:[0x60]
xor r14d, r14d
mov rbp, rcx
mov rdx, qword [rax + 0x18]
mov rbx, qword [rdx + 0x10]
cmp qword [rcx + 0x28], r14
jne 0x1800e194e
mov rax, qword [rbx + 0x30]
jmp 0x1800e1ab9
cmp qword [rcx + 0x30], 7
lea rdx, [rcx + 0x18]
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], rdi
jbe 0x1800e196a
mov rdx, qword [rcx + 0x18]
mov r8, qword [rcx + 0x28]
xorps xmm0, xmm0
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x38], r14
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x40], r14
call fcn.18004b1c0
lea rcx, [rsp + 0x28]
call fcn.180020100
mov rdx, qword [rsp + 0x40]
movzx esi, al
cmp rdx, 7
jbe 0x1800e19d9
mov rcx, qword [rsp + 0x28]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800e19d4
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800e1ad5
call fcn.180150970
cmp qword [rbx + 0x30], r14
je 0x1800e1a38
xor rsi, 1
add rsi, rsi
nop word [rax + rax]
movups xmm0, xmmword [rbx + rsi*8 + 0x48]
lea rdx, [rbp + 0x18]
movd eax, xmm0
movzx r8d, ax
shr r8, 1
cmp qword [rbp + 0x28], r8
cmovb r8, qword [rbp + 0x28]
cmp qword [rbp + 0x30], 7
jbe 0x1800e1a18
mov rdx, qword [rbp + 0x18]
psrldq xmm0, 8
movq rcx, xmm0
call fcn.1801e6720
test eax, eax
je 0x1800e1acf
mov rbx, qword [rbx]
cmp qword [rbx + 0x30], r14
jne 0x1800e19f0
xorps xmm0, xmm0
mov qword [rsp + 0x38], r14
mov ecx, 0x30
mov qword [rsp + 0x40], r14
movups xmmword [rsp + 0x28], xmm0
call fcn.180150934
movups xmm0, xmmword [str.EAT__Failed_to_automatically_find_module]
mov qword [rsp + 0x28], rax
mov edx, 2
mov qword [rsp + 0x38], 0x29
mov qword [rsp + 0x40], 0x2f
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x180244df0]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x180244e00]
movsd qword [rax + 0x20], xmm0
movzx ecx, byte [0x180244e08]
mov byte [rax + 0x28], cl
lea rcx, [rsp + 0x28]
mov byte [rax + 0x29], r14b
call fcn.1800def00
xor eax, eax
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180150a90
add rsp, 0x50
pop r14
pop rbp
pop rbx
ret
mov rax, qword [rbx + 0x30]
jmp 0x1800e1aac
call fcn.18019d1d8
int3
Function at 0x1800f1cd0
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0xa0
xorps xmm0, xmm0
mov qword [rax - 0x68], 0
mov rbx, rcx
mov rsi, r8
lea rcx, [rax - 0x40]
mov rdi, rdx
movups xmmword [rax - 0x40], xmm0
movups xmmword [rax - 0x30], xmm0
movups xmmword [rax - 0x20], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp rbx, qword [rsp + 0x70]
lea rcx, [rdi - 1]
mov rax, qword [rsp + 0x40]
cmovb rbx, qword [rsp + 0x70]
cmp rcx, qword [rsp + 0x78]
mov qword [rsp + 0x60], 0
cmova rcx, qword [rsp + 0x78]
and rax, 0xffffffffffffff01
or rax, 1
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x40], rax
lea rcx, [0x180245b30]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x1800f1dad
lea rdx, str.VirtualAlloc2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 1
mov r9d, 0x3000
mov rcx, rax
mov r8, rsi
lea rax, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
call rbx
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x1800f1de0
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x80
xorps xmm0, xmm0
mov rbx, rcx
lea rcx, [rax - 0x38]
mov rsi, r8
movups xmmword [rax - 0x38], xmm0
mov rbp, rdx
movups xmmword [rax - 0x28], xmm0
movups xmmword [rax - 0x18], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp rbx, rbp
jae 0x1800f1eb5
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1800f1eb5
cmp dword [rsp + 0x40], 0x10000
mov rcx, qword [rsp + 0x38]
jne 0x1800f1ea4
cmp rcx, rsi
jb 0x1800f1ea4
mov rdi, qword [rsp + 0x20]
xor edx, edx
mov ecx, dword [rsp + 0x78]
mov rax, rdi
div rcx
test rdx, rdx
je 0x1800f1e6b
sub rdi, rdx
add rdi, rcx
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x1800f1eb7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x677
jne 0x1800f1e9a
add rbx, rsi
jmp 0x1800f1eac
mov rbx, qword [rsp + 0x38]
add rbx, rdi
jmp 0x1800f1eac
mov rbx, qword [rsp + 0x20]
add rbx, rcx
cmp rbx, rbp
jb 0x1800f1e22
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1800f2550
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x20
movzx r8d, byte [rdx]
mov r9, rcx
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r8, rax
mov r10, rdx
movzx eax, byte [rdx + 1]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 2]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 3]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 4]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 5]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 6]
imul r8, rcx
xor r8, rax
movzx eax, byte [rdx + 7]
mov rdx, qword [r9 + 0x30]
imul r8, rcx
xor r8, rax
imul r8, rcx
and rdx, r8
mov r8, qword [r9 + 8]
shl rdx, 4
add rdx, qword [r9 + 0x18]
mov r11, qword [rdx + 8]
mov rbx, r11
cmp r11, r8
je 0x1800f2604
mov rax, qword [r10]
mov rcx, qword [rdx]
cmp rax, qword [r11 + 0x10]
je 0x1800f2606
cmp rbx, rcx
je 0x1800f2604
mov rbx, qword [rbx + 8]
cmp rax, qword [rbx + 0x10]
jne 0x1800f25f3
jmp 0x1800f2606
xor ebx, ebx
test rbx, rbx
je 0x1800f26b1
mov rax, qword [rdx]
mov qword [rsp + 0x38], rdi
cmp r11, rbx
jne 0x1800f2634
cmp rax, rbx
jne 0x1800f262a
mov qword [rdx], r8
mov qword [rdx + 8], r8
jmp 0x1800f263f
mov r8, qword [rbx + 8]
mov qword [rdx + 8], r8
jmp 0x1800f263f
cmp rax, rbx
jne 0x1800f263f
mov rax, qword [rbx]
mov qword [rdx], rax
mov rcx, qword [rbx]
dec qword [r9 + 0x10]
mov rax, qword [rbx + 8]
mov qword [rax], rcx
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
mov rdi, qword [rbx + 0x20]
test rdi, rdi
je 0x1800f2694
mov qword [rsp + 0x30], rsi
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x1800f268f
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x1800f268f
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_htonl]
mov rsi, qword [rsp + 0x30]
mov edx, 0x28
mov rcx, rbx
call fcn.180150970
mov rdi, qword [rsp + 0x38]
mov eax, 1
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret
Function at 0x1800f31b0
Capabilities:
Hash data using fnv

Disassembly:
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 0x1800f338f
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.1800f2ff0
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 0x1800f3354
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 0x1800f32cc
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1800f3343
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x1800f3309
mov r10, qword [rdx]
cmp r10, rax
je 0x1800f3303
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 0x1800f3343
cmp r9, rdx
je 0x1800f331f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x1800f3369
cmp r9, rdx
jne 0x1800f3310
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 0x1800f3250
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 0x1800f3343
lea rcx, str.invalid_hash_bucket_count
call fcn.1801528b8
int3
Function at 0x1800f4b50
Capabilities:
Hash data using fnv

Disassembly:
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 0x1800f4d2f
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.1800f4a10
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 0x1800f4cf4
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 0x1800f4c6c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1800f4ce3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x1800f4ca9
mov r10, qword [rdx]
cmp r10, rax
je 0x1800f4ca3
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 0x1800f4ce3
cmp r9, rdx
je 0x1800f4cbf
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x1800f4d09
cmp r9, rdx
jne 0x1800f4cb0
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 0x1800f4bf0
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 0x1800f4ce3
lea rcx, str.invalid_hash_bucket_count
call fcn.1801528b8
int3
Function at 0x1800f57c0
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x18032b600]
xor rax, rsp
mov qword [rsp + 0x48], rax
movzx ebp, dl
mov rsi, rcx
xor ebx, ebx
lea rdx, [rcx + 0x60]
lea rcx, [rsp + 0x28]
call fcn.180014210
nop
mov r14d, ebx
mov rdi, qword [rsi + 0x38]
sub rdi, qword [rsi + 0x30]
je 0x1800f5872
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x1800f5a09
cmp rdi, 0x1000
jb 0x1800f5850
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x1800f5a0f
call fcn.180150934
test rax, rax
je 0x1800f5a03
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1800f585b
mov rcx, rdi
call fcn.180150934
mov rbx, rax
lea r14, [rbx + rdi]
mov r8, qword [rsi + 0x38]
mov rdx, qword [rsi + 0x30]
sub r8, rdx
mov rcx, rbx
call fcn.1802138b0
mov rax, qword [rsi + 0x38]
sub rax, qword [rsi + 0x30]
mov r15, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x28]
cmp rax, 1
jne 0x1800f588f
cmp byte [rbx], 0xcc
jmp 0x1800f589e
cmp rax, 2
jb 0x1800f58a4
cmp byte [rbx], 0xf3
jne 0x1800f58a4
cmp byte [rbx + 1], 0xc3
je 0x1800f59fb
lea rcx, [rsp + 0x28]
cmp r15, 0xf
cmova rcx, rdi
mov rsi, qword [rsp + 0x38]
cmp rsi, 3
jne 0x1800f58d8
mov r8, rsi
lea rdx, [0x180245194]
call fcn.1802137b0
test eax, eax
jne 0x1800f58d8
test bpl, bpl
je 0x1800f59fb
lea rcx, [rsp + 0x28]
cmp r15, 0xf
cmova rcx, rdi
cmp rsi, 3
jne 0x1800f5902
mov r8, rsi
lea rdx, [0x180244c64]
call fcn.1802137b0
test eax, eax
je 0x1800f59fb
lea rbp, [rsp + 0x28]
cmp r15, 0xf
cmova rbp, rdi
cmp rsi, 4
jb 0x1800f595c
lea r8, [rsi - 3]
add r8, rbp
sub r8, rbp
mov edx, 0x69
mov rcx, rbp
call fcn.180213710
test rax, rax
je 0x1800f595c
cmp dword [rax], 0x74657269
je 0x1800f59f2
inc rax
lea r8, [rsi - 3]
add r8, rbp
sub r8, rax
mov edx, 0x69
mov rcx, rax
call fcn.180213710
test rax, rax
jne 0x1800f5931
xor sil, sil
test rbx, rbx
je 0x1800f5994
sub r14, rbx
cmp r14, 0x1000
jb 0x1800f5988
add r14, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1800f5a03
mov rbx, rcx
mov rdx, r14
mov rcx, rbx
call fcn.180150970
nop
cmp r15, 0xf
jbe 0x1800f59c7
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x1800f59bf
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800f5a15
mov rcx, rdi
call fcn.180150970
movzx eax, sil
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180150a90
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
cmp rax, rbp
jne 0x1800f595c
mov sil, 1
jmp 0x1800f595f
call fcn.18019d1d8
int3
call fcn.180043340
int3
call fcn.180017a40
nop
call fcn.18019d1d8
int3
Function at 0x180105bc0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rbx, qword [r9 + 0x10]
mov rdi, r9
mov rsi, r8
mov r14, rdx
mov r15, rcx
cmp rbx, 0x20
ja 0x180105cb7
xor r12d, r12d
nop dword [rax + rax]
mov r10, qword [rdi + 8]
mov r9, r12
test rbx, rbx
je 0x180105c48
lea rax, [rsp + 0x20]
sub r10, rax
nop dword [rax]
nop dword [rax + rax]
lea r8, [rsp + 0x20]
mov ecx, 0x20
add r8, r9
movzx edx, byte [r8 + r10]
lea eax, [rdx - 0x41]
cmp al, 0x19
cmova ecx, r12d
inc r9
xor cl, dl
mov byte [r8], cl
cmp r9, rbx
jb 0x180105c20
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.180105490
mov dword [r14], eax
test eax, eax
jne 0x180105ce2
mov rcx, qword [r15]
lea rdx, [rsp + 0x20]
mov r8, rbx
movzx ecx, byte [rcx + 0x48]
call fcn.180111480
mov dword [r14], eax
test eax, eax
jne 0x180105ce2
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.180105950
test eax, eax
je 0x180105cb7
mov ecx, dword [rsi]
test eax, ecx
jne 0x180105cdb
or ecx, eax
xor r8d, r8d
mov dword [rsi], ecx
mov rdx, rdi
lea rcx, [r15 + 8]
call fcn.180106a90
cmp al, 2
jne 0x180105cb7
mov rbx, qword [rdi + 0x10]
cmp rbx, 0x20
jbe 0x180105c00
mov eax, 0x1a
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
mov eax, 0x37
jmp 0x180105cbc
xor r8d, r8d
lea rcx, [r15 + 8]
mov rdx, rdi
call fcn.180106a90
cmp al, 2
jne 0x180105d55
mov rdx, qword [rdi + 0x10]
cmp rdx, 0x20
ja 0x180105d55
mov r11, qword [rdi + 8]
mov r10, r12
test rdx, rdx
je 0x180105d3d
lea rax, [rsp + 0x20]
sub r11, rax
lea r9, [rsp + 0x20]
mov ecx, 0x20
add r9, r10
movzx r8d, byte [r11 + r9]
lea eax, [r8 - 0x41]
cmp al, 0x19
cmova ecx, r12d
inc r10
xor cl, r8b
mov byte [r9], cl
cmp r10, rdx
jb 0x180105d13
lea rcx, [rsp + 0x20]
call fcn.180105950
cmp eax, 0x10
jne 0x180105d55
or dword [rsi], eax
xor eax, eax
jmp 0x180105cbc
mov rax, qword [rdi + 8]
mov qword [r15 + 0x18], rax
xor eax, eax
jmp 0x180105cbc

Function at 0x180108320
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x48
mov r11, rcx
mov r10, rdx
xor ecx, ecx
cmp r8, 0xffffffffffffffff
jne 0x180108365
movzx eax, byte [rdx]
mov r8d, ecx
test al, al
je 0x180108357
nop dword [rax]
imul ecx, ecx, 0x1003f
inc r8
movzx eax, al
add ecx, eax
movzx eax, byte [rdx + r8]
test al, al
jne 0x180108340
mov edx, ecx
test r8, r8
jne 0x180108392
xor eax, eax
add rsp, 0x48
ret
mov rdx, rcx
test r8, r8
je 0x180108357
nop dword [rax]
movzx eax, byte [rdx + r10]
test al, al
je 0x18010838b
imul ecx, ecx, 0x1003f
inc rdx
add ecx, eax
cmp rdx, r8
jb 0x180108370
jmp 0x180108357
mov ecx, select
mov edx, ecx
mov eax, r9d
mov qword [rsp + 0x40], rbx
xor eax, ecx
mov qword [rsp + 0x20], r10
mov ebx, 0xffffffff
mov dword [rsp + 0x28], r8d
cmp r9d, ebx
mov dword [rsp + 0x30], r9d
lea rcx, [r11 + 0xf0]
cmove eax, edx
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x2c], eax
call fcn.1801070b0
test rax, rax
je 0x1801083d3
mov ebx, dword [rax + 0xc]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x48
ret
Function at 0x180112e90
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
mov eax, dword [0x180337b3c]
nop
test eax, eax
jne 0x180112ef7
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
dec eax
mov ecx, eax
shr ecx, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or eax, ecx
mov ecx, eax
shr ecx, 4
or ecx, eax
mov edx, ecx
shr edx, 8
or edx, ecx
mov eax, edx
shr eax, 0x10
or eax, edx
inc eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x60]
mov qword [0x180337b40], rax
mov eax, 1
xchg dword [0x180337b3c], eax
mov rax, qword [0x180337b40]
add rsp, 0x58
ret

Function at 0x1801130e0
Capabilities:
Encode data using xor

Disassembly:
movzx r9d, r8b
mov rax, rdx
shr rax, 6
mov r10, rcx
lea rax, [rcx + rax*8]
mov r8, 0xffffffffffffffff
movzx ecx, dl
and cl, 0x3f
lea rdx, [r9 - 1]
xor rdx, qword [rax]
shl r8, cl
and r8, rdx
jne 0x18011311d
nop
add rax, 8
lea r8, [r9 - 1]
xor r8, qword [rax]
je 0x180113110
sub rax, r10
sar rax, 3
bsf rcx, r8
shl rax, 6
add rax, rcx
ret