joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140010fd0
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 - 0x290]
sub rsp, 0x390
mov rax, qword [0x140313918]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov rsi, rcx
xor edi, edi
mov qword [rsp + 0x38], rdi
movdqa xmm0, xmmword [0x1402cd3d0]
movdqu xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x38], di
mov byte [rsp + 0x30], dil
lea rdx, str.srl::System::Initialize
lea rcx, [rsp + 0x38]
call fcn.140009b0c
nop
call fcn.14001fce0
cmp dword [rax + 8], 4
jl 0x140011049
lea rcx, [rsp + 0x30]
call fcn.140015ae0
lea rcx, [rbp + 0x70]
call fcn.140010ef0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
mov r8d, 3
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x60]
call fcn.1400139c0
nop
lea rcx, [rsi + 8]
mov rbx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x60]
test rdx, rdx
jne 0x14001108a
mov eax, edi
jmp 0x14001109a
mov rax, rbx
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140011090
mov r8d, eax
call fcn.140002aa8
nop
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
je 0x1400110b7
call fcn.1402242a8
xor r9d, r9d
lea r8d, [r9 + 0x23]
lea rdx, [rbp + 0xe0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rdx, str._systemrequirementslabcyriconfig.ini
lea rcx, [rbp + 0xe0]
call qword [sym.imp.SHLWAPI.dll_StrCatW]
lea rax, [rbp + 0xe0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x64
lea r9, [rbp + 0x1b0]
lea r8, [0x1402c1640]
lea rdx, [0x1402c5f20]
lea rcx, str.Detection
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add rsi, 0x10
cmp word [rbp + 0x1b0], 0
jne 0x1400111b5
lea rcx, [rbp + 0xa8]
call fcn.140010ef0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x60], rax
mov r8d, 3
lea rdx, [rbp + 0xa8]
lea rcx, [rsp + 0x60]
call fcn.1400139c0
nop
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x14001116d
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140011161
mov edi, ebx
mov r8d, edi
mov rcx, rsi
call fcn.140002aa8
nop
lea rax, [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
je 0x14001118d
call fcn.1402242a8
mov rcx, rsi
call fcn.140012a20
lea r9, [rbp + 0xe0]
mov r8, qword [rsi]
lea rdx, [0x1402c5f20]
lea rcx, str.Detection
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x1400111dd
lea rax, [rbp + 0x1b0]
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400111c0
mov r8d, ebx
lea rdx, [rbp + 0x1b0]
mov rcx, rsi
call fcn.140002aa8
nop
lea rcx, [rsp + 0x30]
call fcn.140017400
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.140215e10
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14002fcb0
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.1402168c0
sub rsp, rax
mov rax, qword [0x140313918]
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 0x14002fedd
call fcn.140010210
mov rcx, rax
test rax, rax
je 0x14002ff13
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
jae 0x14002fd54
lea rax, [rsp + 0x40]
movzx edx, ax
lea rcx, [rsp + 0x20]
call fcn.140010ac0
jmp 0x14002fd7d
lea rcx, [rsp + 0x40]
mov rax, rbp
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14002fd60
mov r8d, eax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140002aa8
nop
mov rbx, qword [rsp + 0x20]
mov rsi, rbx
mov rdi, r13
movzx eax, word [rbx]
test ax, ax
je 0x14002fe0b
movzx edx, ax
lea rcx, [0x1402c769c]
call fcn.14021a4e4
test rax, rax
je 0x14002fdb3
mov rax, rsi
test rdi, rdi
cmovne rax, rdi
mov rdi, rax
jmp 0x14002fdb6
mov rdi, r13
add rsi, 2
movzx eax, word [rsi]
test ax, ax
jne 0x14002fd90
test rdi, rdi
je 0x14002fe0b
sub rdi, rbx
sar rdi, 1
test edi, edi
js 0x14002ff08
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14002fdf7
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.140002a48
mov rbx, qword [rsp + 0x20]
cmp edi, dword [rbx - 0xc]
jg 0x14002ff08
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov word [rbx + rax*2], r13w
lea rdx, [0x1402c76a8]
mov rax, rbp
inc rax
cmp word [rdx + rax*2], 0
jne 0x14002fe15
mov r8d, eax
lea rcx, [rsp + 0x20]
call fcn.140005abc
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.140003e48
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 0x14002feb9
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x30]
lea rdx, [0x1402c81ac]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14002feac
cmp dword [rsp + 0x28], 0
je 0x14002feac
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.140078df4
mov dil, 1
jmp 0x14002fec1
call fcn.140078df4
xor dil, dil
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], ebp
sub ebp, 1
jg 0x14002fed9
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.140215e10
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.140002d2c
nop
mov ecx, 0x80004005
call fcn.140002d2c
int3
Function at 0x140034c80
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 0x140034e06
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x140034e06
mov r14d, dword [rsp + 0x30]
shr r14d, 1
je 0x140034e06
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 0x140034d3d
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x140034e6f
call fcn.140078dac
test rax, rax
je 0x140034e75
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140034d52
test rsi, rsi
je 0x140034d4f
mov rcx, rsi
call fcn.140078dac
mov rbx, rax
jmp 0x140034d52
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.14021ac40
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 0x140034dcc
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x140034dcc
test rbx, rbx
je 0x140034e25
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140034e21
test al, 1
jne 0x140034dcc
shr rax, 1
cmp word [rbx + rax*2 - 2], 0
je 0x140034e25
test rbx, rbx
je 0x140034e06
sub rdi, rbx
sar rdi, 1
add rdi, rdi
cmp rdi, 0x1000
jb 0x140034dfb
add rdi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x140034e75
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.14000410c
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.140009b0c
nop
test rbx, rbx
je 0x140034e6b
sub rdi, rbx
sar rdi, 1
add rdi, rdi
cmp rdi, 0x1000
jb 0x140034e60
add rdi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x140034e75
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.14000410c
mov al, 1
jmp 0x140034e08
call fcn.140006194
int3
call fcn.14021f028
int3
Function at 0x140034e80
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 r12, rdx
mov rbp, 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 0x140034edc
cmp dword [rsp + 0x34], 4
je 0x1400350a5
jmp 0x140034ee5
cmp eax, 0xd
jne 0x140035032
xor esi, esi
mov dword [rsp + 0x30], esi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.install
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140035032
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x140035032
mov r15d, dword [rsp + 0x30]
shr r15d, 1
je 0x140035032
lea eax, [r15 + 1]
lea r14, [rax + rax]
cmp r14, 0x1000
jb 0x140034f72
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x1400350a9
call fcn.140078dac
test rax, rax
je 0x1400350af
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140034f87
test r14, r14
je 0x140034f84
mov rcx, r14
call fcn.140078dac
mov rbx, rax
jmp 0x140034f87
mov rbx, rsi
lea rdi, [r14 + rbx]
mov r8, r14
xor edx, edx
mov rcx, rbx
call fcn.14021ac40
nop
lea eax, [r15 + r15]
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.install
mov rcx, qword [rbp]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140034ff4
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x140034ff4
test rbx, rbx
je 0x140035050
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14003504d
test al, 1
jne 0x140034ff4
shr rax, 1
cmp word [rbx + rax*2 - 2], 0
je 0x140035050
test rbx, rbx
je 0x140035032
sub rdi, rbx
sar rdi, 1
add rdi, rdi
cmp rdi, 0x1000
jb 0x140035027
add rdi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1400350af
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.14000410c
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], si
movzx ecx, word [rbx]
sub ecx, 0x31
jne 0x140035061
movzx ecx, word [rbx + 2]
movzx eax, si
sub ecx, eax
test ecx, ecx
sete sil
mov dword [r12], esi
test rbx, rbx
je 0x1400350a5
sub rdi, rbx
sar rdi, 1
add rdi, rdi
cmp rdi, 0x1000
jb 0x14003509a
add rdi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1400350af
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.14000410c
mov al, 1
jmp 0x140035034
call fcn.140006194
int3
call fcn.14021f028
int3
Function at 0x140036480
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 0x1400364f5
mov eax, dword [rsp + 0x58]
dec eax
cmp eax, 1
ja 0x1400364f0
mov ecx, dword [rsp + 0x40]
test rbx, rbx
je 0x140036508
test ecx, ecx
je 0x140036505
test cl, 1
jne 0x1400364f0
mov eax, ecx
shr rax, 1
cmp word [rbx + rax*2 - 2], si
je 0x140036508
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 0x140036520
Capabilities:
Get memory capacity

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x470
mov rax, qword [0x140313918]
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 0x14003666a
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 0x140036602
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 0x140036632
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 [0x140322c18]
test rax, rax
jne 0x14003669e
mov ecx, 0xc8
call fcn.140078dac
mov qword [rsp + 0x60], rax
test rax, rax
je 0x140036694
mov rcx, rax
call fcn.140010c40
jmp 0x140036697
mov rax, rdi
mov qword [0x140322c18], rax
lea rbx, [rax + 0xa8]
lea r8, [rsp + 0x30]
mov edx, 0x11597
mov rcx, rbx
call fcn.14001de00
lea r8, [rsp + 0x40]
mov edx, 0x116d5
mov rcx, rbx
call fcn.14001de00
lea r8, [rsp + 0x50]
mov edx, 0x116d6
mov rcx, rbx
call fcn.14001de00
lea r8, [0x1402c1640]
mov edx, 0x11606
mov rcx, rbx
call fcn.14001e180
lea r8, [0x1402c1640]
mov edx, 0x11607
mov rcx, rbx
call fcn.14001e180
nop
mov al, 1
mov rcx, qword [rsp + 0x468]
xor rcx, rsp
call fcn.140215e10
mov rbx, qword [rsp + 0x480]
add rsp, 0x470
pop rdi
ret
Function at 0x140040090
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x140313918]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbp, rdx
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x1400400c1
mov rcx, qword [rcx]
lea rdx, [rsp + 0x20]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
je 0x140040224
mov ecx, esi
call fcn.14022753c
mov rdi, rax
test rax, rax
je 0x140040224
cmp qword [rbx + 0x18], 8
jb 0x1400400f3
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 0x14004021c
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x28]
lea rdx, [0x1402c81ac]
mov rcx, rdi
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14004021c
lea rcx, [rsp + 0x30]
call fcn.140018c50
nop
mov rbx, qword [rsp + 0x28]
movzx edx, word [rbx + 0xa]
lea rcx, [rsp + 0x40]
call fcn.140035a50
mov rcx, rax
lea rdx, [0x1402c60e0]
call fcn.140014b60
mov rcx, rax
movzx edx, word [rbx + 8]
call fcn.140035a50
mov rcx, rax
lea rdx, [0x1402c60e0]
call fcn.140014b60
mov rcx, rax
movzx edx, word [rbx + 0xe]
call fcn.140035a50
mov rcx, rax
lea rdx, [0x1402c60e0]
call fcn.140014b60
mov rcx, rax
movzx edx, word [rbx + 0xc]
call fcn.140035a50
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 0x140040205
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140040200
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040249
call fcn.14000410c
mov rcx, rdi
call fcn.1402242a8
nop
lea rcx, [rsp + 0x30]
call fcn.140018b40
mov al, 1
jmp 0x140040226
mov rcx, rdi
call fcn.1402242a8
xor al, al
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140215e10
mov rbx, qword [rsp + 0x190]
add rsp, 0x160
pop rdi
pop rsi
pop rbp
ret
call fcn.14021f028
nop
int3
Function at 0x140042ce0
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 [0x140313918]
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 0x140042d51
mov ecx, esi
call fcn.14022753c
mov rbx, rax
test rax, rax
je 0x140042d51
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 0x140042d7b
call fcn.1402242a8
xor al, al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.140215e10
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, [0x1402c81ac]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140042d53
lea rcx, [rsp + 0x40]
call fcn.140018c50
nop
mov rbx, qword [rsp + 0x28]
movzx edx, word [rbx + 0xa]
lea rcx, [rsp + 0x50]
call fcn.140035a50
mov rcx, rax
lea rdx, [0x1402c60e0]
call fcn.140014b60
mov rcx, rax
movzx edx, word [rbx + 8]
call fcn.140035a50
mov rcx, rax
lea rdx, [0x1402c60e0]
call fcn.140014b60
mov rcx, rax
movzx edx, word [rbx + 0xe]
call fcn.140035a50
mov rcx, rax
lea rdx, [0x1402c60e0]
call fcn.140014b60
mov rcx, rax
movzx edx, word [rbx + 0xc]
call fcn.140035a50
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x58]
call fcn.140019820
nop
lea rdx, [rsp + 0x140]
cmp qword [rsp + 0x158], 8
jb 0x140042e3d
mov rdx, qword [rsp + 0x140]
test rdx, rdx
je 0x140042e50
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x140042e44
mov edi, eax
mov r8d, edi
mov rcx, rbp
call fcn.140002aa8
nop
mov rdx, qword [rsp + 0x158]
cmp rdx, 8
jb 0x140042ea1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042e9b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140042eb0
call fcn.14000410c
nop
lea rcx, [rsp + 0x40]
call fcn.140018b40
jmp 0x140042d53
call fcn.14021f028
int3
Function at 0x140042ec0
Capabilities:
Get file version info

