Function at 0x18000a380
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x1a0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x1800964f0]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rbp, rdx
mov rbx, rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x70], select
mov qword [rsp + 0x68], r14
mov byte [rsp + 0x58], r14b
cmp qword [rdx + 0x20], 0x10
jb 0x18000a3e6
lea rdi, [rdx + 8]
mov rcx, qword [rdi]
jmp 0x18000a3ed
lea rdi, [rdx + 8]
mov rcx, rdi
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov r12d, eax
test eax, eax
jne 0x18000a437
mov qword [rbx + 0x20], select
mov qword [rbx + 0x18], r14
mov byte [rbx + 8], al
xor r8d, r8d
lea rdx, [0x18007584f]
mov rcx, rbx
call fcn.1800026a0
nop
cmp qword [rsp + 0x70], 0x10
jb 0x18000a42f
mov rcx, qword [rsp + 0x58]
call fcn.180050528
mov rax, rbx
jmp 0x18000a677
inc eax
mov r13d, eax
mov ecx, eax
call fcn.18004f9f8
mov rsi, rax
test rax, rax
jne 0x18000a487
mov qword [rbx + 0x20], select
mov qword [rbx + 0x18], r14
mov byte [rbx + 8], al
xor r8d, r8d
lea rdx, [0x18007584f]
mov rcx, rbx
call fcn.1800026a0
nop
cmp qword [rsp + 0x70], 0x10
jb 0x18000a47f
mov rcx, qword [rsp + 0x58]
call fcn.180050528
mov rax, rbx
jmp 0x18000a677
mov r8, r13
xor edx, edx
mov rcx, rax
call fcn.180055310
cmp qword [rbp + 0x20], 0x10
jb 0x18000a49e
mov rdi, qword [rdi]
mov r9, rsi
mov r8d, r12d
xor edx, edx
mov rcx, rdi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x18000a4f7
mov rcx, rsi
call fcn.180050528
mov qword [rbx + 0x20], select
mov qword [rbx + 0x18], r14
mov byte [rbx + 8], 0
xor r8d, r8d
lea rdx, [0x18007584f]
mov rcx, rbx
call fcn.1800026a0
nop
cmp qword [rsp + 0x70], 0x10
jb 0x18000a4ef
mov rcx, qword [rsp + 0x58]
call fcn.180050528
mov rax, rbx
jmp 0x18000a677
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x34], r14d
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x40]
lea rdx, [0x180080880]
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x18000a563
mov rcx, rsi
call fcn.180050528
mov qword [rbx + 0x20], select
mov qword [rbx + 0x18], r14
mov byte [rbx + 8], 0
xor r8d, r8d
lea rdx, [0x18007584f]
mov rcx, rbx
call fcn.1800026a0
nop
cmp qword [rsp + 0x70], 0x10
jb 0x18000a55b
mov rcx, qword [rsp + 0x58]
call fcn.180050528
mov rax, rbx
jmp 0x18000a677
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], r14d
mov byte [rsp + 0x80], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x81]
call fcn.180055310
mov rdx, qword [rsp + 0x40]
movzx eax, word [rdx + 2]
movzx r9d, word [rdx]
mov dword [rsp + 0x20], eax
lea r8, [0x1800808a0]
mov edx, 0x104
lea rcx, [rsp + 0x80]
call fcn.18000a300
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x80]
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x18000a614
mov rcx, rsi
call fcn.180050528
mov qword [rbx + 0x20], select
mov qword [rbx + 0x18], r14
mov byte [rbx + 8], 0
xor r8d, r8d
lea rdx, [0x18007584f]
mov rcx, rbx
call fcn.1800026a0
nop
cmp qword [rsp + 0x70], 0x10
jb 0x18000a60f
mov rcx, qword [rsp + 0x58]
call fcn.180050528
mov rax, rbx
jmp 0x18000a677
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x38]
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x50]
call fcn.1800026a0
mov rcx, rsi
call fcn.180050528
mov qword [rbx + 0x20], select
mov qword [rbx + 0x18], r14
mov byte [rbx + 8], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.180002580
nop
cmp qword [rsp + 0x70], 0x10
jb 0x18000a674
mov rcx, qword [rsp + 0x58]
call fcn.180050528
mov rax, rbx
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.180050540
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret