Function at 0x140053d50
Capabilities:
Get file version info

Disassembly:
push rsi
push rdi
push r14
sub rsp, 0x1f0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x220], rbx
mov rax, qword [0x1401b4048]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor r14d, r14d
mov dword [rsp + 0x20], r14d
mov dword [rsp + 0x24], r14d
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x140053da4
mov rcx, qword [rdx]
lea rdx, [rsp + 0x24]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp eax, 1
jae 0x140053ea5
mov qword [rsp + 0x98], r14
mov qword [rsp + 0xa0], r14
mov qword [rsp + 0x98], r14
mov qword [rsp + 0xa0], 7
mov word [rsp + 0x88], r14w
mov r8d, 0x13
lea rdx, str.LoadVersionInfoData
lea rcx, [rsp + 0x88]
call fcn.140012d60
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x88]
call fcn.140058de0
nop
mov rdx, qword [rsp + 0xa0]
cmp rdx, 8
jb 0x140053e6d
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0x48], rdx
mov rcx, qword [rsp + 0x88]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053e68
add rdx, 0x27
mov qword [rsp + 0x48], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140054037
call fcn.1400bece8
mov qword [rsp + 0x98], r14
mov qword [rsp + 0xa0], 7
mov word [rsp + 0x88], r14w
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov dword [rsp + 0x20], 1
mov rax, rbx
jmp 0x140054013
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r14
mov rdx, rsi
lea r8, [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.14004d610
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140053ed2
mov rcx, qword [rdi]
mov r9, qword [rsp + 0x28]
mov r8d, esi
mov edx, dword [rsp + 0x24]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x140053fc4
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], 7
mov word [rsp + 0x68], r14w
lea r8d, [rax + 0x13]
lea rdx, str.LoadVersionInfoData
lea rcx, [rsp + 0x68]
call fcn.140012d60
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.140058de0
nop
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x140053f8b
lea rdx, [rdx*2 + 2]
mov qword [rsp + 0x50], rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140053f86
add rdx, 0x27
mov qword [rsp + 0x50], rdx
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005403d
call fcn.1400bece8
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], 7
mov word [rsp + 0x68], r14w
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x28]
call fcn.140021250
mov rax, rbx
jmp 0x140054013
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov qword [rbx + 0x10], r14
mov rax, qword [rsp + 0x28]
mov qword [rbx], rax
mov rax, qword [rsp + 0x30]
mov qword [rbx + 8], rax
mov rax, qword [rsp + 0x38]
mov qword [rbx + 0x10], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x28]
call fcn.140021250
mov rax, rbx
jmp 0x140054013
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.1400bf400
mov rbx, qword [rsp + 0x220]
add rsp, 0x1f0
pop r14
pop rdi
pop rsi
ret
call fcn.1400e9e3c
nop
call fcn.1400e9e3c
int3