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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x140099938]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor ebx, ebx
mov rbp, rdx
mov rsi, rcx
mov rcx, qword [rcx + 8]
xor edx, edx
mov word [rsp + 0x20], bx
mov edi, ebx
jmp 0x14004a51b
lea rdx, [rsp + 0x20]
mov r8d, 0x105
mov rcx, rbp
call fcn.14005c5e0
cmp eax, ebx
je 0x14004a532
mov rcx, qword [rsi + 8]
inc edi
mov edx, edi
lea r8, [rsp + 0x20]
mov r9d, 0x105
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, ebx
je 0x14004a4fc
jmp 0x14004a537
mov ebx, 1
mov eax, ebx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14005bad0
mov rbx, qword [rsp + 0x270]
add rsp, 0x240
pop rdi
pop rsi
pop rbp
ret

Function at 0x14004a55c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rcx, qword [rcx + 8]
xor ebx, ebx
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
sete bl
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x14004a58c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rcx, qword [rcx + 8]
xor ebx, ebx
cmp rcx, rbx
jne 0x14004a5a1
xor eax, eax
jmp 0x14004a5c2
lea r9, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
cmove ebx, dword [rsp + 0x40]
mov eax, ebx
add rsp, 0x30
pop rbx
ret

Function at 0x14004a630
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.14004a4c4
test eax, eax
je 0x14004a661
mov rcx, qword [rdi + 8]
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x14004a661
mov eax, 1
jmp 0x14004a663
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x14004a670
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.14004a55c
test eax, eax
je 0x14004a6a1
mov rcx, qword [rdi + 8]
mov rdx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
jne 0x14004a6a1
mov eax, 1
jmp 0x14004a6a3
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14004a6b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
and dword [rax + 0x18], 0
mov rsi, rdx
mov rbx, rcx
call fcn.14004a55c
test eax, eax
jne 0x14004a6de
xor eax, eax
jmp 0x14004a786
mov rcx, qword [rbx + 8]
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
xor r8d, r8d
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r11d, dword [rsp + 0x50]
lea edi, [r11 + 2]
test r11d, r11d
je 0x14004a779
cmp edi, r11d
jbe 0x14004a779
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x14004a727
call fcn.140048b24
and qword [rbx + 0x38], 0
lea rdx, str...CommonRegistry.cpp
mov r8d, 0x292
mov ecx, edi
mov ebp, edi
call fcn.140048afc
mov qword [rbx + 0x38], rax
test rax, rax
je 0x14004a6d7
mov r8, rbp
xor edx, edx
mov rcx, rax
call fcn.14005bb90
mov rax, qword [rbx + 0x38]
mov rcx, qword [rbx + 8]
lea r11, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], r11
mov rdx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, edi
shr rax, 1
mov qword [rbx + 0x40], rax
mov rax, qword [rbx + 0x38]
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x14004a7cc
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
xor ebx, ebx
mov rdi, r8
mov rsi, rdx
mov rbp, rcx
cmp r8, rbx
jne 0x14004a7f5
mov rax, rbx
jmp 0x14004a800
mov rdx, r9
mov rcx, r8
call fcn.14005ca00
lea ecx, [rax + rax + 2]
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbp + 8]
mov rdx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
cmp eax, ebx
sete bl
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x14004a840
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbp, rdx
mov rsi, rcx
mov dword [rax + 0x18], 4
call fcn.14004a55c
xor edi, edi
cmp eax, edi
jne 0x14004a870
xor eax, eax
jmp 0x14004a89f
mov rcx, qword [rsi + 8]
lea rax, [rsp + 0x50]
lea rbx, [rsi + 0x38]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
cmove rdi, rbx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x14004a8b4
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov dword [r11 + 0x18], r8d
sub rsp, 0x38
mov rcx, qword [rcx + 8]
lea rax, [r11 + 0x18]
mov r9d, 4
mov dword [r11 - 0x10], r9d
xor r8d, r8d
mov qword [r11 - 0x18], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
cmp eax, ecx
sete cl
mov eax, ecx
add rsp, 0x38
ret
Function at 0x14004ab28
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x270
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140099938]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rsi, rdx
mov rdi, rcx
mov rcx, rdx
call fcn.1400078cc
xor ebp, ebp
mov ebx, ebp
mov r9d, 0x105
lea r8, [rsp + 0x50]
xor edx, edx
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, ebp
jne 0x14004abee
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x28], bp
lea rcx, [rsp + 0x50]
call fcn.14005b1c0
mov r8, rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.140002280
nop
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14001a3a4
nop
cmp qword [rsp + 0x40], 8
jb 0x14004abd1
mov rcx, qword [rsp + 0x28]
call fcn.14005ab0c
inc ebx
mov r9d, 0x105
lea r8, [rsp + 0x50]
mov edx, ebx
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
cmp eax, ebp
je 0x14004ab81
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14005bad0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x270
pop rdi
pop rsi
pop rbp
ret

Function at 0x14004af38
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
sub rsp, 0x2a0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x140099938]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rsi, rdx
mov rdi, rcx
mov rcx, rdx
call fcn.1400078cc
mov dword [rsp + 0x40], 0x105
xor ebp, ebp
mov ebx, ebp
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x80]
xor edx, edx
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebp
jne 0x14004b048
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rbp
mov word [rsp + 0x50], bp
lea rcx, [rsp + 0x80]
call fcn.14005b1c0
mov r8, rax
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x48]
call fcn.140002280
nop
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.14001a3a4
nop
cmp qword [rsp + 0x68], 8
jb 0x14004b009
mov rcx, qword [rsp + 0x50]
call fcn.14005ab0c
mov dword [rsp + 0x40], 0x105
inc ebx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x80]
mov edx, ebx
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebp
je 0x14004afb3
mov eax, ebx
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.14005bad0
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x2a0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14004b070
Capabilities:
Delete registry key

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x88
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov ebp, 1
lea rcx, [rax - 0x68]
call fcn.14004a428
nop
xor ebx, ebx
cmp rdx, rbx
jne 0x14004b0ae
jmp 0x14004b230
mov r9d, 0x2000000
lea rcx, [rsp + 0x40]
call fcn.14004a460
mov qword [rsp + 0xc8], rax
cmp rax, rbx
je 0x14004b22e
mov ecx, 8
call fcn.14005b298
cmp rax, rbx
je 0x14004b0e8
lea rcx, [rsp + 0x50]
mov qword [rax], rcx
jmp 0x14004b0eb
mov rax, rbx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rbx
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.14004ab28
mov r11, qword [rsp + 0x68]
mov rdi, r11
mov rsi, qword [rsp + 0x70]
cmp r11, rsi
jbe 0x14004b12f
call fcn.14005c2f8
mov rsi, qword [rsp + 0x70]
mov r11, qword [rsp + 0x68]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rdi
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
mov rdi, qword [rsp + 0x38]
cmp r11, rsi
jbe 0x14004b158
call fcn.14005c2f8
mov rax, qword [rsp + 0x30]
cmp rax, rbx
je 0x14004b169
cmp rax, qword [rsp + 0x50]
je 0x14004b173
call fcn.14005c2f8
mov rax, qword [rsp + 0x30]
cmp rdi, rsi
je 0x14004b1f2
cmp rax, rbx
jne 0x14004b187
call fcn.14005c2f8
mov r11, rbx
jmp 0x14004b18a
mov r11, qword [rax]
cmp rdi, qword [r11 + 0x20]
jb 0x14004b195
call fcn.14005c2f8
cmp qword [rdi + 0x20], 8
jb 0x14004b1a2
mov r8, qword [rdi + 8]
jmp 0x14004b1a6
lea r8, [rdi + 8]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xb0]
call fcn.14004b070
and ebp, eax
mov r11, qword [rsp + 0x30]
cmp r11, rbx
jne 0x14004b1d1
call fcn.14005c2f8
mov r11, rbx
jmp 0x14004b1d4
mov r11, qword [r11]
cmp rdi, qword [r11 + 0x20]
jb 0x14004b1df
call fcn.14005c2f8
add rdi, 0x28
mov rsi, qword [rsp + 0x70]
mov r11, qword [rsp + 0x68]
jmp 0x14004b14e
lea rcx, [rsp + 0x40]
call fcn.14004a43c
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
cmp eax, ebx
jne 0x14004b219
and ebp, 1
lea rcx, [rsp + 0x50]
call fcn.140005204
mov rcx, qword [rsp + 0x50]
call fcn.14005ab0c
nop
mov ebx, ebp
lea rcx, [rsp + 0x40]
call fcn.14004a8ec
mov eax, ebx
add rsp, 0x88
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x14004b3b4
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea r8, [0x1400826e0]
lea rdx, str.CSelectLanguageDlg2::OnOK
mov ecx, 5
call fcn.140009480
mov rcx, qword [rbx + 0x20]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x147
call qword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
js 0x14004b40a
mov rcx, qword [rbx + 0x20]
movsxd r8, eax
xor r9d, r9d
mov edx, 0x150
call qword [sym.imp.USER32.dll_SendMessageW]
mov word [rbx + 0x278], ax
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax + 0x20]
lea r8, [0x140082700]
lea rdx, str.CSelectLanguageDlg2::OnOK
mov ecx, 5
add rsp, 0x20
pop rbx
jmp fcn.140009480
Function at 0x14004ce44
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x670
mov rax, qword [0x140099938]
xor rax, rsp
mov qword [rsp + 0x660], rax
mov rdi, rdx
mov esi, 0x100
lea r8, str.SoftwareMicrosoftWindows_NTCurrentVersionProfileList_
lea rcx, [rsp + 0x250]
xor ebx, ebx
mov rdx, rsi
mov qword [rsp + 0x30], rbx
call fcn.14005ceb0
lea rcx, [rsp + 0x250]
mov r8, rdi
mov rdx, rsi
call fcn.14005c0a4
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x250]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp eax, ebx
je 0x14004cec6
xor eax, eax
jmp 0x14004cfa0
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
lea rdx, str.ProfileImagePath
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x38], 0x206
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
cmp eax, ebx
je 0x14004cf0b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14004cebf
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 0x103
lea rcx, [rsp + 0x40]
mov rdx, rsi
call fcn.14005ca00
cmp word [rsp + rax*2 + 0x3e], 0x5c
je 0x14004cf3f
lea r8, [0x1400778f0]
lea rcx, [rsp + 0x40]
mov rdx, rsi
call fcn.14005c0a4
lea r8, str.NTUSER.DAT
lea rcx, [rsp + 0x40]
mov rdx, rsi
call fcn.14005c0a4
lea rcx, [rsp + 0x450]
xor edx, edx
mov r8d, 0x208
call fcn.14005bb90
lea rdx, [rsp + 0x450]
lea rcx, [rsp + 0x40]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea r8, [rsp + 0x450]
mov rdx, rdi
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
cmp eax, ebx
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.14005bad0
lea r11, [rsp + 0x670]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140050698
Capabilities:
Enumerate gui resources

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
sub rsp, 0x4b0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x140099938]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
mov rsi, rdx
mov rbx, rcx
lea rcx, [r11 - 0x2d8]
call fcn.140055364
nop
xor edi, edi
cmp dword [rsp + 0x25c], edi
je 0x140050734
cmp qword [rbx + 0x30], 8
jb 0x1400506ef
mov r9, qword [rbx + 0x18]
jmp 0x1400506f3
lea r9, [rbx + 0x18]
lea r8, str.pPrinterName___1_ls__n
lea rdx, str.CPrinterCtrlW::CloseQueue
mov ecx, 4
call fcn.140009480
cmp qword [rbx + 0x30], 8
jb 0x140050718
mov rdx, qword [rbx + 0x18]
jmp 0x14005071c
lea rdx, [rbx + 0x18]
lea rcx, [0x1400504c8]
call qword [sym.imp.USER32.dll_EnumWindows]
nop
mov edi, 1
jmp 0x140050905
cmp qword [rbx + 8], rdi
je 0x140050905
lea rcx, str.printui.dll
call fcn.140002494
mov rbp, rax
cmp rax, rdi
je 0x140050905
lea rax, [0x14005017c]
mov qword [rsp + 0x20], rax
lea r9, [0x140083680]
lea r8, [0x140083668]
lea rdx, str.printui.dll
lea rcx, [rsp + 0xd0]
call fcn.1400023a8
nop
lea rcx, [rsp + 0xd0]
call fcn.140001b1c
lea r11, [method.CDelDrvDlg.virtual_72]
mov qword [rsp + 0x20], r11
lea r9, [0x140083658]
lea r8, [0x140083668]
lea rdx, str.printui.dll
lea rcx, [rsp + 0x40]
call fcn.1400023a8
nop
lea rcx, [rsp + 0x40]
call fcn.140001b1c
lea r11, [0x1400501c0]
mov qword [rsp + 0x20], r11
lea r9, [0x140083648]
lea r8, [0x140083668]
lea rdx, str.printui.dll
lea rcx, [rsp + 0x160]
call fcn.1400023a8
nop
lea rcx, [rsp + 0x160]
call fcn.140001b1c
cmp qword [rbx + 0x30], 8
jb 0x140050811
mov r8, qword [rbx + 0x18]
jmp 0x140050815
lea r8, [rbx + 0x18]
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_SHInvokePrinterCommandW]
cmp eax, edi
je 0x140050856
cmp qword [rbx + 0x30], 8
jb 0x140050838
mov r9, qword [rbx + 0x18]
jmp 0x14005083c
lea r9, [rbx + 0x18]
lea r8, str.pPrinterName___1_ls__n
lea rdx, str.CPrinterCtrlW::CloseQueue
mov ecx, 4
call fcn.140009480
jmp 0x1400508c2
cmp qword [rbx + 0x30], 8
jb 0x140050863
mov r8, qword [rbx + 0x18]
jmp 0x140050867
lea r8, [rbx + 0x18]
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea edx, [r9 + 5]
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_SHInvokePrinterCommandW]
cmp eax, edi
je 0x1400508aa
cmp qword [rbx + 0x30], 8
jb 0x14005088c
mov r9, qword [rbx + 0x18]
jmp 0x140050890
lea r9, [rbx + 0x18]
lea r8, str.pPrinterName___1_ls__n
lea rdx, str.CPrinterCtrlW::CloseQueue
mov ecx, 4
call fcn.140009480
jmp 0x1400508c2
lea r8, str.SHInvokePrinterCommand_is_failed._n
lea rdx, str.CPrinterCtrlW::CloseQueue
mov ecx, 4
call fcn.140009480
mov rcx, rsi
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, rsi
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rcx, [rsp + 0x160]
call fcn.140002098
nop
lea rcx, [rsp + 0x40]
call fcn.140002098
nop
lea rcx, [rsp + 0xd0]
call fcn.140002098
nop
lea rcx, [rsp + 0x1f0]
call fcn.140055358
mov eax, edi
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.14005bad0
mov rbx, qword [rsp + 0x4e0]
add rsp, 0x4b0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140056ad0
Capabilities:
Get file version info

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x270
mov rax, qword [0x140099938]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbp, r8
mov r13, rcx
mov r8, rcx
mov rsi, rdx
lea rcx, [rsp + 0x50]
xor edi, edi
mov edx, 0x104
mov r14d, r9d
mov dword [rsp + 0x48], edi
call fcn.14005ceb0
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov r12d, eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea edx, [rdi + 8]
mov rcx, rax
mov r8, r12
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
cmp rax, rdi
je 0x140056c42
lea rcx, [rsp + 0x50]
mov r9, rax
mov r8d, r12d
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoW
cmp eax, edi
je 0x140056c2e
lea r9, [rsp + 0x4c]
lea r8, [rsp + 0x40]
lea rdx, [0x1400778f0]
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
mov r11, qword [rsp + 0x40]
lea r12d, [rdi + 5]
movzx ecx, word [r11 + 0xe]
movzx edx, word [r11 + 8]
movzx r8d, word [r11 + 0xa]
movzx eax, word [r11 + 0xc]
mov r9, r13
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r8d
lea rdx, str.GetFileVersion
lea r8, str.File___1_s__nfile_version:_____2_u_._3_u_._4_u_._5_u__n
mov ecx, r12d
call fcn.140009480
mov r11, qword [rsp + 0x40]
lea rdx, str.GetFileVersion
movzx r8d, word [r11 + 0x16]
movzx eax, word [r11 + 0x14]
movzx r10d, word [r11 + 0x10]
movzx r11d, word [r11 + 0x12]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], r8d
mov dword [rsp + 0x28], r10d
lea r8, str.File___1_s__nproduct_version:__2_u_._3_u_._4_u_._5_u__n
mov r9, r13
mov ecx, r12d
mov dword [rsp + 0x20], r11d
call fcn.140009480
mov rcx, qword [rsp + 0x40]
cmp r14d, edi
je 0x140056c1e
mov eax, dword [rcx + 0x10]
mov dword [rsi], eax
mov eax, dword [rcx + 0x14]
jmp 0x140056c26
mov eax, dword [rcx + 8]
mov dword [rsi], eax
mov eax, dword [rcx + 0xc]
mov dword [rbp], eax
mov edi, 1
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14005bad0
add rsp, 0x270
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140057390
Capabilities:
Extract resource via kernel32 functions

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, 0x70
xor esi, esi
mov r14, rcx
mov rcx, qword [0x14009bc40]
mov r15, r8
lea ebp, [rsi + 2]
movzx edx, dx
mov r8, rbp
mov r12, r9
mov bx, si
call qword [sym.imp.KERNEL32.dll_FindResourceW]
cmp rax, rsi
je 0x14005759a
mov rcx, qword [0x14009bc40]
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
cmp rax, rsi
je 0x14005759a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdi, rax
cmp rax, rsi
je 0x14005759a
mov r8d, 0x100
cmp dword [rax + 0x20], esi
je 0x140057418
mov bx, word [rax + 0x20]
jmp 0x140057448
movzx ecx, word [rax + 0xe]
sub ecx, 1
je 0x140057445
sub ecx, 3
je 0x14005743e
sub ecx, 4
je 0x140057438
mov eax, 0x10
cmp ecx, eax
jne 0x140057448
mov ebx, esi
jmp 0x140057448
mov bx, r8w
jmp 0x140057448
mov ebx, 0x10
jmp 0x140057448
mov bx, bp
movzx r13d, bx
mov ecx, r8d
lea rdx, [r13*4 + 8]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbp, rax
cmp rax, rsi
je 0x1400574f5
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rsi, rax
test rax, rax
je 0x1400574ea
mov eax, 0x300
mov word [rsi + 2], bx
mov word [rsi], ax
movzx eax, bx
test eax, eax
jle 0x1400574ba
lea rcx, [rsi + 5]
lea rdx, [rdi + 0x29]
mov r8, rax
mov al, byte [rdx + 1]
mov byte [rcx - 1], al
mov al, byte [rdx]
add rdx, 4
mov byte [rcx], al
mov al, byte [rdx - 5]
mov byte [rcx + 2], 0
mov byte [rcx + 1], al
add rcx, 4
sub r8, 1
jne 0x140057498
mov rcx, rsi
call qword [sym.imp.GDI32.dll_CreatePalette]
mov r8d, 1
mov rcx, r14
mov rdx, rax
mov qword [r15], rax
call qword [sym.imp.GDI32.dll_SelectPalette]
mov rcx, r14
call qword [sym.imp.GDI32.dll_RealizePalette]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GlobalFree]
xor esi, esi
mov eax, dword [rdi]
mov edx, 4
lea rcx, [rdi + rax]
lea rbx, [rcx + r13*4]
mov rcx, r14
call qword [sym.imp.GDI32.dll_SetStretchBltMode]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.GDI32.dll_SetBrushOrgEx]
mov r11d, dword [rdi + 4]
mov ecx, dword [rdi + 8]
mov r9d, r11d
mov eax, ecx
cmp r12, rsi
je 0x140057542
mov r9d, dword [r12 + 8]
mov eax, dword [r12 + 0xc]
sub r9d, dword [r12]
sub eax, dword [r12 + 4]
mov dword [rsp + 0x60], 0xcc0020
mov dword [rsp + 0x58], esi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x30], esi
xor r8d, r8d
xor edx, edx
mov rcx, r14
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], eax
call qword [sym.imp.GDI32.dll_StretchDIBits]
lea r8, str.______________________OUT_n
lea rdx, str.CopyDIB
mov ecx, 5
call fcn.140009480
mov eax, 1
jmp 0x1400575b4
lea r8, str.______________________OUT_ERROR__n
lea rdx, str.CopyDIB
mov ecx, 5
call fcn.140009480
xor eax, eax
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1400575d4
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x670
mov rax, qword [0x140099938]
xor rax, rsp
mov qword [rsp + 0x660], rax
mov rdi, rcx
mov esi, 0x100
lea r8, str.SoftwareMicrosoftWindows_NTCurrentVersionProfileList_
lea rcx, [rsp + 0x250]
xor ebx, ebx
mov rdx, rsi
mov qword [rsp + 0x30], rbx
call fcn.14005ceb0
lea rcx, [rsp + 0x250]
mov r8, rdi
mov rdx, rsi
call fcn.14005c0a4
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x250]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp eax, ebx
je 0x140057656
xor eax, eax
jmp 0x140057730
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
lea rdx, str.ProfileImagePath
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x38], 0x206
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
cmp eax, ebx
je 0x14005769b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14005764f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 0x103
lea rcx, [rsp + 0x40]
mov rdx, rsi
call fcn.14005ca00
cmp word [rsp + rax*2 + 0x3e], 0x5c
je 0x1400576cf
lea r8, [0x1400778f0]
lea rcx, [rsp + 0x40]
mov rdx, rsi
call fcn.14005c0a4
lea r8, str.NTUSER.DAT
lea rcx, [rsp + 0x40]
mov rdx, rsi
call fcn.14005c0a4
lea rcx, [rsp + 0x450]
xor edx, edx
mov r8d, 0x208
call fcn.14005bb90
lea rdx, [rsp + 0x450]
lea rcx, [rsp + 0x40]
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea r8, [rsp + 0x450]
mov rdx, rdi
mov rcx, 0xffffffff80000003
call qword [sym.imp.ADVAPI32.dll_RegLoadKeyW]
cmp eax, ebx
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.14005bad0
lea r11, [rsp + 0x670]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret