joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140009440
Capabilities:
Get disk size

Disassembly:
push rsi
sub rsp, 0x30
cmp qword [rcx + 0x78], 0
je 0x140009483
mov rsi, rcx
mov qword [rsp + 0x28], 0
mov rcx, qword [rcx + 0x50]
lea r9, [rsp + 0x28]
xor edx, edx
xor r8d, r8d
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x140009483
mov rax, qword [rsp + 0x28]
mov qword [rsi + 0x80], rax
mov al, 1
add rsp, 0x30
pop rsi
ret
xor eax, eax
add rsp, 0x30
pop rsi
ret

Function at 0x14000b510
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov rax, rdx
mov rdi, rcx
lea rdx, [rbp - 0x1c]
mov rcx, rax
call sub.shell32.dll_CommandLineToArgvW
test rax, rax
je 0x14000b613
mov rsi, rax
mov qword [rbp - 0x28], rdi
movsxd rax, dword [rbp - 0x1c]
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 8
mov qword [rbp - 8], 0
lea r13, [rsi + rax*8]
lea rbx, [rbp - 0x40]
lea r14, [rbp - 0x58]
lea r15, [rbp - 0x18]
mov rdi, rsi
jmp 0x14000b5b1
add rdi, 8
mov rax, qword [rbp - 0x10]
lea rcx, [rdx + rdx*2]
mov rdx, qword [rbp - 0x30]
mov qword [rax + rcx*8 + 0x10], rdx
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rax + rcx*8], xmm0
inc qword [rbp - 8]
cmp rdi, r13
je 0x14000b5f6
mov r12, qword [rdi]
mov rcx, r12
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
lea rax, [r12 + rax*2]
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], rax
mov word [rbp - 0x48], 0
mov rcx, rbx
mov rdx, r14
call fcn.140009120
mov rdx, qword [rbp - 8]
cmp rdx, qword [rbp - 0x18]
jne 0x14000b590
mov rcx, r15
call fcn.140011d70
mov rdx, qword [rbp - 8]
jmp 0x14000b590
mov rcx, rsi
call sub.kernel32.dll_LocalFree
mov rax, qword [rbp - 8]
mov rcx, qword [rbp - 0x28]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rbp - 0x18]
movups xmmword [rcx], xmm0
jmp 0x14000b62a
mov qword [rdi], 0
mov qword [rdi + 8], 8
mov qword [rdi + 0x10], 0
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x14000fcd0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x14000fd12
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14000fd1a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14000fd2b
jmp 0x14000fd42
xor r10d, r10d
jmp 0x14000fdcd
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14000fd42
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14000fd59
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x14000fd79
add r11, r8
jmp 0x14000feab
mov r11, qword [rax + 0x18]
mov r9, qword [rax + 0x10]
mov rcx, qword [rax]
add rcx, r9
rol r9, 0xd
xor r11, rsi
xor r9, rcx
rol rcx, 0x20
mov rdi, qword [rax + 8]
add rdi, r11
rol r11, 0x10
xor r11, rdi
add rcx, r11
rol r11, 0x15
xor r11, rcx
add rdi, r9
rol r9, 0x11
mov qword [rax + 0x18], r11
xor r9, rdi
rol rdi, 0x20
mov qword [rax + 0x10], r9
mov qword [rax + 8], rdi
xor rcx, rsi
mov qword [rax], rcx
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x14000fe42
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
add rcx, rsi
rol rsi, 0xd
mov rbx, qword [rdx + r10]
xor rsi, rcx
rol rcx, 0x20
xor rdi, rbx
add r9, rdi
rol rdi, 0x10
xor rdi, r9
add rcx, rdi
rol rdi, 0x15
add r9, rsi
rol rsi, 0x11
xor rsi, r9
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x14000fdf0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x14000fe60
mov r9d, dword [rdx + r10]
mov r8d, 4
mov rcx, r8
or rcx, 1
cmp rcx, r11
jb 0x14000fe72
jmp 0x14000fe8d
xor r9d, r9d
xor r8d, r8d
mov rcx, r8
or rcx, 1
cmp rcx, r11
jae 0x14000fe8d
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8, r11
jae 0x14000fea7
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x14001ca20
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov r14, rdx
mov rsi, rcx
movups xmm0, xmmword [rdx + 0x38]
movups xmm1, xmmword [rdx + 0x48]
movaps xmmword [rbp - 0x30], xmm1
movaps xmmword [rbp - 0x40], xmm0
mov rax, qword [rdx + 0x28]
movzx ebx, byte [rdx + 0x30]
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x50], rax
mov byte [rbp - 0x48], bl
movzx eax, byte [0x14005b181]
mov ecx, 0x5f0
mov edx, 8
call fcn.140002f70
test rax, rax
mov qword [rbp - 8], r14
je 0x14001cc90
mov rdi, rax
mov r8d, 0x5f0
mov rcx, rax
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rax, qword [r14 + 0x60]
mov qword [rbp - 0x18], rax
movabs rcx, 0x7465646279746573
movabs rdx, 0x6c7967656e657261
movabs r8, 0xded7d4e2d7dedfc6
movabs r9, 0xa60c596fc19fead0
movabs r10, 0xe414a674f0de7325
movabs r11, 0x800000000000000
mov r12d, 1
lock xadd qword [0x14005b198], r12
mov r14, r12
xor r14, rcx
lea r15, [r14 + rdx]
mov rax, r14
rol rax, 0x10
xor rax, r15
lea r15, [rax + r8]
rol rax, 0x15
add r14, r9
mov r13, r14
xor r13, r10
rol r14, 0x20
xor r12, r15
add r12, r13
rol r13, 0xd
xor r15, r11
xor r13, r12
rol r12, 0x20
xor r15, rax
add r14, r15
rol r15, 0x10
xor r15, r14
add r12, r15
rol r15, 0x15
add r14, r13
rol r13, 0x11
xor r15, r12
xor r13, r14
rol r14, 0x20
xor r12, r11
add r12, r13
rol r13, 0xd
xor r13, r12
rol r12, 0x20
xor r14, 0xff
add r14, r15
rol r15, 0x10
xor r15, r14
add r12, r15
rol r15, 0x15
add r14, r13
rol r13, 0x11
xor r13, r14
rol r14, 0x20
xor r15, r12
add r12, r13
rol r13, 0xd
xor r13, r12
rol r12, 0x20
add r14, r15
rol r15, 0x10
xor r15, r14
add r12, r15
rol r15, 0x15
add r14, r13
rol r13, 0x11
xor r13, r14
rol r14, 0x20
xor r15, r12
add r12, r13
rol r13, 0xd
add r14, r15
rol r15, 0x10
xor r15, r14
rol r15, 0x15
xor r13, r12
add r14, r13
rol r13, 0x11
mov r12, r14
rol r12, 0x20
xor r12, r13
xor r12, r15
xor r12, r14
je 0x14001cae0
mov rcx, qword [rbp - 8]
mov rax, qword [rcx + 0x58]
movaps xmm0, xmmword [rbp - 0x40]
movaps xmm1, xmmword [rbp - 0x30]
movups xmmword [rsi + 0x128], xmm1
movups xmmword [rsi + 0x118], xmm0
mov rdx, qword [rbp - 0x10]
mov qword [rsi + 0x138], rdx
mov byte [rsi + 0x140], bl
mov qword [rsi], 0
mov qword [rsi + 8], rdi
mov qword [rsi + 0x80], 0
mov qword [rsi + 0x88], rdi
mov rdx, qword [rbp - 0x18]
mov qword [rsi + 0x100], rdx
mov qword [rsi + 0x108], r12
mov qword [rsi + 0x110], rax
mov rdx, qword [rcx + 0x10]
movabs rax, 0x8000000000000000
cmp rdx, rax
je 0x14001cc7c
test rdx, rdx
je 0x14001cc7c
mov rcx, qword [rcx + 0x18]
mov r8d, 1
call fcn.140002f80
mov rax, rsi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov ecx, 8
mov edx, 0x5f0
call fcn.140040cb0
ud2
Function at 0x140023980
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
movaps xmmword [rsp + 0x30], xmm0
movaps xmmword [rsp + 0x20], xmm0
lea rcx, [rsp + 0x20]
call qword [sym.imp.kernel32.dll_GetSystemInfo]
mov ecx, dword [rsp + 0x40]
xor eax, eax
test rcx, rcx
sete al
lea rdx, str.The_number_of_hardware_threads_is_not_known_for_the_target_platform
cmovne rdx, rcx
add rsp, 0x58
ret

Function at 0x1400239c0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x498
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x410], 0xfffffffffffffffe
mov qword [rbp + 0x3f0], rcx
mov qword [rbp + 0x3f8], 0
mov qword [rbp + 0x400], 2
mov qword [rbp + 0x408], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x140023a60
jmp 0x140023a4f
jae 0x140023b1f
cmp r8, 0x201
jae 0x140023a60
mov r14d, 0x200
lea r15, [rbp - 0x60]
mov r12, r8
jmp 0x140023ab7
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x140023a8f
lea rcx, [rbp + 0x3f8]
mov rdx, rbx
call fcn.140040060
mov rsi, qword [rbp + 0x3f8]
mov rax, qword [rbp + 0x400]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x408], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3e8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x140023ae0
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x140023b99
mov r8d, r13d
cmp r12, r8
jne 0x140023a40
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140023bcd
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x140023a4f
jmp 0x140023a60
cmp r14, r8
jb 0x140023be7
lea rcx, [rbp + 0x3c8]
mov rdx, r15
call fcn.140026010
movups xmm0, xmmword [rbp + 0x3c8]
movups xmm1, xmmword [rbp + 0x3d8]
movaps xmmword [rbp + 0x3b0], xmm1
movaps xmmword [rbp + 0x3a0], xmm0
mov rsi, qword [rbp + 0x3f0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3f8]
test rdx, rdx
je 0x140023b82
mov rcx, qword [rbp + 0x400]
add rdx, rdx
mov r8d, 2
call fcn.140002f80
mov rax, rsi
add rsp, 0x498
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3f0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3f8]
test rdx, rdx
jne 0x140023b6d
jmp 0x140023b82
lea rcx, str.internal_error:_entered_unreachable_code_rustc_9b00956e56009bab2aa15d7bff10916599e3d6d6library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.140040e40
jmp 0x140023bfc
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.140041220
ud2
Function at 0x14002ac70
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0xb0
mov rsi, rcx
movups xmm0, xmmword [0x140046ff8]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x14002aca8
mov rcx, qword [rsp + 0xe0]
mov qword [rsp + 0x88], rcx
test r9, r9
mov qword [rsp + 0x80], r9
lea rcx, [rsp + 0x88]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14002ad11
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14002ad45
test eax, eax
js 0x14002ad25
mov rdx, qword [rsp + 0x68]
xor eax, eax
add rsp, 0xb0
pop rsi
ret
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xb0
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x90], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x98], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x80]
call fcn.140025c40
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x78]
call fcn.140021e90
mov ecx, 7
int 0x29
ud2

