Function at 0x456a9c
Capabilities:
Accept command line arguments
Check os version

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x1d0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov r12d, ecx
lea rcx, [0x004d0748]
call fcn.0040c4c8
mov byte [0x004d0750], al
call fcn.00494cf0
call fcn.0045cc68
call qword [sym.imp.COMCTL32.dll_InitCommonControls]
xor ebx, ebx
mov edi, ebx
lea rcx, str.comctl32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
cmp rax, rbx
je 0x456b44
lea rdx, str.DllGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, rax
cmp rax, rbx
je 0x456b3b
xor edx, edx
lea r8d, [rbx + 0x14]
lea rcx, [rsp + 0x40]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x40], 0x14
lea rcx, [rsp + 0x40]
call rbp
cmp eax, ebx
jl 0x456b3b
movzx edi, word [rsp + 0x44]
shl edi, 0x10
movzx eax, word [rsp + 0x48]
or edi, eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x004d0734], edi
cmp edi, 0x40047
setae byte [0x004d008f]
xor r8d, r8d
mov ecx, 0xc8
mov edx, ecx
call fcn.0040c8b4
cmp al, bl
sete byte [0x004d0753]
xor ecx, ecx
call qword [sym.imp.ole32.dll_OleInitialize]
lea rcx, [rsp + 0x58]
call fcn.00402700
nop
lea rcx, [rsp + 0x68]
call fcn.00402700
nop
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.0040279c
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.00482fb8
nop
mov rcx, qword [rsp + 0x40]
call sub.msvcrt.dll_free
lea rcx, [rsp + 0x58]
call fcn.00402d6c
lea rcx, [rsp + 0x58]
call fcn.00402d18
lea rcx, [rsp + 0x30]
call fcn.00402700
nop
lea rcx, [rsp + 0x20]
call fcn.00402700
nop
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.00482fb8
lea rcx, [rsp + 0x30]
call fcn.00402d6c
lea rcx, [rsp + 0x30]
call fcn.00402d18
lea rcx, [rsp + 0x20]
call fcn.00402d6c
lea rcx, [rsp + 0x20]
call fcn.00402d18
lea rdx, [0x0049f850]
mov rcx, qword [rsp + 0x20]
call fcn.00401c1c
cmp al, bl
je 0x456c50
mov rdx, qword [rsp + 0x20]
add rdx, 4
lea rcx, [0x004d0770]
call fcn.00402914
cmp dword [rsp + 0x38], ebx
je 0x456c67
lea rdx, [rsp + 0x30]
lea rcx, [0x004d0760]
call fcn.0040297c
call fcn.00404ea8
call fcn.00481970
cmp al, bl
je 0x456c92
call fcn.0040a708
cmp eax, ebx
jne 0x456c92
mov dl, 1
lea rcx, [0x00497c28]
call fcn.0040a670
mov byte [0x004d0751], al
mov byte [0x004d075e], bl
mov dword [rsp + 0xb0], 0x114
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp eax, ebx
je 0x456cec
cmp dword [rsp + 0xc0], 2
jne 0x456cec
cmp dword [rsp + 0xb4], 6
jb 0x456cec
mov byte [0x004d075e], 1
mov dl, 1
lea rcx, str.SeRestorePrivilege
call fcn.0040a670
mov dl, 1
lea rcx, str.SeCreateSymbolicLinkPrivilege
call fcn.0040a670
lea rcx, [0x004d0780]
call fcn.0044a13c
mov ecx, r12d
call fcn.00456810
cmp eax, ebx
jne 0x456d2a
mov rcx, qword [rsp + 0x20]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x68]
call sub.msvcrt.dll_free
nop
jmp 0x456de5
mov edx, 0x48
mov rcx, qword [0x004d0740]
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rdi, rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_GetMessageW]
cmp eax, ebx
je 0x456dab
lea r8, [rsp + 0x80]
mov rdx, rdi
mov rcx, qword [0x004d0738]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
cmp eax, ebx
jne 0x456d91
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x80]
call qword [sym.imp.USER32.dll_GetMessageW]
cmp eax, ebx
jne 0x456d59
call fcn.00438e3c
mov qword [0x004d0738], rbx
call qword [sym.imp.ole32.dll_OleUninitialize]
mov ebx, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x20]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x30]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x68]
call sub.msvcrt.dll_free
nop
mov rcx, qword [rsp + 0x58]
call sub.msvcrt.dll_free
mov eax, ebx
add rsp, 0x1d0
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret