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

Disassembly:
push 0xffffffffffffffff
push 0x4f4b62
mov eax, dword fs:[0]
push eax
sub esp, 0x284
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x280], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x298]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
mov ecx, 0x523228
call fcn.0041ed50
mov ebp, dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov byte [0x523225], al
lea eax, [esp + 0x180]
push eax
mov dword [esp + 0x184], 0x114
call ebp
test eax, eax
je 0x49a2f2
cmp dword [esp + 0x190], 2
jne 0x49a2f2
push 0x5232f8
mov dword [esp + 0x50], 0x5232f8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x2a0], 0
cmp byte [0x52323a], 0
jne 0x499e32
mov byte [0x52323a], 1
call fcn.004a2420
push 0x5232f8
mov dword [esp + 0x2a4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push str.comctl32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x499e66
mov ecx, eax
call fcn.004996d0
jmp 0x499e68
xor eax, eax
cmp eax, 0x40047
mov dword [0x523234], eax
push str.IsWow64Process
push str.kernel32.dll
setae byte [0x5200c6]
mov byte [0x523227], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x499ebb
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x499ebb
cmp dword [esp + 0x4c], 0
setne byte [0x523227]
mov ecx, 0xc8
call fcn.00416440
test al, al
push 0
sete byte [0x523239]
call dword [sym.imp.ole32.dll_OleInitialize]
xorps xmm0, xmm0
mov dword [esp + 0x3c], 0
movq qword [esp + 0x34], xmm0
push 8
mov dword [esp + 0x38], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x499f10
mov byte [esp + 0x17], al
lea eax, [esp + 0x17]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 3
mov word [eax], cx
mov dword [esp + 0x2a0], 1
xorps xmm0, xmm0
movq qword [esp + 0x40], xmm0
push 8
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x44], ecx
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x499f66
mov byte [esp + 0x16], al
lea eax, [esp + 0x16]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 3
mov word [eax], cx
mov byte [esp + 0x2a0], 2
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x20]
call fcn.00412680
lea eax, [esp + 0x34]
mov byte [esp + 0x2a0], 3
push eax
lea edx, [esp + 0x44]
lea ecx, [esp + 0x20]
call fcn.004cf4a0
mov byte [esp + 0x2a0], 2
push dword [esp + 0x1c]
call fcn.004df97b
mov esi, dword [esp + 0x3c]
add esp, 4
mov eax, esi
test esi, esi
je 0x49a006
mov edi, dword [esp + 0x34]
lea edx, [esi - 1]
lea edx, [edi + edx*2]
lea esp, [esp]
movzx ecx, word [edx]
cmp ecx, 0x20
je 0x499ff2
cmp ecx, 0xa
je 0x499ff2
cmp ecx, 9
jne 0x499ff8
sub edx, 2
dec eax
jne 0x499fe0
cmp eax, esi
je 0x49a006
xor ecx, ecx
mov dword [esp + 0x38], eax
mov word [edi + eax*2], cx
lea ecx, [esp + 0x34]
call fcn.00412d60
xorps xmm0, xmm0
mov dword [esp + 0x30], 0
movq qword [esp + 0x28], xmm0
push 8
mov dword [esp + 0x2c], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x49a049
mov byte [esp + 0x14], al
lea eax, [esp + 0x14]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 3
mov word [eax], cx
mov byte [esp + 0x2a0], 4
xorps xmm0, xmm0
movq qword [esp + 0x1c], xmm0
push 8
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], ecx
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x49a09c
mov byte [esp + 0x15], al
lea eax, [esp + 0x15]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 3
mov word [eax], cx
lea eax, [esp + 0x1c]
mov byte [esp + 0x2a0], 5
push eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x38]
call fcn.004cf4a0
mov esi, dword [esp + 0x2c]
mov eax, esi
test esi, esi
je 0x49a109
mov edi, dword [esp + 0x28]
lea edx, [esi - 1]
lea edx, [edi + edx*2]
movzx ecx, word [edx]
cmp ecx, 0x20
je 0x49a0f5
cmp ecx, 0xa
je 0x49a0f5
cmp ecx, 9
jne 0x49a0fb
sub edx, 2
dec eax
jne 0x49a0e3
cmp eax, esi
je 0x49a109
xor ecx, ecx
mov dword [esp + 0x2c], eax
mov word [edi + eax*2], cx
lea ecx, [esp + 0x28]
call fcn.00412d60
mov esi, dword [esp + 0x20]
mov eax, esi
test esi, esi
je 0x49a14c
mov edi, dword [esp + 0x1c]
lea edx, [esi - 1]
lea edx, [edi + edx*2]
movzx ecx, word [edx]
cmp ecx, 0x20
je 0x49a138
cmp ecx, 0xa
je 0x49a138
cmp ecx, 9
jne 0x49a13e
sub edx, 2
dec eax
jne 0x49a126
cmp eax, esi
je 0x49a14c
xor ecx, ecx
mov dword [esp + 0x20], eax
mov word [edi + eax*2], cx
lea ecx, [esp + 0x1c]
call fcn.00412d60
mov ebx, dword [esp + 0x1c]
mov edx, 0x2d
mov esi, ebx
mov ecx, 0x505456
movzx eax, word [esi]
lea esi, [esi + 2]
cmp ax, dx
jne 0x49a189
movzx edx, word [ecx]
add ecx, 2
test dx, dx
jne 0x49a165
lea eax, [ebx + 4]
mov ecx, 0x52368c
push eax
call fcn.00412850
cmp dword [esp + 0x2c], 0
je 0x49a19f
lea eax, [esp + 0x28]
mov ecx, 0x5232ec
push eax
call fcn.004128e0
call fcn.00499c90
lea eax, [esp + 0x6c]
mov byte [0x5230d1], 0
push eax
mov dword [esp + 0x70], 0x114
call ebp
test eax, eax
je 0x49a1d8
cmp dword [esp + 0x7c], 2
jne 0x49a1d8
cmp dword [esp + 0x70], 6
jb 0x49a1d8
mov byte [0x5230d1], 1
call fcn.00498d00
push 0xbba
mov ecx, 0x5236a4
call fcn.00411750
test eax, eax
je 0x49a1f8
push eax
mov ecx, 0x523664
call fcn.00412850
jmp 0x49a207
mov edx, 0x523664
mov ecx, 0xbba
call fcn.0041e240
mov ecx, dword [esp + 0x18]
call fcn.004999b0
test eax, eax
jne 0x49a21b
xor esi, esi
jmp 0x49a2a7
push 0x48
push dword [0x52323c]
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x58]
push 0
push eax
call esi
test eax, eax
je 0x49a28e
mov ebp, dword [sym.imp.USER32.dll_TranslateAcceleratorW]
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x1c]
push dword [0x523240]
call ebp
test eax, eax
jne 0x49a279
lea eax, [esp + 0x50]
push eax
call edi
lea eax, [esp + 0x50]
push eax
call ebx
push 0
push 0
push 0
lea eax, [esp + 0x5c]
push eax
call esi
test eax, eax
jne 0x49a256
mov ebx, dword [esp + 0x1c]
call fcn.00445fb0
mov dword [0x523240], 0
call dword [sym.imp.ole32.dll_OleUninitialize]
mov esi, dword [esp + 0x58]
push ebx
mov byte [esp + 0x2a4], 4
call fcn.004df97b
mov byte [esp + 0x2a4], 2
push dword [esp + 0x2c]
call fcn.004df97b
mov byte [esp + 0x2a8], 1
push dword [esp + 0x48]
call fcn.004df97b
mov dword [esp + 0x2ac], 0xffffffff
push dword [esp + 0x40]
call fcn.004df97b
add esp, 0x10
mov eax, esi
jmp 0x49a322
mov edx, str.Unsupported_Windows_version
lea ecx, [esp + 0x40]
call fcn.00486aa0
push 0x10
push 0x502ee0
push dword [eax]
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [esp + 0x40]
call fcn.004df97b
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0x298]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x280]
xor ecx, esp
call fcn.004df96c
add esp, 0x290
ret