joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002cac
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140050310]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r14, rdx
mov r15, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.14001ea40
xor ebx, ebx
mov r9, qword [r15 + 0x30]
lea r8, str.SoftwareSysinternals_sColorMap
mov edx, 0x104
lea rcx, [rbp - 0x80]
call fcn.140001328
lea r8, [rsp + 0x38]
lea rdx, [rbp - 0x80]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x140002ebc
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], 7
mov rcx, r14
call fcn.140026ac0
mov r8, rax
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.1400038e4
mov rsi, qword [r15]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.140001928
mov rdi, qword [rsp + 0x50]
cmp byte [rdi + 0x19], bl
jne 0x140002d84
lea rdx, [rdi + 0x20]
lea rcx, [rsp + 0x58]
call fcn.1400015bc
test al, al
je 0x140002d87
mov rdi, rsi
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140002dc9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002dc4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002ef7
call fcn.14001d3ac
cmp rdi, rsi
je 0x140002eb1
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], bx
mov rcx, r14
call fcn.140026ac0
mov r8, rax
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.1400038e4
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x40]
mov rcx, r15
call fcn.140001928
mov rdi, qword [rsp + 0x50]
cmp byte [rdi + 0x19], bl
jne 0x140002eea
lea rdx, [rdi + 0x20]
lea rcx, [rsp + 0x58]
call fcn.1400015bc
test al, al
jne 0x140002eea
mov eax, dword [rdi + 0x40]
mov dword [rsp + 0x30], eax
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140002e7e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e79
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002ee4
call fcn.14001d3ac
mov r9d, 4
mov dword [rsp + 0x28], r9d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movzx ebx, bl
mov edx, 1
test eax, eax
cmove ebx, edx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14001d350
mov rbx, qword [rsp + 0x2e0]
add rsp, 0x2a0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140026790
nop
lea rcx, str.invalid_map_K__T__key
call fcn.14001e668
nop
call fcn.140026790
int3
Function at 0x1400039e4
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x140050310]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x114
xor ebx, ebx
call fcn.14001ea40
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x140003a3b
cmp dword [rsp + 0x24], 6
ja 0x140003a39
jne 0x140003a3b
cmp dword [rsp + 0x28], ebx
jbe 0x140003a3b
mov bl, 1
mov al, bl
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14001d350
add rsp, 0x150
pop rbx
ret

Function at 0x140003d20
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0x40
xor edi, edi
mov r9d, 0x101
mov qword [rax - 0x18], rdi
xor r8d, r8d
mov dword [rax + 0x18], edi
lea rax, [rax - 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140003da2
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rdx, str.EulaAccepted
lea rax, [rsp + 0x60]
mov dword [rsp + 0x68], 4
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140003da2
cmp dword [rsp + 0x60], edi
setne dil
mov eax, edi
jmp 0x140003da4
xor eax, eax
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140003e4c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x140050310]
xor rax, rsp
mov qword [rsp + 0x250], rax
xor ebx, ebx
mov dword [rsp + 0x30], 0x208
lea r8, [rsp + 0x38]
mov qword [rsp + 0x38], rbx
lea rdx, str.SoftwareMicrosoftwindows_ntcurrentversion
mov dword [rsp + 0x34], ebx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x140003eed
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x40]
xor r8d, r8d
lea rdx, [0x14003df20]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140003ee2
lea rdx, [rsp + 0x40]
lea rcx, str.iotuap
call fcn.140026e34
test eax, eax
lea ecx, [rbx + 1]
cmove ebx, ecx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14001d350
add rsp, 0x260
pop rbx
ret
Function at 0x140003f08
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
mov rbp, rsp
sub rsp, 0x38
xor ebx, ebx
mov dword [rbp + 0x28], 4
lea r8, [rbp + 0x30]
mov qword [rbp + 0x30], rbx
lea rdx, str.SoftwareMicrosoftWindows_NTCurrentVersionServerServerLevels
mov dword [rbp + 0x20], ebx
mov rcx, 0xffffffff80000002
mov dword [rbp + 0x18], ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x140003f88
mov rcx, qword [rbp + 0x30]
lea rax, [rbp + 0x28]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x18]
lea rax, [rbp + 0x20]
xor r8d, r8d
lea rdx, str.NanoServer
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140003f7e
cmp dword [rbp + 0x18], 4
jne 0x140003f7e
lea eax, [rbx + 1]
cmp dword [rbp + 0x20], eax
cmove ebx, eax
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x38
pop rbx
pop rbp
ret

