joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180005950
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x8a8
mov rax, qword [0x1801d9040]
xor rax, rsp
mov qword [rsp + 0x890], rax
mov dword [rsp + 0x34], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x101
xor r8d, r8d
lea rdx, [0x180147d10]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180005a70
mov dword [rsp + 0x68], 0x3ff
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x6c]
xor r8d, r8d
lea rdx, str.Productid
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.1800073f0
nop
lea rcx, [rsp + 0x30]
call fcn.180003dd0
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.180007300
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.180007360
mov rcx, qword [rsp + 0x38]
mov r9, rcx
mov rcx, qword [rsp + 0x40]
mov r8, qword [rcx]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x8b0]
call fcn.180007fe0
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x70]
call fcn.1800073c0
mov rax, qword [rsp + 0x8b0]
mov rcx, qword [rsp + 0x890]
xor rcx, rsp
call fcn.180143cd0
add rsp, 0x8a8
ret

Function at 0x180005a90
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x8a8
mov rax, qword [0x1801d9040]
xor rax, rsp
mov qword [rsp + 0x890], rax
mov dword [rsp + 0x34], 0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x101
xor r8d, r8d
lea rdx, [0x180147d90]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x180005bb0
mov dword [rsp + 0x68], 0x3ff
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x6c]
xor r8d, r8d
lea rdx, str.CurrentBuild
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x70]
call fcn.1800073f0
nop
lea rcx, [rsp + 0x30]
call fcn.180003dd0
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.180007300
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.180007360
mov rcx, qword [rsp + 0x38]
mov r9, rcx
mov rcx, qword [rsp + 0x40]
mov r8, qword [rcx]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x8b0]
call fcn.180007fe0
mov qword [rsp + 0x58], rax
mov eax, dword [rsp + 0x34]
or eax, 1
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x70]
call fcn.1800073c0
mov rax, qword [rsp + 0x8b0]
mov rcx, qword [rsp + 0x890]
xor rcx, rsp
call fcn.180143cd0
add rsp, 0x8a8
ret
Function at 0x18000e510
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x18014a390]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x10], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x10], 0
je 0x18000e596
mov eax, dword [rsp]
shr eax, 8
mov ecx, dword [rsp]
and ecx, 0xff
mov rdx, qword [rsp + 8]
movzx edx, byte [rdx]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x18]
xor eax, dword [rdx + rcx*4]
mov dword [rsp], eax
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
jmp 0x18000e542
mov eax, dword [rsp]
not eax
add rsp, 0x28
ret

