Function at 0x14015be80
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x1b8
mov qword [rsp + 0x1a0], 0xfffffffffffffffe
mov rax, qword [0x140437340]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
mov dword [rsp + 0xd0], 0
lea rdx, [0x14042f270]
lea rcx, [rsp + 0x48]
call fcn.1400021f0
nop
mov rax, qword [rsp + 0x1d8]
mov rax, qword [rax]
mov qword [rsp + 0xd8], rax
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0xd8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
ja 0x14015bf63
mov rax, qword [rsp + 0x48]
sub rax, 0x18
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0xe0]
call fcn.1400026b0
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
add rax, 0x18
mov rcx, qword [rsp + 0x1d0]
mov qword [rcx], rax
mov eax, dword [rsp + 0xd0]
or eax, 1
mov dword [rsp + 0xd0], eax
lea rcx, [rsp + 0x48]
call fcn.140203610
mov rax, qword [rsp + 0x1d0]
jmp 0x14015c1fe
mov eax, dword [rsp + 0x64]
mov ecx, eax
call fcn.140218cbc
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x1d8]
mov rax, qword [rax]
mov qword [rsp + 0xf8], rax
mov r9, qword [rsp + 0x40]
mov r8d, dword [rsp + 0x64]
xor edx, edx
mov rcx, qword [rsp + 0xf8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x14015c032
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xb8], rax
mov rcx, qword [rsp + 0xb8]
call fcn.1402512b0
mov rax, qword [rsp + 0x48]
sub rax, 0x18
mov qword [rsp + 0x100], rax
mov rcx, qword [rsp + 0x100]
call fcn.1400026b0
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
add rax, 0x18
mov rcx, qword [rsp + 0x1d0]
mov qword [rcx], rax
mov eax, dword [rsp + 0xd0]
or eax, 1
mov dword [rsp + 0xd0], eax
lea rcx, [rsp + 0x48]
call fcn.140203610
mov rax, qword [rsp + 0x1d0]
jmp 0x14015c1fe
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x58]
lea rdx, [0x14032f40c]
mov rcx, qword [rsp + 0x40]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x14015c0d0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xc0]
call fcn.1402512b0
mov rax, qword [rsp + 0x48]
sub rax, 0x18
mov qword [rsp + 0x118], rax
mov rcx, qword [rsp + 0x118]
call fcn.1400026b0
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
add rax, 0x18
mov rcx, qword [rsp + 0x1d0]
mov qword [rcx], rax
mov eax, dword [rsp + 0xd0]
or eax, 1
mov dword [rsp + 0xd0], eax
lea rcx, [rsp + 0x48]
call fcn.140203610
mov rax, qword [rsp + 0x1d0]
jmp 0x14015c1fe
lea rax, [rsp + 0x168]
mov rdi, rax
mov rsi, qword [rsp + 0x58]
mov ecx, 0x34
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x78]
lea rcx, [rsp + 0x168]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x34
rep movsb byte [rdi], byte [rsi]
mov eax, dword [rsp + 0x80]
shr rax, 0x10
and rax, 0xffff
mov word [rsp + 0x34], ax
mov eax, dword [rsp + 0x80]
and rax, 0xffff
mov word [rsp + 0x50], ax
mov eax, dword [rsp + 0x84]
shr rax, 0x10
and rax, 0xffff
mov word [rsp + 0x30], ax
mov eax, dword [rsp + 0x84]
and rax, 0xffff
mov word [rsp + 0x38], ax
movzx eax, word [rsp + 0x38]
movzx ecx, word [rsp + 0x30]
movzx edx, word [rsp + 0x50]
movzx edi, word [rsp + 0x34]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ecx
mov r9d, edx
mov r8d, edi
lea rdx, [0x14032f410]
lea rcx, [rsp + 0x48]
call fcn.14001bdb0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.1402512b0
mov rax, qword [rsp + 0x48]
sub rax, 0x18
mov qword [rsp + 0x130], rax
mov rcx, qword [rsp + 0x130]
call fcn.1400026b0
mov qword [rsp + 0x138], rax
mov rax, qword [rsp + 0x138]
add rax, 0x18
mov rcx, qword [rsp + 0x1d0]
mov qword [rcx], rax
mov eax, dword [rsp + 0xd0]
or eax, 1
mov dword [rsp + 0xd0], eax
lea rcx, [rsp + 0x48]
call fcn.140203610
mov rax, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.140250fd0
add rsp, 0x1b8
pop rdi
pop rsi
ret