Function at 0x140056940
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 [0x1400f2010]
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.140006870
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 0x1400569f4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400569ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056d65
call fcn.140085050
test r15d, r15d
je 0x140056d6b
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], r13
lfence
mov rcx, r15
call fcn.140008120
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.14008b8d0
mov qword [rbp + 0x98], rbx
cmp qword [rsi + 0x18], 8
jb 0x140056a4a
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 0x140056d86
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 0x140056d44
cmp qword [rbp + 0x70], 0
je 0x140056d44
cmp dword [rbp + 0x80], 4
jb 0x140056d44
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0xb0]
call fcn.14008b8d0
lea rcx, [rbp + 0xb0]
call fcn.14004da20
nop
lea rdx, str.StringFileInfo_
lea rcx, [rbp + 0xc0]
call fcn.140056fd0
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.140088748
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.0x14003b406.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.140056e00
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.140088748
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.0x14003b406.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.140056e00
mov rcx, rax
call fcn.140057280
mov rdx, r12
cmp qword [r12 + 0x18], 8
jb 0x140056bd9
mov rdx, qword [r12]
mov r8, qword [r12 + 0x10]
mov rcx, rax
call fcn.1400575e0
mov qword [rbp + 0x78], r13
mov dword [rbp + 0x84], r13d
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0xb0]
call fcn.14004d950
cmp qword [rax + 0x18], 8
jb 0x140056c0c
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 0x140056c41
test rcx, rcx
je 0x140056c41
cmp dword [rbp + 0x84], 0
jbe 0x140056c41
xor bl, bl
jmp 0x140056c43
mov bl, 1
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x140056c88
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056c7f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056da1
call fcn.140085050
mov rcx, qword [rbp + 0x78]
test bl, bl
jne 0x140056da7
mov qword [rsp + 0x40], rcx
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140056ca0
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x60]
mov rcx, r14
call fcn.14006df30
nop
lea rcx, [rbp + 0xb0]
call fcn.14004b3d0
nop
mov rcx, qword [rbp + 0x90]
test rcx, rcx
je 0x140056d11
mov rdx, qword [rbp + 0xa0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056d0c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140056d3e
call fcn.140085050
mov rax, r14
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140085030
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.14008fffc
nop
lea rdx, str.Failure_querying_for_VarFileInfoTranslation
lea rcx, [rbp - 0x58]
call fcn.14000be60
lea rdx, [0x1400eff08]
lea rcx, [rbp - 0x58]
call fcn.14008b7f4
nop
call fcn.14008fffc
int3
lea rdx, str.GetFileVersionInfoSizeW_failed
lea rcx, [rbp - 0x10]
call fcn.140006930
nop
lea rcx, [rbp - 0x10]
call fcn.140056920
nop
lea rdx, str.GetFileVersionInfoW_failed
lea rcx, [rbp + 0x10]
call fcn.140006930
nop
lea rcx, [rbp + 0x10]
call fcn.140056920
nop
call fcn.14008fffc
int3
lea rdx, [rbp - 0x20]
mov rcx, r12
call fcn.140009cc0
movups xmm0, xmmword [rax]
movaps xmmword [rsp + 0x50], xmm0
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x30]
call fcn.14006df30
nop
mov r8, rax
lea rdx, str.Failure_querying_for_StringFileInfo..._
lea rcx, [rbp + 0x50]
call fcn.140009dc0
nop
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140002740
lea rdx, [0x1400eff08]
lea rcx, [rbp - 0x70]
call fcn.14008b7f4
int3