Function at 0x4a24b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a50d1
mov eax, dword fs:[0]
push eax
sub esp, 0x15c
mov eax, dword [0x89b044]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x134], 0
push 0x118
push 0
lea eax, [ebp - 0x130]
push eax
call fcn.007202b0
add esp, 0xc
mov dword [ebp - 0x134], 0x11c
lea ecx, [ebp - 0x134]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4a2526
jmp 0x4a27d0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
cmp dword [ebp - 0x130], 6
jne 0x4a2540
cmp dword [ebp - 0x12c], 1
jae 0x4a254d
cmp dword [ebp - 0x130], 6
jbe 0x4a27d0
mov edx, dword [ebp - 0x158]
mov dword [edx], 1
lea ecx, [ebp - 0x13c]
call fcn.004a3670
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x144]
call fcn.004a36e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x13c]
call fcn.004a36c0
push eax
push 0x7e3778
push 0x17
push 0
push 0x7e3768
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jge 0x4a25cf
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x144]
call fcn.004a3590
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.004a3570
jmp 0x4a27d0
lea ecx, [ebp - 0x13c]
call fcn.004a36d0
mov dword [ebp - 0x15c], eax
lea ecx, [ebp - 0x144]
call fcn.004a3730
push eax
push 0
push 0
mov eax, dword [ebp - 0x15c]
push eax
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jge 0x4a2639
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x144]
call fcn.004a3590
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.004a3570
jmp 0x4a27d0
lea ecx, [ebp - 0x138]
call fcn.004a3750
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x144]
call fcn.004a3740
mov dword [ebp - 0x160], eax
lea ecx, [ebp - 0x138]
call fcn.004a37a0
push eax
push 0
push 0x17
push 0x7e3758
mov ecx, dword [ebp - 0x160]
push ecx
mov edx, dword [ebp - 0x160]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
call ecx
test eax, eax
jge 0x4a26bb
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x138]
call fcn.004a35b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x144]
call fcn.004a3590
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.004a3570
jmp 0x4a27d0
mov dword [ebp - 0x140], 0
lea ecx, [ebp - 0x138]
call fcn.004a37b0
mov dword [ebp - 0x164], eax
lea edx, [ebp - 0x140]
push edx
mov eax, dword [ebp - 0x164]
push eax
mov ecx, dword [ebp - 0x164]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
call eax
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jge 0x4a2735
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x138]
call fcn.004a35b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x144]
call fcn.004a3590
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.004a3570
jmp 0x4a27d0
mov dword [ebp - 0x154], 0x989680
mov dword [ebp - 0x150], 0
lea ecx, [ebp - 0x138]
call fcn.004a37b0
mov dword [ebp - 0x168], eax
push 0
mov ecx, dword [ebp - 0x140]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x150]
push edx
mov eax, dword [ebp - 0x154]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x168]
push ecx
mov edx, dword [ebp - 0x168]
mov eax, dword [edx]
mov ecx, dword [eax + 0xc]
call ecx
mov dword [ebp - 0x148], eax
mov edx, dword [ebp - 0x140]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x138]
call fcn.004a35b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x144]
call fcn.004a3590
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x13c]
call fcn.004a3570
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0071fe0b
mov esp, ebp
pop ebp
ret