joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140049780
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 [0x14031a940]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
cmp qword [rcx + 0x28], 0
je 0x140049978
cmp qword [rcx + 0x18], 0
je 0x140049978
cmp qword [rcx + 0x30], 0
je 0x140049978
cmp qword [rcx + 0x20], 0
je 0x140049978
mov byte [rbp - 0x50], 1
call fcn.140010254
mov rcx, rax
test rax, rax
je 0x14004999b
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x48], rax
mov r8d, 3
lea rdx, [0x1402d3228]
lea rcx, [rbp - 0x48]
call fcn.140002a9c
mov rsi, qword [rbp - 0x48]
mov r9, rsi
xor r8d, r8d
mov edx, 0x116fb
mov rcx, qword [rbx]
call fcn.14001e730
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, [0x140049720]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140049954
call qword [sym.imp.USER32.dll_GetDC]
mov rdi, rax
test rax, rax
je 0x140049954
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 0x140049954
lea r8, [rbp - 0x30]
mov edx, eax
mov rcx, rdi
call qword [sym.imp.GDI32.dll_SetPixelFormat]
test eax, eax
je 0x140049954
mov rcx, rdi
call qword [rbx + 0x18]
mov qword [rbx + 0x10], rax
test rax, rax
je 0x140049954
mov rdx, rax
mov rcx, rdi
call qword [rbx + 0x20]
test eax, eax
je 0x140049954
lea rcx, str.glGetStringi
call qword [rbx + 0x30]
mov qword [rbx + 0x40], rax
test rax, rax
jne 0x140049900
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 0x140049928
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 0x140049950
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 0x140049956
xor bl, bl
lea rdx, [rsi - 0x18]
mov ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140049973
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
movzx eax, bl
jmp 0x14004997a
xor al, al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1402202b0
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.140002d6c
int3
Function at 0x140049b40
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 0x140049c3a
mov rax, qword [rcx + 0x38]
test rax, rax
je 0x140049c35
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 0x140049d00
mov edx, edi
mov ecx, 0x1f03
call qword [r13 + 0x40]
mov rbx, rax
call fcn.140010254
mov rcx, rax
test rax, rax
je 0x140049d1d
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.1400133b0
nop
test r15, r15
je 0x140049d28
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 0x140049c05
add rcx, 2
test edx, edx
jne 0x140049bf1
lea rdx, [rax - 0x18]
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140049c1f
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 0x140049b91
jmp 0x140049d0d
mov rax, qword [rcx + 0x48]
test rax, rax
je 0x140049d06
mov ecx, 0x1f03
call rax
mov rbx, rax
call fcn.140010254
mov rcx, rax
test rax, rax
je 0x140049d33
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.1400133b0
nop
mov rbx, qword [rsp + 0x88]
test r15, r15
jne 0x140049c9d
mov r14d, 0xffffffff
mov edi, r14d
jmp 0x140049cd2
cmp dword [rbx - 0x10], 0
jge 0x140049cae
mov r14d, 0xffffffff
mov edi, r14d
jmp 0x140049cd2
mov rdx, r15
mov rcx, rbx
call fcn.1402245c8
mov rdi, rax
mov r14d, 0xffffffff
test rax, rax
jne 0x140049ccc
mov edi, r14d
jmp 0x140049cd2
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 0x140049d00
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov byte [rsp + 0x70], dil
movzx eax, sil
jmp 0x140049d0d
jmp 0x140049d0d
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov ecx, 0x80004005
call fcn.140002d6c
nop
mov ecx, 0x80004005
call fcn.140002d6c
nop
mov ecx, 0x80004005
call fcn.140002d6c
int3
Function at 0x140051140
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x6e0
mov rax, qword [0x14031a940]
xor rax, rsp
mov qword [rsp + 0x6d0], rax
mov r14, rdx
mov rbx, rcx
lea rdx, [0x1402c86f0]
mov rcx, r14
call fcn.1400133b0
cmp byte [rbx + 0x28], 0
jne 0x14005118a
xor al, al
jmp 0x140051337
lea r8, [rsp + 0x48]
lea rdx, str.SELECT__FROM_Win32_BIOS
mov rcx, rbx
call fcn.140054530
test al, al
je 0x140051335
xor r15d, r15d
mov dword [rsp + 0x30], r15d
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x90]
lea edx, [r15 - 1]
mov r8d, MsiSourceListClearAllW
call qword [rax + 0x20]
test eax, eax
js 0x140051335
mov edi, r15d
cmp edi, dword [rsp + 0x30]
jae 0x140051335
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov eax, edi
lea rsi, [rsp + 0x90]
lea rsi, [rsi + rax*8]
lea r9, [rsp + 0x50]
lea r8, str.SerialNumber
mov rdx, qword [rsi]
call fcn.140053c70
test al, al
je 0x140051319
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.140055c90
nop
mov rax, qword [rax]
test rax, rax
je 0x14005123d
mov rdx, qword [rax]
jmp 0x140051240
mov rdx, r15
lea rcx, [rsp + 0x68]
call fcn.14000953c
nop
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x14005129e
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x140051299
test rbx, rbx
je 0x140051299
mov rcx, qword [rbx]
test rcx, rcx
je 0x14005127a
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14005128c
call fcn.140004144
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.140004144
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
jb 0x1400512bd
mov rdx, qword [rsp + 0x68]
test rdx, rdx
jne 0x1400512bd
mov r8d, r15d
jmp 0x1400512cf
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400512c4
mov rcx, r14
call fcn.140002a9c
nop
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x140051319
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051314
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051360
call fcn.140004144
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
inc edi
jmp 0x1400511e0
mov al, 1
mov rcx, qword [rsp + 0x6d0]
xor rcx, rsp
call fcn.1402202b0
lea r11, [rsp + 0x6e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.1402295a4
nop
int3
Function at 0x140051370
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x6b0
mov rax, qword [0x14031a940]
xor rax, rsp
mov qword [rsp + 0x6a0], rax
mov rsi, rdx
mov byte [rdx], 0
cmp byte [rcx + 0x28], 0
jne 0x1400513a7
xor al, al
jmp 0x140051449
lea r8, [rsp + 0x38]
lea rdx, str.SELECT__FROM_Win32_ComputerSystem
call fcn.140054530
test al, al
je 0x140051447
xor ebx, ebx
mov dword [rsp + 0x30], ebx
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x60]
lea edx, [rbx - 1]
mov r8d, MsiSourceListClearAllW
call qword [rax + 0x20]
test eax, eax
js 0x140051447
nop dword [rax]
cmp ebx, dword [rsp + 0x30]
jae 0x140051447
lea rcx, [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
lea rdi, [rsp + 0x60]
lea rdi, [rdi + rbx*8]
lea r9, [rsp + 0x40]
lea r8, str.PartOfDomain
mov rdx, qword [rdi]
call fcn.140053c70
test al, al
je 0x14005142e
cmp word [rsp + 0x48], 0xffff
jne 0x14005142e
mov byte [rsi], 1
mov rcx, qword [rdi]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
inc ebx
jmp 0x1400513f0
mov al, 1
mov rcx, qword [rsp + 0x6a0]
xor rcx, rsp
call fcn.1402202b0
lea r11, [rsp + 0x6b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140051470
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x6e0
mov rax, qword [0x14031a940]
xor rax, rsp
mov qword [rsp + 0x6d0], rax
mov r14, rdx
mov rbx, rcx
lea rdx, [0x1402c86f0]
mov rcx, r14
call fcn.1400133b0
cmp byte [rbx + 0x28], 0
jne 0x1400514ba
xor al, al
jmp 0x140051667
lea r8, [rsp + 0x48]
lea rdx, str.SELECT__FROM_Win32_ComputerSystem
mov rcx, rbx
call fcn.140054530
test al, al
je 0x140051665
xor r15d, r15d
mov dword [rsp + 0x30], r15d
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x90]
lea edx, [r15 - 1]
mov r8d, MsiSourceListClearAllW
call qword [rax + 0x20]
test eax, eax
js 0x140051665
mov edi, r15d
cmp edi, dword [rsp + 0x30]
jae 0x140051665
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov eax, edi
lea rsi, [rsp + 0x90]
lea rsi, [rsi + rax*8]
lea r9, [rsp + 0x50]
lea r8, str.Name
mov rdx, qword [rsi]
call fcn.140053c70
test al, al
je 0x140051649
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.140055c90
nop
mov rax, qword [rax]
test rax, rax
je 0x14005156d
mov rdx, qword [rax]
jmp 0x140051570
mov rdx, r15
lea rcx, [rsp + 0x68]
call fcn.14000953c
nop
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x1400515ce
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x1400515c9
test rbx, rbx
je 0x1400515c9
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400515aa
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400515bc
call fcn.140004144
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.140004144
mov qword [rsp + 0x38], r15
lea rdx, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
jb 0x1400515ed
mov rdx, qword [rsp + 0x68]
test rdx, rdx
jne 0x1400515ed
mov r8d, r15d
jmp 0x1400515ff
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400515f4
mov rcx, r14
call fcn.140002a9c
nop
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x140051649
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140051644
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051690
call fcn.140004144
mov rcx, qword [rsi]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
inc edi
jmp 0x140051510
mov al, 1
mov rcx, qword [rsp + 0x6d0]
xor rcx, rsp
call fcn.1402202b0
lea r11, [rsp + 0x6e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
call fcn.1402295a4
nop
int3
Function at 0x1400516a0
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x6c0
mov rax, qword [0x14031a940]
xor rax, rsp
mov qword [rsp + 0x6b0], rax
mov rsi, rdx
cmp byte [rcx + 0x28], 0
jne 0x1400516d8
xor al, al
jmp 0x1400518b6
lea r8, [rsp + 0x50]
lea rdx, str.SELECT__FROM_Win32_PnPEntity
call fcn.140054530
test al, al
je 0x1400518b4
xor r14d, r14d
mov dword [rsp + 0x30], r14d
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x70]
lea edx, [r14 - 1]
mov r8d, MsiSourceListClearAllW
call qword [rax + 0x20]
test eax, eax
js 0x1400518b4
mov edi, r14d
lea r15, str.usbvideo
nop
cmp edi, dword [rsp + 0x30]
jae 0x1400518b4
lea rcx, [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov edx, edi
lea r9, [rsp + 0x58]
lea r8, str.Service
mov rdx, qword [rsp + rdx*8 + 0x70]
call fcn.140053c70
test al, al
je 0x14005189d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x40]
call fcn.140055c90
nop
mov rbx, qword [rax]
test rbx, rbx
je 0x140051783
mov rbx, qword [rbx]
jmp 0x140051786
mov rbx, r14
call fcn.140010254
mov rcx, rax
test rax, rax
je 0x1400518df
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
test rbx, rbx
je 0x1400517dd
cmp rbx, 0x10000
jae 0x1400517c3
movzx edx, bx
lea rcx, [rsp + 0x38]
call fcn.140010ab0
jmp 0x1400517ee
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x1400517d0
jmp 0x1400517e0
mov r8d, r14d
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140002a9c
nop
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x140051841
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x14005183c
test rbx, rbx
je 0x14005183c
mov rcx, qword [rbx]
test rcx, rcx
je 0x14005181d
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r14
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14005182f
call fcn.140004144
mov qword [rbx + 8], r14
mov edx, 0x18
mov rcx, rbx
call fcn.140004144
mov qword [rsp + 0x40], r14
mov rax, qword [rsp + 0x38]
cmp byte [rsi], 0
jne 0x140051880
mov rcx, 0xffffffffffffffff
movzx edx, word [rax + rcx*2 + 2]
cmp dx, word [r15 + rcx*2 + 2]
jne 0x140051874
add rcx, 2
cmp rcx, 9
je 0x1400518af
movzx edx, word [rax + rcx*2]
cmp dx, word [r15 + rcx*2]
je 0x140051852
sbb ecx, ecx
or ecx, 1
test ecx, ecx
sete cl
mov byte [rsi], cl
lea rdx, [rax - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005189d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
inc edi
jmp 0x140051730
mov ecx, r14d
jmp 0x140051879
mov al, 1
mov rcx, qword [rsp + 0x6b0]
xor rcx, rsp
call fcn.1402202b0
lea r11, [rsp + 0x6c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov ecx, 0x80004005
call fcn.140002d6c
int3
Function at 0x1400536b0
Capabilities:
Reference wmi statements

Disassembly:
mov qword [rsp + 0x10], rdx
push rbx
push rsi
push rdi
sub rsp, 0xb0
cmp byte [rcx + 0x28], 0
jne 0x1400536d2
xor al, al
add rsp, 0xb0
pop rdi
pop rsi
pop rbx
ret
xor dil, dil
mov byte [rsp + 0xd8], dil
lea r8, [rsp + 0xe8]
lea rdx, str.SELECT__FROM_Win32_SoundDevice
call fcn.140054530
test al, al
je 0x1400538ad
xor esi, esi
mov qword [rsp + 0xe0], rsi
mov dword [rsp + 0xd0], esi
mov rcx, qword [rsp + 0xe8]
mov rax, qword [rcx]
lea rdx, [rsp + 0xd0]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0xe0]
mov rbx, 0xffffffffffffffff
lea r8d, [rsi + 1]
mov edx, ebx
call qword [rax + 0x20]
test eax, eax
jne 0x14005389e
lea rcx, [rsp + 0x60]
call fcn.140036490
nop
lea rcx, [rsp + 0x48]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov dil, 1
mov byte [rsp + 0xd8], dil
lea r9, [rsp + 0x48]
lea r8, str.Name
mov rdx, qword [rsp + 0xe0]
call fcn.140053c70
test al, al
je 0x1400537f1
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 0x1400538d3
mov rdx, qword [rsp + 0x38]
test rdx, rdx
jne 0x1400537ca
mov r8d, esi
jmp 0x1400537db
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400537d0
lea rcx, [rsp + 0x60]
call fcn.140002a9c
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
lea r9, [rsp + 0x48]
lea r8, str.DeviceID
mov rdx, qword [rsp + 0xe0]
call fcn.140053c70
test al, al
je 0x140053879
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 0x1400538db
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x140053860
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140053854
mov esi, ebx
mov r8d, esi
lea rcx, [rsp + 0x68]
call fcn.140002a9c
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rsp + 0xe0]
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.140035a10
mov rcx, qword [rsp + 0xe8]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
movzx eax, dil
add rsp, 0xb0
pop rdi
pop rsi
pop rbx
ret
mov ecx, eax
call fcn.140002d6c
nop
mov ecx, eax
call fcn.140002d6c
int3
Function at 0x1400584f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x14031a940]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rbp, rdx
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov edi, 7
mov qword [r11 - 0x18], rdi
xor ebx, ebx
mov qword [r11 - 0x20], rbx
mov word [rsp + 0x48], bx
lea rax, [r11 - 0x40]
mov qword [r11 - 0x58], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.HARDWAREDESCRIPTIONSystemBIOS
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140058696
mov dword [rsp + 0x30], ebx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.BaseBoardVersion
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005868a
mov ecx, dword [rsp + 0x30]
inc ecx
mov eax, 2
mul rcx
mov rdi, 0xffffffffffffffff
cmovo rax, rdi
mov rcx, rax
call fcn.140003e80
mov rsi, rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x40]
xor r8d, r8d
lea rdx, str.BaseBoardVersion
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x40], 3
jne 0x140058630
mov r8d, dword [rsp + 0x30]
nop dword [rax + rax]
mov r9b, 1
mov edx, ebx
lea eax, [r8 - 1]
test eax, eax
jle 0x140058630
mov rax, rsi
cmp word [rax], bx
jne 0x14005861d
movzx ecx, word [rax + 2]
test cx, cx
je 0x14005861d
mov word [rax], cx
mov word [rax + 2], bx
xor r9b, r9b
mov r8d, dword [rsp + 0x30]
inc edx
add rax, 2
lea ecx, [r8 - 1]
cmp edx, ecx
jl 0x140058600
test r9b, r9b
je 0x1400585f0
mov rdx, rsi
lea rcx, [rsp + 0x48]
call fcn.140018440
mov rcx, rsi
call fcn.140004144
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rdx, qword [rsp + 0x48]
lea rcx, [rbp + 0x10]
test rdx, rdx
je 0x14005867b
nop word [rax + rax]
inc rdi
cmp word [rdx + rdi*2], bx
jne 0x140058670
mov ebx, edi
mov r8d, ebx
call fcn.140002a9c
mov rdi, qword [rsp + 0x60]
jmp 0x140058696
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
cmp rdi, 8
jb 0x1400586cf
lea rdx, [rdi*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400586ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400586f4
call fcn.140004144
mov al, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1402202b0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1402295a4
int3
Function at 0x140086e44
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 0x140086eac
call fcn.1400a806c
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 0x140086eac
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x140086ef2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
mov edi, 1
test rbx, rbx
je 0x140086ed1
mov rcx, qword [r15]
mov r9, r14
mov r8, rbx
mov rdx, rsi
mov rax, qword [rcx + 0x40]
mov rcx, r15
call qword [case.0x14013f1dd.0]
mov edi, eax
mov rcx, qword [rsi + 0xc8]
test rcx, rcx
je 0x140086ef0
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x140]
mov rdx, r14
call qword [case.0x14013f1dd.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 0x140087be0
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 0x140087c80
movzx eax, word [rdx]
mov r9d, ebx
test ax, ax
je 0x140087c80
movzx eax, ax
inc r9d
add rdx, rax
movzx eax, word [rdx]
test ax, ax
jne 0x140087c10
test r9d, r9d
je 0x140087c80
cmp r9d, 1
jne 0x140087c40
mov r8, r14
xor edx, edx
xor ecx, ecx
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
js 0x140087c99
xor eax, eax
jmp 0x140087c83
lea esi, [r9 - 1]
mov rcx, rdi
test esi, esi
je 0x140087c5c
mov edx, esi
movzx eax, word [rcx]
add bx, ax
add rcx, rax
sub rdx, 1
jne 0x140087c4d
movzx edx, bx
mov rcx, r8
add edx, 2
call fcn.140087b40
movzx r8d, bx
mov rdx, rdi
mov rcx, rax
mov qword [r14], rax
call fcn.140224a90
mov eax, esi
jmp 0x140087c83
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.1400842f8
int3

Function at 0x140098cb0
Capabilities:
Get graphical window text

Disassembly:
sub rsp, 0x78
test rdx, rdx
je 0x140098d18
mov r10, qword [rcx + 0x10]
test r10, r10
je 0x140098d02
cmp qword [rcx + 0x18], 0
jne 0x140098cfd
mov eax, dword [rcx + 0xc]
cmp eax, dword [rcx + 0x30]
jae 0x140098d1e
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 0x140098d18
mov rcx, qword [rcx + 0x40]
add rsp, 0x78
jmp fcn.1400b1424
call fcn.1400842f8
int3
call fcn.1400842f8
int3