Function at 0x1418f26d0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rsi, rdx
xor edi, edi
mov dword [rsp + 0x40], edi
lea rax, [0x1400367e8]
mov qword [rdx], rax
mov dword [rsp + 0x40], 1
lea rcx, [rsp + 0x30]
call fcn.1418f2ac0
nop
mov rbx, qword [rsp + 0x30]
mov eax, dword [rbx + 4]
inc eax
mov dword [rbp + 0x94], eax
cmp eax, 0x100
jle 0x1418f2764
movsxd rcx, eax
add rcx, rcx
call fcn.14198d97c
mov r9, rax
mov qword [rbp + 0x98], rax
test rax, rax
jne 0x1418f2756
call fcn.1418acf80
mov r9, qword [rbp + 0x98]
mov eax, dword [rbp + 0x94]
mov dword [rbp + 0x90], eax
jmp 0x1418f277c
lea r9, [rbp + 0xa0]
mov qword [rbp + 0x98], r9
mov dword [rbp + 0x90], 0x100
movsxd r8, dword [rbx + 4]
add r8, r8
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + 0x10]
add rdx, rax
mov rcx, r9
call fcn.14198a7c0
movsxd rcx, dword [rbx + 4]
mov rax, qword [rbp + 0x98]
mov word [rax + rcx*2], di
xor edx, edx
mov rcx, qword [rbp + 0x98]
call sub.VERSION.dll_GetFileVersionInfoSizeW
movsxd rbx, eax
or edi, 0xffffffff
test eax, eax
je 0x1418f2a26
mov dword [rbp - 0x7c], ebx
cmp ebx, 0x100
jle 0x1418f27f2
mov rcx, rbx
call fcn.14198d97c
mov r9, rax
mov qword [rbp - 0x78], rax
test rax, rax
jne 0x1418f27ea
call fcn.1418acf80
mov r9, qword [rbp - 0x78]
mov eax, dword [rbp - 0x7c]
mov dword [rbp - 0x80], eax
jmp 0x1418f2801
lea r9, [rbp - 0x70]
mov qword [rbp - 0x78], r9
mov dword [rbp - 0x80], 0x100
mov r8d, ebx
xor edx, edx
mov rcx, qword [rbp + 0x98]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1418f2a13
lea r9, [rsp + 0x44]
lea r8, [rsp + 0x70]
lea rdx, [0x1400a06d8]
mov rcx, qword [rbp - 0x78]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1418f2a13
cmp dword [rsp + 0x44], 0
je 0x1418f2a13
mov rbx, qword [rsp + 0x70]
xor eax, eax
mov byte [rbp + 0x2e0], al
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x2e0]
call fcn.1418f2630
nop
mov r14d, 0x20
mov word [rbp + 0x2e8], r14w
mov word [rsp + 0x28], r14w
mov dword [rsp + 0x20], 0xa
xor r9d, r9d
movzx r8d, word [rbx + 0x12]
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.1418f2a80
nop
mov word [rsp + 0x38], r14w
mov word [rsp + 0x28], r14w
mov dword [rsp + 0x20], 0xa
xor r9d, r9d
movzx r8d, word [rbx + 0x10]
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.1418f2a80
nop
mov word [rsp + 0x3a], r14w
mov word [rsp + 0x28], r14w
mov dword [rsp + 0x20], 0xa
xor r9d, r9d
movzx r8d, word [rbx + 0x16]
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.1418f2a80
nop
mov word [rsp + 0x3c], r14w
mov word [rsp + 0x28], r14w
mov dword [rsp + 0x20], 0xa
xor r9d, r9d
movzx r8d, word [rbx + 0x14]
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.1418f2a80
mov rdx, qword [rsi]
mov qword [rbp + 0x2d8], rdx
mov rcx, qword [rax]
mov qword [rsi], rcx
mov qword [rax], rdx
mov rcx, qword [rsp + 0x48]
mov eax, dword [rcx]
test eax, eax
je 0x1418f2948
cmp eax, 0xffffffff
je 0x1418f2957
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1418f2957
mov rcx, qword [rsp + 0x48]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
nop
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x1418f2977
cmp eax, 0xffffffff
je 0x1418f2986
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1418f2986
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
nop
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx]
test eax, eax
je 0x1418f29a6
cmp eax, 0xffffffff
je 0x1418f29b5
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1418f29b5
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
nop
mov rcx, qword [rsp + 0x60]
mov eax, dword [rcx]
test eax, eax
je 0x1418f29d5
cmp eax, 0xffffffff
je 0x1418f29e4
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1418f29e4
mov rcx, qword [rsp + 0x60]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
nop
mov rcx, qword [rsp + 0x68]
mov eax, dword [rcx]
test eax, eax
je 0x1418f2a04
cmp eax, 0xffffffff
je 0x1418f2a13
mov eax, edi
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1418f2a13
mov rcx, qword [rsp + 0x68]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.1418993e0
nop
lea rax, [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
cmp rcx, rax
je 0x1418f2a26
call fcn.14198ca40
nop
lea rax, [rbp + 0xa0]
mov rcx, qword [rbp + 0x98]
cmp rcx, rax
je 0x1418f2a3f
call fcn.14198ca40
nop
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
test ecx, ecx
je 0x1418f2a58
cmp ecx, 0xffffffff
je 0x1418f2a6b
lock xadd dword [rax], edi
cmp edi, 1
jne 0x1418f2a6b
mov edx, 2
lea r8d, [rdx + 6]
mov rcx, qword [rsp + 0x30]
call fcn.1418993e0
mov rax, rsi
add rsp, 0x3a0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret