Function at 0x1400041a0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xe0
mov rax, qword [0x140018040]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov r15, rdx
mov rsi, rcx
mov qword [rsp + 0x38], rcx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
lea rdx, [rsp + 0x40]
mov rcx, r15
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov r14d, eax
xorps xmm0, xmm0
test eax, eax
jne 0x14000421b
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], r12
mov r8d, 0xf
lea rdx, str.Unknown_version
mov rcx, rsi
call fcn.14000dbf0
jmp 0x1400042fa
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
cmp r14, 0x1000
jb 0x140004258
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x140004464
call fcn.14000f250
test rax, rax
je 0x14000445d
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140004263
mov rcx, r14
call fcn.14000f250
mov rbx, rax
mov qword [rsp + 0x48], rbx
lea rdi, [rbx + r14]
mov qword [rsp + 0x58], rdi
mov r8, r14
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x50], rdi
mov r9, rbx
mov r8d, r14d
mov edx, dword [rsp + 0x40]
mov rcx, r15
call qword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
jne 0x140004329
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], r12
mov r8d, 0xf
lea rdx, str.Unknown_version
mov rcx, rsi
call fcn.14000dbf0
nop
test rbx, rbx
je 0x1400042fa
sub rdi, rbx
mov rax, rbx
cmp rdi, 0x1000
jb 0x1400042ef
add rdi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000445d
mov rdx, rdi
mov rcx, rbx
call fcn.14000f4cc
mov rax, rsi
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14000f230
lea r11, [rsp + 0xe0]
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 dword [rsp + 0x44], r12d
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x38]
lea rdx, [0x140011a58]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x14000429e
cmp dword [rsp + 0x44], 0
je 0x140004404
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax + 8]
mov edx, dword [rax + 0xc]
mov r8d, ecx
shr r8d, 0x10
movzx r9d, cx
mov ecx, edx
shr ecx, 0x10
movzx eax, dx
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
lea rdx, str._d._d._d._d
lea rcx, [rsp + 0x60]
call fcn.14000d2f0
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], r12
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400043b0
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.14000dbf0
nop
test rbx, rbx
je 0x1400042fa
sub rdi, rbx
mov rax, rbx
cmp rdi, 0x1000
jb 0x1400042ef
add rdi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400042ef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], r12
mov r8d, 0xf
lea rdx, str.Unknown_version
mov rcx, rsi
call fcn.14000dbf0
nop
test rbx, rbx
je 0x1400042fa
sub rdi, rbx
mov rax, rbx
cmp rdi, 0x1000
jb 0x1400042ef
add rdi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400042ef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400014b0
int3