Function at 0x140004740
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor ebx, ebx
mov r12, r8
mov rdi, rdx
mov r13, rcx
mov esi, ebx
lea eax, [rbx + 1]
test rdx, rdx
je 0x140004776
test r8, r8
jne 0x1400047b8
mov edx, eax
lea rcx, str.Shell32.dll
call fcn.140003a58
mov rcx, rax
lea rdx, [0x14003de58]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, rax
test rax, rax
je 0x140004829
lea rdi, [0x140051020]
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
mov rdx, rdi
call rbp
mov r12, rax
mov ebp, ebx
cmp dword [rdi], ebx
jle 0x140004829
mov r14, rbx
lea r15, [r12 + r14*8]
mov rcx, qword [r15]
lea rdx, [0x14003de88]
call fcn.140026e34
test eax, eax
je 0x140004800
mov rcx, qword [r15]
lea rdx, str._accepteula
call fcn.140026e34
test eax, eax
je 0x140004800
mov eax, 1
mov esi, ebx
add ebp, eax
add r14, rax
cmp ebp, dword [rdi]
jl 0x1400047c1
mov r14d, eax
jmp 0x14000482f
mov r14d, 1
mov esi, r14d
jmp 0x140004819
mov rax, qword [r15 + 8]
add ebp, r14d
mov qword [r15], rax
lea r15, [r15 + 8]
mov ecx, dword [rdi]
lea eax, [rcx - 1]
cmp ebp, eax
jl 0x14000480b
lea eax, [rcx - 1]
mov dword [rdi], eax
jmp 0x14000482f
mov r14d, 1
mov edx, esi
mov rcx, r13
call fcn.14000439c
mov rbp, qword [rsp + 0x58]
test eax, eax
cmovne esi, r14d
test esi, esi
mov rsi, qword [rsp + 0x60]
setne bl
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400057e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rbx, r8
mov rdi, rdx
xor r8d, r8d
mov edx, 0x101f
xor r9d, r9d
mov r15, rcx
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0x1200
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbp, rax
mov rcx, 0xffffffffffffffff
lea r12d, [rax*2]
mov eax, 4
mul r12
cmovo rax, rcx
mov rcx, rax
call fcn.14001d460
or dword [rsp + 0x88], 0xffffffff
lea ecx, [rbp*8]
mov r14, rax
mov dword [rsp + 0x30], ecx
lea rax, [rsp + 0x30]
mov rcx, rdi
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x88]
xor r8d, r8d
mov qword [rsp + 0x20], r14
mov rdx, rbx
xor esi, esi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400058eb
cmp dword [rsp + 0x88], 3
jne 0x1400058eb
mov eax, dword [rsp + 0x30]
lea rcx, [r12*4]
cmp rax, rcx
jne 0x1400058eb
mov r8d, ebp
mov edx, 0x103a
mov rcx, r15
lea r9, [r14 + r8*4]
call qword [sym.imp.USER32.dll_SendMessageW]
mov edi, esi
test ebp, ebp
je 0x1400058e8
mov rbx, r14
cmp dword [rbx], esi
je 0x1400058de
movzx r9d, word [rbx]
mov edx, 0x101e
movsxd r8, edi
mov rcx, r15
call qword [sym.imp.USER32.dll_SendMessageW]
inc edi
add rbx, 4
cmp edi, ebp
jb 0x1400058c5
mov sil, 1
mov rcx, r14
call fcn.14001d3ac
mov rbx, qword [rsp + 0x70]
mov al, sil
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x140005910
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r12, rdx
xor r8d, r8d
mov edx, 0x101f
xor r9d, r9d
mov r14, rcx
call qword [sym.imp.USER32.dll_SendMessageW]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
mov edx, 0x1200
call qword [sym.imp.USER32.dll_SendMessageW]
mov rbp, rax
mov rcx, 0xffffffffffffffff
lea edx, [rax*2]
mov eax, 4
mul rdx
cmovo rax, rcx
mov rcx, rax
call fcn.14001d460
mov r8d, ebp
mov edx, 0x103b
mov rcx, r14
mov rsi, rax
lea r9, [rax + r8*4]
call qword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
test ebp, ebp
je 0x1400059c1
mov rdi, rsi
movsxd r8, ebx
xor r9d, r9d
mov edx, 0x101d
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
inc ebx
mov dword [rdi], eax
lea rdi, [rdi + 4]
cmp ebx, ebp
jb 0x1400059a1
lea eax, [rbp*8]
mov r9d, 3
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, r15
mov qword [rsp + 0x20], rsi
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop r12
jmp fcn.14001d3ac
Function at 0x140005f00
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x140050310]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor ebp, ebp
mov rsi, r8
cmp word [0x140051028], bp
mov edi, edx
mov rbx, rcx
jne 0x140005f4d
lea r9d, [rbp + 0x10]
mov ecx, 0x400
lea r8, [0x140051028]
lea edx, [rbp + 0xe]
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov r9, rsi
lea r8, str._I64d
mov edx, 0x32
lea rcx, [rsp + 0x30]
call fcn.140001328
xor r9d, r9d
mov dword [rsp + 0x28], edi
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rbx
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetNumberFormatW]
lea rdx, [0x140051028]
mov rcx, rbx
call fcn.14001fe1c
test rax, rax
je 0x140005f9b
mov word [rax], bp
mov rax, rbx
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.14001d350
mov rbx, qword [rsp + 0xe8]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret

