Function at 0x55bab0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x665168
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x38]
push ebp
push edi
mov edi, dword [esp + 0x38]
test eax, eax
mov dword [esp + 8], edi
je 0x55bae3
mov eax, dword [eax + 4]
mov dword [esp + 8], eax
mov edi, eax
test edi, edi
jne 0x55bafb
pop edi
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov ecx, edi
call fcn.004a53e0
cmp eax, 4
je 0x55bb22
cmp eax, 6
je 0x55bb22
pop edi
mov eax, 0xfffffffe
pop ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov ecx, dword [edi + 8]
push 0xffffffffffffffff
mov dword [esp + 0x28], ecx
call fcn.00493c90
mov ebp, eax
test ebp, ebp
jne 0x55bb4a
pop edi
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov edx, dword [ebp]
push ebx
push esi
mov ecx, ebp
call dword [edx + 0xc]
mov ebx, eax
mov eax, dword [ebp]
mov ecx, ebp
mov dword [esp + 0x24], ebx
call dword [eax + 0xac]
lea ecx, [esp + 0x40]
mov esi, eax
push ecx
mov ecx, edi
mov dword [esp + 0x18], 1
call fcn.004a5780
mov ecx, edi
mov dword [esp + 0x38], 0
call fcn.004a53e0
cmp eax, 4
jne 0x55bbd1
mov ecx, edi
call fcn.004a5c20
test eax, eax
jle 0x55bbd1
push 0
mov ecx, edi
call fcn.004a5cc0
test eax, eax
jl 0x55bbd1
lea edx, [esp + 0x20]
push eax
push edx
mov ecx, edi
call fcn.004a6c50
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 1
call fcn.004a3220
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.00499a60
test esi, esi
je 0x55bd74
lea eax, [esp + 0x28]
mov ecx, edi
push eax
call fcn.004a5450
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x20], eax
je 0x55bd74
push 0xd
lea ecx, [esp + 0x24]
call fcn.004a90f0
test eax, eax
je 0x55bd74
lea ecx, [esp + 0x1c]
push 0xd
push ecx
lea ecx, [esp + 0x28]
call fcn.004a9140
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x28], eax
je 0x55bd74
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x28]
push edx
call fcn.004a8b60
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x38], 2
test eax, eax
je 0x55bd66
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov ebx, eax
test ebx, ebx
je 0x55bd62
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x3c]
mov edi, eax
lea ecx, [esp + 0x40]
push ecx
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x10]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
mov edx, dword [ebx]
push 1
push edi
push eax
push ecx
mov ecx, ebx
call dword [edx + 0x4c]
mov dword [esp + 0x18], 0
mov edx, dword [esi]
push ebp
mov ecx, esi
mov byte [esp + 0x3c], 3
call dword [edx + 0x10]
mov edx, dword [esi]
push 0
push ebx
push eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x18]
test al, al
jne 0x55bd0a
mov edx, dword [esp + 0x2c]
push edx
call fcn.0055c490
add esp, 4
test eax, eax
je 0x55bd46
mov eax, dword [ebp]
xor esi, esi
push esi
mov ecx, ebp
call dword [eax + 0x18]
test eax, eax
je 0x55bcd8
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x6c]
mov esi, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x55bcf4
add eax, 0xc
push 0x10
push 0x6e547c
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x55bd46
mov eax, 0x7427dc
push 0x10
push 0x6e547c
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x55bd46
mov eax, dword [edi]
lea ecx, [esp + 0x44]
push ecx
mov ecx, edi
call dword [eax + 0x28]
lea edx, [esp + 0x44]
lea ecx, [esp + 0x40]
push edx
mov byte [esp + 0x3c], 4
call fcn.004a3220
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 3
call fcn.00499a60
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
mov dword [esp + 0x14], 0
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x98]
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call fcn.00499a60
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 0
call fcn.00499a60
mov al, byte [esp + 0x4c]
test al, al
jne 0x55bd84
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x55be02
mov eax, dword [edi + 0x14]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x2c], eax
jle 0x55be02
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x48]
test ecx, ecx
mov eax, dword [eax + ebp*4]
je 0x55bda3
cmp ecx, eax
jne 0x55bdf9
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x68]
mov esi, eax
test esi, esi
je 0x55bdf9
push esi
call fcn.0055e160
add esp, 4
test eax, eax
je 0x55bdec
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x55bdda
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x55bdd3
lea edx, [ecx + 0xc]
jmp 0x55bddc
mov edx, 0x7427dc
jmp 0x55bddc
xor edx, edx
mov ecx, dword [eax]
push edx
mov dword [esp + 0x50], ecx
mov ecx, eax
mov eax, dword [esp + 0x50]
call dword [eax + 0x7c]
push 0
push 0
push esi
call fcn.0055e5c0
add esp, 0xc
mov eax, dword [esp + 0x2c]
inc ebp
cmp ebp, eax
jl 0x55bd91
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call fcn.00499a60
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
pop esi
pop ebx
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x2c
ret