Function at 0x14002b790
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x14005b181]
mov ecx, 0x10
mov edx, 8
call fcn.140002f70
test rax, rax
je 0x14002b86f
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x14002b920]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x14002b861
mov rcx, qword [rbx]
mov qword [rbp - 0x18], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x20], rcx
mov qword [rbp - 0x10], rax
call qword [rax]
mov rax, qword [rbp - 0x10]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x14002b838
mov r8, qword [rax + 0x10]
mov rcx, qword [rbp - 0x20]
call fcn.140002f80
mov edx, 0x10
mov r8d, 8
mov rcx, qword [rbp - 0x18]
call fcn.140002f80
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], rdi
mov ecx, 8
mov edx, 0x10
call fcn.140040cb0
ud2
Function at 0x140039a20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x140039a9a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x140039a90
cmp r11, r10
ja 0x140039b25
cmp r10, rdx
ja 0x140039b37
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x140039a92
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x140039a70
jmp 0x140039b07
ja 0x140039a9a
mov r11, r10
cmp rax, r8
jne 0x140039a42
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x140039b0b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x140039ae0
mov r8, r10
sub ecx, r9d
jns 0x140039afe
jmp 0x140039b0d
cmp r10, rdx
je 0x140039b19
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x140039b0d
xor al, 1
cmp r8, rdx
jne 0x140039ac0
jmp 0x140039b0d
xor eax, eax
jmp 0x140039b0d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140040d30
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140041230
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140041220
int3

Function at 0x14003b6b4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x14003b6fe
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003b6fe
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003b6fe
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003b6fe
cmp dword [rcx + 0x84], 0xe
jbe 0x14003b6fe
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003b700
xor al, al
add rsp, 0x28
ret
Function at 0x401030
Capabilities:
Access peb ldr_data

Disassembly:
push rdi
push rsi
mov esi, ecx
push rbx
sub rsp, 0x20
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
mov rbx, qword [rax + 0x10]
lea rdi, [rax + 0x10]
cmp rbx, rdi
je 0x401073
movzx edx, word [rbx + 0x58]
mov rcx, qword [rbx + 0x60]
call fcn.00401464
cmp eax, esi
jne 0x40106e
mov rax, qword [rbx + 0x30]
jmp 0x401075
mov rbx, qword [rbx]
jmp 0x401052
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x40107d
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x401097
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
je 0x401097
xor eax, eax
ret

Function at 0x401180
Capabilities:
Get number of processors

Disassembly:
push r13
xor eax, eax
push r12
mov r12, rcx
mov ecx, 0x1a
push rdi
push rsi
sub rsp, 0xb8
lea rdi, [rsp + 0x48]
lea rsi, [rsp + 0x48]
mov qword [rsp + 0x38], 0
rep stosd dword [rdi], eax
mov rdi, rsi
mov qword [rsp + 0x40], 0
mov ecx, 0x68
mov dword [rsp + 0x34], 0
rep stosb byte [rdi], al
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov r13, qword [rax + 0x30]
call fcn.00401016
mov qword [rsp + 0x48], rax
call fcn.00402010
mov rdx, qword [rsp + 0x48]
mov ecx, 0x70e61753
mov qword [rsp + 0x40], 8
sub rax, rdx
add rdx, qword [0x00401610]
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x38], rdx
call fcn.00401030
mov qword [rsp + 0x90], rax
test rax, rax
jne 0x40123b
mov ecx, 0xadd31df0
call fcn.00401030
mov qword [rsp + 0x98], rax
mov rcx, rax
test rax, rax
jne 0x401297
jmp 0x4012ab
mov rcx, rax
mov edx, 0x3be94c5a
call fcn.00401098
mov qword [rsp + 0x58], rax
test rax, rax
je 0x401328
mov rcx, qword [rsp + 0x90]
mov edx, 0x73a9e4d7
call fcn.00401098
mov qword [rsp + 0x60], rax
test rax, rax
je 0x401328
mov rcx, qword [rsp + 0x90]
mov edx, 0x50e92888
call fcn.00401098
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x40121f
jmp 0x401328
mov edx, 0x36c007a2
call fcn.00401098
mov qword [rsp + 0x70], rax
test rax, rax
je 0x401328
lea rax, [rsp + 0x34]
or rcx, 0xffffffffffffffff
lea rdx, [rsp + 0x38]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
call qword [rsp + 0x68]
test eax, eax
js 0x401328
mov rdi, qword [rsp + 0x38]
mov r8d, 0x68
mov edx, 8
mov rcx, r13
call qword [rsp + 0x58]
mov qword [rdi], rax
test rax, rax
je 0x401328
mov rax, qword [rsp + 0x38]
mov ecx, 0x1a
mov rax, qword [rax]
mov rdi, rax
xor eax, eax
rep movsd dword [rdi], dword [rsi]
lea rdi, [rsp + 0x48]
mov ecx, 0x68
rep stosb byte [rdi], al
mov rsi, qword [rsp + 0x38]
mov ecx, 0x18
lea rdi, [rsi + 8]
rep stosb byte [rdi], al
mov rcx, r12
call fcn.00401130
add rsp, 0xb8
pop rsi
pop rdi
pop r12
pop r13
ret

Function at 0x401464
Capabilities:
Hash data using djb2

Disassembly:
xor r9d, r9d
test rcx, rcx
je 0x4014b3
mov r8, rcx
mov r9d, 0x1505
mov al, byte [r8]
test rdx, rdx
jne 0x401483
test al, al
jne 0x401497
jmp 0x4014b3
mov r10, r8
sub r10, rcx
cmp r10, rdx
jae 0x4014b3
test al, al
jne 0x401497
inc r8
jmp 0x40149e
cmp al, 0x60
jbe 0x40149e
sub eax, 0x20
mov r10d, r9d
movzx eax, al
inc r8
shl r10d, 5
add eax, r10d
add r9d, eax
jmp 0x401475
mov eax, r9d
ret
Function at 0x140003ee0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rsi, rdx
mov rdi, qword [0x1400081f0]
test rdi, rdi
je 0x140004152
movups xmm0, xmmword [0x1400066b0]
movups xmmword [rsp + 0x40], xmm0
mov eax, dword [0x1400066c0]
mov dword [rsp + 0x50], eax
movzx eax, word [0x1400066c4]
mov word [rsp + 0x54], ax
movzx eax, byte [0x1400066c6]
mov byte [rsp + 0x56], al
xor ebx, ebx
mov ecx, ebx
cmp dword [0x140008008], 2
jl 0x14000408a
movdqa xmm5, xmmword [0x1400067a0]
movdqa xmm4, xmmword [0x1400067f0]
movdqa xmm6, xmmword [0x1400067c0]
movdqa xmm0, xmmword [str.2222222222222222_t]
movdqa xmmword [rsp + 0x20], xmm0
lea rdx, [rsp + 0x44]
mov r8d, dword [rsp + 0x20]
nop word [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400067d0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400067d0]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x140003f80
cmp ecx, 0x17
jge 0x1400040ce
movsxd rax, ecx
lea r8, [rsp + 0x40]
add r8, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
sub al, dl
add al, 0x32
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x17
jl 0x1400040a0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140005240
nop
mov r9, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
test rsi, rsi
je 0x14000411b
mov r8, qword [rsp + 0x30]
xor edx, edx
mov rax, rbx
div r8
cmp r8, rdx
jbe 0x140004169
lea rax, [rsp + 0x20]
cmp r9, 0xf
cmova rax, rcx
movzx eax, byte [rax + rdx]
xor byte [rbx + rdi], al
inc rbx
cmp rbx, rsi
jb 0x1400040f2
cmp r9, 0xf
jbe 0x140004152
lea rdx, [r9 + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000414d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000414d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400053d0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
movaps xmm6, xmmword [rsp + 0x60]
mov rsp, r11
pop rdi
ret
call fcn.140005380
nop
int3
Function at 0x140005b78
Capabilities:
Parse pe header

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