joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140107970
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x140107a94
cmp r8d, 0xff
jne 0x1401079d1
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x1401079bb
lea r8, [0x140000000]
mov r9, qword [r8 + r10*8 + 0x12ed80]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.1400e43a0
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.1400e43a0
cmp r8d, 0xfb
jne 0x1401079e3
lea r9, str.WILL
jmp 0x140107a21
cmp r8d, 0xfc
jne 0x1401079f5
lea r9, str.WONT
jmp 0x140107a21
cmp r8d, 0xfd
jne 0x140107a07
lea r9, [0x14012f7a4]
jmp 0x140107a21
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x140107a7d
cmp r10d, 0x27
jg 0x140107a54
lea r8, [0x140000000]
mov r8, qword [r8 + r10*8 + 0x12f3a0]
test r8, r8
jne 0x140107a64
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.1400e43a0
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x140107a3b
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.1400e43a0
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.1400e43a0
add rsp, 0x38
ret

Function at 0x140107de0
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rcx]
mov edi, r8d
mov esi, edx
mov byte [rax + 0x10], 0xff
xor r9d, r9d
mov byte [rax + 0x11], sil
mov rbx, rcx
mov byte [rax + 0x12], dil
mov rcx, qword [rcx + 0x4c0]
lea rdx, [rax + 0x10]
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x140107e3f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400e4220
mov rcx, qword [rbx]
lea rdx, str.SENT
mov r9d, edi
mov r8d, esi
call fcn.140107970
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140107ff0
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x140108198
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x140108055
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x140108055
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x140108055
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x14010808c
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x1401080e2
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1401080e2
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1401080e2
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1401080e2
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x1401080e2
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.140107aa0
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x140108144
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400e4220
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.140107e70
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x140108190
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400e4220
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140109900
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x140166080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x140109995
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x1401099f6
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.1400e4220
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14011d6e0
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x140109ab1
sub ecx, 1
je 0x140109b24
sub ecx, 1
je 0x140109a60
cmp ecx, 1
je 0x140109a43
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x14013a948]
call fcn.1400e4220
jmp 0x140109b24
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.140109630
test eax, eax
je 0x140109b24
jmp 0x1401099ca
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140109b24
sub rax, rsi
cmp rax, rbp
jae 0x140109b24
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.1400e43a0
jmp 0x140109b24
cmp r8d, 4
jle 0x140109b24
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x140109b24
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1400e4140
mov esi, eax
test eax, eax
je 0x140109b03
mov edx, 5
mov rcx, rbx
call fcn.14010a5f0
mov eax, esi
jmp 0x1401099ca
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400f2a20
mov rcx, r14
call fcn.1400f2d00
test eax, eax
je 0x1401099c8
mov edx, 5
mov rcx, rbx
call fcn.14010a5f0
mov eax, Ordinal_46
jmp 0x1401099ca
Function at 0x14011c8c0
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 0x14011c902
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 0x14011c949
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 0x14011c9a2
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 0x14011c960
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x14011c9e3
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1401328ab]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1401328ac]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x14011c9b0
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 0x14011ca08
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14011ca42
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14011ca47
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14011ca90
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, reloc.WS2_32.dll_accept
cmp byte [rcx + rax], 0
je 0x14011ca90
dec r8
sub rdx, 1
jne 0x14011ca76
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x14011d254
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rdx, rcx
mov ecx, 0x105
call fcn.14011cb20
mov ebx, eax
test eax, eax
jne 0x14011d284
and dword [rsp + 0x38], eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
jmp 0x14011d2e7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14011d2de
test al, 0x10
je 0x14011d2de
bt eax, 0xa
jae 0x14011d2d7
mov r9d, 0x2000000
lea rcx, [rsp + 0x38]
mov r8d, 0x80
mov rdx, rdi
call fcn.14011d2f8
mov rcx, qword [rsp + 0x38]
mov edi, eax
cmp rcx, 0xffffffffffffffff
je 0x14011d2d3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14011d2d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
test edi, edi
jne 0x14011d2de
and dword [rsp + 0x3c], 0
jmp 0x14011d2e3
or dword [rsp + 0x3c], 0xffffffff
mov dword [rsp + 0x38], ebx
mov rax, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14011e788
Capabilities:
Parse pe header

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
lea rcx, [rsp + 0x38]
mov rdx, r9
call fcn.140007b20
mov rdi, qword [rdi]
add rsi, rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
mov word [rsp + 0x68], 0
mov dword [rsp + 0x70], 1
lea rcx, [rsp + 0x78]
lea rdx, [rsp + 0x58]
call fcn.1400023b0
movzx r9d, byte [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x40]
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call sub.ADVAPI32.dll_RegSetValueExW
mov edi, eax
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x140002079
add rdx, rdx
mov r8d, 2
mov rcx, rbx
call fcn.140004d20
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x140002091
mov r8d, 1
mov rcx, rsi
call fcn.140004d20
mov rcx, rdi
shl rcx, 0x20
or rcx, 2
xor eax, eax
test edi, edi
cmovne rax, rcx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400027a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub rsp, 0x58
movaps xmmword [rsp + 0x40], xmm10
movaps xmmword [rsp + 0x30], xmm9
movaps xmmword [rsp + 0x20], xmm8
movaps xmmword [rsp + 0x10], xmm7
movaps xmmword [rsp], xmm6
aesimc xmm0, xmmword [rdx + 0x10]
aesimc xmm1, xmmword [rdx + 0x20]
aesimc xmm2, xmmword [rdx + 0x30]
aesimc xmm3, xmmword [rdx + 0x40]
aesimc xmm4, xmmword [rdx + 0x50]
aesimc xmm5, xmmword [rdx + 0x60]
aesimc xmm6, xmmword [rdx + 0x70]
aesimc xmm7, xmmword [rdx + 0x80]
aesimc xmm8, xmmword [rdx + 0x90]
movaps xmm9, xmmword [rdx]
movaps xmm10, xmmword [rdx + 0xa0]
movaps xmmword [rcx], xmm9
movdqa xmmword [rcx + 0x10], xmm0
movdqa xmmword [rcx + 0x20], xmm1
movdqa xmmword [rcx + 0x30], xmm2
movdqa xmmword [rcx + 0x40], xmm3
movdqa xmmword [rcx + 0x50], xmm4
movdqa xmmword [rcx + 0x60], xmm5
movdqa xmmword [rcx + 0x70], xmm6
movdqa xmmword [rcx + 0x80], xmm7
movdqa xmmword [rcx + 0x90], xmm8
movaps xmmword [rcx + 0xa0], xmm10
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 0x140005a40
Capabilities:
Parse pe header

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
cmp word [rdx], 0x5a4d
jne 0x140005ac2
movsxd rax, dword [rdx + 0x3c]
test rax, rax
je 0x140005ac7
cmp eax, 0x40
jb 0x140005bb7
cmp rax, r8
ja 0x140005bcb
lea rsi, [rdx + rax]
movzx r10d, word [rdx + rax + 0x18]
cmp r10d, 0x20b
je 0x140005acc
mov r9b, 5
cmp r10d, 0x10b
jne 0x140005aeb
mov r9b, 2
cmp dword [rsi], 0x4550
jne 0x140005aeb
mov r9b, 3
cmp word [rsi + 4], 0x14c
jne 0x140005aeb
mov r9b, 4
test byte [rsi + 0x16], 2
je 0x140005aeb
lea r9, [rax + 0xf8]
cmp r9, r8
ja 0x140005be0
xor edi, edi
jmp 0x140005b24
xor r9d, r9d
jmp 0x140005aeb
mov r9b, 1
jmp 0x140005aeb
mov r9b, 2
cmp dword [rsi], 0x4550
jne 0x140005aeb
mov r9b, 3
cmp word [rsi + 4], 0x8664
jne 0x140005aeb
mov r9b, 4
test byte [rsi + 0x16], 2
jne 0x140005b0f
mov byte [rcx], r9b
mov r8d, 2
mov eax, 0x18
mov qword [rcx + rax], r8
mov rax, rcx
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r9, [rax + 0x108]
mov edi, 1
cmp r9, r8
ja 0x140005be0
mov r11, r8
sub r11, r9
movzx ebx, word [rsi + 6]
lea r10d, [rbx*8]
lea r10, [r10 + r10*4]
mov r14, r11
sub r14, r10
jb 0x140005bf5
add rax, 0xffffffffffffffc0
lea r11, [rdx + 0x40]
add r9, rdx
mov r15, rdx
shr r15, 8
add r10, r9
mov ebp, ebx
shr ebp, 8
mov byte [rcx], dl
mov r12, rdx
shr r12, 0x38
mov byte [rcx + 7], r12b
mov r12, rdx
shr r12, 0x28
mov word [rcx + 5], r12w
mov dword [rcx + 1], r15d
mov qword [rcx + 8], r11
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rdi
mov qword [rcx + 0x20], rsi
mov qword [rcx + 0x28], r9
mov byte [rcx + 0x30], bl
mov dword [rcx + 0x31], ebp
mov byte [rcx + 0x37], 0
mov word [rcx + 0x35], 0
mov qword [rcx + 0x38], r10
mov qword [rcx + 0x40], r14
mov qword [rcx + 0x48], rdx
mov eax, 0x50
jmp 0x140005af9
lea r8, [0x140a932d0]
mov ecx, 0x40
mov rdx, rax
call fcn.14009b4b0
lea r9, [0x140a932d0]
mov rcx, rax
mov rdx, r8
mov r8, r9
call fcn.14009b440
lea rax, [0x140a93350]
mov rcx, r9
mov rdx, r8
mov r8, rax
call fcn.14009b3d0
lea r8, [0x140a933d0]
mov rcx, r10
mov rdx, r11
call fcn.14009b3d0
int3
Function at 0x1400069a0
Capabilities:
Query or enumerate registry key

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
mov eax, 0x1060
call fcn.1400ab060
sub rsp, rax
mov rdi, rdx
mov rsi, rcx
mov rax, qword [rdx]
mov ebx, dword [rdx + 8]
mov r14, qword [rax]
mov dword [rsp + 0x44], 0x800
lea r15, [rsp + 0x60]
mov r8d, 0x1000
mov rcx, r15
xor edx, edx
call sub.msvcrt.dll_memset
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x20], xmm0
lea r9, [rsp + 0x44]
mov rcx, r14
mov edx, ebx
mov r8, r15
call sub.ADVAPI32.dll_RegEnumKeyExW
test eax, eax
je 0x140006a1c
cmp eax, 0x103
jne 0x140006a4d
movabs rax, 0x8000000000000000
inc rax
mov qword [rsi], rax
jmp 0x140006a80
mov r8d, dword [rsp + 0x44]
cmp r8, 0x801
jae 0x140006a92
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x60]
call fcn.14008a660
mov rcx, qword [rsp + 0x48]
mov rax, rcx
neg rax
jo 0x140006a61
mov rax, qword [rsp + 0x50]
jmp 0x140006a6b
movabs rcx, 0x8000000000000000
shl rax, 0x20
or rax, 2
jmp 0x140006a70
movabs rax, 0x900000002
mov rdx, qword [rsp + 0x58]
inc ebx
mov dword [rdi + 8], ebx
mov qword [rsi], rcx
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], rdx
mov rax, rsi
add rsp, 0x1060
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rax, [0x140a934c0]
mov edx, 0x800
mov rcx, r8
mov r8, rax
call fcn.14009b440
int3
Function at 0x140006ad0
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x10b8
call fcn.1400ab060
sub rsp, rax
mov rsi, rcx
mov rax, qword [rdx]
mov qword [rsp + 0x70], rdx
mov ecx, dword [rdx + 8]
mov dword [rsp + 0x48], ecx
mov r12, qword [rax]
mov dword [rsp + 0x40], 0x800
lea rcx, [rsp + 0xb8]
mov r8d, 0x1000
xor edx, edx
call sub.msvcrt.dll_memset
mov dword [rsp + 0x44], 0x800
mov dword [rsp + 0x4c], 0
mov rax, qword [0x140ab8648]
movzx eax, byte [rax]
mov ecx, 0x800
mov edx, 1
call fcn.140004d10
test rax, rax
je 0x140006d6f
mov r14, rax
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x50], 0x800
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], 0
lea rsi, [rsp + 0x44]
lea rdi, [rsp + 0x4c]
lea r13, [rsp + 0xb8]
lea rbp, [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x78], rax
sub rbx, rax
nop word cs:[rax + rax]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0
mov rcx, r12
mov edx, dword [rsp + 0x48]
mov r8, r13
mov r9, rbp
call sub.ADVAPI32.dll_RegEnumValueW
cmp eax, 0xea
jne 0x140006c07
inc dword [rsp + 0x40]
mov r8d, dword [rsp + 0x44]
cmp rbx, r8
jae 0x140006ba0
mov qword [rsp + 0x20], 1
mov r9d, 1
lea rcx, [rsp + 0x50]
mov rdx, qword [rsp + 0x78]
call fcn.140008050
mov r14, qword [rsp + 0x58]
jmp 0x140006b83
mov r15d, eax
test eax, eax
je 0x140006c35
cmp r15d, 0x103
mov rdi, qword [rsp + 0x68]
movabs rbx, 0x8000000000000000
jne 0x140006c88
mov sil, 1
mov rdx, qword [rsp + 0x50]
test rdx, rdx
jne 0x140006c9c
jmp 0x140006caa
mov r8d, dword [rsp + 0x40]
cmp r8, 0x801
mov rdi, qword [rsp + 0x68]
movabs rbx, 0x8000000000000000
jae 0x140006d7e
lea rcx, [rsp + 0xa0]
lea rdx, [rsp + 0xb8]
call fcn.14008a660
mov rdx, qword [rsp + 0xa0]
cmp rdx, rbx
jne 0x140006d08
movabs r15, 0xd00000002
jmp 0x140006c90
shl r15, 0x20
or r15, 2
xor esi, esi
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x140006caa
mov r8d, 1
mov rcx, r14
call fcn.140004d20
test sil, sil
je 0x140006cb7
inc rbx
mov rdx, rbx
jmp 0x140006ccb
mov rdx, rbx
mov r9d, dword [rsp + 0x48]
inc r9d
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 8], r9d
mov qword [rdi], rdx
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r8
movaps xmm0, xmmword [rsp + 0x80]
movups xmmword [rdi + 0x18], xmm0
mov rcx, qword [rsp + 0x90]
mov qword [rdi + 0x28], rcx
mov byte [rdi + 0x30], al
mov rax, rdi
add rsp, 0x10b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsp + 0xa8]
mov r8, qword [rsp + 0xb0]
mov eax, dword [rsp + 0x44]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x4c]
cmp eax, 0xb
jbe 0x140006d4d
movabs r15, 0xde00000002
test rdx, rdx
je 0x140006c90
mov r8d, 1
call fcn.140004d20
jmp 0x140006c90
mov r9, qword [rsp + 0x60]
mov qword [rsp + 0x90], r9
movups xmm0, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x80], xmm0
mov r15, rcx
jmp 0x140006cba
mov ecx, 1
mov edx, 0x800
call fcn.140087e60
lea rax, [0x140a934d8]
mov edx, 0x800
mov rcx, r8
mov r8, rax
call fcn.14009b440
ud2
Function at 0x14000a220
Capabilities:
Execute anti-debugging instructions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov r14, r8
mov rsi, rdx
mov r15, rcx
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 8
mov qword [rsp + 0x50], 0
lea rbx, [rdx + rcx]
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x30], xmm0
add r14, rbx
je 0x14000a325
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], r15
mov r8d, 8
xor ebx, ebx
lea r15, [rsp + 0x40]
jmp 0x14000a2b7
mov r8, qword [rsp + 0x48]
shl r13, 0x20
or r12, r13
shl rdi, 0x20
or rbp, rdi
sub rbp, r12
mov qword [r8 + rbx*8], rbp
inc rbx
mov qword [rsp + 0x50], rbx
cmp r14, rbx
je 0x14000a2f5
rdtsc
mov r13, rdx
mov r12, rax
xor eax, eax
xor ecx, ecx
mov r9, rbx
cpuid
xchg rbx, r9
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x34], r9d
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x3c], edx
rdtsc
mov rdi, rdx
mov rbp, rax
cmp rbx, qword [rsp + 0x40]
jne 0x14000a295
mov rcx, r15
call fcn.14000a150
jmp 0x14000a290
mov rcx, qword [rsp + 0x48]
mov eax, dword [rsp + 0x30]
mov eax, dword [rsp + 0x34]
mov eax, dword [rsp + 0x38]
mov eax, dword [rsp + 0x3c]
cmp r14, 1
jne 0x14000a342
mov r14d, 1
mov r15, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
jmp 0x14000a3d0
mov eax, dword [rsp + 0x3c]
mov eax, dword [rsp + 0x38]
mov eax, dword [rsp + 0x30]
mov eax, dword [rsp + 0x34]
mov ecx, 8
xor r14d, r14d
jmp 0x14000a3d0
cmp r14, 0x15
mov r15, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x58]
jae 0x14000a3bd
lea rax, [rcx + r14*8]
lea rdx, [rcx + 8]
mov r8d, 8
jmp 0x14000a383
mov r10, rcx
mov qword [r10], r9
add rdx, 8
add r8, 8
cmp rdx, rax
je 0x14000a3d0
mov r11, qword [rdx - 8]
mov r9, qword [rdx]
cmp r9, r11
jae 0x14000a376
mov r10, r8
nop word cs:[rax + rax]
mov qword [rcx + r10], r11
cmp r10, 8
je 0x14000a370
mov r11, qword [rcx + r10 - 0x10]
add r10, 0xfffffffffffffff8
cmp r9, r11
jb 0x14000a3a0
add r10, rcx
jmp 0x14000a373
lea r8, [rsp + 0x2f]
mov rdi, rcx
mov rdx, r14
call fcn.14000a5d0
mov rcx, rdi
cmp rbx, r15
jb 0x14000a4ba
cmp rbx, r14
ja 0x14000a4ce
test rsi, rsi
je 0x14000a3f3
cmp rsi, 4
jae 0x14000a3f7
xor ebx, ebx
xor eax, eax
jmp 0x14000a455
xor ebx, ebx
jmp 0x14000a46c
mov rax, rsi
and rax, 0xfffffffffffffffc
lea rdx, [rcx + r15*8]
add rdx, 0x10
pxor xmm0, xmm0
xor r8d, r8d
pxor xmm1, xmm1
nop word cs:[rax + rax]
movdqu xmm2, xmmword [rdx + r8*8 - 0x10]
paddq xmm0, xmm2
movdqu xmm2, xmmword [rdx + r8*8]
paddq xmm1, xmm2
add r8, 4
cmp rax, r8
jne 0x14000a420
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rbx, xmm0
cmp rax, rsi
je 0x14000a46c
lea rdx, [rcx + r15*8]
nop dword [rax]
add rbx, qword [rdx + rax*8]
inc rax
cmp rsi, rax
jne 0x14000a460
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x14000a485
shl rdx, 3
mov r8d, 8
call fcn.140004d20
cmp rsi, 1
adc rsi, 0
mov rax, rbx
or rax, rsi
shr rax, 0x20
je 0x14000a4a3
mov rax, rbx
xor edx, edx
div rsi
jmp 0x14000a4a9
mov eax, ebx
xor edx, edx
div esi
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea r8, [0x140a937d0]
mov rcx, r15
mov rdx, rbx
call fcn.14009b4b0
jmp 0x14000a4e0
lea r8, [0x140a937d0]
mov rcx, rbx
mov rdx, r14
call fcn.14009b440
ud2
Function at 0x140011420
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret