Function at 0x140052060
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x1400e5010]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov r12, r8
mov rsi, rdx
mov r14, rcx
mov qword [rbp + 0x78], rcx
xor r13d, r13d
mov dword [rbp + 0x88], r13d
lea rcx, [rsp + 0x20]
call fcn.14000a3f0
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
lea rdx, [rbp + 0x88]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov r15d, eax
mov rdx, qword [rsp + 0x38]
cmp rdx, 8
jb 0x140052114
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005210f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052488
call fcn.140079480
test r15d, r15d
je 0x14005248e
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], r13
lfence
mov rcx, r15
call fcn.140010dd0
mov qword [rbp + 0x90], rax
lea rbx, [rax + r15]
mov qword [rbp + 0xa0], rbx
mov r8, r15
xor edx, edx
mov rcx, rax
call fcn.14007f9f0
mov qword [rbp + 0x98], rbx
cmp qword [rsi + 0x18], 8
jb 0x14005216a
mov rsi, qword [rsi]
mov r9, qword [rbp + 0x90]
mov r8d, r15d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x1400524a9
mov qword [rbp + 0x70], r13
mov dword [rbp + 0x80], r13d
lea r9, [rbp + 0x80]
lea r8, [rbp + 0x70]
lea rdx, str.VarFileInfoTranslation
mov rcx, qword [rbp + 0x90]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x140052467
cmp qword [rbp + 0x70], 0
je 0x140052467
cmp dword [rbp + 0x80], 4
jb 0x140052467
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0xb0]
call fcn.14007f9f0
lea rcx, [rbp + 0xb0]
call fcn.14000e880
nop
lea rdx, str.StringFileInfo_
lea rcx, [rbp + 0xc0]
call fcn.140054750
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
mov eax, dword [rcx + rbx + 0x18]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rcx + rbx + 0x18], eax
mov edx, 4
lea rcx, [rbp - 0x40]
call fcn.14007c448
mov rdx, qword [rax + 8]
mov r8, qword [rax]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov rax, r8
call qword [case.0x14001dc6b.0]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov edi, 0x30
mov word [rcx + rbx + 0x58], di
mov rax, qword [rbp + 0x70]
movzx edx, word [rax]
mov rcx, rbx
call fcn.1400525f0
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
mov eax, dword [rbp + rcx + 0xd8]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rbp + rcx + 0xd8], eax
lea edx, [rdi - 0x2c]
lea rcx, [rbp - 0x30]
call fcn.14007c448
mov rdx, qword [rax + 8]
mov r8, qword [rax]
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xc0]
add rcx, rax
mov rax, r8
call qword [case.0x14001dc6b.0]
mov rax, qword [rbp + 0xc0]
movsxd rcx, dword [rax + 4]
mov word [rbp + rcx + 0x118], di
mov rax, qword [rbp + 0x70]
movzx edx, word [rax + 2]
lea rcx, [rbp + 0xc0]
call fcn.1400525f0
mov rcx, rax
lea rdx, [0x1400c8a48]
call fcn.140010770
mov rdx, r12
cmp qword [r12 + 0x18], 8
jb 0x140052300
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.1400124e0
mov qword [rbp + 0x78], r13
mov dword [rbp + 0x84], r13d
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0xb0]
call fcn.140052520
cmp qword [rax + 0x18], 8
jb 0x140052333
mov rax, qword [rax]
lea r9, [rbp + 0x84]
lea r8, [rbp + 0x78]
mov rdx, rax
mov rcx, qword [rbp + 0x90]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov rcx, qword [rbp + 0x78]
test eax, eax
je 0x140052368
test rcx, rcx
je 0x140052368
cmp dword [rbp + 0x84], 0
jbe 0x140052368
xor bl, bl
jmp 0x14005236a
mov bl, 1
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1400523af
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400523a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400524c4
call fcn.140079480
mov rcx, qword [rbp + 0x78]
test bl, bl
jne 0x1400524ca
mov qword [rsp + 0x40], rcx
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400523c3
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.140078390
nop
lea rcx, [rbp + 0xb0]
call fcn.14000ab30
nop
mov rcx, qword [rbp + 0x90]
test rcx, rcx
je 0x140052434
mov rdx, qword [rbp + 0xa0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005242f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140052461
call fcn.140079480
mov rax, r14
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140079460
mov rbx, qword [rsp + 0x318]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140086b94
nop
lea rdx, str.Failure_querying_for_VarFileInfoTranslation
lea rcx, [rbp - 0x58]
call fcn.140005640
lea rdx, [0x1400e26d0]
lea rcx, [rbp - 0x58]
call fcn.14007f918
nop
call fcn.140086b94
int3
lea rdx, str.GetFileVersionInfoSizeW_failed
lea rcx, [rbp - 0x10]
call fcn.14000a700
nop
lea rcx, [rbp - 0x10]
call fcn.14002bfd0
nop
lea rdx, str.GetFileVersionInfoW_failed
lea rcx, [rbp + 0x10]
call fcn.14000a700
nop
lea rcx, [rbp + 0x10]
call fcn.14002bfd0
nop
call fcn.140086b94
int3
lea rdx, [rbp - 0x20]
mov rcx, r12
call fcn.14000a210
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x30]
call fcn.140078390
nop
mov r8, rax
lea rdx, str.Failure_querying_for_StringFileInfo..._
lea rcx, [rbp + 0x50]
call fcn.14000f9b0
nop
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.1400055d0
lea rdx, [0x1400e26d0]
lea rcx, [rbp - 0x70]
call fcn.14007f918
int3