Function at 0x55a750
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x660278
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 0x55a783
mov eax, dword [eax + 4]
mov dword [esp + 8], eax
mov edi, eax
test edi, edi
jne 0x55a79b
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.004a4340
cmp eax, 4
je 0x55a7c2
cmp eax, 6
je 0x55a7c2
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.00492b70
mov ebp, eax
test ebp, ebp
jne 0x55a7ea
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 + 0xa4]
lea ecx, [esp + 0x40]
mov esi, eax
push ecx
mov ecx, edi
mov dword [esp + 0x18], 1
call fcn.004a46e0
mov ecx, edi
mov dword [esp + 0x38], 0
call fcn.004a4340
cmp eax, 4
jne 0x55a871
mov ecx, edi
call fcn.004a4b80
test eax, eax
jle 0x55a871
push 0
mov ecx, edi
call fcn.004a4c20
test eax, eax
jl 0x55a871
lea edx, [esp + 0x20]
push eax
push edx
mov ecx, edi
call fcn.004a5bb0
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 1
call fcn.004a2150
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.00498970
test esi, esi
je 0x55aa14
lea eax, [esp + 0x28]
mov ecx, edi
push eax
call fcn.004a43b0
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x20], eax
je 0x55aa14
push 0xd
lea ecx, [esp + 0x24]
call fcn.004a8050
test eax, eax
je 0x55aa14
lea ecx, [esp + 0x1c]
push 0xd
push ecx
lea ecx, [esp + 0x28]
call fcn.004a80a0
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x28], eax
je 0x55aa14
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x28]
push edx
call fcn.004a7ac0
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x38], 2
test eax, eax
je 0x55aa06
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov ebx, eax
test ebx, ebx
je 0x55aa02
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 0x55a9aa
mov edx, dword [esp + 0x2c]
push edx
call fcn.0055b130
add esp, 4
test eax, eax
je 0x55a9e6
mov eax, dword [ebp]
xor esi, esi
push esi
mov ecx, ebp
call dword [eax + 0x18]
test eax, eax
je 0x55a978
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x6c]
mov esi, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x55a994
add eax, 0xc
push 0x10
push str.Error
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x55a9e6
mov eax, 0x73d674
push 0x10
push str.Error
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x55a9e6
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.004a2150
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 3
call fcn.00498970
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.00498970
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x24]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 0
call fcn.00498970
mov al, byte [esp + 0x4c]
test al, al
jne 0x55aa24
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x55aaa2
mov eax, dword [edi + 0x14]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x2c], eax
jle 0x55aaa2
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x48]
test ecx, ecx
mov eax, dword [eax + ebp*4]
je 0x55aa43
cmp ecx, eax
jne 0x55aa99
mov edx, dword [ebx]
push eax
mov ecx, ebx
call dword [edx + 0x68]
mov esi, eax
test esi, esi
je 0x55aa99
push esi
call fcn.0055ce00
add esp, 4
test eax, eax
je 0x55aa8c
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x55aa7a
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x55aa73
lea edx, [ecx + 0xc]
jmp 0x55aa7c
mov edx, 0x73d674
jmp 0x55aa7c
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.0055d260
add esp, 0xc
mov eax, dword [esp + 0x2c]
inc ebp
cmp ebp, eax
jl 0x55aa31
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call fcn.00498970
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