Function at 0x140006164
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x180
mov rax, qword [0x140050310]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov rbx, rcx
test rcx, rcx
je 0x1400061cc
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 4
mov qword [rsp + 0x30], rax
lea r8, [0x14003e1a0]
mov qword [rsp + 0x28], rcx
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
and qword [rsp + 0x20], 0
mov rcx, 0xffffffff80000002
mov r9d, InitCommonControls
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x1400061cc
and dword [rbx], 0
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.RtlGetVersion
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x50]
call rax
mov eax, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14001d350
add rsp, 0x180
pop rbx
ret

Function at 0x140006228
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x14000624b
jne 0x140006247
movzx eax, ax
shr eax, 8
test eax, eax
je 0x14000624b
cmp eax, 1
je 0x14000624b
xor al, al
jmp 0x14000624d
mov al, 1
add rsp, 0x28
ret
Function at 0x1400090b0
Capabilities:
Query service status
Start service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140050310]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rcx], 0
mov rbx, rcx
jne 0x1400091a2
mov rdx, rcx
mov byte [rcx + 0x40], 0
call fcn.14000922c
mov edi, eax
test eax, eax
jns 0x1400091a2
cmp eax, 0xc0000034
jne 0x14000919e
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbp, rax
test rax, rax
je 0x14000919e
mov r8d, 0xf01ff
lea rdx, str.Fileinfo
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
je 0x14000918e
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x140009178
lea rax, [rsp + 0x30]
mov r9d, 0x24
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
cmp dword [rsp + 0x3c], 4
jne 0x14000914d
mov byte [rbx + 0x40], 1
mov rdx, rbx
mov rcx, rbx
call fcn.14000922c
mov rcx, rsi
mov edi, eax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test edi, edi
setns al
jmp 0x1400091a4
xor al, al
jmp 0x1400091a4
mov al, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14001d350
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000a6b8
Capabilities:
Stop service

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140050310]
xor rax, rsp
mov qword [rsp + 0x40], rax
cmp byte [rcx + 0x40], 0
je 0x14000a732
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rbx, rax
test rax, rax
je 0x14000a732
mov r8d, 0xf01ff
lea rdx, str.Fileinfo
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
je 0x14000a729
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.14001d350
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x14000ef54
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
xor r12d, r12d
mov r15, rcx
mov r14d, r12d
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x58]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r8, rax
lea rdx, [rsp + 0x58]
lea rcx, [0x14003e408]
mov rsi, rax
call fcn.140004200
test eax, eax
jne 0x14000efa9
xor al, al
jmp 0x14000f14d
mov edi, 1
cmp dword [rsp + 0x58], edi
jle 0x14000f144
mov rbp, r12
lea rbx, [rsi + 8]
mov rax, qword [rbx]
movzx ecx, word [rax]
call fcn.14002839c
lea ecx, [rax - 0x2d]
test ecx, 0xffffffed
jne 0x14000f0f1
cmp eax, 0x3d
je 0x14000f0f1
mov rax, qword [rbx]
movzx ecx, word [rax + 2]
call fcn.14002839c
cmp eax, 0x45
je 0x14000f063
cmp eax, 0x4f
je 0x14000f024
cmp eax, 0x52
jne 0x14000f164
mov rcx, qword [rbx]
lea rdx, str._run32
call fcn.140026e34
test eax, eax
jne 0x14000f164
mov byte [0x1400515b6], 1
jmp 0x14000f130
inc edi
add rsi, 8
add rbx, 8
cmp edi, dword [rsp + 0x58]
je 0x14000f16b
mov rax, qword [rsi]
lea rcx, [0x140051998]
mov qword [r15 + rbp*8], rax
add r14d, 2
mov rax, qword [rbx]
mov qword [r15 + rbp*8 + 8], rax
mov rdx, qword [rbx]
call fcn.14000d9b4
add rbp, 2
jmp 0x14000f130
mov rcx, qword [rbx]
call fcn.140026ac0
cmp rax, 3
jne 0x14000f164
mov rax, qword [rbx]
movzx ecx, word [rax + 4]
call fcn.140028370
mov edx, eax
lea rcx, str.wmst0
call fcn.14001fda0
test rax, rax
je 0x14000f164
mov rax, qword [rbx]
movzx ecx, word [rax + 4]
call fcn.140028370
sub eax, 0x30
je 0x14000f0ea
sub eax, 0x3d
je 0x14000f0e3
sub eax, 6
je 0x14000f0dc
sub eax, 1
je 0x14000f0d5
cmp eax, 3
je 0x14000f0c7
mov word [0x1400515b4], r12w
jmp 0x14000f130
mov eax, 0x9c93
mov word [0x1400515b4], ax
jmp 0x14000f130
mov eax, 0x9c95
jmp 0x14000f0cc
mov eax, 0x9c97
jmp 0x14000f0cc
mov eax, 0x9c94
jmp 0x14000f0cc
mov eax, 0x9c96
jmp 0x14000f0cc
mov rax, qword [0x140051848]
test rax, rax
je 0x14000f114
mov rcx, qword [rax]
test rcx, rcx
je 0x14000f10d
call qword [sym.imp.OLEAUT32.dll_VariantInit]
jmp 0x14000f110
mov eax, r12d
test eax, eax
jne 0x14000f164
mov rax, qword [rbx]
lea rcx, [0x140051848]
mov qword [r15 + rbp*8], rax
inc r14d
mov rdx, qword [rbx]
inc rbp
call fcn.14000d9b4
inc edi
add rsi, 8
add rbx, 8
cmp edi, dword [rsp + 0x58]
jl 0x14000efbf
movsxd rcx, r14d
mov al, 1
mov qword [r15 + rcx*8], r12
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
call fcn.14001416c
jmp 0x14000f14d
mov r9d, 0x40
lea r8, [0x14003e408]
lea rdx, str.Missing_file_name_for__o_command_line_option.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x14000efa2
Function at 0x140013be8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140050310]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
mov dword [rbp - 0x50], 0x2c
xor ecx, ecx
mov r10, r8
mov qword [rbp - 0x28], rcx
mov rax, rdx
mov dword [rbp - 0x20], ecx
xorps xmm0, xmm0
lea rcx, [rbp - 0x50]
xor r9d, r9d
mov qword [rsp + 0x28], rcx
xor r8d, r8d
lea rcx, [rbp - 0x48]
mov rdx, r10
mov qword [rsp + 0x20], rcx
mov rcx, rax
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140013dbd
cmp dword [rbp - 0x48], 0x2c
jne 0x140013dbd
lea esi, [rax - 0x10]
mov rcx, rdi
mov edx, esi
call qword [sym.imp.USER32.dll_GetWindowLongPtrW]
mov rbx, rax
mov eax, dword [rbp - 0x40]
sub eax, 2
je 0x140013c90
cmp eax, 1
jne 0x140013ca8
btr rbx, 0x1d
bts rbx, 0x18
jmp 0x140013c9a
btr rbx, 0x18
bts rbx, 0x1d
mov r8, rbx
mov edx, esi
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
lea rdx, [rbp - 0x18]
shr rbx, 0x12
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [rbp - 0xc]
mov r8d, dword [rbp - 0x10]
and bl, 1
je 0x140013cd5
mov eax, dword [rbp - 0x24]
mov ecx, r8d
sub ecx, dword [rbp - 0x18]
sub eax, dword [rbp - 0x2c]
cmp eax, ecx
jge 0x140013ce5
sub r8d, dword [rbp - 0x18]
add r8d, dword [rbp - 0x2c]
mov dword [rbp - 0x24], r8d
test bl, bl
je 0x140013cf4
mov eax, dword [rbp - 0x20]
mov ecx, edx
sub ecx, dword [rbp - 0x14]
sub eax, dword [rbp - 0x28]
cmp eax, ecx
jge 0x140013cfd
sub edx, dword [rbp - 0x14]
add edx, dword [rbp - 0x28]
mov dword [rbp - 0x20], edx
mov r14d, 0x4c
mov ecx, r14d
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea ecx, [r14 + 1]
mov esi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea ecx, [r14 + 2]
mov r15d, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, r14d
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0x4f
lea r14d, [rbx + rax]
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, 0x4d
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea r8d, [rbx + rax]
cmp dword [rbp - 0x20], r8d
jle 0x140013d66
sub r8d, dword [rbp - 0x20]
lea rcx, [rbp - 0x2c]
xor edx, edx
call qword [sym.imp.USER32.dll_OffsetRect]
cmp dword [rbp - 0x28], r15d
jge 0x140013d7f
sub r15d, dword [rbp - 0x28]
lea rcx, [rbp - 0x2c]
mov r8d, r15d
xor edx, edx
call qword [sym.imp.USER32.dll_OffsetRect]
cmp dword [rbp - 0x24], r14d
jle 0x140013d99
sub r14d, dword [rbp - 0x24]
lea rcx, [rbp - 0x2c]
mov edx, r14d
xor r8d, r8d
call qword [sym.imp.USER32.dll_OffsetRect]
cmp dword [rbp - 0x2c], esi
jge 0x140013db0
sub esi, dword [rbp - 0x2c]
lea rcx, [rbp - 0x2c]
mov edx, esi
xor r8d, r8d
call qword [sym.imp.USER32.dll_OffsetRect]
lea rdx, [rbp - 0x48]
mov rcx, rdi
call qword [sym.imp.USER32.dll_SetWindowPlacement]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14001d350
mov rbx, qword [rsp + 0xc8]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140013de0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x70
mov rax, qword [0x140050310]
xor rax, rsp
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
mov dword [rsp + 0x30], 0x2c
mov rbx, rdx
xor eax, eax
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x54], rax
movups xmmword [rsp + 0x34], xmm0
mov rdi, r8
movups xmmword [rsp + 0x44], xmm0
call qword [sym.imp.USER32.dll_GetWindowPlacement]
test eax, eax
je 0x140013e51
lea rax, [rsp + 0x30]
mov dword [rsp + 0x28], 0x2c
mov r9d, 3
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14001d350
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop rdi
ret