Function at 0x421bc0
Capabilities:
Check os version
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
mov eax, dword [0x68da90]
xor eax, esp
mov dword [esp + 0x258], eax
mov eax, dword [ebp + 8]
lea ecx, [esp + 4]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push ebx
mov dword [0x69bf04], eax
mov dword [esp + 0x14], 0
call fcn.00404020
mov dword [esp + 0x54], 0xffffffff
call fcn.0049dc30
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edi, eax
lea eax, [esp + 0x58]
mov dword [esp + 0x58], 0x11c
push eax
call esi
test eax, eax
jne 0x421c31
lea eax, [esp + 0x58]
mov dword [esp + 0x58], 0x114
push eax
call esi
cmp dword [esp + 0x5c], 6
jb 0x421cbd
test edi, edi
jne 0x421cbd
mov eax, dword [esp + 0x10]
cmp dword [eax - 0xc], edi
jl 0x421c80
push str._ElevPri
push eax
call fcn.005c1484
add esp, 8
test eax, eax
je 0x421c80
sub eax, dword [esp + 0x10]
sar eax, 1
cmp eax, 0xffffffff
je 0x421c80
push edi
push 0x65c084
push 0x65c08c
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
lea esi, [edi + 1]
jmp 0x421dd2
push 0x208
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.005c1b40
add esp, 0xc
lea eax, [esp + 0x58]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
sub esp, 0x10
lea eax, [esp + 0x68]
push eax
call fcn.004b93e0
mov esi, 1
jmp 0x421dd2
push str.CMainFrame::GetInstance_____tWinMain_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 8
push eax
mov dword [esp + 0x1c], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
sub esp, 0xc
call fcn.004220b0
push 0x38
lea eax, [esp + 0x20]
push 0
push eax
call fcn.005c1b40
mov esi, dword [0x6acf80]
lea eax, [esp + 0x28]
add esp, 0xc
mov dword [esp + 0x1c], vtable.WTL::CMessageLoop.0
xorps xmm0, xmm0
mov dword [esp + 0x30], 0
add esi, 0x10
mov dword [esp + 0x34], 0
movups xmmword [esp + 0x20], xmm0
push esi
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [0x6acddc]
mov dword [esp + 0x14], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00421fe0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ecx
lea edx, [esp + 0x20]
mov ecx, ebx
call fcn.00421980
add esp, 4
call fcn.00421f40
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.0041f720
mov ecx, eax
call fcn.004749a0
mov eax, dword [esp + 0x2c]
xor esi, esi
test eax, eax
je 0x421dad
push eax
call fcn.005c53a4
add esp, 4
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
test eax, eax
je 0x421dca
push eax
call fcn.005c53a4
add esp, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov eax, dword [esp + 0x10]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x421dee
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [esp + 0x264]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005a8a55
mov esp, ebp
pop ebp
ret 0x10