joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140010e00
Capabilities:
Get common file path
Read .ini file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x530]
sub rsp, 0x630
mov rax, qword [0x14031b940]
xor rax, rsp
mov qword [rbp + 0x520], rax
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
movdqa xmm1, xmmword [0x1402d4800]
movdqu xmmword [rsp + 0x48], xmm1
xor edi, edi
mov word [rsp + 0x38], di
mov byte [rsp + 0x30], dil
lea rdx, str.srl::System::Initialize
lea rcx, [rsp + 0x38]
call fcn.1400182b0
nop
call fcn.140020e90
cmp dword [rax + 8], 4
jl 0x140010e7c
lea rcx, [rsp + 0x30]
call fcn.140016100
lea rcx, str.Slwga.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsi + 0xc8], rax
lea rcx, str.Tbs.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsi + 0xd0], rax
lea rcx, [rbp + 0x180]
call fcn.140010d20
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
mov r8d, 3
lea rdx, [rbp + 0x180]
lea rcx, [rsp + 0x60]
call fcn.1400140e0
nop
lea rcx, [rsi + 8]
mov rbx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jne 0x140010eec
mov r8d, edi
jmp 0x140010efb
mov r8, rbx
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x140010ef0
call fcn.140002b6c
nop
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
je 0x140010f15
call fcn.14022f758
xor r9d, r9d
lea r8d, [r9 + 0x23]
lea rdx, [rbp + 0x2c0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rdx, str._systemrequirementslabcyriconfig.ini
lea rcx, [rbp + 0x2c0]
call qword [sym.imp.SHLWAPI.dll_StrCatW]
lea rax, [rbp + 0x2c0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x64
lea r9, [rbp + 0x1f0]
lea r8, [0x1402c96bc]
lea rdx, [0x1402cd2e0]
lea rcx, str.Detection
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add rsi, 0x10
cmp word [rbp + 0x1f0], 0
jne 0x140011013
lea rcx, [rbp + 0x1b8]
call fcn.140010d20
lea rax, [rbp + 0x78]
mov qword [rbp + 0x70], rax
mov r8d, 3
lea rdx, [rbp + 0x1b8]
lea rcx, [rbp + 0x70]
call fcn.1400140e0
nop
mov rdx, qword [rbp + 0x70]
test rdx, rdx
je 0x140010fcd
nop dword [rax + rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140010fc0
mov rdi, rbx
mov r8d, edi
mov rcx, rsi
call fcn.140002b6c
nop
lea rax, [rbp + 0x78]
mov rcx, qword [rbp + 0x70]
cmp rcx, rax
je 0x140010feb
call fcn.14022f758
mov rcx, rsi
call fcn.140013160
lea r9, [rbp + 0x2c0]
mov r8, qword [rsi]
lea rdx, [0x1402cd2e0]
lea rcx, str.Detection
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x14001103d
lea rax, [rbp + 0x1f0]
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140011020
mov r8d, ebx
lea rdx, [rbp + 0x1f0]
mov rcx, rsi
call fcn.140002b6c
nop
lea rcx, [rsp + 0x30]
call fcn.140017b00
mov rcx, qword [rbp + 0x520]
xor rcx, rsp
call fcn.140220ab0
lea r11, [rsp + 0x630]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x140021000
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x170
mov rax, qword [0x14031b940]
xor rax, rsp
mov qword [rsp + 0x168], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xor ebp, ebp
call fcn.140231ccc
lea edx, [rbp + 0xb]
lea rcx, [rsp + 0x150]
call fcn.140231e1c
lea rdx, [rsp + 0x150]
mov rcx, rbx
call fcn.1400182b0
lea rcx, [rsp + 0x30]
call fcn.140019350
nop
cmp dword [rsi + 0x14], ebp
jne 0x140021078
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsi + 0x14], eax
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140012dc0
jmp 0x14002109b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsi + 0x14]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm1, qword [0x1402d47b0]
lea rcx, [rsp + 0x40]
call fcn.140021890
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x48]
call fcn.140019f80
nop
lea rax, [rsp + 0x130]
cmp rdi, rax
je 0x14002112a
mov rdx, qword [rdi + 0x18]
cmp rdx, 7
jbe 0x1400210fa
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400210f5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002119c
mov rcx, r8
call fcn.140003e94
movups xmm0, xmmword [rsp + 0x130]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x140]
movups xmmword [rdi + 0x10], xmm1
movdqa xmm0, xmmword [0x1402d4800]
movdqu xmmword [rsp + 0x140], xmm0
mov word [rsp + 0x130], bp
mov rdx, qword [rsp + 0x148]
cmp rdx, 7
jbe 0x14002116f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021169
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400211a2
call fcn.140003e94
nop
lea rcx, [rsp + 0x30]
call fcn.140019240
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.140220ab0
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x170
pop rdi
pop rsi
pop rbp
ret
call fcn.14022a250
nop
call fcn.14022a250
int3
Function at 0x14002e2a0
Capabilities:
Get common file path
Get file version info

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x14a0
call fcn.1402213d0
sub rsp, rax
mov rax, qword [0x14031b940]
xor rax, rsp
mov qword [rsp + 0x1490], rax
mov r12, r8
mov r15, rdx
mov r14, rcx
xor r13d, r13d
mov dword [rcx], r13d
mov dword [rdx], r13d
mov dword [r8], r13d
mov edx, 0x1450
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14002e4cb
call fcn.140010070
mov rcx, rax
test rax, rax
je 0x14002e501
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x40]
mov rbp, 0xffffffffffffffff
cmp rax, 0x10000
lea rax, [rsp + 0x40]
jae 0x14002e344
movzx edx, ax
lea rcx, [rsp + 0x20]
call fcn.1400108d0
jmp 0x14002e36b
mov r8, rbp
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14002e350
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140002b6c
nop
mov rbx, qword [rsp + 0x20]
mov rsi, rbx
mov rdi, r13
movzx eax, word [rbx]
test ax, ax
je 0x14002e3fb
nop
movzx edx, ax
lea rcx, [0x1402ce6fc]
call fcn.1402251b0
test rax, rax
je 0x14002e3a3
mov rax, rsi
test rdi, rdi
cmovne rax, rdi
mov rdi, rax
jmp 0x14002e3a6
mov rdi, r13
add rsi, 2
movzx eax, word [rsi]
test ax, ax
jne 0x14002e380
test rdi, rdi
je 0x14002e3fb
sub rdi, rbx
sar rdi, 1
test edi, edi
js 0x14002e4f6
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14002e3e7
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.140002b08
mov rbx, qword [rsp + 0x20]
cmp edi, dword [rbx - 0xc]
jg 0x14002e4f6
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov word [rbx + rax*2], r13w
lea rdx, [0x1402ce708]
mov r8, rbp
inc r8
cmp word [rdx + r8*2], 0
jne 0x14002e405
lea rcx, [rsp + 0x20]
call fcn.14000581c
lea rdx, [rsp + 0x2c]
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
mov ecx, eax
call fcn.140003bd0
mov rsi, rax
mov r9, rax
mov r8d, edi
mov edx, dword [rsp + 0x2c]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov rcx, rsi
test eax, eax
je 0x14002e4a7
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x30]
lea rdx, [0x1402cf22c]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14002e49a
cmp dword [rsp + 0x28], 0
je 0x14002e49a
mov rcx, qword [rsp + 0x30]
movzx eax, word [rcx + 0x12]
mov dword [r14], eax
movzx eax, word [rcx + 0x10]
mov dword [r15], eax
movzx eax, word [rcx + 0x16]
mov dword [r12], eax
mov rcx, rsi
call fcn.140003e94
mov dil, 1
jmp 0x14002e4af
call fcn.140003e94
xor dil, dil
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], ebp
sub ebp, 1
jg 0x14002e4c7
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
movzx eax, dil
mov rcx, qword [rsp + 0x1490]
xor rcx, rsp
call fcn.140220ab0
mov rbx, qword [rsp + 0x14f8]
add rsp, 0x14a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80070057
call fcn.140002e3c
nop
mov ecx, 0x80004005
call fcn.140002e3c
int3
Function at 0x140032fe0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x50
mov rbp, rdx
mov r15, rcx
mov eax, dword [rsp + 0x34]
add eax, eax
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
xor r12d, r12d
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.version
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140033166
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x140033166
mov r14d, dword [rsp + 0x30]
shr r14d, 1
je 0x140033166
lea eax, [r14 + 1]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r12
lea rsi, [rax + rax]
cmp rsi, 0x1000
jb 0x14003309d
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x1400331cf
call fcn.140084970
test rax, rax
je 0x1400331d5
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400330b2
test rsi, rsi
je 0x1400330af
mov rcx, rsi
call fcn.140084970
mov rbx, rax
jmp 0x1400330b2
mov rbx, r12
mov qword [rsp + 0x38], rbx
lea rdi, [rsi + rbx]
mov qword [rsp + 0x48], rdi
mov r8, rsi
xor edx, edx
mov rcx, rbx
call fcn.140254770
mov qword [rsp + 0x40], rdi
lea eax, [r14 + r14]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.version
mov rcx, qword [r15]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003312c
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x14003312c
test rbx, rbx
je 0x140033185
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140033181
test al, 1
jne 0x14003312c
shr rax, 1
cmp word [rbx + rax*2 - 2], 0
je 0x140033185
test rbx, rbx
je 0x140033166
sub rdi, rbx
sar rdi, 1
add rdi, rdi
cmp rdi, 0x1000
jb 0x14003315b
add rdi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1400331d5
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.140003e94
xor al, al
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov word [rbx], r12w
mov rdx, rbx
mov rcx, rbp
call fcn.1400182b0
nop
test rbx, rbx
je 0x1400331cb
sub rdi, rbx
sar rdi, 1
add rdi, rdi
cmp rdi, 0x1000
jb 0x1400331c0
add rdi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1400331d5
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.140003e94
mov al, 1
jmp 0x140033168
call fcn.140005ef4
int3
call fcn.14022a250
int3
Function at 0x1400331e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
push rdi
push r14
sub rsp, 0x50
mov r14, rdx
mov rsi, rcx
mov dword [rsp + 0x30], 4
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.install
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140033233
cmp dword [rsp + 0x34], 4
je 0x1400333a3
jmp 0x14003323c
cmp eax, 0xd
jne 0x140033337
xor edi, edi
mov dword [rsp + 0x30], edi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.install
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140033337
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x140033337
mov ebx, dword [rsp + 0x30]
shr ebx, 1
je 0x140033337
lea edx, [rbx + 1]
lea rcx, [rsp + 0x38]
call fcn.140033d80
nop
lea eax, [rbx + rbx]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.install
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400332f7
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x1400332f7
test rbx, rbx
je 0x14003334d
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14003334a
test al, 1
jne 0x1400332f7
shr rax, 1
cmp word [rbx + rax*2 - 2], di
je 0x14003334d
test rbx, rbx
je 0x140033337
mov rdx, qword [rsp + 0x48]
sub rdx, rbx
sar rdx, 1
add rdx, rdx
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003332f
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400333b6
mov rcx, rbx
call fcn.140003e94
xor al, al
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
mov word [rbx], di
movzx ecx, word [rbx]
sub ecx, 0x31
jne 0x14003335e
movzx ecx, word [rbx + 2]
movzx eax, di
sub ecx, eax
test ecx, ecx
sete dil
mov dword [r14], edi
test rbx, rbx
je 0x1400333a3
mov rdx, qword [rsp + 0x48]
sub rdx, rbx
sar rdx, 1
add rdx, rdx
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003339b
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400333b6
mov rcx, rbx
call fcn.140003e94
mov al, 1
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
call fcn.14022a250
int3
Function at 0x140034870
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov eax, dword [r9]
mov rbx, r8
add eax, eax
mov rdi, r9
mov dword [rsp + 0x40], eax
xor esi, esi
mov dword [r9], esi
lea rax, [rsp + 0x40]
mov rcx, qword [rcx]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400348e5
mov eax, dword [rsp + 0x58]
dec eax
cmp eax, 1
ja 0x1400348e0
mov ecx, dword [rsp + 0x40]
test rbx, rbx
je 0x1400348f8
test ecx, ecx
je 0x1400348f5
test cl, 1
jne 0x1400348e0
mov eax, ecx
shr rax, 1
cmp word [rbx + rax*2 - 2], si
je 0x1400348f8
mov eax, SafeArrayGetDim
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov word [rbx], si
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
shr ecx, 1
mov dword [rdi], ecx
xor eax, eax
add rsp, 0x30
pop rdi
ret
Function at 0x140034910
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x470
mov rax, qword [0x14031b940]
xor rax, rsp
mov qword [rsp + 0x468], rax
xor r14d, r14d
lea rax, vtable.srl::Size.0
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], r14
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 0x140034aaa
lea rcx, [rsp + 0x290]
call fcn.140019350
nop
lea rcx, [rsp + 0x190]
call fcn.140019350
nop
lea rcx, [rsp + 0x90]
call fcn.140019350
nop
lea rdx, str.GlobalMemoryStatusEx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
lea rdx, str.GetPhysicallyInstalledSystemMemory
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rsi, rsi
je 0x140034a23
lea rcx, [rsp + 0x3f0]
call rsi
mov rcx, qword [rsp + 0x3f8]
mov qword [rsp + 0x68], rcx
mov rcx, qword [rsp + 0x418]
mov qword [rsp + 0x48], rcx
mov rcx, qword [rsp + 0x400]
mov qword [rsp + 0x58], rcx
jmp 0x140034a58
lea rcx, [rsp + 0x430]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov rax, qword [rsp + 0x438]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x458]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x440]
mov qword [rsp + 0x58], rax
test rdi, rdi
je 0x140034a77
mov qword [rsp + 0x30], r14
lea rcx, [rsp + 0x30]
call rdi
mov rax, qword [rsp + 0x30]
shl rax, 0xa
mov qword [rsp + 0x78], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rcx, [rsp + 0x90]
call fcn.140019240
nop
lea rcx, [rsp + 0x190]
call fcn.140019240
nop
lea rcx, [rsp + 0x290]
call fcn.140019240
mov rax, qword [0x14032ac98]
test rax, rax
jne 0x140034ade
mov ecx, 0xd8
call fcn.140084970
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140034ad4
mov rcx, rax
call fcn.140010a50
jmp 0x140034ad7
mov rax, r14
mov qword [0x14032ac98], rax
lea rbx, [rax + 0xa8]
lea r8, [rsp + 0x70]
mov edx, 0x11597
mov rcx, rbx
call fcn.14001e860
lea r8, [rsp + 0x40]
mov edx, 0x116d5
mov rcx, rbx
call fcn.14001e860
lea r8, [rsp + 0x50]
mov edx, 0x116d6
mov rcx, rbx
call fcn.14001e860
lea r8, [rsp + 0x60]
mov edx, 0x117b8
mov rcx, rbx
call fcn.14001e860
lea r8, [0x1402c96bc]
mov edx, 0x11606
mov rcx, rbx
call fcn.14001ebe0
lea r8, [0x1402c96bc]
mov edx, 0x11607
mov rcx, rbx
call fcn.14001ebe0
nop
mov al, 1
mov rcx, qword [rsp + 0x468]
xor rcx, rsp
call fcn.140220ab0
lea r11, [rsp + 0x470]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r14
ret
Function at 0x14003f470
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x14031b940]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbp, rdx
mov rbx, rcx
cmp qword [rcx + 0x18], 7
jbe 0x14003f4a1
mov rcx, qword [rcx]
lea rdx, [rsp + 0x20]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
je 0x14003f604
mov ecx, esi
call fcn.1402327a0
mov rdi, rax
test rax, rax
je 0x14003f604
cmp qword [rbx + 0x18], 7
jbe 0x14003f4d3
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 0x14003f5fc
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x28]
lea rdx, [0x1402cf22c]
mov rcx, rdi
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14003f5fc
lea rcx, [rsp + 0x30]
call fcn.140019350
nop
mov rbx, qword [rsp + 0x28]
movzx edx, word [rbx + 0xa]
lea rcx, [rsp + 0x40]
call fcn.140033e40
mov rcx, rax
lea rdx, [0x1402cd4b8]
call fcn.140014ab0
mov rcx, rax
movzx edx, word [rbx + 8]
call fcn.140033e40
mov rcx, rax
lea rdx, [0x1402cd4b8]
call fcn.140014ab0
mov rcx, rax
movzx edx, word [rbx + 0xe]
call fcn.140033e40
mov rcx, rax
lea rdx, [0x1402cd4b8]
call fcn.140014ab0
mov rcx, rax
movzx edx, word [rbx + 0xc]
call fcn.140033e40
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x48]
call fcn.140019f80
lea rdx, [rsp + 0x130]
mov rcx, rbp
call fcn.14000cc8c
mov rdx, qword [rsp + 0x148]
cmp rdx, 7
jbe 0x14003f5e5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f5e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f629
call fcn.140003e94
mov rcx, rdi
call fcn.14022f758
nop
lea rcx, [rsp + 0x30]
call fcn.140019240
mov al, 1
jmp 0x14003f606
mov rcx, rdi
call fcn.14022f758
xor al, al
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140220ab0
mov rbx, qword [rsp + 0x190]
add rsp, 0x160
pop rdi
pop rsi
pop rbp
ret
call fcn.14022a250
nop
int3
Function at 0x14003f630
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1700]
mov eax, 0x1800
call fcn.1402213d0
sub rsp, rax
mov rax, qword [0x14031b940]
xor rax, rsp
mov qword [rbp + 0x16f0], rax
mov r12, rdx
mov rbx, rcx
xor r15b, r15b
xor r13d, r13d
mov edi, r13d
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], r13d
mov qword [rsp + 0x50], r13
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_
lea rcx, [rsp + 0x58]
call fcn.1400092fc
nop
mov r9, rbx
cmp qword [rbx + 0x18], 7
jbe 0x14003f6a3
mov r9, qword [rbx]
mov rsi, qword [rbx + 0x10]
mov r14, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
sub rax, r14
cmp rsi, rax
ja 0x14003f6ef
lea rax, [rsi + r14]
mov qword [rsp + 0x68], rax
lea rbx, [rsp + 0x58]
cmp rcx, 7
cmova rbx, qword [rsp + 0x58]
lea rcx, [rbx + r14*2]
lea r8, [rsi + rsi]
mov rdx, r9
call fcn.1402540d0
lea rax, [r14 + rsi]
mov word [rbx + rax*2], r13w
jmp 0x14003f701
mov qword [rsp + 0x20], rsi
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.140021e20
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 7
cmova rdx, qword [rsp + 0x58]
mov qword [rsp + 0x38], r13
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14003f7d7
mov rdi, qword [rsp + 0x38]
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x48], r13d
mov dword [rsp + 0x30], 0x7d0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
lea rdx, [0x1402c96bc]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003f7d7
mov eax, dword [rsp + 0x38]
dec eax
cmp eax, 1
ja 0x14003f7d7
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14003f7a9
test al, 1
jne 0x14003f7d7
shr rax, 1
cmp word [rsp + rax*2 + 0x7e], 0
je 0x14003f7ae
jmp 0x14003f7d7
mov word [rbp - 0x80], r13w
mov r8d, 0x7d0
lea rdx, [rbp + 0x750]
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea rdx, [rbp + 0x750]
mov rcx, r12
call fcn.1400182b0
mov r15b, 1
mov rdx, qword [rsp + 0x70]
cmp rdx, 7
jbe 0x14003f815
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f810
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f865
call fcn.140003e94
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r13w
test rdi, rdi
je 0x14003f837
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, r15b
mov rcx, qword [rbp + 0x16f0]
xor rcx, rsp
call fcn.140220ab0
mov rbx, qword [rsp + 0x1850]
add rsp, 0x1800
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14022a250
nop
int3
Function at 0x140041e80
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 [0x14031b940]
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 0x140041ef1
mov ecx, esi
call fcn.1402327a0
mov rbx, rax
test rax, rax
je 0x140041ef1
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 0x140041f1b
call fcn.14022f758
xor al, al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140220ab0
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, [0x1402cf22c]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140041ef3
lea rcx, [rsp + 0x40]
call fcn.140019350
nop
mov rbx, qword [rsp + 0x28]
movzx edx, word [rbx + 0xa]
lea rcx, [rsp + 0x50]
call fcn.140033e40
mov rcx, rax
lea rdx, [0x1402cd4b8]
call fcn.140014ab0
mov rcx, rax
movzx edx, word [rbx + 8]
call fcn.140033e40
mov rcx, rax
lea rdx, [0x1402cd4b8]
call fcn.140014ab0
mov rcx, rax
movzx edx, word [rbx + 0xe]
call fcn.140033e40
mov rcx, rax
lea rdx, [0x1402cd4b8]
call fcn.140014ab0
mov rcx, rax
movzx edx, word [rbx + 0xc]
call fcn.140033e40
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x58]
call fcn.140019f80
nop
lea rdx, [rsp + 0x140]
cmp qword [rsp + 0x158], 7
jbe 0x140041fdd
mov rdx, qword [rsp + 0x140]
test rdx, rdx
je 0x140041ff0
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x140041fe4
mov edi, eax
mov r8d, edi
mov rcx, rbp
call fcn.140002b6c
nop
mov rdx, qword [rsp + 0x158]
cmp rdx, 7
jbe 0x140042041
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004203b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140042050
call fcn.140003e94
nop
lea rcx, [rsp + 0x40]
call fcn.140019240
jmp 0x140041ef3
call fcn.14022a250
int3