Function at 0x55ce14
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x55ce1c
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x55d784
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [ebp - 0xc]
cmp byte [ebx + 0x30], 0
jne 0x55ce7e
mov dl, 8
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
test al, al
je 0x55ce75
lea ecx, [ebp - 0x14]
mov edx, 8
mov eax, ebx
call fcn.004714e0
lea eax, [ebp - 0x14]
mov edx, 0x55d7a0
call fcn.00407130
mov ecx, dword [ebp - 0x14]
mov dl, 8
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x34]
call fcn.00557c08
mov byte [ebx + 0x30], 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc8]
add eax, 4
push eax
call sub.kernel32.dll_EnterCriticalSection
xor ecx, ecx
push ebp
push 0x55d730
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov dl, 8
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
test al, al
je 0x55cee8
push 0
mov eax, dword [0x733a90]
mov eax, dword [eax]
call eax
pop ecx
lea edx, [ebp - 0x18]
call fcn.00472a40
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 8]
call fcn.00406ff8
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov edx, 0x55d7c0
call fcn.004071b0
mov ecx, dword [ebp - 0x1c]
mov dl, 8
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x34]
cmp byte [0x71cbc0], 0
jne 0x55cf0d
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0xc0], 0
je 0x55cf0d
mov eax, dword [0x733410]
mov eax, dword [eax]
call eax
mov byte [0x71cbc0], 1
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x3c], 0
jne 0x55cf40
mov eax, dword [ebp - 0xc]
call fcn.0055929c
mov ebx, eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x3c], ebx
test ebx, ebx
jne 0x55cf40
mov ecx, 0x55d814
mov dl, 1
mov eax, dword [0x546520]
call fcn.004784ac
call fcn.00405598
xor ecx, ecx
push ebp
push 0x55d6e4
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 0xc]
cmp word [eax + 0xba], 0
je 0x55cf6d
mov ebx, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebx + 0xbc]
call dword [ebx + 0xb8]
mov eax, dword [0x732fb4]
cmp dword [eax], 0x1010000f
jb 0x55cfda
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + 0x94]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [0x733424]
mov eax, dword [eax]
call eax
add esp, 8
mov dl, 8
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
test al, al
je 0x55cfda
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
movzx edx, byte [eax + 0x94]
mov eax, dword [0x545d78]
call fcn.004887ec
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov edx, 0x55d85c
call fcn.004071b0
mov ecx, dword [ebp - 0x20]
mov dl, 8
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x34]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc4]
test eax, eax
je 0x55cff9
test byte [eax + 0x45], 1
je 0x55cff9
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0055cbb4
jmp 0x55d078
push 0x559580
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [0x7336d4]
mov eax, dword [eax]
call eax
add esp, 8
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [0x733b7c]
mov eax, dword [eax]
call eax
add esp, 8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x4c]
call fcn.0055f4c4
test al, al
jne 0x55d078
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x58]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x55d06a
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x54], 0
jne 0x55d06a
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x58]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0055c0ec
jmp 0x55d078
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x54]
mov eax, dword [ebp - 0xc]
call fcn.0055bed4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x4c]
call fcn.0055f4bc
test al, al
jne 0x55d096
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x4c]
call fcn.0055f4cc
test al, al
je 0x55d0a0
mov eax, dword [ebp - 0xc]
call fcn.0055b828
jmp 0x55d0e1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x48]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x55d0d3
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x44], 0
jne 0x55d0d3
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x48]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.0055ba70
jmp 0x55d0e1
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x44]
mov eax, dword [ebp - 0xc]
call fcn.0055b614
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x4c]
call fcn.0055f4cc
test al, al
jne 0x55d140
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x60]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x55d12c
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x5c], 0
jne 0x55d12c
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x64], 0
jne 0x55d12c
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x60]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0xc]
call fcn.0055b4d0
jmp 0x55d140
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x64]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x5c]
mov eax, dword [ebp - 0xc]
call fcn.0055ad04
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x68]
mov eax, dword [ebp - 0xc]
call fcn.0055a764
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x6c]
mov eax, dword [ebp - 0xc]
call fcn.0055aacc
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x74]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x55d18f
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x70], 0
jne 0x55d18f
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
call fcn.0055c7dc
jmp 0x55d19d
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x70]
mov eax, dword [ebp - 0xc]
call fcn.0055c4f8
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + 0x8c]
cmp al, 1
jne 0x55d1da
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
mov edx, 1
call fcn.00534480
test eax, eax
jne 0x55d24a
push 0x55d894
mov cl, 1
mov edx, dword [0x546520]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
jmp 0x55d24a
test al, al
jbe 0x55d24a
and eax, 0x7f
mov eax, dword [eax*4 + 0x71cb88]
push eax
mov eax, dword [0x73389c]
mov eax, dword [eax]
call eax
pop ecx
mov ebx, eax
test ebx, ebx
jne 0x55d20e
push 0x55d8e4
mov cl, 1
mov edx, dword [0x546520]
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0x3c]
push ebx
push 0
push 4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [0x733784]
mov eax, dword [eax]
call eax
add esp, 0x10
test eax, eax
jne 0x55d23f
push 0x55d934
mov cl, 1
mov edx, dword [0x546520]
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0x3c]
push ebx
mov eax, dword [0x733628]
mov eax, dword [eax]
call eax
pop ecx
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 0x84]
or ebx, 0x4000
mov eax, dword [ebp - 0xc]
cmp byte [eax + 0x41], 5
jne 0x55d269
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x41], 0
mov eax, dword [0x732fb4]
cmp dword [eax], 0x1010000f
jb 0x55d2ee
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + 0x41]
mov edx, dword [ebp - 0xc]
cmp al, byte [edx + 0x42]
ja 0x55d38f
and eax, 0x7f
mov eax, dword [eax*4 + 0x71cb9c]
push 0
push eax
push 0x7b
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [0x733784]
mov eax, dword [eax]
call eax
add esp, 0x10
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + 0x42]
mov eax, dword [eax*4 + 0x71cb9c]
push 0
push eax
push 0x7c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [0x733784]
mov eax, dword [eax]
call eax
add esp, 0x10
and ebx, 0xfdffffff
and ebx, 0xfbffffff
and ebx, 0xf7ffffff
and ebx, 0xefffffff
jmp 0x55d38f
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + 0x41]
mov edx, dword [ebp - 0xc]
movzx edx, byte [edx + 0x42]
cmp al, dl
ja 0x55d38f
and ebx, 0xfdffffff
and ebx, 0xfbffffff
and ebx, 0xf7ffffff
and ebx, 0xefffffff
test al, al
jbe 0x55d354
cmp al, 1
jne 0x55d32c
or ebx, 0x2000000
jmp 0x55d354
cmp al, 2
jne 0x55d33e
or ebx, 0x2000000
or ebx, 0x4000000
jmp 0x55d354
cmp al, 3
jne 0x55d354
or ebx, 0x2000000
or ebx, 0x4000000
or ebx, 0x10000000
cmp dl, 5
jae 0x55d38f
test dl, dl
jne 0x55d371
or ebx, 0x4000000
or ebx, 0x10000000
or ebx, 0x8000000
jmp 0x55d38f
cmp dl, 1
jne 0x55d384
or ebx, 0x10000000
or ebx, 0x8000000
jmp 0x55d38f
cmp dl, 2
jne 0x55d38f
or ebx, 0x8000000
mov dl, 8
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
test al, al
je 0x55d3ef
push 0x55d984
lea ecx, [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
movzx edx, byte [eax + 0x41]
mov eax, dword [0x545808]
call fcn.004887ec
push dword [ebp - 0x3c]
push 0x55d9b0
lea ecx, [ebp - 0x40]
mov eax, dword [ebp - 0xc]
movzx edx, byte [eax + 0x42]
mov eax, dword [0x545808]
call fcn.004887ec
push dword [ebp - 0x40]
lea eax, [ebp - 0x38]
mov edx, 4
call fcn.00407280
mov ecx, dword [ebp - 0x38]
mov dl, 8
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0x34]
mov eax, dword [ebp - 0xc]
movzx edx, byte [eax + 0xb0]
mov eax, dword [ebp - 0xc]
call fcn.0055ec9c
mov eax, dword [0x732fb4]
cmp dword [eax], 0x1010000f
ja 0x55d41b
mov eax, ebx
and eax, 0x20
cmp eax, 0x20
jne 0x55d41b
and ebx, 0xffffffdf
push 0
push ebx
push 0x20
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [0x733784]
mov eax, dword [eax]
call eax
add esp, 0x10
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x88], 0
je 0x55d48c
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x88]
mov ecx, 0
call fcn.00407020
mov eax, dword [ebp - 0x44]
call fcn.00406468
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [0x73371c]
mov eax, dword [eax]
call eax
add esp, 8
test eax, eax
jne 0x55d4a2
push 0x55d9e0
mov cl, 1
mov edx, dword [0x546520]
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0x3c]
jmp 0x55d4a2
mov ecx, 0x55da20
mov dl, 1
mov eax, dword [0x546520]
call fcn.004784ac
call fcn.00405598
mov eax, dword [ebp - 0xc]
call fcn.0055e904
mov byte [ebp - 0xd], al
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x98]
push eax
push 0x2c
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [0x733784]
mov eax, dword [eax]
call eax
add esp, 0x10
test byte [ebp - 0xd], 0x10
jne 0x55d546
mov eax, dword [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [0x733814]
mov eax, dword [eax]
call eax
add esp, 0xc
test eax, eax
jne 0x55d506
push 0x55da50
mov cl, 1
mov edx, dword [0x546520]
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0x3c]
push 0x559a74
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [0x733b1c]
mov eax, dword [eax]
call eax
add esp, 8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x9c]
cmp eax, 0x5000
je 0x55d546
push 0
push eax
push 0x2a
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [0x733784]
mov eax, dword [eax]
call eax
add esp, 0x10
test byte [ebp - 0xd], 2
je 0x55d623
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xa0]
test eax, eax
jbe 0x55d571
push eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [0x733d24]
mov eax, dword [eax]
call eax
add esp, 8
push 0x559ce4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [0x733ba0]
mov eax, dword [eax]
call eax
add esp, 8
push 0x559ed4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [0x733b5c]
mov eax, dword [eax]
call eax
add esp, 8
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xa4]
test eax, eax
je 0x55d5b3
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x55d606
mov eax, dword [ebp - 0xc]
add eax, 0xa4
call fcn.00407754
mov edi, eax
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + 0xa4]
test esi, esi
je 0x55d5d8
sub esi, 4
mov esi, dword [esi]
push esi
push edi
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [0x7331e4]
mov eax, dword [eax]
call eax
add esp, 0xc
test eax, eax
jne 0x55d606
push 0x55da94
mov cl, 1
mov edx, dword [0x546520]
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0x3c]
mov dl, 8
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
test al, al
je 0x55d623
mov ecx, 0x55daec
mov dl, 8
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi + 0x34]
mov dl, 8
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
test al, al
je 0x55d6da
mov esi, 1
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406e30
xor edi, edi
test esi, ebx
je 0x55d671
push dword [ebp - 4]
lea ecx, [ebp - 0x48]
mov edx, 8
mov eax, esi
call fcn.004714e0
push dword [ebp - 0x48]
push 0x55db2c
lea eax, [ebp - 4]
mov edx, 3
call fcn.00407280
add esi, esi
inc edi
cmp edi, 0x1f
jne 0x55d646
push 0x55db40
lea ecx, [ebp - 0x50]
mov edx, 8
mov eax, ebx
call fcn.004714e0
push dword [ebp - 0x50]
push 0x55db68
push dword [ebp - 4]
lea eax, [ebp - 0x4c]
mov edx, 4
call fcn.00407280
mov ecx, dword [ebp - 0x4c]
mov dl, 8
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x34]
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 0xc]
call fcn.0055ef9c
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
mov edx, 0x55db7c
call fcn.004071b0
mov ecx, dword [ebp - 0x54]
mov dl, 8
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x55d710
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x55d737
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc8]
add eax, 4
push eax
call sub.kernel32.dll_LeaveCriticalSection
ret