Function at 0x4c79e0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x563478
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5f168c]
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.0x4c7a1a
mov ebx, 1
jmp dword [edi*4 + 0x4c7c8c]
cmp byte [0x5f9735], 0
je case.default.0x4c7a1a
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4c7a3b
mov eax, 0x5bb970
mov ecx, dword [0x576324]
push ecx
push 0
push eax
lea ecx, [esp + 0x3c]
call fcn.0045fb60
mov ebx, 1
push ebx
lea edx, [esp + 0x34]
push edx
lea ecx, [esi + 4]
mov dword [esp + 0x30], 0
call fcn.0045fec0
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov dword [esp + 0x28], 0xffffffff
cmp eax, 0xffffffff
je 0x4c7a8c
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4c7a8c
call fcn.0045ea90
push ebx
push 3
jmp 0x4c7c5b
mov esi, dword [0x5fd22c]
test esi, esi
jne 0x4c7acc
mov ecx, dword [0x5f9648]
mov edx, dword [ecx]
mov eax, dword [edx + 0xa8]
call eax
mov esi, eax
test esi, esi
je case.default.0x4c7a1a
push 0x5ec780
mov ecx, esi
call fcn.00461710
test al, al
je case.default.0x4c7a1a
mov edx, dword [esi]
mov eax, dword [edx + 0x310]
mov ecx, esi
call eax
test eax, eax
je case.default.0x4c7a1a
mov ecx, dword [esp + 0x34]
push ecx
lea ecx, [esp + 0x14]
call fcn.00403311
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.00469590
test eax, eax
je 0x4c7b4a
mov edx, dword [eax]
push 0
mov ecx, eax
mov eax, dword [edx + 8]
push 0x58fb18
call eax
jmp 0x4c7b4f
mov eax, 0x58fb18
push eax
lea ecx, [esp + 0x1c]
call fcn.00403311
mov ecx, dword [esp + 0x34]
push ecx
mov ebx, 2
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], ebx
call fcn.00403311
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.00489b40
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 0x4c7bb1
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4c7bb1
call fcn.0045ea90
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov dword [esp + 0x28], 0xffffffff
cmp eax, 0xffffffff
je 0x4c7bd4
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4c7bd4
call fcn.0045ea90
call fcn.00464610
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 0x4c7c00
mov byte [esi + 0x2c], bl
cmp byte [esi + 0x2c], 0
jne 0x4c7c00
mov byte [esi + 0x2d], bl
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x4c7c0d
mov eax, 0x5bb970
mov ecx, dword [0x576324]
push ecx
push 0
push eax
lea ecx, [esp + 0x28]
call fcn.0045fb60
push ebx
lea edx, [esp + 0x20]
push edx
lea ecx, [esi + 4]
mov dword [esp + 0x30], 4
call fcn.0045fec0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov dword [esp + 0x28], 0xffffffff
cmp eax, 0xffffffff
je 0x4c7c59
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4c7c59
call fcn.0045ea90
push ebx
push edi
lea ecx, [esi + 0x14]
call fcn.004615b0
mov eax, dword [esp + 0x38]
push ebx
push eax
lea ecx, [esi + 0x20]
call fcn.004615b0
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