joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140054ec0
Capabilities:
Create thread

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov ebx, r8d
mov rdi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], r9
mov byte [rsp + 0x3f], 0
mov ecx, 0x50
call fcn.1400731c0
lea rcx, [0x1402617d8]
mov qword [rax], rcx
lea rcx, [rsp + 0x48]
mov qword [rax + 8], rcx
lea rcx, [rsp + 0x40]
mov qword [rax + 0x10], rcx
lea rcx, [rsp + 0xd0]
mov qword [rax + 0x18], rcx
lea rcx, [rsp + 0xd8]
mov qword [rax + 0x20], rcx
lea rcx, [rsp + 0xe0]
mov qword [rax + 0x28], rcx
lea rcx, [rsp + 0xe8]
mov qword [rax + 0x30], rcx
lea rcx, [rsp + 0xf0]
mov qword [rax + 0x38], rcx
lea rcx, [rsp + 0xf8]
mov qword [rax + 0x40], rcx
lea rcx, [rsp + 0x3f]
mov qword [rax + 0x48], rcx
mov qword [rsp + 0x70], rax
lea rsi, [rsp + 0x50]
mov qword [rdi], rsi
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.DLL_SetEvent]
mov rcx, qword [rdi + 8]
mov edx, ebx
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0x102
jne 0x140055019
mov rax, qword [0x1402620f0]
mov rcx, qword [rdi + 0x10]
mov edx, 0x14d
call qword [rax]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [rdi + 0x10], 0
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.DLL_ResetEvent]
lea rbx, [0x140053f00]
mov r14, qword [sym.imp.KERNEL32.DLL_CreateThread]
nop word cs:[rax + rax]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov edx, 0x40000
xor ecx, ecx
mov r8, rbx
mov r9, rdi
call r14
mov qword [rdi + 0x10], rax
test rax, rax
je 0x140054fd0
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.DLL_ResetEvent]
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.DLL_ResetEvent]
mov qword [rdi], 0
xor esi, esi
jmp 0x140055022
cmp byte [rsp + 0x3f], 0
setne sil
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x50]
cmp rdx, rcx
je 0x140055042
test rdx, rdx
je 0x14005504d
mov rax, qword [rdx]
add rax, 0x28
mov rcx, rdx
jmp 0x14005504b
mov rax, qword [rsp + 0x50]
add rax, 0x20
call qword [rax]
mov eax, esi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400550a0
Capabilities:
Create thread

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
mov ebx, r8d
mov rdi, rcx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], r9
mov byte [rsp + 0x3f], 0
mov ecx, 0x40
call fcn.1400731c0
lea rcx, [0x140261950]
mov qword [rax], rcx
lea rcx, [rsp + 0x48]
mov qword [rax + 8], rcx
lea rcx, [rsp + 0x40]
mov qword [rax + 0x10], rcx
lea rcx, [rsp + 0xd0]
mov qword [rax + 0x18], rcx
lea rcx, [rsp + 0xd8]
mov qword [rax + 0x20], rcx
lea rcx, [rsp + 0xe0]
mov qword [rax + 0x28], rcx
lea rcx, [rsp + 0xe8]
mov qword [rax + 0x30], rcx
lea rcx, [rsp + 0x3f]
mov qword [rax + 0x38], rcx
mov qword [rsp + 0x70], rax
lea rsi, [rsp + 0x50]
mov qword [rdi], rsi
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.DLL_SetEvent]
mov rcx, qword [rdi + 8]
mov edx, ebx
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0x102
jne 0x1400551d9
mov rax, qword [0x1402620f0]
mov rcx, qword [rdi + 0x10]
mov edx, 0x14d
call qword [rax]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [rdi + 0x10], 0
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.DLL_ResetEvent]
lea rbx, [0x140053f00]
mov r14, qword [sym.imp.KERNEL32.DLL_CreateThread]
nop word [rax + rax]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov edx, 0x40000
xor ecx, ecx
mov r8, rbx
mov r9, rdi
call r14
mov qword [rdi + 0x10], rax
test rax, rax
je 0x140055190
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.DLL_ResetEvent]
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.DLL_ResetEvent]
mov qword [rdi], 0
xor esi, esi
jmp 0x1400551e2
cmp byte [rsp + 0x3f], 0
setne sil
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x50]
cmp rdx, rcx
je 0x140055202
test rdx, rdx
je 0x14005520d
mov rax, qword [rdx]
add rax, 0x28
mov rcx, rdx
jmp 0x14005520b
mov rax, qword [rsp + 0x50]
add rax, 0x20
call qword [rax]
mov eax, esi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140056370
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x20], 0
lea rdi, [0x1402617ba]
mov rbx, qword [sym.imp.KERNEL32.DLL_CreateEventA]
nop word [rax + rax]
xor ecx, ecx
xor edx, edx
xor r8d, r8d
mov r9, rdi
call rbx
mov qword [rsi + 0x20], rax
test rax, rax
je 0x1400563a0
lea rdi, [0x1402617ba]
nop dword [rax]
xor ecx, ecx
xor edx, edx
xor r8d, r8d
mov r9, rdi
call rbx
mov qword [rsi + 8], rax
test rax, rax
je 0x1400563c0
lea rdi, [0x1402617ba]
nop dword [rax]
xor ecx, ecx
xor edx, edx
xor r8d, r8d
mov r9, rdi
call rbx
mov qword [rsi + 0x18], rax
test rax, rax
je 0x1400563e0
lea rdi, [0x140053f00]
mov rbx, qword [sym.imp.KERNEL32.DLL_CreateThread]
nop word cs:[rax + rax]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov edx, 0x40000
xor ecx, ecx
mov r8, rdi
mov r9, rsi
call rbx
mov qword [rsi + 0x10], rax
test rax, rax
je 0x140056410
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret

Function at 0x140056450
Capabilities:
Create thread

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x78
mov ebx, r8d
mov rdi, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x34], r9d
mov byte [rsp + 0x33], 0
lea rax, [0x140261c68]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x34]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x33]
mov qword [rsp + 0x58], rax
lea rsi, [rsp + 0x40]
mov qword [rsp + 0x60], rsi
mov qword [rcx], rsi
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.KERNEL32.DLL_SetEvent]
mov rcx, qword [rdi + 8]
mov edx, ebx
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0x102
jne 0x140056559
mov rax, qword [0x1402620f0]
mov rcx, qword [rdi + 0x10]
mov edx, 0x14d
call qword [rax]
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [rdi + 0x10], 0
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.DLL_ResetEvent]
lea rbx, [0x140053f00]
mov r14, qword [sym.imp.KERNEL32.DLL_CreateThread]
nop word cs:[rax + rax]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov edx, 0x40000
xor ecx, ecx
mov r8, rbx
mov r9, rdi
call r14
mov qword [rdi + 0x10], rax
test rax, rax
je 0x140056510
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.DLL_ResetEvent]
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.KERNEL32.DLL_ResetEvent]
mov qword [rdi], 0
xor esi, esi
jmp 0x140056562
cmp byte [rsp + 0x33], 0
setne sil
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x40]
cmp rdx, rcx
je 0x140056582
test rdx, rdx
je 0x14005658d
mov rax, qword [rdx]
add rax, 0x28
mov rcx, rdx
jmp 0x14005658b
mov rax, qword [rsp + 0x40]
add rax, 0x20
call qword [rax]
mov eax, esi
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140059fe0
Capabilities:
Get disk information

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, rcx
test r9b, r9b
je 0x14005a029
mov rdi, qword [rsi]
test rdi, rdi
je 0x14005a15e
cmp dword [rdi + 0xc], 0
je 0x14005a162
mov rcx, rsi
mov rdx, rdi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.14005a850
mov rdi, r8
mov rbx, rdx
movzx r13d, byte [rdx]
mov eax, r13d
and al, 1
je 0x14005a040
mov r13, qword [rbx + 8]
jmp 0x14005a043
shr r13, 1
lea r14, [r13 + 1]
movabs rcx, 0x7ffffffffffffff0
cmp r14, rcx
jae 0x14005a195
cmp r14, 0xa
ja 0x14005a07e
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], 0
add r14b, r14b
mov byte [rsp + 0x20], r14b
xor r15d, r15d
jmp 0x14005a0b5
mov r12, r14
or r12, 7
inc r12
js 0x14005a19f
lea rcx, [r12 + r12]
call fcn.1400731c0
mov r15, rax
or r12, 1
mov qword [rsp + 0x20], r12
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
movzx eax, byte [rbx]
and al, 1
mov r14d, r12d
test r14b, 1
lea r12, [rsp + 0x22]
cmove r15, r12
lea r14, [rbx + 2]
mov rdx, r14
test al, al
je 0x14005a0d1
mov rdx, qword [rbx + 0x10]
mov r8, r13
add r8, r13
mov rcx, r15
call sub.msvcrt.dll_memmove
mov dword [r15 + r13*2], 0x5c
test byte [rsp + 0x20], 1
je 0x14005a0f3
mov r12, qword [rsp + 0x30]
mov rcx, r12
call qword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
mov r15d, eax
test byte [rsp + 0x20], 1
je 0x14005a110
mov rcx, qword [rsp + 0x30]
call fcn.140073240
xor ebp, ebp
cmp r15d, 3
jne 0x14005a182
cmp qword [rsi], 0
jne 0x14005a182
test byte [rbx], 1
je 0x14005a127
mov r14, qword [rbx + 0x10]
mov rdx, r14
call fcn.14005a1d0
mov qword [rsi], rax
test rax, rax
je 0x14005a15e
add rax, 0x18
mov rcx, rax
mov rdx, rdi
call fcn.1400761e0
mov rdi, qword [rsi]
cmp dword [rdi + 0xc], 0
je 0x14005a162
mov rcx, rsi
mov rdx, rdi
call fcn.14005a850
mov ebp, eax
jmp 0x14005a182
xor ebp, ebp
jmp 0x14005a182
xor ebp, ebp
mov rdx, rdi
xor r8d, r8d
call fcn.14005a520
test rax, rax
je 0x14005a182
mov rcx, rsi
mov rdx, rdi
call fcn.14005a650
mov bpl, 1
mov eax, ebp
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x20]
call fcn.140002b00
call fcn.140002ba0
mov rsi, rax
test byte [rsp + 0x20], 1
je 0x14005a1b8
mov rcx, qword [rsp + 0x30]
call fcn.140073240
mov rcx, rsi
call fcn.14009d370
int3
Function at 0x14005a1d0
Capabilities:
Get volume information via ioctl
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x58
mov rdi, rdx
mov ecx, 0x300
call fcn.1400731c0
mov rsi, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 0x10], 0
movups xmmword [rax + 0x18], xmm0
movups xmmword [rax + 0x28], xmm0
movups xmmword [rax + 0x38], xmm0
movups xmmword [rax + 0x48], xmm0
mov qword [rax + 0x58], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
mov rcx, rdi
mov edx, 0x80000000
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.DLL_CreateFileW]
mov qword [rsi], rax
cmp rax, 0xffffffffffffffff
je 0x14005a355
mov rdi, rax
lea r8, [rsp + 0x50]
mov rcx, rax
xor edx, edx
xor r9d, r9d
call qword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
lea rdx, [rsi + 0x100]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x4c]
mov rcx, rdi
mov r8d, 0x200
call qword [sym.imp.KERNEL32.DLL_ReadFile]
mov edi, eax
mov rcx, qword [rsi]
mov rax, rsi
add rax, 0x60
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x28], 0x68
mov edx, 0x90064
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.DLL_DeviceIoControl]
mov word [rsi + 0x2fe], 0xaa55
cmp dword [rsp + 0x4c], 0x200
jne 0x14005a361
cmp dword [rsp + 0x48], 0x68
jne 0x14005a361
test edi, edi
je 0x14005a361
test eax, eax
je 0x14005a361
cmp dword [rsi + 0x103], 0x5346544e
jne 0x14005a368
mov dword [rsi + 8], 1
mov eax, dword [rsi + 0x8c]
mov ecx, dword [rsi + 0x90]
mov dword [rsi + 0xcc], eax
mov dword [rsi + 0xc8], ecx
mov byte [rsi + 0xd0], 0
mov rcx, rax
imul rcx, qword [rsi + 0xa0]
mov qword [rsi + 0xe8], rcx
mov qword [rsi + 0xf0], 0
mov qword [rsi + 0xd8], 0
movzx ecx, byte [rsi + 0x140]
imul ecx, eax
mov dword [rsi + 0xf8], ecx
jmp 0x14005a368
mov rcx, rsi
call fcn.140073240
xor esi, esi
jmp 0x14005a368
mov dword [rsi + 8], 0xff99ff99
mov rax, rsi
add rsp, 0x58
pop rdi
pop rsi
ret
Function at 0x14005a380
Capabilities:
Get disk information

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rsi, rcx
test r8b, r8b
je 0x14005a3f0
xor r14d, r14d
xor ebx, ebx
jmp 0x14005a3c0
mov rcx, rsi
mov rdx, rdi
call fcn.14005a850
test al, al
je 0x14005a505
inc r14
cmp r14, 0x20
je 0x14005a4f9
mov rdi, qword [rsi + r14*8]
test rdi, rdi
je 0x14005a3b3
cmp dword [rdi + 0xc], 0
jne 0x14005a3a0
mov rdx, rdi
xor r8d, r8d
call fcn.14005a520
test rax, rax
je 0x14005a507
mov rcx, rsi
mov rdx, rdi
call fcn.14005a650
jmp 0x14005a3b3
mov ebx, edx
call qword [sym.imp.KERNEL32.DLL_GetLogicalDrives]
mov edi, eax
and edi, ebx
lea r13, str._C:_
lea r14, [rsp + 0x26]
mov rbp, qword [sym.imp.USER32.dll_wsprintfW]
mov r15, qword [sym.imp.KERNEL32.DLL_GetDriveTypeW]
xor ebx, ebx
jmp 0x14005a44d
mov rcx, rsi
mov rdx, r12
call fcn.14005a850
test al, al
mov r13, rbp
mov rbp, r15
mov r15, r14
lea r14, [rsp + 0x26]
je 0x14005a505
nop dword [rax + rax]
inc rbx
cmp rbx, 0x20
je 0x14005a4f9
bt edi, ebx
jae 0x14005a440
lea r8d, [rbx + 0x41]
mov rcx, r14
mov rdx, r13
call rbp
mov rcx, r14
call r15
cmp eax, 3
jne 0x14005a440
cmp qword [rsi + rbx*8], 0
jne 0x14005a440
mov r14, r15
mov r15, rbp
mov rbp, r13
lea r13, [rbx + 0x41]
movabs rax, 0x5c002e005c005c
mov qword [rsp + 0x30], rax
mov word [rsp + 0x38], r13w
mov dword [rsp + 0x3a], 0x3a
lea rdx, [rsp + 0x30]
call fcn.14005a1d0
test rax, rax
je 0x14005a4fd
mov r12, rax
mov rcx, rax
add rcx, 0x18
mov edx, r13d
call fcn.140075a20
mov qword [rsi + rbx*8], r12
cmp dword [r12 + 0xc], 0
jne 0x14005a41a
mov rdx, r12
xor r8d, r8d
call fcn.14005a520
test rax, rax
mov r13, rbp
mov rbp, r15
mov r15, r14
lea r14, [rsp + 0x26]
je 0x14005a505
mov rcx, rsi
mov rdx, r12
call fcn.14005a650
jmp 0x14005a440
mov bl, 1
jmp 0x14005a507
mov qword [rsi + rbx*8], 0
xor ebx, ebx
mov eax, ebx
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14005a520
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
test rdx, rdx
je 0x14005a5e2
mov rsi, rdx
cmp dword [rdx + 8], 1
jne 0x14005a5e2
mov rcx, qword [rsi]
mov rdx, qword [rsi + 0xe8]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.DLL_SetFilePointerEx]
mov ecx, dword [rsi + 0xcc]
call fcn.140073230
mov rdi, rax
mov rbx, rax
mov rcx, qword [rsi]
mov r8d, dword [rsi + 0xcc]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x2c]
mov rdx, rax
call qword [sym.imp.KERNEL32.DLL_ReadFile]
movzx eax, word [rdi + 6]
add eax, 0xfffffffe
cmp ax, 2
ja 0x14005a5cd
movzx eax, word [rdi + 4]
add rax, rdi
lea rcx, [rdi + 0x1fe]
mov edx, 1
nop word cs:[rax + rax]
movzx r8d, word [rax + rdx*2]
mov word [rcx], r8w
inc rdx
movzx r8d, word [rbx + 6]
add rcx, 0x200
cmp rdx, r8
jb 0x14005a5b0
movzx eax, word [rbx + 0x14]
add rdi, rax
cmp dword [rbx + rax], 0x80
jne 0x14005a5e6
mov rcx, rdi
jmp 0x14005a605
xor eax, eax
jmp 0x14005a63d
mov eax, dword [rbx + 0x1c]
add eax, 0xfffffffe
nop dword [rax]
mov edx, dword [rdi + 4]
lea rcx, [rdi + rdx]
dec eax
cmp dword [rdi + rdx], 0x80
mov rdi, rcx
jne 0x14005a5f0
mov rax, qword [rcx + 0x30]
mov qword [rsi + 0xd8], rax
mov qword [rsi + 0xf0], rbx
mov r8d, dword [rsi + 0xc8]
mov rdx, rax
shr rdx, 0x20
je 0x14005a62e
xor edx, edx
div r8
jmp 0x14005a633
xor edx, edx
div r8d
mov dword [rsi + 0xe0], eax
mov rax, qword [rcx + 0x30]
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
Function at 0x14005ad00
Capabilities:
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov r15d, r9d
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rsp + 0xb0]
mov dword [rsp + 0x30], 0
mov edx, dword [rdx + 0xcc]
imul rdx, r8
mov qword [rsp + 0x40], rdx
mov rcx, qword [rsi]
lea r8, [rsp + 0x44]
xor r14d, r14d
xor r9d, r9d
call qword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov eax, 0
mov ebp, 0
cmp r15d, 0x400
jb 0x14005ae67
mov dword [rsp + 0x34], r15d
shr r15d, 0xa
mov dword [rsp + 0x38], r15d
xor r15d, r15d
xor ebp, ebp
jmp 0x14005ad95
mov ebp, dword [rsp + 0x3c]
add ebp, r14d
inc r15d
cmp r15d, dword [rsp + 0x38]
je 0x14005ae57
mov dword [rsp + 0x3c], ebp
mov rcx, qword [rsi]
mov r8d, dword [rsi + 0xcc]
shl r8d, 0xa
mov qword [rsp + 0x20], 0
mov rdx, rbx
lea r9, [rsp + 0x30]
call qword [sym.imp.KERNEL32.DLL_ReadFile]
mov r14d, dword [rsp + 0x30]
test r14, r14
je 0x14005ad80
lea rbp, [rbx + r14]
mov eax, dword [rsi + 0xc]
lea r12, [rax + rax*2]
shl r12, 5
add r12, qword [rsi + 0x48]
mov r13, rbx
jmp 0x14005adf5
mov eax, dword [rsi + 0xc8]
add r13, rax
add r12, 0x60
inc dword [rsi + 0xc]
cmp r13, rbp
jae 0x14005ad80
movzx eax, word [r13 + 6]
add eax, 0xfffffffe
cmp ax, 2
ja 0x14005ae3d
movzx eax, word [r13 + 4]
add rax, r13
lea rcx, [r13 + 0x1fe]
mov edx, 1
nop word [rax + rax]
movzx r8d, word [rax + rdx*2]
mov word [rcx], r8w
inc rdx
movzx r8d, word [r13 + 6]
add rcx, 0x200
cmp rdx, r8
jb 0x14005ae20
mov rcx, rdi
mov rdx, rsi
mov r8, r13
mov r9, r12
call fcn.14005af60
test al, al
je 0x14005ade0
inc dword [rsi + 0x10]
jmp 0x14005ade0
mov r15d, dword [rsp + 0x34]
mov eax, r15d
and eax, 0xfffffc00
xor r14d, r14d
mov rcx, qword [rsi]
sub r15d, eax
imul r15d, dword [rsi + 0xcc]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x30]
mov rdx, rbx
mov r8d, r15d
call qword [sym.imp.KERNEL32.DLL_ReadFile]
mov r15d, dword [rsp + 0x30]
test r15, r15
je 0x14005af3c
add r15, rbx
mov eax, dword [rsi + 0xc]
lea r14, [rax + rax*2]
shl r14, 5
add r14, qword [rsi + 0x48]
jmp 0x14005aed5
mov eax, dword [rsi + 0xc8]
add rbx, rax
add r14, 0x60
inc dword [rsi + 0xc]
cmp rbx, r15
jae 0x14005af37
movzx eax, word [rbx + 6]
add eax, 0xfffffffe
cmp ax, 2
ja 0x14005af1d
movzx eax, word [rbx + 4]
add rax, rbx
lea rcx, [rbx + 0x1fe]
mov edx, 1
nop word cs:[rax + rax]
movzx r8d, word [rax + rdx*2]
mov word [rcx], r8w
inc rdx
movzx r8d, word [rbx + 6]
add rcx, 0x200
cmp rdx, r8
jb 0x14005af00
mov rcx, rdi
mov rdx, rsi
mov r8, rbx
mov r9, r14
call fcn.14005af60
test al, al
je 0x14005aec0
inc dword [rsi + 0x10]
jmp 0x14005aec0
mov r14d, dword [rsp + 0x30]
add r14d, ebp
mov eax, r14d
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14005c780
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xe8
mov ebp, 0xffffff53
test rcx, rcx
je 0x14005c970
mov rbx, rdx
test rdx, rdx
je 0x14005c970
mov edi, r8d
test r8d, r8d
je 0x14005c962
cmp edi, 0x10000
ja 0x14005c970
mov rsi, rcx
mov ebp, 0xffffff39
cmp byte [rcx + 0x18], 1
jne 0x14005c970
mov rcx, qword [rsi + 0x10]
mov rdx, rbx
mov r8d, edi
call fcn.14005c980
mov ebp, eax
cmp eax, 2
jne 0x14005c950
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [0x140262440]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 0x80
mov dword [rsp + 0x30], 0x20
mov dword [rsp + 0x20], 0x30
lea r9, str.c63w
mov ecx, 1
xor edx, edx
xor r8d, r8d
call fcn.14005d1d0
test eax, eax
jne 0x14005c959
pxor xmm0, xmm0
mov eax, 0xc
lea rcx, [0x140262460]
pxor xmm2, xmm2
pxor xmm1, xmm1
nop word cs:[rax + rax]
movdqa xmm3, xmmword [rax + rcx - 0xc]
mov edx, dword [rax + rcx - 8]
pxor xmm3, xmmword [rsp + rax + 0x54]
xor edx, dword [rsp + rax + 0x58]
movd xmm4, edx
punpcklbw xmm3, xmm0
punpcklwd xmm3, xmm0
por xmm3, xmm2
punpcklbw xmm4, xmm0
punpcklwd xmm4, xmm0
por xmm4, xmm1
mov edx, dword [rax + rcx - 4]
mov r8d, dword [rax + rcx]
xor edx, dword [rsp + rax + 0x5c]
movd xmm2, edx
xor r8d, dword [rsp + rax + 0x60]
movd xmm1, r8d
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
por xmm2, xmm3
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
por xmm1, xmm4
add rax, 0x10
cmp rax, 0x8c
jne 0x14005c860
por xmm1, xmm2
pxor xmm0, xmm0
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
cmp eax, 0xffff
jne 0x14005c959
lea rdx, [rsp + 0x60]
mov rcx, rsi
mov r8d, 0x24
call fcn.14005d120
mov ebp, 1
test eax, eax
jne 0x14005c941
lea rcx, [rsp + 0x60]
mov edx, 0x24
call fcn.14005bfc0
mov ebp, eax
test eax, eax
jne 0x14005c941
mov rcx, qword [rsi + 0x10]
lea rdx, [rsp + 0x64]
mov r8d, 0x20
call fcn.14005bea0
mov ebp, eax
test eax, eax
jne 0x14005c941
mov rcx, qword [rsi + 0x10]
mov rdx, rbx
mov r8d, edi
call fcn.14005c980
mov ebp, eax
lea rcx, [rsp + 0x60]
mov edx, 0x24
call fcn.14005c660
test ebp, ebp
je 0x14005c970
cmp ebp, 3
jne 0x14005c966
mov ebp, 0xffffff2f
mov al, 3
jmp 0x14005c96d
xor ebp, ebp
jmp 0x14005c970
mov ebp, 0xffffff39
mov al, 2
mov byte [rsi + 0x18], al
mov eax, ebp
add rsp, 0xe8
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x14005d120
Capabilities:
Generate random numbers via winapi

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x1c8
mov esi, r8d
mov rdi, rdx
mov rbx, rcx
mov dword [rsp + 0x20], 0xf0000000
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
je 0x14005d1a9
mov rcx, qword [rbx]
mov edx, esi
mov r8, rdi
call qword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
je 0x14005d1b0
mov rcx, qword [rbx]
xor ebx, ebx
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea r14, [rsp + 0x28]
mov rcx, r14
xor edx, edx
xor r8d, r8d
call fcn.1400a19c0
mov rcx, r14
mov rdx, rdi
mov r8d, esi
call fcn.1400a1a30
mov rcx, r14
mov rdx, rdi
mov r8d, esi
call fcn.1400a1dc0
mov rcx, r14
call fcn.1400a2970
jmp 0x14005d1b5
mov ebx, 0xffffff99
jmp 0x14005d1b5
mov ebx, 0xffffff98
mov eax, ebx
add rsp, 0x1c8
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140065490
Capabilities:
Hash data using sha512

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov eax, 0xffffff53
test rcx, rcx
je 0x14006555b
mov rdi, rdx
test rdx, rdx
je 0x14006555b
mov rsi, rcx
call fcn.140065710
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movups xmm3, xmmword [rsi + 0x30]
movups xmmword [rdi + 0x30], xmm3
movups xmmword [rdi + 0x20], xmm2
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
movabs rax, 0x6a09e667f3bcc908
mov qword [rsi], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rsi + 8], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rsi + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rsi + 0x18], rax
movabs rax, 0x510e527fade682d1
mov qword [rsi + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rsi + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rsi + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rsi + 0x38], rax
mov dword [rsi + 0xc0], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0xc8], xmm0
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret

Function at 0x140065570
Capabilities:
Hash data using sha512

Disassembly:
test rcx, rcx
je 0x14006560a
mov qword [rcx + 0xd8], 0
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 8], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x10], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x18], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x20], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x28], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x30], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rcx + 0x38], rax
mov dword [rcx + 0xc0], 0
xorps xmm0, xmm0
movups xmmword [rcx + 0xc8], xmm0
xor eax, eax
ret
mov eax, 0xffffff53
ret

Function at 0x140065640
Capabilities:
Hash data using sha384

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov eax, 0xffffff53
test rcx, rcx
je 0x140065703
mov rdi, rdx
test rdx, rdx
je 0x140065703
mov rsi, rcx
call fcn.140065710
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movups xmmword [rdi + 0x20], xmm2
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi], xmm0
movabs rax, 0xcbbb9d5dc1059ed8
mov qword [rsi], rax
movabs rax, 0x629a292a367cd507
mov qword [rsi + 8], rax
movabs rax, 0x9159015a3070dd17
mov qword [rsi + 0x10], rax
movabs rax, 0x152fecd8f70e5939
mov qword [rsi + 0x18], rax
movabs rax, 0x67332667ffc00b31
mov qword [rsi + 0x20], rax
movabs rax, 0x8eb44a8768581511
mov qword [rsi + 0x28], rax
movabs rax, 0xdb0c2e0d64f98fa7
mov qword [rsi + 0x30], rax
movabs rax, 0x47b5481dbefa4fa4
mov qword [rsi + 0x38], rax
mov dword [rsi + 0xc0], 0
xorps xmm0, xmm0
movups xmmword [rsi + 0xc8], xmm0
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret