Function at 0x140056880
Capabilities:
Get file version info

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rsi, r9
mov r14, r8
mov rdi, rdx
mov r15, rcx
mov rax, qword [0x140260028]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rdx + 0x17], 0
js 0x140056cf8
mov byte [rdi + 0x17], 6
mov rax, rdi
movabs rcx, 0x6f007200680043
mov qword [rax], rcx
mov dword [rax + 8], 0x65006d
mov word [rax + 0xc], 0
lea rdx, str.0.0.0.0_devel
mov r8d, 0xd
mov rcx, r14
call fcn.14003c2d0
cmp byte [rsi + 0x17], 0
js 0x140056d24
mov word [rsi], 0
mov byte [rsi + 0x17], 0
mov dword [rsp + 0x5c], 0
cmp byte [r15 + 0x17], 0
mov rcx, r15
jns 0x140056913
mov rcx, qword [r15]
movabs r13, 0x8000000000000010
lea rdx, [rsp + 0x5c]
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x140056bcc
mov ebp, eax
mov ecx, eax
call fcn.140146738
mov rbx, rax
mov edx, dword [rsp + 0x5c]
cmp byte [r15 + 0x17], 0
jns 0x140056949
mov r15, qword [r15]
mov rcx, r15
mov r8d, ebp
mov r9, rbx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140056bbf
mov ecx, 0x20
call fcn.140146648
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x48], 0xe
lea rcx, [rax + 0x1c]
lea rdx, [0x14023ddb6]
cmp rax, rdx
seta r8b
cmp rcx, rdx
setbe cl
or cl, r8b
je 0x140056ccd
movups xmm0, xmmword [0x14023ddc2]
movups xmmword [rax + 0xc], xmm0
movups xmm0, xmmword [0x14023ddb6]
movups xmmword [rax], xmm0
mov word [rax + 0x1c], 0
lea r15, [rsp + 0x40]
mov rcx, rbx
mov rdx, r15
mov r8, r14
call fcn.140056d50
cmp byte [r15 + 0x17], 0
jns 0x1400569dc
mov rcx, qword [rsp + 0x40]
call fcn.140146640
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
mov ecx, 0x20
call fcn.140146648
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], 0xe
lea rcx, [rax + 0x1c]
lea rdx, [0x14023ddd4]
cmp rax, rdx
seta r8b
cmp rcx, rdx
setbe cl
or cl, r8b
je 0x140056ccd
movups xmm0, xmmword [0x14023dde0]
movups xmmword [rax + 0xc], xmm0
movups xmm0, xmmword [0x14023ddd4]
movups xmmword [rax], xmm0
mov word [rax + 0x1c], 0
lea r12, [rsp + 0x28]
lea r15, [rsp + 0x40]
mov rcx, rbx
mov rdx, r12
mov r8, r15
call fcn.140056d50
cmp byte [r12 + 0x17], 0
jns 0x140056a70
mov rcx, qword [rsp + 0x28]
call fcn.140146640
movsx rax, byte [rsp + 0x57]
test rax, rax
cmovs rax, qword [rsp + 0x48]
cmovs r15, qword [rsp + 0x40]
test rax, rax
js 0x140056ccd
sete cl
test r15, r15
setne dl
or dl, cl
je 0x140056ccd
cmp rax, 1
jne 0x140056cde
cmp word [r15], 0x31
jne 0x140056cde
mov ecx, 0x28
call fcn.140146648
mov qword [rsp + 0x28], rax
lea rcx, [r13 + 4]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], 0x10
lea rcx, [rax + 0x20]
lea rdx, [0x14023de00]
cmp rax, rdx
seta r8b
cmp rcx, rdx
setbe cl
or cl, r8b
je 0x140056ccd
movups xmm0, xmmword [0x14023de10]
movups xmmword [rax + 0x10], xmm0
movups xmm0, xmmword [0x14023de00]
movups xmmword [rax], xmm0
mov word [rax + 0x20], 0
lea r14, [rsp + 0x28]
mov rcx, rbx
mov rdx, r14
mov r8, rdi
call fcn.140056d50
cmp byte [r14 + 0x17], 0
jns 0x140056b35
mov rcx, qword [rsp + 0x28]
call fcn.140146640
mov ecx, 0x20
call fcn.140146648
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], 0xc
lea rcx, [rax + 0x18]
lea rdx, str.SpecialBuild
cmp rax, rdx
seta r8b
cmp rcx, rdx
setbe cl
or cl, r8b
je 0x140056ccd
movups xmm0, xmmword [str.SpecialBuild]
movups xmmword [rax], xmm0
movabs rcx, 0x64006c00690075
mov qword [rax + 0x10], rcx
mov word [rax + 0x18], 0
lea rdi, [rsp + 0x28]
mov rcx, rbx
mov rdx, rdi
mov r8, rsi
call fcn.140056d50
cmp byte [rdi + 0x17], 0
jns 0x140056bb4
mov rcx, qword [rsp + 0x28]
call fcn.140146640
cmp byte [rsp + 0x57], 0
js 0x140056d08
test rbx, rbx
je 0x140056bcc
mov rcx, rbx
call fcn.140146e74
mov rax, qword [0x1402723c8]
mov rax, qword [rax + 8]
cmp byte [rax + 0x49], 1
je 0x140056d39
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x20]
test rsi, rsi
sete al
test rdi, rdi
setne cl
or cl, al
je 0x140056ccd
lea rax, [r13 - 0x19]
cmp rsi, rax
ja 0x140056cd4
cmp rsi, 0xa
jbe 0x140056cc2
lea rax, [r13 - 0x14]
and rax, rsi
add rax, 4
mov rbx, rsi
or rbx, 3
cmp rbx, 0xb
cmove rbx, rax
inc rbx
js 0x140056ccf
lea rcx, [rbx + rbx]
call fcn.140146648
mov rcx, rax
mov qword [rsp + 0x40], rax
lea rax, [rbx + r13]
add rax, 0xfffffffffffffff0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rsi
lea rbx, [rcx + rsi*2]
cmp rcx, rdi
ja 0x140056c68
cmp rbx, rdi
ja 0x140056ccd
test rsi, rsi
je 0x140056c7b
add rsi, rsi
mov rdx, rdi
mov r8, rsi
call fcn.14014ac10
mov word [rbx], 0
mov rsi, qword [rsp + 0xd0]
cmp byte [rsi + 0x17], 0
js 0x140056d17
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140149190
nop
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x40]
mov byte [rcx + 0x17], sil
jmp 0x140056c5a
ud2
call fcn.140187a10
lea rcx, [rsp + 0x40]
call fcn.1401879d0
lea rdx, str._devel
mov r8d, 6
mov rcx, r14
call fcn.1400f9fd0
jmp 0x140056ab4
mov qword [rdi + 8], 6
mov rax, qword [rdi]
jmp 0x1400568bc
mov rcx, qword [rsp + 0x40]
call fcn.140146640
jmp 0x140056bbf
mov rcx, qword [rsi]
call fcn.140146640
jmp 0x140056c92
mov rax, qword [rsi]
mov word [rax], 0
mov qword [rsi + 8], 0
jmp 0x1400568fe
lea rdx, str.extended
lea rcx, [rsp + 0x40]
call fcn.1400f7cd0
jmp 0x140056c80