Disassembly:
push rbx
push rdi
push r14
push r15
sub rsp, 0x268
mov rax, qword [0x140313918]
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 0x14004311d
mov ecx, ebx
call fcn.14022753c
mov r15, rax
test rax, rax
je 0x14004311d
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 0x140043111
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 0x140043111
cmp dword [rsp + 0x20], r13d
jbe 0x140043111
mov rdi, qword [rsp + 0x28]
mov qword [rsp + 0x290], rbp
mov qword [rsp + 0x260], rsi
mov qword [rsp + 0x258], r12
test rdi, rdi
je 0x1400430c1
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rdi + rbx*2], r13w
jne 0x140042fd0
test ebx, ebx
je 0x1400430c1
mov rax, qword [r14]
mov rbp, rdi
sub rbp, rax
sar rbp, 1
mov r12d, dword [rax - 0x10]
test ebx, ebx
js 0x140043121
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, ebx
or ecx, eax
jge 0x140043015
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 0x140043069
lea rdx, [rcx + rbp*2]
test rsi, rsi
je 0x1400430ac
test rcx, rcx
jne 0x140043042
call fcn.14021f174
mov dword [rax], 0x16
jmp 0x1400430a7
test rdx, rdx
jne 0x140043054
call fcn.14021f174
mov dword [rax], 0x16
jmp 0x1400430a7
mov rax, r8
add rax, rax
cmp rax, rsi
jb 0x14004309c
mov r8, rsi
call fcn.14021a590
jmp 0x1400430ac
add r8, r8
test rsi, rsi
je 0x1400430ac
test rcx, rcx
jne 0x140043083
call fcn.14021f174
mov dword [rax], 0x16
jmp 0x1400430a7
cmp r8, rsi
jb 0x140043095
mov r8, rsi
mov rdx, rdi
call fcn.14021a590
jmp 0x1400430ac
xor edx, edx
call fcn.14021ac40
call fcn.14021f174
mov dword [rax], 0x22
call fcn.14021f008
mov rax, qword [r14]
cmp ebx, dword [rax - 0xc]
jg 0x140043121
mov dword [rax - 0x10], ebx
mov rax, qword [r14]
mov word [rsi + rax], r13w
jmp 0x1400430c9
mov rcx, r14
call fcn.1400028b4
mov rcx, r15
call fcn.1402242a8
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.140215e10
add rsp, 0x268
pop r15
pop r14
pop rdi
pop rbx
ret
mov rcx, r15
call fcn.1402242a8
xor al, al
jmp 0x1400430eb
xor al, al
jmp 0x1400430f3
mov ecx, 0x80070057
call fcn.140002d2c
int3