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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0xb0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov r12d, ecx
lea rcx, [0x004cf798]
call fcn.0040d774
mov byte [0x004cf7a0], al
call fcn.0045cc84
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 0x456d9f
lea rdx, str.DllGetVersion
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, rax
cmp rax, rbx
je 0x456d96
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 0x456d96
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 [0x004cf784], edi
cmp edi, 0x40047
setae byte [0x004cf09f]
xor r8d, r8d
mov ecx, 0xc8
mov edx, ecx
call fcn.0040db5c
cmp al, bl
sete byte [0x004cf7a3]
xor ecx, ecx
call qword [sym.imp.ole32.dll_OleInitialize]
lea rcx, [rsp + 0x58]
call fcn.00402830
nop
lea rcx, [rsp + 0x68]
call fcn.00402830
nop
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.004028cc
nop
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.00483c54
nop
mov rcx, qword [rsp + 0x40]
call sub.msvcrt.dll_free
lea rcx, [rsp + 0x58]
call fcn.00402e8c
lea rcx, [rsp + 0x58]
call fcn.00402e38
lea rcx, [rsp + 0x30]
call fcn.00402830
nop
lea rcx, [rsp + 0x20]
call fcn.00402830
nop
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.00483c54
lea rcx, [rsp + 0x30]
call fcn.00402e8c
lea rcx, [rsp + 0x30]
call fcn.00402e38
lea rcx, [rsp + 0x20]
call fcn.00402e8c
lea rcx, [rsp + 0x20]
call fcn.00402e38
lea rdx, [0x004a0750]
mov rcx, qword [rsp + 0x20]
call fcn.00401d3c
cmp al, bl
je 0x456eab
mov rdx, qword [rsp + 0x20]
add rdx, 4
lea rcx, [0x004cf7c0]
call fcn.00402a44
cmp dword [rsp + 0x38], ebx
je 0x456ec2
lea rdx, [rsp + 0x30]
lea rcx, [0x004cf7b0]
call fcn.00402aac
call fcn.004052fc
call fcn.00482850
cmp al, bl
je 0x456eed
call fcn.0040aef8
cmp eax, ebx
jne 0x456eed
mov dl, 1
lea rcx, [0x00498c28]
call fcn.0040ae60
mov byte [0x004cf7a1], al
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x456f1a
mov byte [0x004cf7ae], 1
mov dl, 1
lea rcx, str.SeRestorePrivilege
call fcn.0040ae60
mov dl, 1
lea rcx, str.SeCreateSymbolicLinkPrivilege
call fcn.0040ae60
lea rcx, [0x004cf7d0]
call fcn.0044acbc
mov ecx, r12d
call fcn.00456a60
cmp eax, ebx
jne 0x456f58
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 0x457013
mov edx, 0x48
mov rcx, qword [0x004cf790]
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 0x456fd9
lea r8, [rsp + 0x80]
mov rdx, rdi
mov rcx, qword [0x004cf788]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
cmp eax, ebx
jne 0x456fbf
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 0x456f87
call fcn.00439964
mov qword [0x004cf788], 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, 0xb0
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret