joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140035f50
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x470
mov rax, qword [0x14030c918]
xor rax, rsp
mov qword [rsp + 0x468], rax
xor edi, edi
lea rax, vtable.srl::Size.0
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rdi
mov dword [rsp + 0x3f0], 0x40
mov dword [rsp + 0x430], 0x38
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x14003609a
lea rcx, [rsp + 0x290]
call fcn.140018c50
nop
lea rcx, [rsp + 0x190]
call fcn.140018c50
nop
lea rcx, [rsp + 0x90]
call fcn.140018c50
nop
lea rdx, str.GlobalMemoryStatusEx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140036032
lea rcx, [rsp + 0x3f0]
call rax
mov rax, qword [rsp + 0x3f8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x418]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x400]
jmp 0x140036062
lea rcx, [rsp + 0x430]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov rax, qword [rsp + 0x438]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x458]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x440]
mov qword [rsp + 0x58], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rcx, [rsp + 0x90]
call fcn.140018b40
nop
lea rcx, [rsp + 0x190]
call fcn.140018b40
nop
lea rcx, [rsp + 0x290]
call fcn.140018b40
mov rax, qword [0x14031bc18]
test rax, rax
jne 0x1400360ce
mov ecx, 0xc8
call fcn.140075f2c
mov qword [rsp + 0x60], rax
test rax, rax
je 0x1400360c4
mov rcx, rax
call fcn.140010c40
jmp 0x1400360c7
mov rax, rdi
mov qword [0x14031bc18], rax
lea rbx, [rax + 0xa8]
lea r8, [rsp + 0x30]
mov edx, 0x11597
mov rcx, rbx
call fcn.14001dde0
lea r8, [rsp + 0x40]
mov edx, 0x116d5
mov rcx, rbx
call fcn.14001dde0
lea r8, [rsp + 0x50]
mov edx, 0x116d6
mov rcx, rbx
call fcn.14001dde0
lea r8, [0x1402bbac0]
mov edx, 0x11606
mov rcx, rbx
call fcn.14001e160
lea r8, [0x1402bbac0]
mov edx, 0x11607
mov rcx, rbx
call fcn.14001e160
nop
mov al, 1
mov rcx, qword [rsp + 0x468]
xor rcx, rsp
call fcn.140212f90
mov rbx, qword [rsp + 0x480]
add rsp, 0x470
pop rdi
ret
Function at 0x14003f640
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x14030c918]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbp, rdx
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x14003f671
mov rcx, qword [rcx]
lea rdx, [rsp + 0x20]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
je 0x14003f7d4
mov ecx, esi
call fcn.140222790
mov rdi, rax
test rax, rax
je 0x14003f7d4
cmp qword [rbx + 0x18], 8
jb 0x14003f6a3
mov rbx, qword [rbx]
mov r9, rdi
mov r8d, esi
mov edx, dword [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x14003f7cc
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x28]
lea rdx, [0x1402c262c]
mov rcx, rdi
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14003f7cc
lea rcx, [rsp + 0x30]
call fcn.140018c50
nop
mov rbx, qword [rsp + 0x28]
movzx edx, word [rbx + 0xa]
lea rcx, [rsp + 0x40]
call fcn.140035480
mov rcx, rax
lea rdx, [0x1402c0560]
call fcn.140014b60
mov rcx, rax
movzx edx, word [rbx + 8]
call fcn.140035480
mov rcx, rax
lea rdx, [0x1402c0560]
call fcn.140014b60
mov rcx, rax
movzx edx, word [rbx + 0xe]
call fcn.140035480
mov rcx, rax
lea rdx, [0x1402c0560]
call fcn.140014b60
mov rcx, rax
movzx edx, word [rbx + 0xc]
call fcn.140035480
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x48]
call fcn.140019820
lea rdx, [rsp + 0x130]
mov rcx, rbp
call fcn.14000cff0
mov rdx, qword [rsp + 0x148]
cmp rdx, 8
jb 0x14003f7b5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f7b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f7f9
call fcn.14000410c
mov rcx, rdi
call fcn.14021f680
nop
lea rcx, [rsp + 0x30]
call fcn.140018b40
mov al, 1
jmp 0x14003f7d6
mov rcx, rdi
call fcn.14021f680
xor al, al
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140212f90
mov rbx, qword [rsp + 0x190]
add rsp, 0x160
pop rdi
pop rsi
pop rbp
ret
call fcn.14021bfcc
nop
int3
Function at 0x140041e60
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x170
mov rax, qword [0x14030c918]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbp, r8
mov r14, rdx
xor edi, edi
lea rdx, [rsp + 0x20]
mov rcx, qword [r14]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
je 0x140041ed1
mov ecx, esi
call fcn.140222790
mov rbx, rax
test rax, rax
je 0x140041ed1
mov r9, rax
mov r8d, esi
mov edx, dword [rsp + 0x20]
mov rcx, qword [r14]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov rcx, rbx
test eax, eax
jne 0x140041efb
call fcn.14021f680
xor al, al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140212f90
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x28]
lea rdx, [0x1402c262c]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140041ed3
lea rcx, [rsp + 0x40]
call fcn.140018c50
nop
mov rbx, qword [rsp + 0x28]
movzx edx, word [rbx + 0xa]
lea rcx, [rsp + 0x50]
call fcn.140035480
mov rcx, rax
lea rdx, [0x1402c0560]
call fcn.140014b60
mov rcx, rax
movzx edx, word [rbx + 8]
call fcn.140035480
mov rcx, rax
lea rdx, [0x1402c0560]
call fcn.140014b60
mov rcx, rax
movzx edx, word [rbx + 0xe]
call fcn.140035480
mov rcx, rax
lea rdx, [0x1402c0560]
call fcn.140014b60
mov rcx, rax
movzx edx, word [rbx + 0xc]
call fcn.140035480
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x58]
call fcn.140019820
nop
lea rdx, [rsp + 0x140]
cmp qword [rsp + 0x158], 8
jb 0x140041fbd
mov rdx, qword [rsp + 0x140]
test rdx, rdx
je 0x140041fd0
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x140041fc4
mov edi, eax
mov r8d, edi
mov rcx, rbp
call fcn.140002aa8
nop
mov rdx, qword [rsp + 0x158]
cmp rdx, 8
jb 0x140042021
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004201b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140042030
call fcn.14000410c
nop
lea rcx, [rsp + 0x40]
call fcn.140018b40
jmp 0x140041ed3
call fcn.14021bfcc
int3
Function at 0x140042040
Capabilities:
Get file version info

Disassembly:
push rbx
push rdi
push r14
push r15
sub rsp, 0x268
mov rax, qword [0x14030c918]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, rdx
mov r14, r8
lea rdx, [rsp + 0x30]
mov rcx, qword [rdi]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test eax, eax
je 0x14004229d
mov ecx, ebx
call fcn.140222790
mov r15, rax
test rax, rax
je 0x14004229d
mov edx, dword [rsp + 0x30]
mov r9, rax
mov rcx, qword [rdi]
mov r8d, ebx
mov qword [rsp + 0x250], r13
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x140042291
xor r13d, r13d
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
mov qword [rsp + 0x28], r13
lea rdx, str.VarFileInfoTranslation
mov rcx, r15
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rax, qword [rsp + 0x28]
lea rdx, str.StringFileInfo_04x_04xProductName
lea rcx, [rsp + 0x40]
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rsp + 0x20]
mov rcx, r15
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x40]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140042291
cmp dword [rsp + 0x20], r13d
jbe 0x140042291
mov rdi, qword [rsp + 0x28]
mov qword [rsp + 0x290], rbp
mov qword [rsp + 0x260], rsi
mov qword [rsp + 0x258], r12
test rdi, rdi
je 0x140042241
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rdi + rbx*2], r13w
jne 0x140042150
test ebx, ebx
je 0x140042241
mov rax, qword [r14]
mov rbp, rdi
sub rbp, rax
sar rbp, 1
mov r12d, dword [rax - 0x10]
test ebx, ebx
js 0x1400422a1
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, ebx
or ecx, eax
jge 0x140042195
mov edx, ebx
mov rcx, r14
call fcn.140002a48
mov rcx, qword [r14]
movsxd rsi, ebx
add rsi, rsi
movsxd r8, dword [rcx - 0xc]
cmp rbp, r12
ja 0x1400421e9
lea rdx, [rcx + rbp*2]
test rsi, rsi
je 0x14004222c
test rcx, rcx
jne 0x1400421c2
call fcn.14021c0fc
mov dword [rax], 0x16
jmp 0x140042227
test rdx, rdx
jne 0x1400421d4
call fcn.14021c0fc
mov dword [rax], 0x16
jmp 0x140042227
mov rax, r8
add rax, rax
cmp rax, rsi
jb 0x14004221c
mov r8, rsi
call fcn.140217710
jmp 0x14004222c
add r8, r8
test rsi, rsi
je 0x14004222c
test rcx, rcx
jne 0x140042203
call fcn.14021c0fc
mov dword [rax], 0x16
jmp 0x140042227
cmp r8, rsi
jb 0x140042215
mov r8, rsi
mov rdx, rdi
call fcn.140217710
jmp 0x14004222c
xor edx, edx
call fcn.140217dc0
call fcn.14021c0fc
mov dword [rax], 0x22
call fcn.14021bfac
mov rax, qword [r14]
cmp ebx, dword [rax - 0xc]
jg 0x1400422a1
mov dword [rax - 0x10], ebx
mov rax, qword [r14]
mov word [rsi + rax], r13w
jmp 0x140042249
mov rcx, r14
call fcn.1400028b4
mov rcx, r15
call fcn.14021f680
mov r12, qword [rsp + 0x258]
mov al, 1
mov rsi, qword [rsp + 0x260]
mov rbp, qword [rsp + 0x290]
mov r13, qword [rsp + 0x250]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140212f90
add rsp, 0x268
pop r15
pop r14
pop rdi
pop rbx
ret
mov rcx, r15
call fcn.14021f680
xor al, al
jmp 0x14004226b
xor al, al
jmp 0x140042273
mov ecx, 0x80070057
call fcn.140002d2c
int3
Function at 0x140049320
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x14030c918]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
cmp qword [rcx + 0x28], 0
je 0x140049518
cmp qword [rcx + 0x18], 0
je 0x140049518
cmp qword [rcx + 0x30], 0
je 0x140049518
cmp qword [rcx + 0x20], 0
je 0x140049518
mov byte [rbp - 0x50], 1
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x14004953b
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x48], rax
mov r8d, 3
lea rdx, [0x1402c7398]
lea rcx, [rbp - 0x48]
call fcn.140002aa8
mov rsi, qword [rbp - 0x48]
mov r9, rsi
xor r8d, r8d
mov edx, 0x116fb
mov rcx, qword [rbx]
call fcn.14001da40
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rbp - 0x40], eax
xor r14d, r14d
mov qword [rbp - 0x38], r14
lea rdx, [rbp - 0x40]
lea rcx, [0x1400492b0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400494f4
call qword [sym.imp.USER32.dll_GetDC]
mov rdi, rax
test rax, rax
je 0x1400494f4
mov dword [rbp - 0x30], 0x10028
mov dword [rbp - 0x2c], 0x25
mov qword [rbp - 0x28], 0x1800
mov dword [rbp - 0x20], r14d
mov qword [rbp - 0x1c], 0x20000000
mov qword [rbp - 0x14], r14
mov dword [rbp - 0xc], r14d
lea rdx, [rbp - 0x30]
mov rcx, rax
call qword [sym.imp.GDI32.dll_ChoosePixelFormat]
test eax, eax
je 0x1400494f4
lea r8, [rbp - 0x30]
mov edx, eax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetPixelFormat]
test eax, eax
je 0x1400494f4
mov rcx, rdi
call qword [rbx + 0x18]
mov qword [rbx + 0x10], rax
test rax, rax
je 0x1400494f4
mov rdx, rax
mov rcx, rdi
call qword [rbx + 0x20]
test eax, eax
je 0x1400494f4
lea rcx, str.glGetStringi
call qword [rbx + 0x30]
mov qword [rbx + 0x40], rax
test rax, rax
jne 0x1400494a0
lea rdx, str.glGetStringi
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x40], rax
lea rcx, str.glGetString
call qword [rbx + 0x30]
mov qword [rbx + 0x48], rax
test rax, rax
jne 0x1400494c8
lea rdx, str.glGetString
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x48], rax
lea rcx, str.glGetIntegerv
call qword [rbx + 0x30]
mov qword [rbx + 0x38], rax
test rax, rax
jne 0x1400494f0
lea rdx, str.glGetIntegerv
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbx + 0x38], rax
mov bl, 1
jmp 0x1400494f6
xor bl, bl
lea rdx, [rsi - 0x18]
mov ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140049513
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
movzx eax, bl
jmp 0x14004951a
xor al, al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140212f90
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140002d2c
int3
Function at 0x1400496e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r15, rdx
mov r13, rcx
xor sil, sil
mov byte [rsp + 0x70], sil
cmp qword [rcx + 0x40], 0
je 0x1400497da
mov rax, qword [rcx + 0x38]
test rax, rax
je 0x1400497d5
xor edi, edi
mov dword [r11 + 0x18], edi
lea rdx, [r11 + 0x18]
mov ecx, 0x821d
call rax
lea r14d, [rdi - 1]
lea r12d, [rdi + 1]
cmp edi, dword [rsp + 0x80]
jge 0x1400498a0
mov edx, edi
mov ecx, 0x1f03
call qword [r13 + 0x40]
mov rbx, rax
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x1400498bd
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140012a90
nop
test r15, r15
je 0x1400498c8
mov rax, qword [rsp + 0x20]
mov rcx, rax
mov r8, r15
sub r8, rax
movzx ebx, word [rcx]
movzx edx, word [rcx + r8]
sub ebx, edx
jne 0x1400497a5
add rcx, 2
test edx, edx
jne 0x140049791
lea rdx, [rax - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400497bf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
movzx esi, sil
test ebx, ebx
cmove esi, r12d
mov byte [rsp + 0x70], sil
inc edi
jmp 0x140049731
jmp 0x1400498ad
mov rax, qword [rcx + 0x48]
test rax, rax
je 0x1400498a6
mov ecx, 0x1f03
call rax
mov rbx, rax
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x1400498d3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x88], rax
mov rdx, rbx
lea rcx, [rsp + 0x88]
call fcn.140012a90
nop
mov rbx, qword [rsp + 0x88]
test r15, r15
jne 0x14004983d
mov r14d, 0xffffffff
mov edi, r14d
jmp 0x140049872
cmp dword [rbx - 0x10], 0
jge 0x14004984e
mov r14d, 0xffffffff
mov edi, r14d
jmp 0x140049872
mov rdx, r15
mov rcx, rbx
call fcn.140217248
mov rdi, rax
mov r14d, 0xffffffff
test rax, rax
jne 0x14004986c
mov edi, r14d
jmp 0x140049872
sub rdi, rbx
sar rdi, 1
shr edi, 0x1f
xor dil, 1
lea rdx, [rbx - 0x18]
movzx esi, dil
mov byte [rsp + 0x70], dil
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x1400498a0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov byte [rsp + 0x70], dil
movzx eax, sil
jmp 0x1400498ad
jmp 0x1400498ad
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80004005
call fcn.140002d2c
nop
mov ecx, 0x80004005
call fcn.140002d2c
nop
mov ecx, 0x80004005
call fcn.140002d2c
int3
Function at 0x140051f00
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rsi
push rdi
sub rsp, 0xa0
cmp byte [rcx + 0x28], 0
jne 0x140051f22
xor al, al
add rsp, 0xa0
pop rdi
pop rsi
pop rbx
ret
xor dil, dil
mov byte [rsp + 0xc8], dil
lea r8, [rsp + 0xd8]
lea rdx, str.SELECT__FROM_Win32_SoundDevice
call fcn.140052be0
test al, al
je 0x1400520ff
xor esi, esi
mov qword [rsp + 0xd0], rsi
mov dword [rsp + 0xc0], esi
mov rcx, qword [rsp + 0xd8]
mov rax, qword [rcx]
lea rdx, [rsp + 0xc0]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0xd0]
mov rbx, 0xffffffffffffffff
lea r8d, [rsi + 1]
mov edx, ebx
call qword [rax + 0x20]
test eax, eax
jne 0x1400520f0
lea rcx, [rsp + 0x60]
call fcn.14002f150
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov dil, 1
mov byte [rsp + 0xc8], dil
lea r9, [rsp + 0x48]
lea r8, str.Name
mov rdx, qword [rsp + 0xd0]
call fcn.140052450
test al, al
je 0x140052043
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
lea r9d, [rsi + 8]
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
js 0x140052125
mov rdx, qword [rsp + 0x38]
test rdx, rdx
jne 0x140052019
mov eax, esi
jmp 0x14005202a
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140052020
mov r8d, eax
lea rcx, [rsp + 0x60]
call fcn.140002aa8
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea r9, [rsp + 0x48]
lea r8, str.DeviceID
mov rdx, qword [rsp + 0xd0]
call fcn.140052450
test al, al
je 0x1400520cb
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov r9d, 8
xor r8d, r8d
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
js 0x14005212d
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x1400520b2
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x1400520a6
mov esi, ebx
mov r8d, esi
lea rcx, [rsp + 0x68]
call fcn.140002aa8
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rsp + 0xd0]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0x60]
call fcn.14002f060
mov rcx, qword [rsp + 0xd8]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
movzx eax, dil
add rsp, 0xa0
pop rdi
pop rsi
pop rbx
ret
mov ecx, eax
call fcn.140002d2c
nop
mov ecx, eax
call fcn.140002d2c
int3
Function at 0x1400588a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
xor ebp, ebp
xor bl, bl
mov qword [r9 + 0x10], rbp
mov rsi, r9
cmp qword [r9 + 0x18], 8
mov rdi, r8
mov rax, r9
jb 0x1400588d4
mov rax, qword [r9]
mov word [rax], bp
mov r9d, 0x20019
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400589e3
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rbp
mov rdx, rdi
mov dword [rsp + 0x60], ebp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400589d8
mov ecx, dword [rsp + 0x60]
mov eax, 2
inc ecx
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140003e48
mov rcx, qword [rsp + 0x40]
lea r9, [rsp + 0x68]
mov rbx, rax
xor r8d, r8d
lea rax, [rsp + 0x60]
mov rdx, rdi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x68], 3
jne 0x1400589c3
mov r8d, dword [rsp + 0x60]
lea eax, [r8 - 1]
mov r9b, 1
mov edx, ebp
test eax, eax
jle 0x1400589c3
mov rax, rbx
cmp word [rax], bp
jne 0x1400589b0
movzx ecx, word [rax + 2]
test cx, cx
je 0x1400589b0
mov word [rax], cx
xor r9b, r9b
mov word [rax + 2], bp
mov r8d, dword [rsp + 0x60]
inc edx
lea ecx, [r8 - 1]
add rax, 2
cmp edx, ecx
jl 0x140058993
test r9b, r9b
je 0x140058983
mov rdx, rbx
mov rcx, rsi
call fcn.140009b0c
mov rcx, rbx
call fcn.140075f74
mov bl, 1
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbp, qword [rsp + 0x50]
movzx eax, bl
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140079ca4
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 r14
push r15
sub rsp, 0x30
xor ebx, ebx
mov r14, r9
mov rdi, r8
mov rsi, rdx
mov r15, rcx
test r8, r8
je 0x140079d0c
call fcn.14009aeac
mov r8d, 0xf0
mov rdx, rdi
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x140079d0c
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140079d52
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov edi, 1
test rbx, rbx
je 0x140079d31
mov rcx, qword [r15]
mov r9, r14
mov r8, rbx
mov rdx, rsi
mov rax, qword [rcx + 0x40]
mov rcx, r15
call qword [case.0x1401b67e9.0]
mov edi, eax
mov rcx, qword [rsi + 0xc8]
test rcx, rcx
je 0x140079d50
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x140]
mov rdx, r14
call qword [case.0x1401b67e9.0]
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret

Function at 0x14007aa40
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
xor ebx, ebx
mov r14, r8
mov rdi, rdx
mov r8, rcx
test rdx, rdx
je 0x14007aae0
movzx eax, word [rdx]
mov r9d, ebx
test ax, ax
je 0x14007aae0
movzx eax, ax
inc r9d
add rdx, rax
movzx eax, word [rdx]
test ax, ax
jne 0x14007aa70
test r9d, r9d
je 0x14007aae0
cmp r9d, 1
jne 0x14007aaa0
mov r8, r14
xor edx, edx
xor ecx, ecx
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
js 0x14007aaf9
xor eax, eax
jmp 0x14007aae3
lea esi, [r9 - 1]
mov rcx, rdi
test esi, esi
je 0x14007aabc
mov edx, esi
movzx eax, word [rcx]
add bx, ax
add rcx, rax
sub rdx, 1
jne 0x14007aaad
movzx edx, bx
mov rcx, r8
add edx, 2
call fcn.14007a9a0
movzx r8d, bx
mov rdx, rdi
mov rcx, rax
mov qword [r14], rax
call fcn.140217710
mov eax, esi
jmp 0x14007aae3
or eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
call fcn.1400771bc
int3

Function at 0x14008bb30
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x78
test rdx, rdx
je 0x14008bb98
mov r10, qword [rcx + 0x10]
test r10, r10
je 0x14008bb82
cmp qword [rcx + 0x18], 0
jne 0x14008bb7d
mov eax, dword [rcx + 0xc]
cmp eax, dword [rcx + 0x30]
jae 0x14008bb9e
mov qword [rsp + 0x58], rdx
lea r9, [rsp + 0x20]
mov dword [rsp + 0x20], 0x50
mov edx, eax
mov dword [rsp + 0x24], MsiGetPropertyW
mov r8d, 1
mov rcx, qword [r10 + 8]
call qword [sym.imp.USER32.dll_SetMenuItemInfoW]
add rsp, 0x78
ret
mov rcx, qword [rcx + 0x20]
test rcx, rcx
je 0x14008bb98
mov rcx, qword [rcx + 0x40]
add rsp, 0x78
jmp fcn.1400a41b8
call fcn.1400771bc
int3
call fcn.1400771bc
int3
Function at 0x14008cffc
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x40
cmp qword [rcx + 0xb0], 0
mov edi, r9d
mov rbx, r8
mov rax, rdx
je 0x14008d077
xor r8d, r8d
call fcn.14008d2cc
mov rsi, rax
test rax, rax
je 0x14008d073
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14008d073
mov eax, dword [rsp + 0x30]
jmp 0x14008d08d
mov eax, edi
jmp 0x14008d08d
mov r9, qword [rcx + 0xd8]
mov r8d, edi
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret