joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402580
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x00419900]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x004198e0]
test rbx, rbx
je 0x4025d4
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x4025cb
test r12, r12
je 0x4025cb
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x4025b0
lea rcx, [0x00419900]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x402800
Capabilities:
Parse pe header

Disassembly:
cmp word [rcx], 0x5a4d
jne 0x402810
jmp sym._ValidateImageBase.part.0
xor eax, eax
ret

Function at 0x402820
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x402865
dec ecx
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp r8, rdx
ja 0x40285c
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x402867
add rax, 0x28
cmp rax, r9
jne 0x402848
xor eax, eax
ret

Function at 0x402910
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r10, qword [0x004163f0]
xor r8d, r8d
cmp word [r10], 0x5a4d
mov r9, rcx
jne 0x402981
mov rcx, r10
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402981
movsxd rax, dword [r10 + 0x3c]
mov rcx, r9
sub rcx, r10
add r10, rax
movzx eax, word [r10 + 0x14]
lea r8, [r10 + rax + 0x18]
movzx eax, word [r10 + 6]
test eax, eax
je 0x40297e
dec eax
lea rax, [rax + rax*4]
lea r9, [r8 + rax*8 + 0x28]
mov edx, dword [r8 + 0xc]
mov rax, rdx
cmp rcx, rdx
jb 0x402975
add eax, dword [r8 + 8]
cmp rcx, rax
jb 0x402981
add r8, 0x28
cmp r8, r9
jne 0x402960
xor r8d, r8d
mov rax, r8
add rsp, 0x28
ret

Function at 0x402a60
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x004163f0]
xor eax, eax
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x402acf
mov rcx, r9
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402acf
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
movzx edx, word [r9 + 6]
lea rax, [r9 + rax + 0x18]
test edx, edx
je 0x402acd
dec edx
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x402ac4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x402ad8
add rax, 0x28
cmp rax, r9
jne 0x402ab0
xor eax, eax
add rsp, 0x28
ret
mov eax, dword [rax + 0x24]
not eax
shr eax, 0x1f
add rsp, 0x28
ret
Function at 0x402af0
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r11, qword [0x004163f0]
xor r9d, r9d
cmp word [r11], 0x5a4d
mov r8d, ecx
jne 0x402b68
mov rcx, r11
call sym._ValidateImageBase.part.0
test eax, eax
je 0x402b68
movsxd rcx, dword [r11 + 0x3c]
add rcx, r11
mov eax, dword [rcx + 0x90]
test eax, eax
je 0x402b68
movzx edx, word [rcx + 0x14]
lea rdx, [rcx + rdx + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x402b68
dec ecx
lea rcx, [rcx + rcx*4]
lea r10, [rdx + rcx*8 + 0x28]
nop word [rax + rax]
mov r9d, dword [rdx + 0xc]
mov rcx, r9
cmp rax, r9
jb 0x402b5c
add ecx, dword [rdx + 8]
cmp rax, rcx
jb 0x402b70
add rdx, 0x28
cmp rdx, r10
jne 0x402b48
xor r9d, r9d
mov rax, r9
add rsp, 0x28
ret
add rax, r11
jmp 0x402b7f
dec r8d
add rax, 0x14
mov ecx, dword [rax + 4]
test ecx, ecx
jne 0x402b8d
mov edx, dword [rax + 0xc]
test edx, edx
je 0x402b65
test r8d, r8d
jg 0x402b78
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
add rsp, 0x28
ret
Function at 0x14000212c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x1400021a3
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x1400021a3
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140002190
cmp rbx, rcx
jae 0x1400021a3
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x14000217b
cmp rbx, rcx
jae 0x1400021a3
movzx eax, word [rbx]
neg ax
sbb rax, rax
and rax, rbx
jmp 0x1400021a5
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14000251c
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rdx
mov rbx, rcx
mov rdi, qword [rcx + 0x10]
test rdi, rdi
je 0x1400025af
mov rbx, qword [rcx]
cmp qword [rdi], 0
je 0x140002588
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1400025a8
lea rdx, str.RegDeleteKeyTransactedA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400025a8
and qword [rsp + 0x28], 0
mov rdx, qword [rdi]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rbx
call rax
jmp 0x140002598
cmp dword [rdi + 8], 0
je 0x1400025a8
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
nop
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov eax, 1
jmp 0x140002598
cmp byte [0x140160370], 0
jne 0x1400025fa
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x1400025e6
lea rdx, str.RegDeleteKeyExA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, rax
mov qword [0x140160378], rax
jmp 0x1400025ed
mov r10, qword [0x140160378]
mov eax, 1
mov byte [0x140160370], al
jmp 0x140002601
mov r10, qword [0x140160378]
mov rdx, rsi
mov rcx, qword [rbx]
test r10, r10
je 0x140002591
xor r9d, r9d
mov r8d, dword [rbx + 8]
call r10
jmp 0x140002598
Function at 0x140002710
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1401567f8]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r9d, dword [rcx + 8]
xor r14d, r14d
mov rsi, rdx
mov qword [rsp + 0x48], r14
mov r8, rdx
mov qword [rsp + 0x40], r14
mov rdx, qword [rcx]
mov rdi, rcx
or r9d, 0x2001f
mov qword [rsp + 0x50], r14
lea rcx, [rsp + 0x40]
call fcn.140002618
jmp 0x14000277c
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.140002710
mov rcx, qword [rsp + 0x40]
mov ebx, eax
test eax, eax
jne 0x1400027ea
lea rax, [rsp + 0x60]
mov dword [rsp + 0x58], 0x100
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x30], r14
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], r14
xor edx, edx
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x14000276d
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400027d3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], r14
mov rdx, rsi
mov dword [rsp + 0x48], r14d
mov rcx, rdi
call fcn.14000251c
mov rcx, qword [rsp + 0x40]
mov ebx, eax
test rcx, rcx
je 0x1400027f5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400b7620
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140007400
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r13
push r15
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x1401567f8]
xor rax, rsp
mov qword [rbp - 8], rax
mov rax, qword gs:[0x58]
mov rbx, rdx
mov r13d, 4
mov esi, 0xdff7
mov dword [rbp - 0x20], 0xf72e47f1
mov dword [rbp - 0x1c], 0x93badf9b
mov rdi, qword [rax]
mov dword [rbp - 0x18], 0xd7debfe3
mov dword [rbp - 0x14], 0x89e1a3
mov dword [rbp - 0x10], 0xf76547aa
mov eax, dword [rdi + r13]
cmp dword [0x140160814], eax
jle 0x1400074bf
lea rcx, [0x140160814]
call fcn.1400b77a0
cmp dword [0x140160814], 0xffffffff
jne 0x1400074bf
movups xmm0, xmmword [rbp - 0x20]
mov eax, dword [rbp - 0x10]
lea rcx, [0x1400fece8]
mov byte [0x140160886], 1
movups xmmword [0x140160870], xmm0
mov dword [0x140160880], eax
mov word [0x140160884], si
call fcn.1400b7e90
lea rcx, [0x140160814]
call fcn.1400b7740
xor esi, esi
lea rdx, [0x140160870]
cmp byte [0x140160886], sil
je 0x1400074ff
mov r8d, esi
mov cl, r8b
movabs rax, 0xe1d7bf93dff74797
and cl, 7
shl cl, 3
shr rax, cl
xor word [rdx + r8*2], ax
inc r8
cmp r8, 0xb
jb 0x1400074d4
mov byte [0x140160886], sil
mov rcx, rbx
call fcn.1400227c0
cmp rax, 0xffffffffffffffff
jne 0x14000768c
mov eax, dword [rdi + r13]
mov r15d, 0x5791
cmp dword [0x1401605b0], eax
mov dword [rbp - 0x20], 0x370c57b0
mov dword [rbp - 0x1c], 0x1f3f7b74
mov dword [rbp - 0x18], 0x7febbf5e
mov dword [rbp - 0x14], 0xbee53e
jle 0x140007586
lea rcx, [0x1401605b0]
call fcn.1400b77a0
cmp dword [0x1401605b0], 0xffffffff
jne 0x140007586
movups xmm0, xmmword [rbp - 0x20]
lea rcx, [0x1400fecc8]
mov byte [0x140161002], 1
mov word [0x140161000], r15w
movups xmmword [0x140160ff0], xmm0
call fcn.1400b7e90
lea rcx, [0x1401605b0]
call fcn.1400b7740
cmp byte [0x140161002], sil
lea rdx, [0x140160ff0]
movabs r15, 0xe57fbf1f7b375791
je 0x1400075c7
mov r8, rsi
mov cl, r8b
mov rax, r15
and cl, 7
shl cl, 3
shr rax, cl
xor word [rdx + r8*2], ax
inc r8
cmp r8, 9
jb 0x1400075a3
mov byte [0x140161002], sil
mov rcx, rbx
call fcn.1400227c0
cmp rax, 0xffffffffffffffff
je 0x140007688
mov eax, dword [rdi + r13]
mov r12d, 0xbf1f
cmp dword [0x140160c5c], eax
mov dword [rbp - 0x20], 0x61a957ca
mov dword [rbp - 0x1c], 0x1f260970
jle 0x140007640
lea rcx, [0x140160c5c]
call fcn.1400b77a0
cmp dword [0x140160c5c], 0xffffffff
jne 0x140007640
mov rax, qword [rbp - 0x20]
lea rcx, [0x1400feca8]
mov qword [0x140160f78], rax
mov byte [0x140160f82], 1
mov word [0x140160f80], r12w
call fcn.1400b7e90
lea rcx, [0x140160c5c]
call fcn.1400b7740
cmp byte [0x140160f82], sil
lea rdx, [0x140160f78]
je 0x140007677
mov r8, rsi
mov cl, r8b
mov rax, r15
and cl, 7
shl cl, 3
shr rax, cl
xor word [rdx + r8*2], ax
inc r8
cmp r8, 5
jb 0x140007653
mov byte [0x140160f82], sil
mov rcx, rbx
call fcn.1400227c0
cmp rax, 0xffffffffffffffff
setne al
jmp 0x14000768e
xor al, al
jmp 0x14000768e
mov al, 1
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400b7620
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret
Function at 0x14000c1ec
Capabilities:
Hash data with md5

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x120]
sub rsp, 0x220
mov rax, qword [0x1401567f8]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor r14d, r14d
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], setsockopt
mov byte [rcx], r14b
test rdx, rdx
je 0x14000c3e7
test r8d, r8d
je 0x14000c3e7
mov qword [rsp + 0x50], 0x80
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
movdqa xmm0, xmmword [0x14013e030]
movdqa xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r14
mov dword [rbp - 0x58], 0x67452301
mov dword [rbp - 0x54], 0xefcdab89
mov dword [rbp - 0x50], 0x98badcfe
mov dword [rbp - 0x4c], 0x10325476
mov r9d, r8d
mov r8, rdx
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x50]
call fcn.14000b7bc
mov byte [rbp], r14b
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 1]
call fcn.1400ba120
lea r8, [rbp]
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x50]
call fcn.14000b8a4
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], setsockopt
mov byte [rsp + 0x28], r14b
mov dword [rsp + 0x20], 3
lea edx, [r14 + 0x20]
lea rcx, [rsp + 0x28]
call fcn.14002a6b0
mov qword [rsp + 0x38], r14
mov esi, r14d
movzx ebx, byte [rbp + rsi]
mov eax, ebx
shr rax, 4
mov r8b, byte [rbp + rax - 0x70]
mov edx, 1
lea rcx, [rsp + 0x28]
call fcn.14002296c
and ebx, 0xf
mov r8b, byte [rbp + rbx - 0x70]
mov edx, 1
lea rcx, [rsp + 0x28]
call fcn.14002296c
inc rsi
cmp rsi, 0x10
jb 0x14000c319
lea r9, [rsp + 0x28]
cmp qword [rsp + 0x40], 0x10
cmovae r9, qword [rsp + 0x28]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [r9 + rbx], r14b
jne 0x14000c36d
cmp rbx, qword [rdi + 0x18]
ja 0x14000c3a1
mov rsi, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14000c389
mov rsi, qword [rdi]
mov qword [rdi + 0x10], rbx
mov r8, rbx
mov rdx, r9
mov rcx, rsi
call fcn.1400b9a70
mov byte [rsi + rbx], r14b
jmp 0x14000c3ad
mov rdx, rbx
mov rcx, rdi
call fcn.14002a7c0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14000c3e7
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c3e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c407
call fcn.1400b7640
nop
mov rax, rdi
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.1400b7620
add rsp, 0x220
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.1400c9b5c
nop
int3
Function at 0x14000d064
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov rax, qword [0x1401567f8]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, rcx
mov qword [rbp - 0x11], rcx
and qword [rbp - 9], 0
lea rdx, [0x14013b692]
lea rcx, [rbp - 9]
call fcn.140022430
nop
mov ecx, 0x32
mov dword [rbp - 0x15], ecx
call fcn.1400b7ea8
mov r14, rax
mov ecx, dword [rbp - 0x15]
call fcn.1400b7ea8
mov rdi, rax
mov dword [rbp - 1], 1
lea rcx, [rbp + 7]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rbp + 7], 9
je 0x14000d0ee
cmp word [rbp + 7], 6
mov r9d, 0x20019
jne 0x14000d0f4
mov r9d, 0x20119
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
lea rax, [rbp - 0x15]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rbp - 1]
xor r8d, r8d
lea rdx, [0x14013b908]
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
or r12, 0xffffffffffffffff
test eax, eax
jne 0x14000d1bf
lea rax, [rbp - 0x15]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 1]
xor r8d, r8d
lea rdx, str.EditionID
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000d1bf
test esi, esi
jne 0x14000d1bf
mov rax, r12
inc rax
cmp byte [r14 + rax], 0
jne 0x14000d175
mov r8d, eax
mov rdx, r14
lea rcx, [rbp - 9]
call fcn.14002529c
mov r8d, 1
lea rdx, [0x14013b924]
lea rcx, [rbp - 9]
call fcn.14002529c
mov rax, r12
inc rax
cmp byte [rdi + rax], 0
jne 0x14000d1a7
mov r8d, eax
mov rdx, rdi
lea rcx, [rbp - 9]
call fcn.14002529c
mov rcx, r14
call fcn.1400b7640
mov rcx, rdi
call fcn.1400b7640
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
and qword [rbx + 0x10], 0
and qword [rbx + 0x18], 0
mov rdx, qword [rbp - 9]
mov r8, r12
inc r8
cmp byte [rdx + r8], 0
jne 0x14000d1f0
mov rcx, rbx
call fcn.14002aaf4
nop
mov rdx, qword [rbp - 9]
add rdx, 0xffffffffffffffe8
mov ecx, r12d
lock xadd dword [rdx + 0x10], ecx
add ecx, r12d
test ecx, ecx
jg 0x14000d224
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rioctlsocket + 8]
mov rax, rbx
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400b7620
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret
Function at 0x140013b24
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x1401567f8]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rcx
mov qword [rbp - 0x11], rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
lea rcx, [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x1f], xmm0
mov qword [rbp + 0x2f], rax
lea edx, [rax + 0x64]
lea rcx, [rbp + 0x1f]
call fcn.140021bc0
nop
movdqa xmm6, xmmword [0x14013e000]
mov dword [rbp + 0xf], 0xb285c3e3
mov dword [rbp + 0x13], 0x4745f975
mov dword [rbp + 0x17], 0xf38d97f4
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
or rdi, 0xffffffffffffffff
mov eax, dword [rdx + rcx]
cmp dword [0x140160680], eax
jle 0x140013c12
lea rcx, [0x140160680]
call fcn.1400b77a0
cmp dword [0x140160680], edi
jne 0x140013c12
mov word [0x140160f14], 0x145
movups xmmword [0x140160ef8], xmm6
movsd xmm0, qword [rbp + 0xf]
movsd qword [0x140160f08], xmm0
mov eax, dword [rbp + 0x17]
mov dword [0x140160f10], eax
lea rcx, [0x1400ff0e8]
call fcn.1400b7e90
lea rcx, [0x140160680]
call fcn.1400b7740
lea rbx, [0x140160ef8]
cmp byte [0x140160f15], 0
je 0x140013c4c
xor edx, edx
mov cl, dl
and cl, 7
shl cl, 3
movabs rax, 0x7d21cb4597bfa7d1
shr rax, cl
xor byte [rdx + rbx], al
inc rdx
cmp rdx, 0x1d
jb 0x140013c24
mov byte [0x140160f15], 0
movzx eax, word [rbp - 5]
movzx ecx, word [rbp - 7]
movzx r10d, word [rbp - 9]
movzx r11d, word [rbp - 0xb]
movzx r9d, word [rbp - 0xf]
movzx r8d, word [rbp - 0x11]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
mov rdx, rbx
mov rbx, qword [rbp + 0x1f]
mov rcx, rbx
call qword [sym.imp.USER32.dll_wsprintfA]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
and qword [rsi + 0x10], 0
and qword [rsi + 0x18], 0
inc rdi
cmp byte [rbx + rdi], 0
jne 0x140013c9a
mov r8, rdi
mov rdx, rbx
mov rcx, rsi
call fcn.14002aaf4
nop
test rbx, rbx
je 0x140013ce7
mov rdx, qword [rbp + 0x2f]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x140013cdf
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013d14
mov rcx, rbx
call fcn.1400b7640
mov rax, rsi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400b7620
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
call fcn.1400c9b5c
int3
Function at 0x14001df10
Capabilities:
Encode data using xor
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x70
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x1401567f8]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [rdx + 0x18], 0x10
mov rbx, rdx
mov esi, dword [rdx + 0x10]
jb 0x14001df4c
mov rbx, qword [rdx]
mov rax, qword gs:[0x58]
mov r14d, 4
mov dword [rsp + 0x30], 0xc7cd9282
mov rdi, qword [rax]
mov eax, dword [r14 + rdi]
cmp dword [0x1401609e8], eax
jle 0x14001dfb0
lea rcx, [0x1401609e8]
call fcn.1400b77a0
cmp dword [0x1401609e8], 0xffffffff
jne 0x14001dfb0
mov eax, dword [rsp + 0x30]
lea rcx, [0x1400ff68c]
mov dword [0x140160578], eax
mov byte [0x14016057c], 1
call fcn.1400b7e90
lea rcx, [0x1401609e8]
call fcn.1400b7740
cmp byte [0x14016057c], 0
lea r15, [0x140160578]
movabs r12, 0x61f17745c7a9fbe5
je 0x14001dfee
xor edx, edx
mov cl, dl
mov rax, r12
and cl, 7
shl cl, 3
shr rax, cl
xor byte [rdx + r15], al
inc rdx
cmp rdx, 4
jb 0x14001dfcc
mov byte [0x14016057c], 0
mov eax, dword [r14 + rdi]
cmp dword [0x140160f84], eax
movdqa xmm6, xmmword [0x14013dfa0]
mov dword [rsp + 0x48], 0xa4dfa888
jle 0x14001e051
lea rcx, [0x140160f84]
call fcn.1400b77a0
cmp dword [0x140160f84], 0xffffffff
jne 0x14001e051
mov eax, dword [rsp + 0x48]
lea rcx, [0x1400ff694]
mov dword [0x1401608b8], eax
mov word [0x1401608bc], 0x145
movups xmmword [0x1401608a8], xmm6
call fcn.1400b7e90
lea rcx, [0x140160f84]
call fcn.1400b7740
cmp byte [0x1401608bd], 0
lea rdx, [0x1401608a8]
je 0x14001e087
xor r10d, r10d
mov cl, r10b
mov rax, r12
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r10 + rdx], al
inc r10
cmp r10, 0x15
jb 0x14001e064
mov byte [0x1401608bd], 0
mov dword [rsp + 0x28], esi
mov r9d, 1
mov r8, r15
mov qword [rsp + 0x20], rbx
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
sete al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400b7620
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [rsp + 0x60]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x14001e6f4
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x1401567f8]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rdx
mov rdi, rcx
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1f], xmm1
mov r8d, 0x2d
lea rdx, [0x14013bac0]
lea rcx, [rbp + 0xf]
call fcn.14002a4e0
nop
mov r14d, 1
mov dword [rbp - 0x35], r14d
mov dword [rbp - 0x39], 0x800
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x51], xmm1
xor r12d, r12d
mov qword [rbp - 0x41], r12
mov ecx, 0x1004
call fcn.14003080c
mov qword [rbp - 0x51], rax
lea rbx, [rax + 0x1004]
mov qword [rbp - 0x41], rbx
xor edx, edx
mov r8d, 0x1004
mov rcx, rax
call fcn.1400ba120
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x59], r12
lea rcx, [rbp - 0x59]
call fcn.14002bf30
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 1], xmm1
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 8
jb 0x14001e7be
mov rsi, qword [rsi]
mov rdx, rsi
lea rcx, [rbp - 0x11]
call fcn.14002a5d8
nop
cmp qword [rdi + 0x18], 8
jb 0x14001e7d5
mov rdi, qword [rdi]
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rdx, qword [rbp + 0xf]
lea rax, [rbp - 0x39]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x51]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x35]
mov r8, rdi
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x14001e86d
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x21], xmm1
mov rdx, qword [rbp - 0x51]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r12w
jne 0x14001e824
lea rcx, [rbp - 0x31]
call fcn.14002a4e0
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rdx, qword [rbp - 0x11]
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rcx, qword [rbp - 0x31]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea rcx, [rbp - 0x31]
test eax, eax
jne 0x14001e868
call fcn.1400253a8
jmp 0x14001e870
call fcn.1400253a8
mov r14b, r12b
lea rcx, [rbp - 0x11]
call fcn.1400253a8
nop
mov rcx, qword [rbp - 0x51]
test rcx, rcx
je 0x14001e8c3
mov rax, qword [rbp - 0x41]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001e8b2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001e8f2
call fcn.1400b7640
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x51], xmm0
mov qword [rbp - 0x41], r12
lea rcx, [rbp + 0xf]
call fcn.1400253a8
mov al, r14b
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400b7620
mov rbx, qword [rsp + 0x100]
add rsp, 0xc0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400c9b5c
nop