Function at 0x180073f20
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x1804610b0]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsp + 0x34], eax
mov r8d, dword [rsp + 0x34]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
jne 0x180073fa3
mov rcx, qword [rsp + 0x108]
call fcn.180037a00
nop
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x108]
jmp 0x1800742f4
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x88]
call fcn.1801e0be0
nop
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x88]
call fcn.180037950
movzx eax, al
test eax, eax
je 0x180074007
mov rcx, qword [rsp + 0x108]
call fcn.180037a00
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x88]
call fcn.180033840
mov rax, qword [rsp + 0x108]
jmp 0x1800742f4
lea rcx, [rsp + 0x88]
call fcn.180037970
xor edx, edx
mov rcx, rax
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x18007405c
mov rcx, qword [rsp + 0x108]
call fcn.180037a00
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x88]
call fcn.180033840
mov rax, qword [rsp + 0x108]
jmp 0x1800742f4
mov eax, dword [rsp + 0x30]
lea rdx, [0x180488a90]
mov ecx, eax
call fcn.180299938
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x1800740b7
mov rcx, qword [rsp + 0x108]
call fcn.180037a00
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x88]
call fcn.180033840
mov rax, qword [rsp + 0x108]
jmp 0x1800742f4
lea rcx, [rsp + 0x88]
call fcn.180037970
mov r9, qword [rsp + 0x28]
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov rcx, rax
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x180074149
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.180299904
cmp qword [rsp + 0x40], 0
jne 0x180074104
mov qword [rsp + 0x58], 0
jmp 0x180074117
mov qword [rsp + 0x28], 0x8123
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x108]
call fcn.180037a00
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x88]
call fcn.180033840
mov rax, qword [rsp + 0x108]
jmp 0x1800742f4
lea rcx, [rsp + 0xc8]
call fcn.180037a00
nop
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x80], 0
lea r9, [rsp + 0x80]
lea r8, [rsp + 0x70]
lea rdx, str.VarFileInfoTranslation
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x18007426e
cmp qword [rsp + 0x70], 0
je 0x18007426e
mov eax, dword [rsp + 0x80]
cmp rax, 4
jb 0x18007426e
lea rcx, [rsp + 0xa8]
call fcn.180037a00
nop
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0x70]
movzx eax, word [rcx + rax + 2]
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x70]
movzx ecx, word [rdx + rcx]
mov r9d, eax
mov r8d, ecx
lea rdx, str.StringFileInfo_04x_04xProductName
lea rcx, [rsp + 0xa8]
call fcn.1801dba60
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x84], 0
lea rcx, [rsp + 0xa8]
call fcn.180037970
lea r9, [rsp + 0x84]
lea r8, [rsp + 0x78]
mov rdx, rax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x180074261
cmp qword [rsp + 0x78], 0
je 0x180074261
cmp dword [rsp + 0x84], 0
jbe 0x180074261
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0xc8]
call fcn.180033910
nop
lea rcx, [rsp + 0xa8]
call fcn.180033840
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.180299904
cmp qword [rsp + 0x48], 0
jne 0x180074295
mov qword [rsp + 0x60], 0
jmp 0x1800742a8
mov qword [rsp + 0x28], 0x8123
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x28], 0
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x108]
call fcn.180033bf0
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0xc8]
call fcn.180033840
nop
lea rcx, [rsp + 0x88]
call fcn.180033840
mov rax, qword [rsp + 0x108]
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.1802994c0
add rsp, 0xf8
ret