joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b75e0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x1400b7622
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x1400b7669
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x1400b76c2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x1400b7680
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400b7703
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400c6ab2]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400c6ab3]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400b76d0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x1400b867c
Capabilities:
Parse pe header

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

Function at 0x181b43000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0x181b4300a
jmp 0x181b4500f
jmp fcn.18171f058
Function at 0x140019881
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xf8
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140186028]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov rcx, rdx
call fcn.1400618c0
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp ebp, eax
je 0x1400198d0
mov rcx, rdi
call fcn.14001e336
mov ebp, 0x100000
test al, al
je 0x1400198d5
mov ebp, 0x101000
lea r14, [rsp + 0x50]
mov r8d, 0xa0
mov rcx, r14
mov dl, 0xaa
call fcn.14009e4a0
mov rcx, r14
call fcn.1400999a0
mov byte [r14 + 0x22], 1
lea rcx, [rsp + 0x58]
call fcn.140062290
movaps xmm0, xmmword [0x140157be0]
lea r15, [rsp + 0x40]
movaps xmmword [r15], xmm0
mov rcx, r15
mov rdx, rbx
mov r8, r14
call fcn.140099bb0
mov rcx, r15
call fcn.14003fb70
test al, al
je 0x1400199b7
lea rbx, [rsp + 0x38]
mov qword [rbx], 0
mov rcx, rdi
call fcn.1400618a0
mov r14, rax
lea rcx, [rsp + 0x40]
call fcn.1400618a0
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor edi, edi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebp
mov rcx, rax
mov rdx, r15
mov r8, r14
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x1400199b7
mov r14, qword [rsp + 0x38]
cmp qword [rsi], r14
je 0x1400199d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x140019a09
lea rax, [r14 + 1]
cmp rax, 2
jb 0x1400199ad
mov qword [rsi], r14
call fcn.140043c00
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400199d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov edi, 0x80004005
cmovne edi, ecx
lea rcx, [rsp + 0x40]
call fcn.14003fb40
lea rcx, [rsp + 0x50]
call fcn.140099db0
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.14009c350
mov eax, edi
add rsp, 0xf8
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.140043c00
mov rcx, qword [rsi]
call fcn.14003fa10
mov qword [rsi], 0
jmp 0x14001999b
Function at 0x14001a461
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x110
movaps xmmword [rsp + 0x100], xmm6
mov rbx, r9
mov r14, r8
mov rdi, rdx
mov r15, rcx
mov esi, dword [rsp + 0x180]
mov rax, qword [0x140186028]
xor rax, rsp
mov qword [rsp + 0xf8], rax
movaps xmm6, xmmword [0x140157be0]
lea rcx, [rsp + 0xe0]
movaps xmmword [rcx], xmm6
xor edx, edx
call fcn.140097f90
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp eax, esi
je 0x14001a4dd
lea rdx, [rsp + 0xe0]
mov ecx, esi
call fcn.1400190a4
test eax, eax
jns 0x14001a502
mov esi, eax
jmp 0x14001a686
lea rsi, [rsp + 0x50]
mov rcx, rsi
call fcn.140094630
lea rcx, [rsp + 0xe0]
mov rdx, rsi
call fcn.140061850
mov rcx, rsi
call fcn.14003fb40
mov rsi, qword [rsp + 0x170]
movabs r13, 0xaaaaaaaaaaaaaaaa
lea r12, [rsp + 0xc0]
mov qword [r12 + 0x10], r13
movaps xmmword [r12], xmm6
mov rcx, r12
call fcn.140106ab0
mov qword [rsp + 0x20], r12
mov rcx, r15
mov rdx, r14
mov r8, rbx
mov r9, rsi
call fcn.140019494
test eax, eax
js 0x14001a6c7
mov rsi, qword [rsp + 0x178]
lea rbx, [rsp + 0xa0]
mov qword [rbx + 0x10], r13
movaps xmmword [rbx], xmm6
lea rcx, [rsp + 0xc0]
call fcn.1400db7e0
mov rcx, rax
mov rdx, rbx
mov r8, rsi
call fcn.1400659c0
lea rsi, [rsp + 0x50]
movaps xmmword [rsi + 0x40], xmm6
movaps xmmword [rsi + 0x30], xmm6
movaps xmmword [rsi + 0x20], xmm6
movaps xmmword [rsi + 0x10], xmm6
movaps xmmword [rsi], xmm6
mov rcx, rsi
mov rdx, rbx
call fcn.140066190
mov rcx, rsi
mov rdx, rdi
xor r8d, r8d
call fcn.1401076b0
lea r8, [rsp + 0x48]
mov qword [r8], 0
lea rdx, [rsp + 0xe0]
mov rcx, rsi
call fcn.140019881
mov esi, eax
test eax, eax
js 0x14001a6c0
mov rbx, qword [rsp + 0x188]
lea rcx, [rsp + 0xc0]
lea rdi, [rsp + 0x30]
mov rdx, rdi
call fcn.140106ac0
mov rcx, rdi
call fcn.140019cf8
mov rcx, rdi
call fcn.140043f70
mov r14, qword [rsp + 0x48]
lea r15, [r14 + 1]
cmp r15, 2
jb 0x14001a616
call fcn.140043c00
cmp qword [rbx], r14
je 0x14001a649
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [rbx]
inc rax
cmp rax, 2
jae 0x14001a6cb
cmp r15, 2
jb 0x14001a641
mov qword [rbx], r14
call fcn.140043c00
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor edi, edi
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14001a662
call fcn.140043c00
mov rcx, rdi
call fcn.14003fa10
lea rcx, [rsp + 0x50]
call fcn.1400663d0
lea rcx, [rsp + 0xa0]
call fcn.140043f70
lea rcx, [rsp + 0xc0]
call fcn.140106ba0
lea rcx, [rsp + 0xe0]
call fcn.14003fb40
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.14009c350
mov eax, esi
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x110
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rdi, qword [rsp + 0x48]
jmp 0x14001a64b
mov esi, eax
jmp 0x14001a679
call fcn.140043c00
mov rcx, qword [rbx]
call fcn.14003fa10
mov qword [rbx], 0
jmp 0x14001a633
Function at 0x14003f9a0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
cmp qword [rcx], rdx
je 0x14003f9e8
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x14003f9f1
lea rax, [rsi + 1]
cmp rax, 2
jb 0x14003f9d8
mov qword [rdi], rsi
call fcn.140043c00
mov ecx, ebx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetLastError]
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.140043c00
mov rcx, qword [rdi]
call fcn.14003fa10
mov qword [rdi], 0
jmp 0x14003f9c6
Function at 0x140046650
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call fcn.14003fd00
mov qword [rsi], 0
test rax, rax
je 0x1400466a3
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400466d7
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14004669b
mov qword [rsi], rbx
call fcn.140043c00
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rcx, [rsi + 8]
lea rdx, [rdi + 8]
call fcn.140043d00
lea rcx, [rsi + 0x20]
call fcn.14004bec0
mov eax, dword [rdi + 0x24]
mov dword [rsi + 0x24], eax
mov al, byte [rdi + 0x28]
mov byte [rsi + 0x28], al
mov al, byte [rdi + 0x29]
mov byte [rsi + 0x29], al
mov rax, rsi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
call fcn.140043c00
mov rcx, qword [rsi]
call fcn.14003fa10
mov qword [rsi], 0
jmp 0x140046689
Function at 0x140049c00
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
movapd xmmword [rsp + 0x40], xmm6
mov rsi, rcx
mov rax, qword [0x140186028]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
call fcn.14004b9d0
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x20]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_QueryThreadCycleTime]
movsd xmm0, qword [0x14019f3c8]
xorpd xmm6, xmm6
ucomisd xmm0, xmm6
jne 0x140049c5e
jnp 0x140049cc4
ucomisd xmm0, xmm6
jne 0x140049c66
jnp 0x140049cc0
movsd xmm1, qword [rsp + 0x28]
unpcklps xmm1, xmmword [0x14015b140]
subpd xmm1, xmmword [0x14015b150]
movapd xmm2, xmm1
unpckhpd xmm2, xmm1
addsd xmm2, xmm1
divsd xmm2, xmm0
mulsd xmm2, qword [0x140165bc0]
cvttsd2si rax, xmm2
mov qword [rsi], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14009c350
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x140049c98
mov rbx, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov edi, eax
call rbx
mov rcx, rax
mov edx, 2
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x14019f3d8]
mov ecx, dword [0x140195d18]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140049de1
mov eax, dword [0x14019f3e8]
mov ecx, dword [0x140195d18]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140049e1b
rdtsc
mov rbx, rax
mov r14, rdx
xor r12d, r12d
lea r15, [rsp + 0x30]
mov qword [r15], r12
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov r13, qword [r15]
call qword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov qword [r15], r12
lea rdi, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub r13, qword [0x14019f3e0]
cvtsi2sd xmm1, r13
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rdi]
divsd xmm1, xmm0
xorpd xmm0, xmm0
movsd xmm2, qword [0x140165bb8]
ucomisd xmm2, xmm1
ja 0x140049c5e
shl r14, 0x20
or rbx, r14
sub rbx, qword [0x14019f3d0]
movq xmm2, rbx
punpckldq xmm2, xmmword [0x14015b140]
subpd xmm2, xmmword [0x14015b150]
movapd xmm0, xmm2
unpckhpd xmm0, xmm2
addsd xmm0, xmm2
divsd xmm0, xmm1
movsd qword [0x14019f3c8], xmm0
jmp 0x140049c5e
lea rcx, [0x14019f3d8]
call fcn.14009aff0
cmp dword [0x14019f3d8], 0xffffffff
jne 0x140049d0d
rdtsc
shl rdx, 0x20
or rdx, rax
mov qword [0x14019f3d0], rdx
lea rcx, [0x14019f3d8]
call fcn.14009b088
jmp 0x140049d0d
lea rcx, [0x14019f3e8]
call fcn.14009aff0
cmp dword [0x14019f3e8], 0xffffffff
jne 0x140049d32
lea rbx, [rsp + 0x30]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
mov qword [0x14019f3e0], rax
lea rcx, [0x14019f3e8]
call fcn.14009b088
jmp 0x140049d32
Function at 0x14004b100
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
cmp rdx, 1
jne 0x14004b16f
mov rbx, qword [rsi + 8]
mov edi, 2
cmp rbx, 2
jae 0x14004b299
lea rbx, [rsi + 8]
lea rcx, [rdi*8]
call fcn.14009ae90
mov rcx, qword [rsi]
mov qword [rsi], rax
test rcx, rcx
jne 0x14004b168
mov qword [rbx], rdi
xor eax, eax
mov rcx, qword [rsi]
mov qword [rcx + rax*8], 0
inc rax
cmp rdi, rax
jne 0x14004b144
mov r8, qword [rsi + 0x10]
test r8, r8
jne 0x14004b1a1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
call fcn.14009aecc
jmp 0x14004b13f
mov rdi, rdx
lea rax, [rdx - 1]
test rdx, rax
je 0x14004b186
mov rcx, rdi
call fcn.140030f92
mov rdi, rax
mov rbx, qword [rsi + 8]
cmp rdi, rbx
jbe 0x14004b299
mov rax, rdi
shr rax, 0x3d
je 0x14004b123
jmp 0x14004b2b5
lea r10, [rsi + 0x10]
mov rcx, qword [r8 + 8]
mov rax, rdi
shr rax, 1
movabs rdx, 0x5555555555555555
and rdx, rax
mov rax, rdi
sub rax, rdx
movabs rdx, 0x3333333333333333
mov r9, rax
and r9, rdx
shr rax, 2
and rax, rdx
add rax, r9
mov rdx, rax
shr rdx, 4
add rdx, rax
movabs rax, 0xf0f0f0f0f0f0f0f
and rax, rdx
movabs r9, 0x101010101010101
imul r9, rax
shr r9, 0x38
cmp r9, 1
jbe 0x14004b2a9
cmp rcx, rdi
jb 0x14004b21f
mov rax, rcx
xor edx, edx
div rdi
mov rcx, rdx
mov rax, qword [rsi]
mov qword [rax + rcx*8], r10
mov r10, qword [r8]
test r10, r10
je 0x14004b160
lea r11, [rdi - 1]
jmp 0x14004b26d
mov rdx, qword [r10]
mov qword [r8], rdx
mov rdx, qword [rsi]
mov rdx, qword [rdx + rax*8]
mov rdx, qword [rdx]
mov qword [r10], rdx
mov rdx, qword [rsi]
mov rax, qword [rdx + rax*8]
mov qword [rax], r10
mov r10, r8
mov rax, rcx
mov r8, r10
mov r10, qword [r10]
mov rcx, rax
test r10, r10
je 0x14004b160
mov rax, qword [r10 + 8]
cmp r9d, 1
jbe 0x14004b2a4
cmp rax, rdi
jb 0x14004b284
xor edx, edx
div rdi
mov rax, rdx
cmp rax, rcx
je 0x14004b258
mov rdx, qword [rsi]
cmp qword [rdx + rax*8], 0
jne 0x14004b238
mov qword [rdx + rax*8], r8
jmp 0x14004b25b
cmp rdi, rbx
jae 0x14004b160
jmp 0x14004b2ba
and rax, r11
jmp 0x14004b284
lea rax, [rdi - 1]
and rcx, rax
jmp 0x14004b21f
call fcn.1400dc054
mov rax, qword [rsi + 0x18]
test rax, rax
jns 0x14004b2da
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
jmp 0x14004b2df
cvtsi2ss xmm0, rax
divss xmm0, dword [rsi + 0x20]
call fcn.1400cd1a4
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x14015bfa0]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp rbx, 3
jb 0x14004b392
mov rcx, rbx
shr rcx, 1
movabs rdx, 0x5555555555555555
and rdx, rcx
mov rcx, rbx
sub rcx, rdx
movabs rdx, 0x3333333333333333
mov r8, rcx
shr r8, 2
and rcx, rdx
and r8, rdx
add r8, rcx
mov rcx, r8
shr rcx, 4
add rcx, r8
movabs rdx, 0xf0f0f0f0f0f0f0f
and rdx, rcx
movabs rcx, 0x101010101010101
imul rcx, rdx
shr rcx, 0x38
cmp ecx, 1
ja 0x14004b392
lea rcx, [rax - 1]
bsr rcx, rcx
xor ecx, 0x3f
neg cl
mov edx, 1
shl rdx, cl
cmp rax, 2
cmovb rdx, rax
jmp 0x14004b39d
mov rcx, rax
call fcn.140030f92
mov rdx, rax
cmp rdi, rdx
cmova rdx, rdi
cmp rdx, rbx
jae 0x14004b160
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140106ff0
Function at 0x14004e130
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x140186028]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x14007c700]
lea r8, [rsp + 0x20]
mov qword [r8], rax
lea rcx, [0x14019ff28]
lea rdx, [0x14007c690]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x14004e1c2
cmp dword [0x14019ff30], 0
jne 0x14004e1be
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x14019ff34]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x14004e1be
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14009c350
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x14004e1a6
call fcn.1400b07f0
int3

Function at 0x14004e280
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x14004e2a9
xor eax, eax
xor r9d, r9d
nop word [rax + rax]
movzx r10d, byte [rdx + rax]
xor r10b, byte [rcx + rax]
or r9b, r10b
inc rax
cmp r8, rax
jne 0x14004e290
movzx eax, r9b
ret
xor eax, eax
ret
Function at 0x14005ab8c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
test r8, r8
je 0x14005abb7
xor ecx, ecx
lea r9, [0x140171030]
movzx r10d, al
movzx r11d, byte [rdx + rcx]
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
inc rcx
cmp r8, rcx
jne 0x14005ab9c
ret

Function at 0x14005c120
Capabilities:
Reference processor manufacturer constants

Disassembly:
push rsi
push rdi
mov r8, rcx
xor edi, edi
xor ecx, ecx
xor eax, eax
xchg rbx, r9
cpuid
xchg rbx, r9
test eax, eax
jle 0x14005c241
mov r10d, eax
xor ecx, ecx
mov eax, 1
xchg rbx, r9
cpuid
xchg rbx, r9
mov r9d, ecx
mov r11d, edx
mov esi, eax
cmp r10d, 7
jb 0x14005c281
mov eax, 7
xor ecx, ecx
xchg rbx, rdi
cpuid
xchg rbx, rdi
mov r10d, ecx
and edi, 0x20
shr edi, 5
shr r10b, 4
and r10b, 1
mov dword [r8], esi
mov eax, esi
and eax, 0xf
mov dword [r8 + 8], eax
shr esi, 0xc
and esi, 3
mov dword [r8 + 4], esi
mov eax, r11d
shr eax, 0x17
and al, 1
mov byte [r8 + 0xc], al
mov eax, r11d
shr eax, 0x19
and al, 1
mov byte [r8 + 0xd], al
shr r11d, 0x1a
and r11b, 1
mov byte [r8 + 0xe], r11b
mov eax, r9d
and al, 1
mov byte [r8 + 0xf], al
mov eax, r9d
shr eax, 9
and al, 1
mov byte [r8 + 0x10], al
mov eax, r9d
shr eax, 0x13
and al, 1
mov byte [r8 + 0x11], al
mov eax, r9d
shr eax, 0x14
and al, 1
mov byte [r8 + 0x12], al
mov eax, r9d
shr eax, 0x17
and al, 1
mov byte [r8 + 0x13], al
mov eax, r9d
shr eax, 0x1f
mov byte [r8 + 0x1a], al
mov eax, r9d
not eax
test eax, 0x1c000000
jne 0x14005c277
xor ecx, ecx
xgetbv
not eax
test al, 6
sete al
mov byte [r8 + 0x14], al
mov ecx, r9d
shr ecx, 0x19
and cl, 1
mov byte [r8 + 0x17], cl
shr r9d, 0xc
and r9b, 1
mov byte [r8 + 0x15], r9b
test al, al
setne al
and al, dil
mov byte [r8 + 0x16], al
mov byte [r8 + 0x18], r10b
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp eax, 0x80000006
jle 0x14005c27b
xor ecx, ecx
mov eax, 0x80000007
xchg rbx, r9
cpuid
xchg rbx, r9
shr edx, 8
and dl, 1
mov byte [r8 + 0x19], dl
test dl, dl
je 0x14005c289
pop rdi
pop rsi
ret
xor eax, eax
jmp 0x14005c214
mov dl, byte [r8 + 0x19]
jmp 0x14005c270
xor r10d, r10d
jmp 0x14005c17f
cmp byte [r8 + 0x1a], 0
je 0x14005c274
xor ecx, ecx
mov eax, 0x40000000
xchg rbx, r9
cpuid
xchg rbx, r9
cmp r9d, 0x7263694d
jne 0x14005c274
cmp ecx, 0x666f736f
jne 0x14005c274
cmp edx, 0x76482074
jne 0x14005c274
mov byte [r8 + 0x19], 1
jmp 0x14005c274
Function at 0x14005d6e0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x58
movdqa xmmword [rsp + 0x40], xmm10
movdqa xmmword [rsp + 0x30], xmm9
movdqa xmmword [rsp + 0x20], xmm8
movdqa xmmword [rsp + 0x10], xmm7
movdqa xmmword [rsp], xmm6
movdqu xmm4, xmmword [rcx]
movdqu xmm3, xmmword [rcx + 0x10]
movdqu xmm2, xmmword [rcx + 0x20]
movdqu xmm1, xmmword [rcx + 0x30]
movd xmm0, r8d
pxor xmm0, xmm4
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x40
jb 0x14005d7d7
movabs rax, 0x154442bd4
movq xmm4, rax
movdqa xmm5, xmmword [0x14015dcb0]
movdqa xmm6, xmm0
pclmulqdq xmm6, xmm4, 0
movdqa xmm7, xmm3
pclmulqdq xmm7, xmm4, 0
movdqa xmm8, xmm2
pclmulqdq xmm8, xmm4, 0
movdqa xmm9, xmm1
pclmulqdq xmm9, xmm4, 0
pclmulqdq xmm0, xmm5, 0x11
pclmulqdq xmm3, xmm5, 0x11
pclmulqdq xmm2, xmm5, 0x11
pclmulqdq xmm1, xmm5, 0x11
movdqu xmm10, xmmword [rcx]
pxor xmm10, xmm6
pxor xmm0, xmm10
movdqu xmm6, xmmword [rcx + 0x10]
pxor xmm6, xmm7
pxor xmm3, xmm6
movdqu xmm6, xmmword [rcx + 0x20]
pxor xmm6, xmm8
pxor xmm2, xmm6
movdqu xmm6, xmmword [rcx + 0x30]
pxor xmm6, xmm9
pxor xmm1, xmm6
add rdx, 0xffffffffffffffc0
add rcx, 0x40
cmp rdx, 0x3f
ja 0x14005d749
movabs rax, 0x1751997d0
movq xmm4, rax
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm3
movdqa xmm3, xmmword [0x14015dcc0]
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm5, xmm0
pclmulqdq xmm5, xmm4, 0
pxor xmm5, xmm2
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm5
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
cmp rdx, 0x10
jb 0x14005d866
movdqu xmm1, xmmword [rcx]
movdqa xmm2, xmm0
pclmulqdq xmm2, xmm4, 0
pxor xmm2, xmm1
pclmulqdq xmm0, xmm3, 0x11
pxor xmm0, xmm2
add rcx, 0x10
add rdx, 0xfffffffffffffff0
cmp rdx, 0xf
ja 0x14005d83c
movdqa xmm1, xmmword [0x14015dcc0]
pclmulqdq xmm1, xmm0, 1
psrldq xmm0, 8
pxor xmm0, xmm1
pxor xmm1, xmm1
pxor xmm2, xmm2
pblendw xmm2, xmm0, 3
psrldq xmm0, 4
movabs rax, 0x163cd6124
movq xmm3, rax
pclmulqdq xmm3, xmm2, 0
pxor xmm3, xmm0
pxor xmm0, xmm0
pblendw xmm0, xmm3, 3
pclmulqdq xmm0, xmmword [0x14015dcd0], 0x10
pblendw xmm0, xmm1, 0xfc
movabs rax, 0x1db710641
movq xmm1, rax
pclmulqdq xmm1, xmm0, 0
pxor xmm1, xmm3
pextrd eax, xmm1, 1
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
movaps xmm8, xmmword [rsp + 0x20]
movaps xmm9, xmmword [rsp + 0x30]
movaps xmm10, xmmword [rsp + 0x40]
add rsp, 0x58
ret
Function at 0x14005e3b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rdi, r8
mov rsi, rdx
mov r15b, byte [rbp + 0x68]
test byte [r9 + 8], 1
jne 0x14005e41b
mov dl, byte [rbp + 0x60]
movzx r8d, r15b
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
mov dword [rsp + 0x28], r8d
mov byte [rsp + 0x20], dl
mov rdx, rsi
mov r8, rdi
call qword [0x1401af008]
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
mov qword [rsi], rdi
test al, al
jns 0x14005e3fd
call fcn.14009aecc
jmp 0x14005e3fd
lea rbx, [rbp - 0x20]
mov rcx, r9
mov rdx, rbx
call fcn.140031820
lea rdx, [0x14019da08]
mov rcx, rbx
call fcn.14003d98c
mov r14, rax
mov rcx, qword [rbp - 0x20]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
test eax, eax
jne 0x14005e45b
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x1401af008]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x140157be0]
movaps xmmword [rbx], xmm0
mov rax, qword [r14]
xor r15b, 1
movzx ecx, r15b
mov rax, qword [rax + rcx*8 + 0x28]
mov rcx, r14
mov rdx, rbx
call qword [0x1401af008]
movzx eax, byte [rbx + 0x17]
test al, al
js 0x14005e49e
mov edx, eax
and edx, 0x7f
jmp 0x14005e4a2
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
test rdx, rdx
je 0x14005e40d
test al, al
cmovns rcx, rbx
mov r14, rcx
jmp 0x14005e4fe
movzx edx, al
mov rax, qword [rdi]
mov rax, qword [rax + 0x60]
mov rcx, rdi
call qword [0x1401af008]
cmp eax, 0xffffffff
jne 0x14005e4d4
xor edi, edi
inc r14
movzx eax, byte [rbp - 9]
mov edx, eax
and edx, 0x7f
test al, al
mov rcx, qword [rbp - 0x20]
mov r8, rbx
cmovs rdx, qword [rbp - 0x18]
cmovs r8, rcx
add rdx, r8
cmp r14, rdx
je 0x14005e40d
test rdi, rdi
je 0x14005e4d2
mov al, byte [r14]
mov rcx, qword [rdi + 0x30]
cmp rcx, qword [rdi + 0x38]
je 0x14005e4ba
lea rdx, [rcx + 1]
mov qword [rdi + 0x30], rdx
mov byte [rcx], al
jmp 0x14005e4d4

Function at 0x1400614a0
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r15, r9
mov r14, r8
mov rsi, rdx
mov r12, rcx
mov rdi, qword [rsp + 0xd0]
mov rax, qword [0x140186028]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rbx, [rsp + 0x5f]
mov byte [rbx], 0xaa
mov r13, qword [rcx]
lea rdx, str.ReadValue
lea r8, str....._basewin_registry.cc
lea rbp, [rsp + 0x38]
mov rcx, rbp
mov r9d, 0x1a6
call fcn.140043be0
mov rcx, rbx
mov rdx, rbp
mov r8, r13
mov r9d, 1
call fcn.14005bda0
mov rcx, qword [r12]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r14
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov rcx, rbx
call fcn.140075ca0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14009c350
mov eax, esi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret