Function at 0x5c66a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x627f11
mov eax, dword fs:[0]
push eax
sub esp, 0x560
mov eax, dword [0x67dc50]
xor eax, esp
mov dword [esp + 0x558], eax
push ebx
push esi
push edi
mov eax, dword [0x67dc50]
xor eax, esp
push eax
lea eax, [esp + 0x570]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x30], ecx
push eax
lea ecx, [esp + 0x4a8]
mov dword [esp + 0x3c], edx
call fcn.0056df50
xor ebx, ebx
mov dword [esp + 0x578], ebx
cmp dword [esp + 0x4c4], ebx
je 0x5c6b72
lea esi, [esp + 0xa4]
lea edi, [ebx + 0x3f]
mov edi, edi
mov ecx, esi
call fcn.005c6fa0
add esi, 0x10
sub edi, 1
jns 0x5c6720
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x70]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
call fcn.0055abe0
xor edi, edi
or eax, 0xffffffff
mov dword [esp + 0x70], vtable.ZpatEdge.0
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], edi
mov eax, dword [esp + 0x4b0]
mov byte [esp + 0x578], 1
cmp eax, dword [esp + 0x4b4]
ja 0x5c6b1c
jmp 0x5c67a4
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x4c4]
push ecx
call fcn.005c65f0
add esp, 4
test eax, eax
jne 0x5c67c1
dec dword [esp + 0x14]
jmp 0x5c6af2
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x38]
push edx
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0xb0]
push edx
push eax
mov dword [esp + 0x24], edi
call fcn.005c6330
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x4d8]
add esp, 0x14
test edi, edi
jne 0x5c6838
mov edx, dword [ecx]
mov eax, dword [edx + 0x5c]
call eax
cmp eax, 6
jne 0x5c681f
mov ecx, dword [esp + 0x4c4]
add ecx, 4
push ecx
mov ecx, ebx
imul ecx, ecx, 0x34
add ecx, esi
call fcn.00560260
jmp 0x5c6af2
mov edx, dword [esp + 0x4c4]
mov ecx, ebx
imul ecx, ecx, 0x34
push edx
add ecx, esi
call fcn.00560290
jmp 0x5c6af2
mov eax, dword [ecx]
mov edx, dword [eax + 0x5c]
call edx
cmp eax, 6
jne 0x5c6909
mov ecx, dword [esp + 0x4c4]
mov eax, ebx
imul eax, eax, 0x34
add ecx, 4
add esi, eax
push ecx
mov ecx, esi
call fcn.00560260
mov edx, dword [esp + 0x4c4]
add edx, 4
push edx
lea eax, [esp + 0xa8]
push edi
push eax
call fcn.0055c480
add esp, 0xc
test edi, edi
jle 0x5c6af2
mov ecx, dword [esp + 0x10]
lea edi, [esp + 0xa8]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 8]
mov ecx, dword [edi]
mov dword [esi + 0x24], edx
mov dword [esi + 0x28], eax
mov eax, dword [edi - 4]
lea edx, [esp + 0x40]
mov dword [esp + 0x44], ecx
push edx
mov ecx, esi
mov dword [esp + 0x44], eax
inc ebx
call fcn.00560260
mov eax, dword [ebp + 0x14]
add eax, eax
cmp ebx, eax
jl 0x5c68ce
lea eax, [esp + 0x70]
mov dword [esp + 0x18], eax
xor ebx, ebx
mov ecx, dword [edi - 4]
mov edx, dword [edi]
mov eax, ebx
imul eax, eax, 0x34
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x54], edx
lea esi, [eax + ecx]
lea edx, [esp + 0x50]
push edx
mov ecx, esi
call fcn.00560260
mov eax, dword [esp + 0x14]
add edi, 0x10
sub dword [esp + 0x10], 1
mov dword [esi + 0x20], eax
jne 0x5c6894
jmp 0x5c6af2
lea ecx, [esp + 0x1c]
call fcn.00513f30
mov ecx, dword [esp + 0x4c4]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0xac]
push edi
push eax
mov byte [esp + 0x588], 2
call fcn.0055ca50
mov eax, dword [esp + 0x2c]
dec eax
add esp, 0x10
xor edi, edi
mov dword [esp + 0x34], eax
test eax, eax
jle 0x5c6a41
mov esi, ebx
imul esi, esi, 0x34
add esi, dword [esp + 0x18]
lea ecx, [esp + 0xb0]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + edi*4]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x60], edx
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x28], eax
mov dword [esp + 0x64], edx
mov eax, dword [ecx + edi*4]
add eax, 0xc
push eax
lea eax, [esp + 0x64]
push eax
call fcn.00521130
add esp, 8
test eax, eax
je 0x5c69dc
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
lea eax, [esp + 0x58]
mov dword [esp + 0x58], ecx
push eax
mov ecx, esi
mov dword [esp + 0x60], edx
call fcn.00560260
mov edx, dword [esp + 0x24]
mov eax, dword [edx + edi*4]
add eax, 0xc
mov ecx, esi
push eax
inc ebx
add esi, 0x34
call fcn.00560260
jmp 0x5c6a09
mov dword [esp + 0x3c], esi
inc ebx
add esi, 0x34
cmp edi, dword [esp + 0x1c]
jge 0x5c69f3
mov ecx, dword [esp + 0x24]
lea eax, [ecx + edi*4]
jmp 0x5c69fd
push edi
lea ecx, [esp + 0x20]
call fcn.005ee1f0
mov edx, dword [eax]
mov ecx, dword [esp + 0x3c]
push edx
call fcn.00560290
mov eax, dword [ebp + 0x14]
add eax, eax
cmp ebx, eax
jge 0x5c6a2b
mov eax, dword [esp + 0x14]
add dword [esp + 0x10], 0x10
inc edi
cmp edi, dword [esp + 0x34]
mov dword [esi + 0x20], eax
jl 0x5c695f
jmp 0x5c6a41
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x70]
xor ebx, ebx
mov dword [esp + 0x18], ecx
inc edi
mov dword [esp + 0x90], edx
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + edi*4]
mov esi, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], esi
mov eax, dword [ecx + edi*4]
add eax, 0xc
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.00521130
add esp, 8
test eax, eax
je 0x5c6aaa
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
mov edx, ebx
imul edx, edx, 0x34
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], esi
lea ecx, [esp + 0x48]
lea esi, [edx + eax]
push ecx
mov ecx, esi
call fcn.00560260
mov edx, dword [esp + 0x24]
mov eax, dword [edx + edi*4]
add eax, 0xc
push eax
mov ecx, esi
call fcn.00560260
jmp 0x5c6ad8
mov eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x1c]
jge 0x5c6abd
mov ecx, dword [esp + 0x24]
lea eax, [ecx + eax*4]
jmp 0x5c6ac7
push eax
lea ecx, [esp + 0x20]
call fcn.005ee1f0
mov edx, dword [eax]
mov ecx, ebx
imul ecx, ecx, 0x34
add ecx, dword [esp + 0x18]
push edx
call fcn.00560290
lea ecx, [esp + 0x1c]
call fcn.00513f80
lea ecx, [esp + 0x1c]
mov byte [esp + 0x578], 1
call fcn.0048f310
lea ecx, [esp + 0x4a4]
call fcn.0056dbf0
mov eax, dword [esp + 0x4b0]
inc dword [esp + 0x14]
xor edi, edi
cmp eax, dword [esp + 0x4b4]
jbe 0x5c67a0
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x70]
call fcn.0055f1e0
test eax, eax
je 0x5c6b47
push edi
lea ecx, [esp + 0x74]
push ecx
mov ecx, esi
call fcn.0055fd30
mov edx, dword [esp + 0x90]
mov dword [esi + 0x20], edx
mov dword [esi + 0x2c], 8
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x38]
push eax
push ecx
push esi
call fcn.005c6380
add esp, 0xc
lea ecx, [esp + 0x70]
mov byte [esp + 0x578], 0
mov dword [esp + 0x70], vtable.ZpatEdge.0
call fcn.0055ff50
lea ecx, [esp + 0x4a4]
mov dword [esp + 0x578], 0xffffffff
call fcn.0056db30
mov ecx, dword [esp + 0x570]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x558]
xor ecx, esp
call fcn.005f617e
mov esp, ebp
pop ebp
ret