Function at 0x478c10
Capabilities:
Get file version info

Disassembly:
mov r11, rsp
sub rsp, 0x898
mov rax, qword [0x00522be8]
xor rax, rsp
mov qword [rsp + 0x850], rax
mov qword [r11 + 0x18], rbx
xor ebx, ebx
test edx, edx
mov qword [r11 - 0x18], r12
mov qword [r11 - 0x20], r13
mov r13d, ebx
mov r12, rcx
je 0x478c55
lea edx, [rbx + 3]
lea rcx, [0x005271c8]
call fcn.0040d6e0
jmp 0x478c66
lea rcx, [0x005271c8]
mov edx, 2
call fcn.0040d6e0
test rax, rax
jne 0x478c72
xor eax, eax
jmp 0x478fae
mov ecx, dword [rax + 0x710]
bt ecx, 0xd
jb 0x478c84
bt ecx, 0xe
jae 0x478c6b
cmp qword [r12 + 0x40], rbx
je 0x478c6b
mov qword [rsp + 0x8b8], rbp
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x890], rsi
mov qword [rsp + 0x888], rdi
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.USER32.dll_WindowFromPoint]
lea rdx, [rsp + 0x50]
mov r8d, 0x200
mov rcx, rax
mov rbp, rax
mov qword [rsp + 0x28], rax
call qword [sym.imp.USER32.dll_GetClassNameW]
lea rsi, [rsp + 0x50]
lea rdi, str.Syn_Visual_Class
mov ecx, 0x11
repe cmpsw word [rsi], word [rdi]
jne 0x478d2e
xor edx, edx
mov rcx, rbp
mov rdi, rbp
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.USER32.dll_WindowFromPoint]
mov edx, 8
mov rcx, rdi
mov rbp, rax
mov qword [rsp + 0x28], rax
call qword [sym.imp.USER32.dll_ShowWindow]
lea rdx, [rsp + 0x50]
mov r8d, 0x200
mov rcx, rbp
call qword [sym.imp.USER32.dll_GetClassNameW]
cmp rbp, qword [0x00527450]
lea rcx, [0x00527350]
jne 0x478d72
lea rax, [rsp + 0x50]
mov rdi, rcx
sub rdi, rax
nop
nop
movzx edx, word [rax]
movzx ecx, word [rax + rdi]
sub edx, ecx
jne 0x478d63
add rax, 2
test ecx, ecx
jne 0x478d50
test edx, edx
jne 0x478d72
mov eax, dword [0x0052734c]
jmp 0x478f96
lea r8, [rsp + 0x50]
mov rdx, rbp
mov rcx, r12
call fcn.004788a0
test eax, eax
je 0x478f93
lea rcx, [rsp + 0x50]
mov dx, 0x5c
call fcn.004aa950
test rax, rax
je 0x478dc1
lea rcx, [rax + 2]
lea rdx, [rsp + 0x450]
sub rdx, rcx
nop
movzx eax, word [rcx]
add rcx, 2
test ax, ax
mov word [rdx + rcx - 2], ax
jne 0x478db0
lea rdx, [rsp + 0x4c]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x870], r14
mov qword [rsp + 0x868], r15
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
mov esi, eax
je 0x478e88
mov rcx, rsi
call fcn.004ad5b0
test rax, rax
mov rdi, rax
je 0x478e88
lea rcx, [rsp + 0x50]
mov r9, rax
mov r8d, esi
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x478e64
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
lea rdx, [0x004e8098]
mov rcx, rdi
mov qword [rsp + 0x40], rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x478e64
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x478e64
movzx esi, word [rax + 0xe]
movzx ebp, word [rax + 0xc]
movzx r14d, word [rax + 0xa]
movzx r15d, word [rax + 8]
mov rcx, rdi
mov dword [rsp + 0x24], esi
mov dword [rsp + 0x20], ebp
call fcn.004ab2d0
jmp 0x478ea2
mov ebp, dword [rsp + 0x34]
mov esi, dword [rsp + 0x30]
mov r15d, dword [rsp + 0x2c]
mov r14d, dword [rsp + 0x28]
mov rcx, rdi
mov dword [rsp + 0x20], ebp
mov dword [rsp + 0x24], esi
call fcn.004ab2d0
jmp 0x478ea2
mov eax, dword [rsp + 0x34]
mov r15d, dword [rsp + 0x2c]
mov r14d, dword [rsp + 0x28]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x24], eax
mov r12, qword [r12 + 0x40]
test r12, r12
je 0x478f83
mov rbp, qword [r12 + 8]
lea rdi, [0x004ec910]
mov ecx, 2
mov rsi, rbp
repe cmpsw word [rsi], word [rdi]
je 0x478edd
lea rdx, [rsp + 0x450]
mov rcx, rbp
call fcn.004aae90
test eax, eax
jne 0x478f33
lea rsi, [rbp + 0x100]
lea rdi, [0x004ec910]
mov ecx, 2
repe cmpsw word [rsi], word [rdi]
je 0x478f42
mov eax, dword [rbp + 0x200]
cmp eax, r14d
je 0x478f04
test eax, eax
jne 0x478f33
mov eax, dword [rbp + 0x204]
cmp eax, r15d
je 0x478f13
test eax, eax
jne 0x478f33
mov eax, dword [rbp + 0x208]
cmp eax, dword [rsp + 0x24]
je 0x478f23
test eax, eax
jne 0x478f33
mov eax, dword [rbp + 0x20c]
cmp eax, dword [rsp + 0x20]
je 0x478f42
test eax, eax
je 0x478f42
mov r12, qword [r12]
test r12, r12
jne 0x478eb0
jmp 0x478f83
mov eax, 1
cmp dword [rbp + 0x210], eax
cmove r13d, eax
mov rax, qword [rsp + 0x28]
mov qword [0x00527450], rax
lea rax, [0x00527350]
mov dword [0x0052734c], r13d
nop
nop
movzx ecx, word [rsp + rbx + 0x50]
add rbx, 2
test cx, cx
mov word [rbx + rax - 2], cx
jne 0x478f70
mov r14, qword [rsp + 0x870]
mov r15, qword [rsp + 0x868]
mov eax, r13d
mov rsi, qword [rsp + 0x890]
mov rbp, qword [rsp + 0x8b8]
mov rdi, qword [rsp + 0x888]
mov r13, qword [rsp + 0x878]
mov r12, qword [rsp + 0x880]
mov rbx, qword [rsp + 0x8b0]
mov rcx, qword [rsp + 0x850]
xor rcx, rsp
call fcn.004a7100
add rsp, 0x898
ret