Function at 0x140055fb0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x14018a048]
xor rax, rsp
mov qword [rbp + 0xa0], rax
mov rsi, rdx
mov rbx, rcx
xor edi, edi
mov dword [rsp + 0x30], edi
cmp qword [rcx + 0x18], 8
jb 0x140055ff4
mov rcx, qword [rcx]
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov r14d, eax
test eax, eax
jne 0x14005611d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x715
je 0x1400560bf
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x140056024
mov rax, qword [rbx]
mov qword [rbp + 0x90], rax
mov rax, qword [rbx + 0x10]
mov qword [rbp + 0x98], rax
movaps xmm0, xmmword [rbp + 0x90]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.14005cc60
mov rbx, rax
mov dword [rsp + 0x30], 1
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 1
mov r9d, 0x1f
lea r8, str.E:.conan7ca4bd1_sourcesexternalcrashpadutilwinmodule_version.cc
lea rdx, str.bool___cdecl_crashpad::GetModuleVersionAndType_const_class_base::FilePath__struct_tagVS_FIXEDFILEINFO__
lea rcx, [rsp + 0x70]
call fcn.14005b5a0
nop
mov edi, 3
mov dword [rsp + 0x30], edi
lea rdx, str.GetFileVersionInfoSize:
mov rcx, rax
call fcn.140001300
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400560b3
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1400021e0
nop
test dil, 2
je 0x1400560d3
and edi, 0xfffffffd
lea rcx, [rsp + 0x70]
call fcn.14005b8e0
nop
test dil, 1
je 0x140056116
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140056116
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056111
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056319
call fcn.14009b94c
xor al, al
jmp 0x1400562ec
mov rcx, r14
call fcn.14009be38
mov rdi, rax
mov qword [rbp + 0x90], rax
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14005613c
mov rcx, qword [rbx]
mov r9, rdi
mov r8d, r14d
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x140056245
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x14005615e
mov rax, qword [rbx]
mov qword [rsp + 0x40], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.14005cc60
mov rbx, rax
mov dword [rsp + 0x30], 4
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 1
mov r9d, 0x26
lea r8, str.E:.conan7ca4bd1_sourcesexternalcrashpadutilwinmodule_version.cc
lea rdx, str.bool___cdecl_crashpad::GetModuleVersionAndType_const_class_base::FilePath__struct_tagVS_FIXEDFILEINFO__
lea rcx, [rsp + 0x70]
call fcn.14005b5a0
nop
mov dword [rsp + 0x30], 0xc
lea rdx, str.GetFileVersionInfo:
mov rcx, rax
call fcn.140001300
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400561e6
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.1400021e0
nop
lea rcx, [rsp + 0x70]
call fcn.14005b8e0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1400562b5
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056239
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056313
call fcn.14009b94c
xor bl, bl
jmp 0x1400562e1
lea r9, [rbp + 0x80]
lea r8, [rbp + 0x78]
lea rdx, [0x14014ade8]
mov rcx, rdi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x1400562b9
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 1
mov r9d, 0x30
lea r8, str.E:.conan7ca4bd1_sourcesexternalcrashpadutilwinmodule_version.cc
lea rdx, str.bool___cdecl_crashpad::GetModuleVersionAndType_const_class_base::FilePath__struct_tagVS_FIXEDFILEINFO__
lea rcx, [rsp + 0x70]
call fcn.14005b5a0
nop
mov dword [rsp + 0x30], 0x10
lea rdx, str.VerQueryValue
mov rcx, rax
call fcn.140001300
nop
lea rcx, [rsp + 0x70]
call fcn.14005b8e0
xor bl, bl
jmp 0x1400562e1
mov rax, qword [rbp + 0x78]
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
mov bl, 1
mov rcx, rdi
call fcn.14009b954
movzx eax, bl
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14009bde0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1400ad228
nop
call fcn.1400ad228
int3