joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14009ac00
Capabilities:
Get disk information

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0xa0
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rax, qword gs:[0x58]
xor ebp, ebp
mov rdi, rdx
mov dword [rsp + 0x40], ebp
mov edx, Ordinal_27
mov rbx, r8
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1404620b4], eax
jle 0x14009ac9b
lea rcx, [0x1404620b4]
call fcn.14012a4bc
cmp dword [0x1404620b4], 0xffffffff
jne 0x14009ac9b
xor edx, edx
lea rcx, [0x140462150]
mov r8d, 0x88
call fcn.14027b2c0
lea rax, [0x140462158]
mov word [0x140462158], bp
lea rcx, [0x1402b2140]
mov qword [0x140462150], rax
call fcn.14012aba8
lea rcx, [0x1404620b4]
call fcn.14012a45c
test rbx, rbx
je 0x14009adfb
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
je 0x14009adfb
xor eax, eax
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x30], rbp
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x28], rbp
xor r9d, r9d
mov rcx, rbx
mov qword [rsp + 0x50], rax
lea r8d, [rax + 0x20]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov r8, rbx
lea rdx, [0x1403365c0]
lea rcx, [0x140462150]
call fcn.1400c7cc0
cmp word [rsp + 0x50], bp
je 0x14009ad4a
mov r9, rbx
lea r8, [rsp + 0x50]
lea rdx, [0x1403365b0]
lea rcx, [0x140462150]
call fcn.1400c7cc0
jmp 0x14009adfb
lea r8, [0x140336598]
mov qword [rsp + 0xc0], rsi
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call fcn.14005ffc0
mov rsi, rax
test rax, rax
je 0x14009ad97
mov r9, rbx
lea rdx, [0x140336610]
mov r8, rax
lea rcx, [0x140462150]
call fcn.1400c7cc0
mov rcx, rsi
call fcn.14012a2d4
jmp 0x14009adf3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
sub eax, 2
je 0x14009addd
sub eax, 1
je 0x14009add4
sub eax, 1
je 0x14009adcb
sub eax, 1
je 0x14009adc2
cmp eax, 1
jne 0x14009adf3
lea rdx, [0x140336690]
jmp 0x14009ade4
lea rdx, [0x1403366a8]
jmp 0x14009ade4
lea rdx, [0x1403366c8]
jmp 0x14009ade4
lea rdx, str._g0W
jmp 0x14009ade4
lea rdx, [0x1403365f8]
mov r8, rbx
lea rcx, [0x140462150]
call fcn.1400c7cc0
mov rsi, qword [rsp + 0xc0]
lea rcx, [rdi + 8]
or r8d, 0xffffffff
mov qword [rdi], rcx
mov word [rcx], bp
mov rcx, rdi
mov rdx, qword [0x140462150]
call fcn.1400c76f0
mov rax, rdi
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14012a2b0
add rsp, 0xa0
pop rdi
pop rbp
pop rbx
ret
Function at 0x14009d540
Capabilities:
Check if file exists

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0xf0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x128], rbx
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rbx, r8
mov rdi, rdx
mov rbp, rcx
lea rcx, [rdx + 0x5a8]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
test eax, eax
jle 0x14009d67f
movsx eax, bx
mov dword [rsp + 0x40], eax
shr rbx, 0x10
movsx eax, bx
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [rdi]
mov r9d, reloc.WS2_32.dll_setsockopt
lea r8, [rsp + 0x30]
lea rdx, [0x1400c6210]
mov rcx, rdi
call qword [rax + 0x268]
test rax, rax
je 0x14009d67f
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x48]
mov rbx, rax
test rax, rax
je 0x14009d67f
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + gethostname]
mov r10, qword [rbx]
xor r9d, r9d
lea r8, [0x1403370f0]
lea rdx, [0x1400c6350]
mov rcx, rbx
call qword [r10 + 0x268]
mov rbx, rax
test rax, rax
je 0x14009d67f
xor edx, edx
mov r8d, 0x88
lea rcx, [rsp + 0x50]
call fcn.14027b2c0
mov r8, qword [rbx]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [r8 + 0x190]
nop
mov rcx, qword [rsp + 0x50]
call fcn.14004bc80
mov rsi, rax
mov rcx, rax
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14009d66b
mov qword [rsp + 0x20], rbx
mov r9, rdi
lea r8, [rsp + 0x40]
mov rdx, rsi
mov rcx, rbp
call fcn.140090f20
nop
lea rax, [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
cmp rcx, rax
je 0x14009d67f
call fcn.1402804a8
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.14012a2b0
mov rbx, qword [rsp + 0x128]
add rsp, 0xf0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14009ee30
Capabilities:
Check if file exists
Query environment variable

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x170
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x1a8], rbx
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, r8
mov rdi, rcx
mov rcx, qword [rcx + 0xb08]
add rcx, 0x5a8
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
test eax, eax
jle 0x14009f03e
movsx eax, bx
mov dword [rsp + 0x30], eax
shr rbx, 0x10
movsx eax, bx
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rcx, qword [rdi + 0xb08]
test rcx, rcx
jne 0x14009eeb3
mov rcx, qword [rdi + 0x1b8]
mov rax, qword [rcx]
mov r9d, reloc.WS2_32.dll_setsockopt
lea r8, [rsp + 0x20]
lea rdx, [0x1400c6210]
call qword [rax + 0x268]
mov rbx, rax
test rax, rax
je 0x14009f03e
xor edx, edx
mov r8d, 0x88
lea rcx, [rsp + 0x40]
call fcn.14027b2c0
mov r8, qword [rbx]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
mov rdx, qword [rsp + 0x40]
lea r8, str.LabelUISysclearParent
xor esi, esi
mov ecx, esi
nop dword [rax]
movzx eax, word [rdx + rcx*2]
or r15, 0xffffffffffffffff
cmp ax, word [r8 + rcx*2]
jne 0x14009ef38
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [r8 + rcx*2 + 2]
jne 0x14009ef38
add rcx, 2
cmp rcx, 0x16
jne 0x14009ef10
jmp 0x14009ef6e
lea r8, str.LabelUISysclearChild
mov rcx, r15
movzx eax, word [rdx + rcx*2 + 2]
cmp ax, word [r8 + rcx*2 + 2]
jne 0x14009f02c
add rcx, 2
cmp rcx, 0x15
je 0x14009ef6e
movzx eax, word [rdx + rcx*2]
cmp ax, word [r8 + rcx*2]
jne 0x14009f02c
jmp 0x14009ef42
xor edx, edx
mov r8d, 0x88
lea rcx, [rsp + 0xd0]
call fcn.14027b2c0
mov rax, qword [rbx]
lea rdx, [rsp + 0xd0]
mov rcx, rbx
call qword [rax + 0x190]
nop
mov r14, qword [rsp + 0xd0]
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov ebp, eax
test eax, eax
je 0x14009efec
mov eax, 2
mul rbp
cmovo rax, r15
mov rcx, rax
call fcn.14012a2dc
mov rsi, rax
lea r8, [rbp*2]
xor edx, edx
mov rcx, rax
call fcn.14027b2c0
mov r8d, ebp
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14009f00d
xor r9d, r9d
lea r8, [rsp + 0x30]
mov rdx, rsi
mov rcx, rdi
call fcn.140090db0
nop
lea rax, [rsp + 0xd8]
mov rcx, qword [rsp + 0xd0]
cmp rcx, rax
je 0x14009f027
call fcn.1402804a8
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
cmp rdx, rax
je 0x14009f03e
mov rcx, rdx
call fcn.1402804a8
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14012a2b0
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x170
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x14009f650
Capabilities:
Get disk size

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x18]
sub rsp, 0x110
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rbp + 8], rax
mov rbx, rcx
movzx edi, word [0x14045e53c]
xor edx, edx
mov r8d, 0x88
lea rcx, [rsp + 0x70]
call fcn.14027b2c0
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
xor esi, esi
mov word [rsp + 0x78], si
movabs rax, 0x5c003a0058
mov qword [rbp], rax
mov word [rbp], di
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x58]
xor edx, edx
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x14009f742
mov dword [rsp + 0x4c], esi
mov dword [rsp + 0x48], esi
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x54], esi
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x48]
lea rdx, [rsp + 0x4c]
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x14009f742
mov edx, dword [rsp + 0x48]
imul edx, dword [rsp + 0x4c]
mov r8d, dword [rsp + 0x50]
imul r8, rdx
mov qword [rsp + 0x60], r8
mov ecx, dword [rsp + 0x54]
imul rcx, rdx
mov qword [rsp + 0x58], rcx
jmp 0x14009f74c
mov rcx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
mov qword [rbx + 0xb40], r8
mov rax, rcx
sub rax, r8
mov qword [rbx + 0xb48], rax
mov qword [rbx + 0xb38], rcx
test rcx, rcx
je 0x14009f871
mov rax, rcx
lea r10, [0x140443d30]
mov r9, r10
cmp rcx, 0x400
jl 0x14009f7ab
nop word [rax + rax]
cqo
and edx, 0x3ff
add rax, rdx
sar rax, 0xa
add r9, 8
cmp rax, 0x400
jge 0x14009f790
mov r11, qword [r9]
xorps xmm1, xmm1
cvtsi2ss xmm1, rcx
movss xmm3, dword [0x140363bd0]
movss xmm2, dword [0x140363c60]
comiss xmm1, xmm2
jb 0x14009f7d9
nop dword [rax + rax]
mulss xmm1, xmm3
comiss xmm1, xmm2
jae 0x14009f7d0
mov rax, r8
cmp r8, 0x400
jl 0x14009f80b
nop word [rax + rax]
cqo
and edx, 0x3ff
add rax, rdx
sar rax, 0xa
add r10, 8
cmp rax, 0x400
jge 0x14009f7f0
mov rax, qword [r10]
xorps xmm0, xmm0
cvtsi2ss xmm0, r8
comiss xmm0, xmm2
jb 0x14009f829
nop dword [rax + rax]
mulss xmm0, xmm3
comiss xmm0, xmm2
jae 0x14009f820
cvtss2sd xmm0, xmm0
xorps xmm3, xmm3
cvtss2sd xmm3, xmm1
movzx r8d, di
mov qword [rsp + 0x30], rax
movsd qword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], r11
movq r9, xmm3
lea rdx, [0x140337388]
lea rcx, [rsp + 0x70]
call fcn.1400c7cc0
mov rcx, qword [rbx + 0xb00]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x70]
call qword [rax + 0x58]
nop
lea rax, [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
cmp rcx, rax
je 0x14009f885
call fcn.1402804a8
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.14012a2b0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x1400a6350
Capabilities:
Clear windows event logs

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor edx, edx
xor ecx, ecx
xor ebx, ebx
call qword [sym.imp.wevtapi.dll_EvtOpenChannelEnum]
mov rdi, rax
test rax, rax
je 0x1400a6427
lea r9, [rsp + 0x20]
mov qword [rsp + 0x250], rsi
lea r8, [rsp + 0x30]
mov dword [rsp + 0x20], 0x100
mov edx, 0x100
mov rcx, rax
call qword [sym.imp.wevtapi.dll_EvtNextChannelPath]
lea esi, [rbx + 1]
test eax, eax
je 0x1400a63fc
nop word [rax + rax]
xor r9d, r9d
lea rdx, [rsp + 0x30]
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.wevtapi.dll_EvtClearLog]
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 0x100
test eax, eax
lea r8, [rsp + 0x30]
mov edx, 0x100
mov rcx, rdi
cmovne ebx, esi
call qword [sym.imp.wevtapi.dll_EvtNextChannelPath]
test eax, eax
jne 0x1400a63c0
xor r9d, r9d
lea rdx, str.System
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.wevtapi.dll_EvtClearLog]
test eax, eax
mov rcx, rdi
cmovne ebx, esi
call qword [sym.imp.wevtapi.dll_EvtClose]
mov rsi, qword [rsp + 0x250]
mov eax, ebx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14012a2b0
mov rbx, qword [rsp + 0x258]
add rsp, 0x240
pop rdi
ret

