Function at 0x1400041c0
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 [0x14001b040]
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 0x14000423b
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.140010500
jmp 0x14000431a
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
cmp r14, 0x1000
jb 0x140004278
lea rcx, [r14 + 0x27]
cmp rcx, r14
jbe 0x140004484
call fcn.140011b60
test rax, rax
je 0x14000447d
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140004283
mov rcx, r14
call fcn.140011b60
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 0x140004349
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.140010500
nop
test rbx, rbx
je 0x14000431a
sub rdi, rbx
mov rax, rbx
cmp rdi, 0x1000
jb 0x14000430f
add rdi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000447d
mov rdx, rdi
mov rcx, rbx
call fcn.140011eac
mov rax, rsi
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140011b40
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, [0x140014a58]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x1400042be
cmp dword [rsp + 0x44], 0
je 0x140004424
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.14000fc00
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 0x1400043d0
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.140010500
nop
test rbx, rbx
je 0x14000431a
sub rdi, rbx
mov rax, rbx
cmp rdi, 0x1000
jb 0x14000430f
add rdi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000430f
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.140010500
nop
test rbx, rbx
je 0x14000431a
sub rdi, rbx
mov rax, rbx
cmp rdi, 0x1000
jb 0x14000430f
add rdi, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000430f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400014d0
int3