Function at 0x46a330
Capabilities:
Get file version info

Disassembly:
mov r11, rsp
sub rsp, 0x898
mov rax, qword [0x00507af8]
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 0x46a375
lea edx, [rbx + 3]
lea rcx, [0x0050bfd8]
call fcn.0040aff0
jmp 0x46a386
lea rcx, [0x0050bfd8]
mov edx, 2
call fcn.0040aff0
test rax, rax
jne 0x46a392
xor eax, eax
jmp 0x46a6ce
mov ecx, dword [rax + 0x718]
bt ecx, 0xd
jb 0x46a3a4
bt ecx, 0xe
jae 0x46a38b
cmp qword [r12 + 0x40], rbx
je 0x46a38b
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 0x46a44e
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 [0x0050c270]
lea rcx, [0x0050c170]
jne 0x46a492
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 0x46a483
add rax, 2
test ecx, ecx
jne 0x46a470
test edx, edx
jne 0x46a492
mov eax, dword [0x0050c164]
jmp 0x46a6b6
lea r8, [rsp + 0x50]
mov rdx, rbp
mov rcx, r12
call fcn.0046a050
test eax, eax
je 0x46a6b3
lea rcx, [rsp + 0x50]
mov dx, 0x5c
call fcn.00493ae0
test rax, rax
je 0x46a4e1
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 0x46a4d0
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 0x46a5a8
mov rcx, rsi
call fcn.00496a20
test rax, rax
mov rdi, rax
je 0x46a5a8
lea rcx, [rsp + 0x50]
mov r9, rax
mov r8d, esi
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x46a584
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
lea rdx, [0x004d1028]
mov rcx, rdi
mov qword [rsp + 0x40], rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x46a584
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x46a584
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.00494180
jmp 0x46a5c2
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.00494180
jmp 0x46a5c2
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 0x46a6a3
mov rbp, qword [r12 + 8]
lea rdi, [0x004d5398]
mov ecx, 2
mov rsi, rbp
repe cmpsw word [rsi], word [rdi]
je 0x46a5fd
lea rdx, [rsp + 0x450]
mov rcx, rbp
call fcn.00494b50
test eax, eax
jne 0x46a653
lea rsi, [rbp + 0x100]
lea rdi, [0x004d5398]
mov ecx, 2
repe cmpsw word [rsi], word [rdi]
je 0x46a662
mov eax, dword [rbp + 0x200]
cmp eax, r14d
je 0x46a624
test eax, eax
jne 0x46a653
mov eax, dword [rbp + 0x204]
cmp eax, r15d
je 0x46a633
test eax, eax
jne 0x46a653
mov eax, dword [rbp + 0x208]
cmp eax, dword [rsp + 0x24]
je 0x46a643
test eax, eax
jne 0x46a653
mov eax, dword [rbp + 0x20c]
cmp eax, dword [rsp + 0x20]
je 0x46a662
test eax, eax
je 0x46a662
mov r12, qword [r12]
test r12, r12
jne 0x46a5d0
jmp 0x46a6a3
mov eax, 1
cmp dword [rbp + 0x210], eax
cmove r13d, eax
mov rax, qword [rsp + 0x28]
mov qword [0x0050c270], rax
lea rax, [0x0050c170]
mov dword [0x0050c164], r13d
nop
nop
movzx ecx, word [rsp + rbx + 0x50]
add rbx, 2
test cx, cx
mov word [rbx + rax - 2], cx
jne 0x46a690
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.004902e0
add rsp, 0x898
ret