Function at 0x18000e5a0
Capabilities:
Hash data with crc32

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov eax, dword [rsp + 0x40]
not eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 8], rax
lea rax, [0x18014a390]
mov qword [rsp + 0x10], rax
cmp qword [rsp + 0x38], 0
je 0x18000e69b
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x18], rax
mov rax, qword [rsp + 0x38]
dec rax
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x18], 0
je 0x18000e696
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp + 1], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp + 1]
cmp eax, 0x23
jne 0x18000e66b
cmp qword [rsp + 0x38], 2
jb 0x18000e66b
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18000e66b
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18000e66b
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp + 1]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x18000e5e7
jmp 0x18000e724
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
mov byte [rsp], al
mov rax, qword [rsp + 8]
inc rax
mov qword [rsp + 8], rax
movzx eax, byte [rsp]
test eax, eax
je 0x18000e724
movzx eax, byte [rsp]
cmp eax, 0x23
jne 0x18000e6fa
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18000e6fa
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 8]
movzx eax, byte [rcx + rax]
cmp eax, 0x23
jne 0x18000e6fa
mov eax, dword [rsp + 0x40]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
shr eax, 8
mov ecx, dword [rsp + 4]
and ecx, 0xff
movzx edx, byte [rsp]
xor ecx, edx
mov ecx, ecx
mov rdx, qword [rsp + 0x10]
xor eax, dword [rdx + rcx*4]
mov dword [rsp + 4], eax
jmp 0x18000e69b
mov eax, dword [rsp + 4]
not eax
add rsp, 0x28
ret
Function at 0x1800266a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movss dword [rsp + 0x20], xmm3
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x68
xorps xmm2, xmm2
xorps xmm1, xmm1
mov rcx, qword [rsp + 0x70]
call fcn.180009040
nop
mov eax, dword [rsp + 0x78]
and eax, 1
test eax, eax
je 0x18002676c
mov edx, dword [rsp + 0x80]
mov ecx, 0x14
call fcn.180026470
movss dword [rsp + 0x20], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 0x13
call fcn.180026470
movss xmm1, dword [rsp + 0x20]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x28], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 0x12
call fcn.180026470
movss dword [rsp + 0x24], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 0x11
call fcn.180026470
movss xmm1, dword [rsp + 0x24]
subss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [rsp + 0x28]
movaps xmm2, xmm1
movaps xmm1, xmm0
lea rcx, [rsp + 0x44]
call fcn.180009040
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.180009de0
nop
mov eax, dword [rsp + 0x78]
and eax, 2
test eax, eax
je 0x18002680f
mov edx, dword [rsp + 0x80]
mov ecx, 7
call fcn.180026470
movss dword [rsp + 0x2c], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 6
call fcn.180026470
movss xmm1, dword [rsp + 0x2c]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x34], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 5
call fcn.180026470
movss dword [rsp + 0x30], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 4
call fcn.180026470
movss xmm1, dword [rsp + 0x30]
subss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [rsp + 0x34]
movaps xmm2, xmm1
movaps xmm1, xmm0
lea rcx, [rsp + 0x4c]
call fcn.180009040
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.180009de0
nop
mov eax, dword [rsp + 0x78]
and eax, 4
test eax, eax
je 0x1800268b2
mov edx, dword [rsp + 0x80]
mov ecx, 0xb
call fcn.180026470
movss dword [rsp + 0x38], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 0xa
call fcn.180026470
movss xmm1, dword [rsp + 0x38]
subss xmm1, xmm0
movaps xmm0, xmm1
movss dword [rsp + 0x40], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 9
call fcn.180026470
movss dword [rsp + 0x3c], xmm0
mov edx, dword [rsp + 0x80]
mov ecx, 8
call fcn.180026470
movss xmm1, dword [rsp + 0x3c]
subss xmm1, xmm0
movaps xmm0, xmm1
movss xmm1, dword [rsp + 0x40]
movaps xmm2, xmm1
movaps xmm1, xmm0
lea rcx, [rsp + 0x54]
call fcn.180009040
mov rdx, rax
mov rcx, qword [rsp + 0x70]
call fcn.180009de0
nop
movss xmm0, dword [rsp + 0x88]
ucomiss xmm0, dword [0x1801d1284]
jp 0x1800268c6
je 0x1800268eb
mov ecx, 0xe
call fcn.18000d400
movzx eax, al
test eax, eax
je 0x1800268eb
movss xmm1, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x70]
call fcn.180009d90
nop
movss xmm0, dword [rsp + 0x90]
ucomiss xmm0, dword [0x1801d1284]
jp 0x1800268ff
je 0x180026924
mov ecx, 0xf
call fcn.18000d400
movzx eax, al
test eax, eax
je 0x180026924
movss xmm1, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
call fcn.180009d90
nop
mov rax, qword [rsp + 0x70]
add rsp, 0x68
ret
Function at 0x18003a640
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1801d9040]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x38]
call fcn.18002edc0
mov rax, qword [rsp + 0x88]
mov eax, dword [rax]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x10], 0
je 0x18003a69d
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x10]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
jmp 0x18003a6a5
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x3c], eax
mov rcx, qword [rsp + 0x88]
call fcn.18000afe0
movzx eax, al
test eax, eax
je 0x18003a702
mov rax, qword [rsp + 0x88]
cmp qword [rax + 0x78], 0
je 0x18003a702
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x78]
cmp qword [rax + 0x3e0], 0
je 0x18003a702
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x78]
mov rax, qword [rax + 0x3e0]
mov eax, dword [rax + 8]
mov dword [rsp + 0x24], eax
jmp 0x18003a70a
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0xa8]
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x88]
call fcn.18000b120
movzx eax, al
test eax, eax
je 0x18003a749
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 0x58]
mov dword [rsp + 0x28], eax
jmp 0x18003a751
mov dword [rsp + 0x28], 0xffffffff
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x48], al
movzx eax, byte [rsp + 0x90]
mov byte [rsp + 0x49], al
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 8]
and eax, 0x61fc20
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x88]
add rax, 0x40
mov rdx, rax
lea rcx, [rsp + 0x2c]
call fcn.18000a390
mov eax, dword [rax]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x88]
add rax, 0x48
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.18000a390
mov eax, dword [rax]
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x88]
add rax, 0x50
mov rdx, rax
lea rcx, [rsp + 0x34]
call fcn.18000a390
mov eax, dword [rax]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x80]
add rax, 0x20
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.18003baf0
nop
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x88]
cmp qword [rcx + rax + 0x18], 0
je 0x18003a83a
mov eax, dword [rsp + 0x90]
inc eax
mov ecx, 8
imul rcx, rcx, 0
mov r8d, eax
mov rax, qword [rsp + 0x88]
mov rdx, qword [rax + rcx + 0x18]
mov rcx, qword [rsp + 0x80]
call fcn.18003a640
nop
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x88]
cmp qword [rcx + rax + 0x18], 0
je 0x18003a883
mov eax, dword [rsp + 0x90]
inc eax
mov ecx, 8
imul rcx, rcx, 1
mov r8d, eax
mov rax, qword [rsp + 0x88]
mov rdx, qword [rax + rcx + 0x18]
mov rcx, qword [rsp + 0x80]
call fcn.18003a640
nop
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180143cd0
add rsp, 0x78
ret
Function at 0x180059c20
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1801d9040]
xor rax, rsp
mov qword [rsp + 0x60], rax
call fcn.180012d40
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x48]
mov rcx, qword [0x1802045a0]
call qword [sym.imp.USER32.dll_GetClientRect]
nop
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x54]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm0, eax
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x50]
sub ecx, eax
mov eax, ecx
cvtsi2ss xmm1, eax
movaps xmm2, xmm0
lea rcx, [rsp + 0x3c]
call fcn.180009040
mov rax, qword [rax]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 8], rax
movzx eax, byte [0x180201409]
test eax, eax
je 0x180059c9a
call fcn.180059be0
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [0x1802045a8]
mov rcx, qword [rsp + 0x58]
sub rcx, rax
mov rax, rcx
cvtsi2ss xmm0, rax
cvtsi2ss xmm1, qword [0x1802045b0]
divss xmm0, xmm1
mov rax, qword [rsp + 0x20]
movss dword [rax + 0x10], xmm0
mov rax, qword [rsp + 0x58]
mov qword [0x1802045a8], rax
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x180059cfe
mov dword [rsp + 0x28], 1
jmp 0x180059d06
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x28]
mov byte [rax + 0x134], cl
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x180059d35
mov dword [rsp + 0x2c], 1
jmp 0x180059d3d
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x2c]
mov byte [rax + 0x135], cl
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x180059d6c
mov dword [rsp + 0x30], 1
jmp 0x180059d74
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x20]
movzx ecx, byte [rsp + 0x30]
mov byte [rax + 0x136], cl
mov rax, qword [rsp + 0x20]
mov byte [rax + 0x137], 0
call fcn.1800591b0
mov rax, qword [rsp + 0x20]
movzx eax, byte [rax + 0xc8]
test eax, eax
je 0x180059daf
mov dword [rsp + 0x34], 0xffffffff
jmp 0x180059db8
call fcn.180018520
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
cmp dword [reloc.OLEAUT32.dll_VariantCopy], eax
je 0x180059ddc
mov eax, dword [rsp + 0x38]
mov dword [reloc.OLEAUT32.dll_VariantCopy], eax
call fcn.180059080
nop
call fcn.1800593c0
nop
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.180143cd0
add rsp, 0x78
ret
Function at 0x180067600
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 1
je 0x180067623
jmp 0x18006764b
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x50]
lea r8, [0x180066fb0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
mov eax, 1
add rsp, 0x48
ret

Function at 0x18006d090
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1801d9040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov edx, 8
lea rcx, [rsp + 0x50]
call fcn.180001f60
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.18006d330
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.18006d3d0
nop
lea rcx, [rsp + 0x38]
call fcn.18006d290
nop
lea rax, [0x18006d420]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x70]
add rax, 8
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x50]
call fcn.180008530
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x48]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
je 0x18006d153
lea rcx, [rsp + 0x50]
call fcn.180004410
nop
jmp 0x18006d16b
mov rax, qword [rsp + 0x70]
mov dword [rax + 8], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, [rsp + 0x50]
call fcn.18006d290
nop
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180143cd0
add rsp, 0x68
ret

Function at 0x18006d190
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x1801d9040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov edx, 8
lea rcx, [rsp + 0x50]
call fcn.180001f60
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.18006d330
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.18006d3d0
nop
lea rcx, [rsp + 0x38]
call fcn.18006d290
nop
lea rax, [0x18006d4b0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x70]
add rax, 8
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x50]
call fcn.180008530
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x48]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x70]
mov qword [rcx], rax
mov rax, qword [rsp + 0x70]
cmp qword [rax], 0
je 0x18006d253
lea rcx, [rsp + 0x50]
call fcn.180004410
nop
jmp 0x18006d26b
mov rax, qword [rsp + 0x70]
mov dword [rax + 8], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, [rsp + 0x50]
call fcn.18006d290
nop
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.180143cd0
add rsp, 0x68
ret
Function at 0x180086850
Capabilities:
Check for software breakpoints

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0xcd]
test eax, eax
je 0x1800868c9
mov qword [rsp + 0x20], 0
jmp 0x180086881
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xcc
jae 0x1800868bd
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rax]
call fcn.180084f40
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
add rdx, rcx
mov rcx, rdx
mov byte [rcx], al
jmp 0x180086874
mov rax, qword [rsp + 0x40]
mov byte [rax + 0xcd], 0
add rsp, 0x38
ret
Function at 0x18013de50
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x18013de9d
mov eax, 1
jmp 0x18013de9f
xor eax, eax
add rsp, 0x38
ret

Function at 0x18013df90
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
lea r9, [rsp + 0x58]
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call fcn.18013de50
test eax, eax
jne 0x18013dfc7
jmp 0x18013dffd
mov rcx, qword [rsp + 0x50]
call fcn.18013deb0
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
nop
add rsp, 0x38
ret
Function at 0x18013e110
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x2070
call fcn.1801452d0
sub rsp, rax
mov rax, qword [0x1801d9040]
xor rax, rsp
mov qword [rsp + 0x2060], rax
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rsp + 0x2088]
mov rcx, qword [rsp + 0x2080]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x18013e17a
jmp 0x18013e29a
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x1ffe
rep stosb byte [rdi], al
mov dword [rsp + 0x58], 0x1ffe
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x2090]
mov rcx, qword [rsp + 0x40]
call fcn.18013de50
test eax, eax
jne 0x18013e1ce
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x18013e29a
mov dword [rsp + 0x30], 0
jmp 0x18013e1e2
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x30], eax
jae 0x18013e25f
mov eax, dword [rsp + 0x30]
mov dx, 0x80
movzx ecx, word [rsp + rax*2 + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_iswctype]
test eax, eax
je 0x18013e25a
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdqe
lea rcx, str.abcdef012345789
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x38], 0xffffffffffffffff
inc qword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x38]
cmp word [rcx + rdx*2], 0
jne 0x18013e220
mov rcx, qword [rsp + 0x38]
dec rcx
xor edx, edx
div rcx
mov rax, rdx
lea rcx, str.abcdef012345789
mov edx, dword [rsp + 0x30]
movzx eax, word [rcx + rax*2]
mov word [rsp + rdx*2 + 0x60], ax
jmp 0x18013e1d8
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 7
xor r8d, r8d
mov rdx, qword [rsp + 0x2090]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
nop
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x2060]
xor rcx, rsp
call fcn.180143cd0
add rsp, 0x2070
pop rdi
ret
Function at 0x18013e2c0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov rax, qword [0x1801d9040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x18013e315
jmp 0x18013e37b
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov dword [rsp + 0x40], eax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x28], 8
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0xb
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180143cd0
add rsp, 0x50
pop rdi
ret