Function at 0x14003ce20
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x180
mov rax, qword [0x140100258]
xor rax, rsp
mov qword [rsp + 0x178], rax
xor ebx, ebx
mov rsi, rdx
mov dword [rsp + 0x40], ebx
mov rdi, rcx
cmp qword [rcx + 0x18], 8
jb 0x14003ce57
mov rcx, qword [rcx]
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebp, eax
test eax, eax
jne 0x14003cf71
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x715
je 0x14003cf10
cmp qword [rdi + 0x18], 8
mov rax, rdi
jb 0x14003ce86
mov rax, qword [rdi]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
mov rax, qword [rdi + 0x10]
lea rcx, [rsp + 0x158]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.140026c00
mov rbx, rax
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
lea r8, str..._.._.._util_win_module_version.cc
mov r9d, 0x1f
mov dword [rsp + 0x20], 1
lea rdx, str.bool___cdecl_crashpad::GetModuleVersionAndType_const_class_base::FilePath__struct_tagVS_FIXEDFILEINFO__
lea rcx, [rsp + 0x50]
call fcn.140028500
mov rcx, rax
lea rdx, str.GetFileVersionInfoSize:
call fcn.140007ed0
cmp qword [rbx + 0x18], 0x10
mov rdx, rbx
jb 0x14003ceff
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.1400089f0
mov ebx, 3
test bl, 2
je 0x14003cf22
and ebx, 0xfffffffd
lea rcx, [rsp + 0x50]
call fcn.140028830
test bl, 1
je 0x14003cf6a
mov rdx, qword [rsp + 0x170]
cmp rdx, 0x10
jb 0x14003cf6a
mov rcx, qword [rsp + 0x158]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003cf65
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d157
call fcn.14008df80
xor al, al
jmp 0x14003d12e
mov rcx, rbp
call fcn.14008dfb4
cmp qword [rdi + 0x18], 8
mov rbx, rax
mov rcx, rdi
jb 0x14003cf89
mov rcx, qword [rdi]
mov r9, rbx
mov r8d, ebp
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x14003d089
cmp qword [rdi + 0x18], 8
mov rax, rdi
jb 0x14003cfab
mov rax, qword [rdi]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x30]
mov rax, qword [rdi + 0x10]
lea rcx, [rsp + 0x158]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
call fcn.140026c00
mov rdi, rax
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
lea r8, str..._.._.._util_win_module_version.cc
mov r9d, 0x26
mov dword [rsp + 0x20], 1
lea rdx, str.bool___cdecl_crashpad::GetModuleVersionAndType_const_class_base::FilePath__struct_tagVS_FIXEDFILEINFO__
lea rcx, [rsp + 0x50]
call fcn.140028500
mov rcx, rax
lea rdx, str.GetFileVersionInfo:
call fcn.140007ed0
cmp qword [rdi + 0x18], 0x10
mov rdx, rdi
jb 0x14003d024
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rax
call fcn.1400089f0
lea rcx, [rsp + 0x50]
call fcn.140028830
mov rdx, qword [rsp + 0x170]
cmp rdx, 0x10
jb 0x14003d0ee
mov rcx, qword [rsp + 0x158]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003d07c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003d151
call fcn.14008df80
xor dil, dil
jmp 0x14003d11d
lea r9, [rsp + 0x40]
mov rcx, rbx
lea r8, [rsp + 0x48]
lea rdx, [0x1400ca1ac]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x14003d0f3
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
lea r8, str..._.._.._util_win_module_version.cc
mov r9d, 0x30
mov dword [rsp + 0x20], 1
lea rdx, str.bool___cdecl_crashpad::GetModuleVersionAndType_const_class_base::FilePath__struct_tagVS_FIXEDFILEINFO__
lea rcx, [rsp + 0x50]
call fcn.140028500
mov rcx, rax
lea rdx, str.VerQueryValue
call fcn.140007ed0
lea rcx, [rsp + 0x50]
call fcn.140028830
xor dil, dil
jmp 0x14003d11d
mov rax, qword [rsp + 0x48]
mov dil, 1
movups xmm0, xmmword [rax]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsi + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rsi + 0x20], xmm0
mov eax, dword [rax + 0x30]
mov dword [rsi + 0x30], eax
mov eax, dword [rsi + 0x18]
and dword [rsi + 0x1c], eax
test rbx, rbx
je 0x14003d12a
mov rcx, rbx
call fcn.14008df80
movzx eax, dil
mov rcx, qword [rsp + 0x178]
xor rcx, rsp
call fcn.14008e050
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x180
pop rdi
pop rsi
pop rbp
ret
call fcn.14009464c
int3
call fcn.14009464c
int3