Function at 0x1400a6720
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.1400cab50
mov r8b, 1
lea rdx, str.layoutdisks
lea rcx, [rdi + 0x638]
call fcn.1400c8110
mov r8b, 1
mov qword [rdi + 0xa68], rax
lea rdx, str.diskspace
lea rcx, [rdi + 0x638]
call fcn.1400c8110
mov rcx, rdi
mov qword [rdi + 0xa70], rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x1400a70d0
push rdi
sub rsp, 0x240
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.14027b2c0
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x1400a7163
movzx eax, word [rsp + 0x20]
mov qword [rsp + 0x258], rbx
lea rbx, [rsp + 0x20]
test ax, ax
je 0x1400a715b
nop dword [rax + rax]
movzx edx, ax
mov rcx, rdi
call fcn.1400a6d70
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400a7140
lea rbx, [rbx + rax*2]
movzx eax, word [rbx + 2]
add rbx, 2
test ax, ax
jne 0x1400a7130
mov rbx, qword [rsp + 0x258]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14012a2b0
add rsp, 0x240
pop rdi
ret
Function at 0x1400a70d0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.1400cab50
mov r8b, 1
lea rdx, str.layoutdisks
lea rcx, [rdi + 0x638]
call fcn.1400c8110
mov r8b, 1
mov qword [rdi + 0xa68], rax
lea rdx, str.diskspace
lea rcx, [rdi + 0x638]
call fcn.1400c8110
mov rcx, rdi
mov qword [rdi + 0xa70], rax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x1400a70d0
push rdi
sub rsp, 0x240
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call fcn.14027b2c0
lea rdx, [rsp + 0x20]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x1400a7163
movzx eax, word [rsp + 0x20]
mov qword [rsp + 0x258], rbx
lea rbx, [rsp + 0x20]
test ax, ax
je 0x1400a715b
nop dword [rax + rax]
movzx edx, ax
mov rcx, rdi
call fcn.1400a6d70
or rax, 0xffffffffffffffff
nop
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400a7140
lea rbx, [rbx + rax*2]
movzx eax, word [rbx + 2]
add rbx, 2
test ax, ax
jne 0x1400a7130
mov rbx, qword [rsp + 0x258]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14012a2b0
add rsp, 0x240
pop rdi
ret

