Function at 0x577cf0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x616788
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6e377c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x30]
cmp edi, 5
ja case.default.0x577d2a
mov ebx, 1
jmp dword [edi*4 + 0x577f9c]
cmp byte [0x6f2f3d], 0
je case.default.0x577d2a
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x577d4b
mov eax, 0x683698
mov ecx, dword [0x63dcd0]
push ecx
push 0
push eax
lea ecx, [esp + 0x3c]
call fcn.0050fcd0
mov ebx, 1
push ebx
lea edx, [esp + 0x34]
push edx
lea ecx, [esi + 4]
mov dword [esp + 0x30], 0
call fcn.00510030
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov dword [esp + 0x28], 0xffffffff
cmp eax, 0xffffffff
je 0x577d9c
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x577d9c
call fcn.0050ec00
push ebx
push 3
jmp 0x577f6b
mov esi, dword [0x6f6a34]
test esi, esi
jne 0x577ddc
mov ecx, dword [0x6f2e50]
mov edx, dword [ecx]
mov eax, dword [edx + 0xa8]
call eax
mov esi, eax
test esi, esi
je case.default.0x577d2a
push 0x6de878
mov ecx, esi
call fcn.00511880
test al, al
je case.default.0x577d2a
mov edx, dword [esi]
mov eax, dword [edx + 0x310]
mov ecx, esi
call eax
test eax, eax
je case.default.0x577d2a
mov ecx, dword [esp + 0x34]
push ecx
lea ecx, [esp + 0x14]
call fcn.004030fb
mov edx, dword [esi]
mov edx, dword [edx + 0x318]
push 0
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov dword [esp + 0x30], 1
call edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.00401017
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
call fcn.00519760
test eax, eax
je 0x577e5a
mov edx, dword [eax]
push 0
mov ecx, eax
mov eax, dword [edx + 8]
push 0x6574c0
call eax
jmp 0x577e5f
mov eax, 0x6574c0
push eax
lea ecx, [esp + 0x1c]
call fcn.004030fb
mov ecx, dword [esp + 0x34]
push ecx
mov ebx, 2
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], ebx
call fcn.004030fb
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push 0x200
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x40], 3
call fcn.0053ad70
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
add esp, 0x18
mov byte [esp + 0x28], bl
cmp eax, 0xffffffff
je 0x577ec1
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x577ec1
call fcn.0050ec00
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov dword [esp + 0x28], 0xffffffff
cmp eax, 0xffffffff
je 0x577ee4
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x577ee4
call fcn.0050ec00
call fcn.005147b0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10
cmp byte [esi + 0x2c], 0
jne 0x577f10
mov byte [esi + 0x2c], bl
cmp byte [esi + 0x2c], 0
jne 0x577f10
mov byte [esi + 0x2d], bl
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x577f1d
mov eax, 0x683698
mov ecx, dword [0x63dcd0]
push ecx
push 0
push eax
lea ecx, [esp + 0x28]
call fcn.0050fcd0
push ebx
lea edx, [esp + 0x20]
push edx
lea ecx, [esi + 4]
mov dword [esp + 0x30], 4
call fcn.00510030
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov dword [esp + 0x28], 0xffffffff
cmp eax, 0xffffffff
je 0x577f69
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x577f69
call fcn.0050ec00
push ebx
push edi
lea ecx, [esi + 0x14]
call fcn.00511500
mov eax, dword [esp + 0x38]
push ebx
push eax
lea ecx, [esi + 0x20]
call fcn.00511500
mov byte [esi + 0x2e], bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x10