Function at 0x180079cb0
Capabilities:
Get file version info

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x140]
sub rsp, 0x240
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x270], rbx
mov rax, qword [0x180001b10]
xor rax, rsp
mov qword [rbp + 0x130], rax
mov rbx, rdx
mov rdi, rcx
cmp qword [rdx + 0x18], 8
jb 0x180079cf7
mov rcx, qword [rdx]
jmp 0x180079cfa
mov rcx, rdx
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
jne 0x180079e73
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.1800305d0
mov rbx, rax
movdqa xmm0, xmmword [0x18011c520]
movdqa xmmword [rbp + 0xb0], xmm0
movdqa xmm1, xmmword [0x18011c510]
movdqa xmmword [rbp + 0xc0], xmm1
movdqa xmm0, xmmword [0x18011c4f0]
movdqa xmmword [rbp + 0xd0], xmm0
movdqa xmm1, xmmword [str.YuOXXEX]
movdqa xmmword [rbp + 0xe0], xmm1
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xf0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x100], xmm1
movdqa xmmword [rbp + 0x110], xmm0
movdqa xmmword [rbp + 0x120], xmm1
mov r9b, 0x2a
lea r8, [0x1800fac60]
mov edx, 0x3e
lea rcx, [rbp + 0xb0]
call fcn.18005f0b0
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.18001d6c0
nop
mov rdx, rbx
mov rcx, rax
call fcn.18001d800
mov rbx, rax
cmp byte [rax + 0x44], 0
je 0x180079dd0
mov rcx, rax
call fcn.180022400
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.18004fcc0
inc dword [rbx + 0x3c]
mov r8d, dword [rbx + 0x3c]
cmp qword [rbx + 0x30], 0
je 0x180079e28
mov r9d, dword [rbx + 0x40]
cmp r8d, r9d
jge 0x180079e28
mov r10, qword [rbx + 0x18]
nop dword [rax + rax]
movsxd rcx, r8d
mov rax, rcx
shr rax, 5
lea rdx, [r10 + rax*4]
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [rdx], eax
je 0x180079e28
inc r8d
mov dword [rbx + 0x3c], r8d
cmp r8d, r9d
jl 0x180079e00
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.18001d880
nop
cmp qword [rax + 0x18], 0x10
jb 0x180079e40
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.1800b8b10
nop
lea rax, vtable.message_exception.0
mov qword [rsp + 0x28], rax
lea rdx, [0x180160cf8]
lea rcx, [rsp + 0x28]
call fcn.1800bef68
nop
xor eax, eax
mov qword [rbp + 0x98], rax
mov rdx, rsi
lea rcx, [rbp + 0x98]
call fcn.18005edf0
nop
cmp qword [rbx + 0x18], 8
jb 0x180079e98
mov rcx, qword [rbx]
jmp 0x180079e9b
mov rcx, rbx
mov r9, qword [rbp + 0x98]
mov r8d, esi
xor edx, edx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x18007a014
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.1800305d0
mov rbx, rax
movdqa xmm0, xmmword [0x18011c2e0]
movdqa xmmword [rbp + 0xb0], xmm0
movdqa xmm1, xmmword [0x18011c320]
movdqa xmmword [rbp + 0xc0], xmm1
movdqa xmm0, xmmword [0x18011c2f0]
movdqa xmmword [rbp + 0xd0], xmm0
movdqa xmm1, xmmword [str.666ava]
movdqa xmmword [rbp + 0xe0], xmm1
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xf0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x100], xmm1
movdqa xmmword [rbp + 0x110], xmm0
movdqa xmmword [rbp + 0x120], xmm1
mov r9b, 0x44
lea r8, [0x1800faca0]
mov edx, 0x3a
lea rcx, [rbp + 0xb0]
call fcn.18005f0b0
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.18001d6c0
nop
mov rdx, rbx
mov rcx, rax
call fcn.18001d800
mov rbx, rax
cmp byte [rax + 0x44], 0
je 0x180079f79
mov rcx, rax
call fcn.180022400
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.18004fcc0
inc dword [rbx + 0x3c]
mov r8d, dword [rbx + 0x3c]
cmp qword [rbx + 0x30], 0
je 0x180079fc9
mov r9d, dword [rbx + 0x40]
cmp r8d, r9d
jge 0x180079fc9
mov r10, qword [rbx + 0x18]
movsxd rcx, r8d
mov rax, rcx
shr rax, 5
lea rdx, [r10 + rax*4]
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [rdx], eax
je 0x180079fc9
inc r8d
mov dword [rbx + 0x3c], r8d
cmp r8d, r9d
jl 0x180079fa1
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.18001d880
nop
cmp qword [rax + 0x18], 0x10
jb 0x180079fe1
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.1800b8b10
nop
lea rax, vtable.message_exception.0
mov qword [rsp + 0x28], rax
lea rdx, [0x180160cf8]
lea rcx, [rsp + 0x28]
call fcn.1800bef68
nop
xor eax, eax
mov dword [rbp + 0xa0], eax
mov qword [rbp + 0x90], rax
lea r9, [rbp + 0xa0]
lea r8, [rbp + 0x90]
lea rdx, [0x180113aa8]
mov rcx, qword [rbp + 0x98]
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x18007a1b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov rdx, rbx
lea rcx, [rsp + 0x68]
call fcn.1800305d0
mov rbx, rax
movdqa xmm0, xmmword [0x18011c1f0]
movdqa xmmword [rbp + 0xb0], xmm0
movdqa xmm1, xmmword [0x18011c720]
movdqa xmmword [rbp + 0xc0], xmm1
movdqa xmm0, xmmword [0x18011c620]
movdqa xmmword [rbp + 0xd0], xmm0
movdqa xmm1, xmmword [0x18011b7e0]
movdqa xmmword [rbp + 0xe0], xmm1
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xf0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x100], xmm1
movdqa xmmword [rbp + 0x110], xmm0
movdqa xmmword [rbp + 0x120], xmm1
mov r9b, 0x5e
lea r8, [0x1800face0]
mov edx, 0x35
lea rcx, [rbp + 0xb0]
call fcn.18005f0b0
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.18001d6c0
nop
mov rdx, rbx
mov rcx, rax
call fcn.18001d800
mov rbx, rax
cmp byte [rax + 0x44], 0
je 0x18007a111
mov rcx, rax
call fcn.180022400
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.18004fcc0
inc dword [rbx + 0x3c]
mov r8d, dword [rbx + 0x3c]
cmp qword [rbx + 0x30], 0
je 0x18007a168
mov r9d, dword [rbx + 0x40]
cmp r8d, r9d
jge 0x18007a168
mov r10, qword [rbx + 0x18]
nop dword [rax]
movsxd rcx, r8d
mov rax, rcx
shr rax, 5
lea rdx, [r10 + rax*4]
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [rdx], eax
je 0x18007a168
inc r8d
mov dword [rbx + 0x3c], r8d
cmp r8d, r9d
jl 0x18007a140
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.18001d880
nop
cmp qword [rax + 0x18], 0x10
jb 0x18007a180
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.1800b8b10
nop
lea rax, vtable.message_exception.0
mov qword [rsp + 0x28], rax
lea rdx, [0x180160cf8]
lea rcx, [rsp + 0x28]
call fcn.1800bef68
nop
mov rax, qword [rbp + 0x90]
movzx ecx, word [rax + 0x16]
movzx edx, word [rax + 0x10]
movzx r8d, word [rax + 0x12]
movzx eax, word [rax + 0x14]
mov dword [rdi], eax
mov dword [rdi + 4], ecx
mov dword [rdi + 8], edx
mov dword [rdi + 0xc], r8d
mov rcx, qword [rbp + 0x98]
test rcx, rcx
je 0x18007a1e8
call fcn.1800b94ec
mov rax, rdi
mov rcx, qword [rbp + 0x130]
xor rcx, rsp
call fcn.1800b8aa0
mov rbx, qword [rsp + 0x270]
add rsp, 0x240
pop rdi
pop rsi
pop rbp
ret