Function at 0x1400a7af0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x50
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rdx, qword [rcx + 0xc]
mov rbx, rcx
mov rcx, qword [rcx + 4]
xor esi, esi
mov qword [rsp + 0x30], rsi
call fcn.14005fe30
test eax, eax
je 0x1400a7b4d
mov rdx, qword [rbx + 0xc]
lea rax, [rsp + 0x30]
mov rcx, qword [rbx + 4]
mov r9d, 0x20006
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400a7c33
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400a7c33
mov edx, dword [rbx + 0x1c]
mov qword [rsp + 0x68], rdi
sub edx, 1
je 0x1400a7bde
sub edx, 2
je 0x1400a7bbf
cmp edx, 1
je 0x1400a7b97
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rdi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14012a2b0
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rsi
ret
cmp qword [rbx + 0x38], 8
lea rcx, [rbx + 0x20]
mov edi, 4
jb 0x1400a7baa
mov rcx, qword [rcx]
call fcn.14028cfec
mov rcx, qword [rsp + 0x30]
mov dword [rsp + 0x38], eax
lea rax, [rsp + 0x38]
jmp 0x1400a7bf6
mov edi, dword [rbx + 0x30]
lea rcx, [rbx + 0x20]
add edi, edi
cmp qword [rcx + 0x18], 8
jb 0x1400a7bd2
mov rcx, qword [rcx]
call fcn.14004c2f0
mov rcx, qword [rsp + 0x30]
jmp 0x1400a7bf6
cmp qword [rbx + 0x38], 8
mov eax, dword [rbx + 0x30]
lea edi, [rax*2 + 2]
lea rax, [rbx + 0x20]
jb 0x1400a7bf6
mov rax, qword [rax]
mov r9d, dword [rbx + 0x1c]
xor r8d, r8d
mov rdx, qword [rbx + 0x14]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
test rcx, rcx
je 0x1400a7c22
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
test ebx, ebx
cmove esi, eax
mov eax, esi
jmp 0x1400a7b7a
xor eax, eax
jmp 0x1400a7b7f
Function at 0x1400a7c40
Capabilities:
Delete registry value

Disassembly:
push rdi
push r14
sub rsp, 0x268
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rsp + 0x250], rax
movzx eax, byte [rcx + 0x40]
xor r14d, r14d
mov rdi, rcx
test al, al
jne 0x1400a7c75
call fcn.1400a7af0
jmp 0x1400a7de1
cmp al, 1
jne 0x1400a7c8b
mov rdx, qword [rcx + 0xc]
mov rcx, qword [rcx + 4]
call fcn.1400607a0
jmp 0x1400a7de1
cmp al, 2
jne 0x1400a7ca1
mov rdx, qword [rcx + 0xc]
mov rcx, qword [rcx + 4]
call fcn.1400609a0
jmp 0x1400a7de1
mov qword [rsp + 0x288], rbx
cmp al, 3
jne 0x1400a7d50
mov rbx, qword [rcx + 0x65]
cmp rbx, qword [rcx + 0x6d]
je 0x1400a7dd6
mov qword [rsp + 0x290], rbp
mov qword [rsp + 0x260], rsi
nop
cmp qword [rbx + 0x18], 8
jb 0x1400a7cdc
mov rsi, qword [rbx]
jmp 0x1400a7cdf
mov rsi, rbx
mov rdx, qword [rdi + 0xc]
lea rax, [rsp + 0x30]
mov rcx, qword [rdi + 4]
mov r9d, 0x20006
mov r8d, 4
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], r14
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebp, eax
test eax, eax
jne 0x1400a7d29
mov rcx, qword [rsp + 0x30]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x30]
mov ebp, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebp, ebp
mov eax, r14d
sete al
add rbx, 0x20
cmp rbx, qword [rdi + 0x6d]
jne 0x1400a7cd0
mov rsi, qword [rsp + 0x260]
mov rbp, qword [rsp + 0x290]
jmp 0x1400a7dd9
cmp al, 4
jne 0x1400a7dd6
mov rbx, qword [rcx + 0x65]
cmp rbx, qword [rcx + 0x6d]
je 0x1400a7dd6
mov r9, qword [rdi + 0xc]
test r9, r9
je 0x1400a7d97
cmp qword [rbx + 0x18], 8
jb 0x1400a7d77
mov rax, qword [rbx]
jmp 0x1400a7d7a
mov rax, rbx
lea r8, [0x140339578]
mov qword [rsp + 0x20], rax
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.14004ebd0
jmp 0x1400a7dbc
cmp qword [rbx + 0x18], 8
jb 0x1400a7da3
mov r9, qword [rbx]
jmp 0x1400a7da6
mov r9, rbx
lea r8, [0x140339584]
mov edx, 0x104
lea rcx, [rsp + 0x40]
call fcn.14004ebd0
mov rcx, qword [rdi + 4]
lea rdx, [rsp + 0x40]
call fcn.1400607a0
add rbx, 0x20
cmp rbx, qword [rdi + 0x6d]
jne 0x1400a7d62
jmp 0x1400a7dd9
mov eax, r14d
mov rbx, qword [rsp + 0x288]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14012a2b0
add rsp, 0x268
pop r14
pop rdi
ret
Function at 0x1400a7e00
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x70], rsi
xor r9d, r9d
xor esi, esi
mov edx, 0x52e
mov qword [rsp + 0x38], rsi
mov edi, 1
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x30], esi
mov r8, qword [rcx + 0xc]
mov rcx, qword [0x14045df08]
call qword [sym.imp.USER32.dll_PostMessageW]
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x38]
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rcx + 0xc]
mov rcx, qword [rcx + 4]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400a7fa8
mov rdx, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rdx, qword [rdx + 0x14]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400a7fa8
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400a7fa8
add eax, 4
mov qword [rsp + 0x68], rbx
mov ecx, eax
mov dword [rsp + 0x30], eax
call fcn.14012a2dc
mov rbx, rax
test rax, rax
je 0x1400a7fa3
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov rcx, rax
call fcn.14027b2c0
mov rdx, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, qword [rdx + 0x14]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400a7f9b
cmp dword [rsp + 0x30], esi
jbe 0x1400a7f9b
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0x40]
cmp dword [rax + 0x1c], ecx
jne 0x1400a7f9b
sub ecx, edi
je 0x1400a7f80
sub ecx, 2
je 0x1400a7f55
cmp ecx, edi
jne 0x1400a7f9b
cmp qword [rax + 0x38], 8
lea rcx, [rax + 0x20]
jb 0x1400a7f48
mov rcx, qword [rcx]
call fcn.14028cfec
cmp eax, dword [rbx]
jne 0x1400a7f9b
mov edi, esi
jmp 0x1400a7f9b
cmp qword [rax + 0x38], 8
lea rcx, [rax + 0x20]
jb 0x1400a7f63
mov rcx, qword [rcx]
call fcn.14004c2f0
mov r8d, dword [rsp + 0x30]
mov rdx, rbx
mov rcx, rax
call fcn.14027b470
test eax, eax
jne 0x1400a7f9b
mov edi, esi
jmp 0x1400a7f9b
cmp qword [rax + 0x38], 8
lea rcx, [rax + 0x20]
jb 0x1400a7f8e
mov rcx, qword [rcx]
mov rdx, rbx
call fcn.14027c4d8
test eax, eax
cmove edi, esi
mov rcx, rbx
call fcn.14012a2d4
mov rbx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x70]
test rcx, rcx
je 0x1400a7fbd
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14012a2b0
add rsp, 0x50
pop rdi
ret
Function at 0x1400a7fe0
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x270
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov dword [rsp + 0x48], 0x208
xor ebx, ebx
mov qword [rsp + 0x40], rbx
xor r9d, r9d
mov r8, qword [rcx + 0xc]
mov edx, 0x52e
mov rcx, qword [0x14045df08]
call qword [sym.imp.USER32.dll_PostMessageW]
mov rcx, qword [rsp + 0x280]
lea rax, [rsp + 0x40]
lea r9d, [rbx + 8]
mov qword [rsp + 0x20], rax
lea r8d, [rbx + 4]
mov rdx, qword [rcx + 0xc]
mov rcx, qword [rcx + 4]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400a8057
xor eax, eax
jmp 0x1400a809c
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x38], rbx
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], rbx
xor edx, edx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
mov ecx, 1
cmovne ebx, ecx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14012a2b0
add rsp, 0x270
pop rbx
ret

Function at 0x1400a80c0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x480
mov rax, qword [0x1403a8088]
xor rax, rsp
mov qword [rsp + 0x470], rax
xor edi, edi
mov dword [rsp + 0x4c], 0x104
mov qword [rsp + 0x40], rdi
xor r9d, r9d
mov dword [rsp + 0x48], 0x104
mov edx, 0x52e
mov r8, qword [rcx + 0xc]
mov ebx, edi
mov rcx, qword [0x14045df08]
call qword [sym.imp.USER32.dll_PostMessageW]
mov rcx, qword [rsp + 0x490]
lea rax, [rsp + 0x40]
lea r9d, [rdi + 1]
mov qword [rsp + 0x20], rax
lea r8d, [rdi + 4]
mov rdx, qword [rcx + 0xc]
mov rcx, qword [rcx + 4]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400a8149
xor eax, eax
jmp 0x1400a81f3
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x4c]
lea rax, [rsp + 0x50]
xor edx, edx
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x260]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x1400a81e6
inc ebx
cmp dword [rsp + 0x48], edi
ja 0x1400a81e1
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x4c]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x48], 0x104
mov qword [rsp + 0x30], rax
lea r8, [rsp + 0x260]
mov qword [rsp + 0x28], rdi
mov edx, ebx
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x4c], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
jne 0x1400a8188
jmp 0x1400a81e6
mov edi, 1
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.14012a2b0
mov rbx, qword [rsp + 0x498]
add rsp, 0x480
pop rdi
ret