joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400211f0
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 [0x14031a940]
xor rax, rsp
mov qword [rsp + 0x168], rax
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
xor ebp, ebp
call fcn.140230f0c
lea edx, [rbp + 0xb]
lea rcx, [rsp + 0x150]
call fcn.14023105c
lea rdx, [rsp + 0x150]
mov rcx, rbx
call fcn.140018440
lea rcx, [rsp + 0x30]
call fcn.1400194c0
nop
cmp dword [rsi + 0x14], ebp
jne 0x140021268
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rsi + 0x14], eax
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.140012fa0
jmp 0x14002128b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [rsi + 0x14]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm1, qword [0x1402d3520]
lea rcx, [rsp + 0x40]
call fcn.140021a80
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x48]
call fcn.14001a0c0
nop
lea rax, [rsp + 0x130]
cmp rdi, rax
je 0x14002131a
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x1400212ea
mov rcx, qword [rdi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400212e5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002138c
mov rcx, r8
call fcn.140004144
movups xmm0, xmmword [rsp + 0x130]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsp + 0x140]
movups xmmword [rdi + 0x10], xmm1
movdqa xmm0, xmmword [0x1402d3570]
movdqu xmmword [rsp + 0x140], xmm0
mov word [rsp + 0x130], bp
mov rdx, qword [rsp + 0x148]
cmp rdx, 8
jb 0x14002135f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021359
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140021392
call fcn.140004144
nop
lea rcx, [rsp + 0x30]
call fcn.1400193b0
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.1402202b0
mov rbx, qword [rsp + 0x1a8]
add rsp, 0x170
pop rdi
pop rsi
pop rbp
ret
call fcn.1402295a4
nop
call fcn.1402295a4
int3
Function at 0x14002e4a0
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.140220be0
sub rsp, rax
mov rax, qword [0x14031a940]
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 0x14002e6cb
call fcn.140010254
mov rcx, rax
test rax, rax
je 0x14002e701
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 0x14002e544
movzx edx, ax
lea rcx, [rsp + 0x20]
call fcn.140010ab0
jmp 0x14002e56b
mov r8, rbp
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14002e550
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140002a9c
nop
mov rbx, qword [rsp + 0x20]
mov rsi, rbx
mov rdi, r13
movzx eax, word [rbx]
test ax, ax
je 0x14002e5fb
nop
movzx edx, ax
lea rcx, [0x1402cd6ac]
call fcn.1402249e4
test rax, rax
je 0x14002e5a3
mov rax, rsi
test rdi, rdi
cmovne rax, rdi
mov rdi, rax
jmp 0x14002e5a6
mov rdi, r13
add rsi, 2
movzx eax, word [rsi]
test ax, ax
jne 0x14002e580
test rdi, rdi
je 0x14002e5fb
sub rdi, rbx
sar rdi, 1
test edi, edi
js 0x14002e6f6
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14002e5e7
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.140002a38
mov rbx, qword [rsp + 0x20]
cmp edi, dword [rbx - 0xc]
jg 0x14002e6f6
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov word [rbx + rax*2], r13w
lea rdx, [0x1402cd6b8]
mov r8, rbp
inc r8
cmp word [rdx + r8*2], 0
jne 0x14002e605
lea rcx, [rsp + 0x20]
call fcn.140005af4
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.140003e80
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 0x14002e6a7
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
lea r9, [rsp + 0x28]
lea r8, [rsp + 0x30]
lea rdx, [0x1402ce1dc]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14002e69a
cmp dword [rsp + 0x28], 0
je 0x14002e69a
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.140004144
mov dil, 1
jmp 0x14002e6af
call fcn.140004144
xor dil, dil
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], ebp
sub ebp, 1
jg 0x14002e6c7
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.1402202b0
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.140002d6c
nop
mov ecx, 0x80004005
call fcn.140002d6c
int3
Function at 0x1400333c0
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 0x140033546
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x140033546
mov r14d, dword [rsp + 0x30]
shr r14d, 1
je 0x140033546
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 0x14003347d
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x1400335af
call fcn.140084538
test rax, rax
je 0x1400335b5
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140033492
test rsi, rsi
je 0x14003348f
mov rcx, rsi
call fcn.140084538
mov rbx, rax
jmp 0x140033492
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.140225130
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 0x14003350c
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x14003350c
test rbx, rbx
je 0x140033565
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140033561
test al, 1
jne 0x14003350c
shr rax, 1
cmp word [rbx + rax*2 - 2], 0
je 0x140033565
test rbx, rbx
je 0x140033546
sub rdi, rbx
sar rdi, 1
add rdi, rdi
cmp rdi, 0x1000
jb 0x14003353b
add rdi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1400335b5
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.140004144
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.140018440
nop
test rbx, rbx
je 0x1400335ab
sub rdi, rbx
sar rdi, 1
add rdi, rdi
cmp rdi, 0x1000
jb 0x1400335a0
add rdi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1400335b5
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.140004144
mov al, 1
jmp 0x140033548
call fcn.1400061cc
int3
call fcn.1402295a4
int3
Function at 0x1400335c0
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 0x14003361c
cmp dword [rsp + 0x34], 4
je 0x1400337e5
jmp 0x140033625
cmp eax, 0xd
jne 0x140033772
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 0x140033772
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x140033772
mov r15d, dword [rsp + 0x30]
shr r15d, 1
je 0x140033772
lea eax, [r15 + 1]
lea r14, [rax + rax]
cmp r14, 0x1000
jb 0x1400336b2
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x1400337e9
call fcn.140084538
test rax, rax
je 0x1400337ef
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400336c7
test r14, r14
je 0x1400336c4
mov rcx, r14
call fcn.140084538
mov rbx, rax
jmp 0x1400336c7
mov rbx, rsi
lea rdi, [r14 + rbx]
mov r8, r14
xor edx, edx
mov rcx, rbx
call fcn.140225130
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 0x140033734
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, 1
ja 0x140033734
test rbx, rbx
je 0x140033790
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14003378d
test al, 1
jne 0x140033734
shr rax, 1
cmp word [rbx + rax*2 - 2], 0
je 0x140033790
test rbx, rbx
je 0x140033772
sub rdi, rbx
sar rdi, 1
add rdi, rdi
cmp rdi, 0x1000
jb 0x140033767
add rdi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1400337ef
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.140004144
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 0x1400337a1
movzx ecx, word [rbx + 2]
movzx eax, si
sub ecx, eax
test ecx, ecx
sete sil
mov dword [r12], esi
test rbx, rbx
je 0x1400337e5
sub rdi, rbx
sar rdi, 1
add rdi, rdi
cmp rdi, 0x1000
jb 0x1400337da
add rdi, 0x27
mov rcx, qword [rbx - 8]
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x1400337ef
mov rbx, rcx
mov rdx, rdi
mov rcx, rbx
call fcn.140004144
mov al, 1
jmp 0x140033774
call fcn.1400061cc
int3
call fcn.1402295a4
int3
Function at 0x140034c70
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 [0x14031a940]
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 0x140034e0a
lea rcx, [rsp + 0x290]
call fcn.1400194c0
nop
lea rcx, [rsp + 0x190]
call fcn.1400194c0
nop
lea rcx, [rsp + 0x90]
call fcn.1400194c0
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 0x140034d83
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 0x140034db8
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 0x140034dd7
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.1400193b0
nop
lea rcx, [rsp + 0x190]
call fcn.1400193b0
nop
lea rcx, [rsp + 0x290]
call fcn.1400193b0
mov rax, qword [0x140329c68]
test rax, rax
jne 0x140034e3e
mov ecx, 0xd8
call fcn.140084538
mov qword [rsp + 0x30], rax
test rax, rax
je 0x140034e34
mov rcx, rax
call fcn.140010c30
jmp 0x140034e37
mov rax, r14
mov qword [0x140329c68], rax
lea rbx, [rax + 0xa8]
lea r8, [rsp + 0x70]
mov edx, 0x11597
mov rcx, rbx
call fcn.14001ead0
lea r8, [rsp + 0x40]
mov edx, 0x116d5
mov rcx, rbx
call fcn.14001ead0
lea r8, [rsp + 0x50]
mov edx, 0x116d6
mov rcx, rbx
call fcn.14001ead0
lea r8, [rsp + 0x60]
mov edx, 0x117b8
mov rcx, rbx
call fcn.14001ead0
lea r8, [0x1402c7950]
mov edx, 0x11606
mov rcx, rbx
call fcn.14001ee50
lea r8, [0x1402c7950]
mov edx, 0x11607
mov rcx, rbx
call fcn.14001ee50
nop
mov al, 1
mov rcx, qword [rsp + 0x468]
xor rcx, rsp
call fcn.1402202b0
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 0x14003f820
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x14031a940]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbp, rdx
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x14003f851
mov rcx, qword [rcx]
lea rdx, [rsp + 0x20]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
je 0x14003f9b4
mov ecx, esi
call fcn.140231c44
mov rdi, rax
test rax, rax
je 0x14003f9b4
cmp qword [rbx + 0x18], 8
jb 0x14003f883
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 0x14003f9ac
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x28]
lea rdx, [0x1402ce1dc]
mov rcx, rdi
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14003f9ac
lea rcx, [rsp + 0x30]
call fcn.1400194c0
nop
mov rbx, qword [rsp + 0x28]
movzx edx, word [rbx + 0xa]
lea rcx, [rsp + 0x40]
call fcn.1400341a0
mov rcx, rax
lea rdx, [0x1402cc454]
call fcn.140015360
mov rcx, rax
movzx edx, word [rbx + 8]
call fcn.1400341a0
mov rcx, rax
lea rdx, [0x1402cc454]
call fcn.140015360
mov rcx, rax
movzx edx, word [rbx + 0xe]
call fcn.1400341a0
mov rcx, rax
lea rdx, [0x1402cc454]
call fcn.140015360
mov rcx, rax
movzx edx, word [rbx + 0xc]
call fcn.1400341a0
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x48]
call fcn.14001a0c0
lea rdx, [rsp + 0x130]
mov rcx, rbp
call fcn.14000cea0
mov rdx, qword [rsp + 0x148]
cmp rdx, 8
jb 0x14003f995
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x130]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003f990
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003f9d9
call fcn.140004144
mov rcx, rdi
call fcn.14022e968
nop
lea rcx, [rsp + 0x30]
call fcn.1400193b0
mov al, 1
jmp 0x14003f9b6
mov rcx, rdi
call fcn.14022e968
xor al, al
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.1402202b0
mov rbx, qword [rsp + 0x190]
add rsp, 0x160
pop rdi
pop rsi
pop rbp
ret
call fcn.1402295a4
nop
int3
Function at 0x14003f9e0
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.140220be0
sub rsp, rax
mov rax, qword [0x14031a940]
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.14000953c
nop
mov r9, rbx
cmp qword [rbx + 0x18], 8
jb 0x14003fa53
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 0x14003fa9f
lea rax, [r14 + rsi]
mov qword [rsp + 0x68], rax
lea rbx, [rsp + 0x58]
cmp rcx, 8
cmovae rbx, qword [rsp + 0x58]
lea rcx, [rbx + r14*2]
lea r8, [rsi + rsi]
mov rdx, r9
call fcn.140224a90
lea rax, [r14 + rsi]
mov word [rbx + rax*2], r13w
jmp 0x14003fab1
mov qword [rsp + 0x20], rsi
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.140022090
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae 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 0x14003fb87
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, [0x1402c7950]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14003fb87
mov eax, dword [rsp + 0x38]
dec eax
cmp eax, 1
ja 0x14003fb87
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x14003fb59
test al, 1
jne 0x14003fb87
shr rax, 1
cmp word [rsp + rax*2 + 0x7e], 0
je 0x14003fb5e
jmp 0x14003fb87
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.140018440
mov r15b, 1
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x14003fbc5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003fbc0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003fc15
call fcn.140004144
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], r13w
test rdi, rdi
je 0x14003fbe7
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, r15b
mov rcx, qword [rbp + 0x16f0]
xor rcx, rsp
call fcn.1402202b0
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.1402295a4
nop
int3
Function at 0x1400422d0
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 [0x14031a940]
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 0x140042341
mov ecx, esi
call fcn.140231c44
mov rbx, rax
test rax, rax
je 0x140042341
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 0x14004236b
call fcn.14022e968
xor al, al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.1402202b0
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, [0x1402ce1dc]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140042343
lea rcx, [rsp + 0x40]
call fcn.1400194c0
nop
mov rbx, qword [rsp + 0x28]
movzx edx, word [rbx + 0xa]
lea rcx, [rsp + 0x50]
call fcn.1400341a0
mov rcx, rax
lea rdx, [0x1402cc454]
call fcn.140015360
mov rcx, rax
movzx edx, word [rbx + 8]
call fcn.1400341a0
mov rcx, rax
lea rdx, [0x1402cc454]
call fcn.140015360
mov rcx, rax
movzx edx, word [rbx + 0xe]
call fcn.1400341a0
mov rcx, rax
lea rdx, [0x1402cc454]
call fcn.140015360
mov rcx, rax
movzx edx, word [rbx + 0xc]
call fcn.1400341a0
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x58]
call fcn.14001a0c0
nop
lea rdx, [rsp + 0x140]
cmp qword [rsp + 0x158], 8
jb 0x14004242d
mov rdx, qword [rsp + 0x140]
test rdx, rdx
je 0x140042440
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x140042434
mov edi, eax
mov r8d, edi
mov rcx, rbp
call fcn.140002a9c
nop
mov rdx, qword [rsp + 0x158]
cmp rdx, 8
jb 0x140042491
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x140]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004248b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400424a0
call fcn.140004144
nop
lea rcx, [rsp + 0x40]
call fcn.1400193b0
jmp 0x140042343
call fcn.1402295a4
int3
Function at 0x1400424b0
Capabilities:
Get file version info

Disassembly:
push rbx
push rdi
push r14
push r15
sub rsp, 0x268
mov rax, qword [0x14031a940]
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 0x14004270d
mov ecx, ebx
call fcn.140231c44
mov r15, rax
test rax, rax
je 0x14004270d
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 0x140042701
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 0x140042701
cmp dword [rsp + 0x20], r13d
jbe 0x140042701
mov rdi, qword [rsp + 0x28]
mov qword [rsp + 0x290], rbp
mov qword [rsp + 0x260], rsi
mov qword [rsp + 0x258], r12
test rdi, rdi
je 0x1400426b1
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rdi + rbx*2], r13w
jne 0x1400425c0
test ebx, ebx
je 0x1400426b1
mov rax, qword [r14]
mov rbp, rdi
sub rbp, rax
sar rbp, 1
mov r12d, dword [rax - 0x10]
test ebx, ebx
js 0x140042711
mov ecx, 1
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, ebx
or ecx, eax
jge 0x140042605
mov edx, ebx
mov rcx, r14
call fcn.140002a38
mov rcx, qword [r14]
movsxd rsi, ebx
add rsi, rsi
movsxd r8, dword [rcx - 0xc]
cmp rbp, r12
ja 0x140042659
lea rdx, [rcx + rbp*2]
test rsi, rsi
je 0x14004269c
test rcx, rcx
jne 0x140042632
call fcn.1402296f0
mov dword [rax], 0x16
jmp 0x140042697
test rdx, rdx
jne 0x140042644
call fcn.1402296f0
mov dword [rax], 0x16
jmp 0x140042697
mov rax, r8
add rax, rax
cmp rax, rsi
jb 0x14004268c
mov r8, rsi
call fcn.140224a90
jmp 0x14004269c
add r8, r8
test rsi, rsi
je 0x14004269c
test rcx, rcx
jne 0x140042673
call fcn.1402296f0
mov dword [rax], 0x16
jmp 0x140042697
cmp r8, rsi
jb 0x140042685
mov r8, rsi
mov rdx, rdi
call fcn.140224a90
jmp 0x14004269c
xor edx, edx
call fcn.140225130
call fcn.1402296f0
mov dword [rax], 0x22
call fcn.140229584
mov rax, qword [r14]
cmp ebx, dword [rax - 0xc]
jg 0x140042711
mov dword [rax - 0x10], ebx
mov rax, qword [r14]
mov word [rsi + rax], r13w
jmp 0x1400426b9
mov rcx, r14
call fcn.1400028b4
mov rcx, r15
call fcn.14022e968
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.1402202b0
add rsp, 0x268
pop r15
pop r14
pop rdi
pop rbx
ret
mov rcx, r15
call fcn.14022e968
xor al, al
jmp 0x1400426db
xor al, al
jmp 0x1400426e3
mov ecx, 0x80070057
call fcn.140002d6c
int3