Function at 0x5d64b0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x6c3301
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x98
push ebx
push ebp
push esi
push edi
xor ebx, ebx
lea ecx, [esp + 0x84]
mov dword [esp + 0xb0], ebx
call fcn.00546ec0
lea ecx, [esp + 0x60]
mov byte [esp + 0xb0], 1
call fcn.0060d180
lea ecx, [esp + 0x30]
mov byte [esp + 0xb0], 2
call fcn.0060fe70
mov eax, dword [0x710ed0]
mov ecx, dword [0x710ed4]
mov dx, word [0x710ed8]
mov dword [esp + 0x34], eax
mov al, byte [0x710eda]
mov dword [esp + 0x38], ecx
mov cl, byte [esp + 0x13]
mov dword [esp + 0x14], ebx
mov word [esp + 0x3c], dx
mov byte [esp + 0x3e], al
mov byte [esp + 0x18], cl
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0xb0], 4
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x12], bl
mov byte [esp + 0x13], 1
mov esi, dword [esp + 0x14]
cmp si, bx
jle 0x5d65e8
cmp byte [0x71bb5c], bl
je 0x5d6585
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 1
push 0x703848
call fcn.0060ff10
jmp 0x5d65bf
sub esp, 0x24
lea eax, [esp + 0x58]
mov edx, esp
mov dword [esp + 0x38], esp
push 1
push eax
push edx
lea ecx, [esp + 0xb4]
call fcn.00547f90
lea ecx, [esp + 0x84]
call fcn.0060d330
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push ecx
lea ecx, [esp + 0x68]
call fcn.0060d6b0
lea ecx, [esp + 0x34]
call fcn.006101a0
lea ecx, [esp + 0x30]
call fcn.00610330
test ax, ax
jle 0x5d6a3b
cmp si, 3
je 0x5d69b4
mov dword [esp + 0x14], ebx
push ecx
lea edx, [esp + 0xbc]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.0060fe80
mov ecx, dword [0x71b93c]
call fcn.006206f0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x703794
call fcn.0060ff10
mov ecx, dword [0x71b93c]
call fcn.00620870
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x70378c
call fcn.0060ff10
mov ecx, dword [0x71b93c]
call fcn.00620870
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push 6
push 0x703774
call fcn.0060ff10
mov ecx, dword [0x71b93c]
call fcn.00620870
cmp byte [esp + 0x13], bl
je 0x5d67cc
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 6
push 0x703764
call fcn.0060ff10
lea eax, [esp + 0x48]
push eax
call fcn.0060f170
add esp, 8
mov esi, eax
mov eax, dword [esi + 8]
mov ecx, dword [0x6ce1fc]
mov ebp, eax
mov byte [esp + 0xb0], 6
cmp ecx, ebp
jae 0x5d66ac
mov ebp, ecx
lea edx, [esp + 0x18]
cmp edx, esi
jne 0x5d66cf
push ecx
push ebp
lea ecx, [esp + 0x20]
call fcn.004140d0
push ebx
push ebx
lea ecx, [esp + 0x20]
call fcn.004140d0
jmp 0x5d6756
cmp ebp, ebx
jbe 0x5d671c
cmp ebp, eax
jne 0x5d671c
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x5d66e3
mov eax, 0x6ce1f8
cmp byte [eax - 1], 0xfe
jae 0x5d671c
push 1
lea ecx, [esp + 0x1c]
call fcn.004138a0
mov eax, dword [esi + 4]
cmp eax, ebx
jne 0x5d6700
mov eax, 0x6ce1f8
mov dword [esp + 0x1c], eax
mov ecx, dword [esi + 8]
mov dword [esp + 0x20], ecx
mov esi, dword [esi + 0xc]
mov dword [esp + 0x24], esi
mov cl, byte [eax - 1]
inc cl
mov byte [eax - 1], cl
jmp 0x5d6756
push 1
push ebp
lea ecx, [esp + 0x20]
call fcn.00414210
test al, al
je 0x5d6756
mov esi, dword [esi + 4]
cmp esi, ebx
jne 0x5d6738
mov esi, 0x6ce1f8
mov edi, dword [esp + 0x1c]
mov ecx, ebp
mov eax, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.004141f0
mov eax, dword [esp + 0x48]
mov byte [esp + 0xb0], 4
cmp eax, ebx
je 0x5d6783
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x5d677a
cmp al, 0xff
je 0x5d677a
dec al
mov byte [ecx], al
jmp 0x5d6783
push ecx
call fcn.00697880
add esp, 4
mov dl, byte [esp + 0x18]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x38], esp
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov byte [ecx], dl
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov eax, dword [0x6ce1fc]
lea edx, [esp + 0x28]
push eax
push ebx
push edx
mov dword [esp + 0x6c], ebx
call fcn.004136a0
push ecx
mov byte [esp + 0xc4], 7
mov ecx, esp
mov dword [esp + 0x54], esp
jmp 0x5d68c0
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x54]
and eax, 0xff
push eax
push str._d__
push ecx
call fcn.00698355
lea edi, [esp + 0x60]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x18]
call fcn.00414860
cmp eax, ebp
jae 0x5d680a
call fcn.0069788b
mov edi, dword [esp + 0x1c]
cmp edi, ebx
je 0x5d6832
mov al, byte [edi - 1]
cmp al, bl
je 0x5d6832
cmp al, 0xff
je 0x5d6832
cmp ebp, ebx
jne 0x5d685b
dec al
push ebx
lea ecx, [esp + 0x1c]
mov byte [edi - 1], al
call fcn.004138a0
jmp 0x5d6887
cmp ebp, ebx
jne 0x5d6843
push 1
lea ecx, [esp + 0x1c]
call fcn.004138a0
jmp 0x5d6887
mov eax, dword [esp + 0x24]
cmp eax, 0x1f
ja 0x5d6850
cmp eax, ebp
jae 0x5d6869
push 1
lea ecx, [esp + 0x1c]
call fcn.004138a0
push ebp
lea ecx, [esp + 0x1c]
call fcn.00414870
mov edi, dword [esp + 0x1c]
mov ecx, ebp
lea esi, [esp + 0x54]
mov edx, ecx
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
call fcn.004141f0
mov al, byte [esp + 0x18]
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x50], esp
mov byte [ecx], al
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
mov edx, dword [0x6ce1fc]
lea eax, [esp + 0x28]
push edx
push ebx
push eax
call fcn.004136a0
push ecx
mov byte [esp + 0xc4], 8
mov ecx, esp
mov dword [esp + 0x3c], esp
push 6
push 0x70379c
call fcn.0060ff10
mov ecx, dword [0x71b93c]
mov byte [esp + 0xc4], 4
call fcn.006208f0
mov ecx, dword [0x71b93c]
call fcn.00620cd0
movsx eax, ax
sub eax, ebx
je 0x5d6966
dec eax
je 0x5d691b
dec eax
jne 0x5d655b
mov byte [esp + 0x34], 8
mov byte [esp + 0x38], 3
mov byte [esp + 0x3a], 0x19
mov byte [esp + 0x3b], bl
mov dword [esp + 0x14], 3
jmp 0x5d655b
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x13], bl
dec eax
mov dword [esp + 0x2c], eax
jns 0x5d6938
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x12], 1
jmp 0x5d655b
mov al, byte [esp + 0x2c]
mov cl, 0xa
imul cl
mov byte [esp + 0x3c], al
mov al, byte [esp + 0x12]
cmp al, bl
je 0x5d6959
mov byte [esp + 0x12], bl
mov dword [esp + 0x14], ebx
jmp 0x5d655b
mov dword [esp + 0x14], 2
jmp 0x5d655b
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x13], bl
inc eax
cmp eax, 0xa
mov dword [esp + 0x2c], eax
jle 0x5d698a
mov dword [esp + 0x2c], 0xa
mov byte [esp + 0x12], 1
jmp 0x5d655b
mov dl, 0xa
imul dl
mov byte [esp + 0x3c], al
mov al, byte [esp + 0x12]
cmp al, bl
je 0x5d69a7
mov byte [esp + 0x12], bl
mov dword [esp + 0x14], ebx
jmp 0x5d655b
mov dword [esp + 0x14], 1
jmp 0x5d655b
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x5d69d9
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x5d69d0
cmp al, 0xff
je 0x5d69d0
dec al
mov byte [ecx], al
jmp 0x5d69d9
push ecx
call fcn.00697880
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0xb0], 2
call fcn.0060ffb0
lea ecx, [esp + 0x60]
mov byte [esp + 0xb0], 1
call fcn.0060d280
lea ecx, [esp + 0x84]
mov byte [esp + 0xb0], bl
call fcn.00546f80
lea ecx, [esp + 0xb8]
mov dword [esp + 0xb0], 0xffffffff
call fcn.0060ffb0
mov eax, 1
jmp 0x5d6afd
push ebx
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push 6
push 0x7037f4
call fcn.0060ff10
push ecx
mov byte [esp + 0xc0], 5
mov ecx, esp
mov dword [esp + 0x38], esp
push 6
push 0x703840
call fcn.0060ff10
mov ecx, 0x71b930
mov byte [esp + 0xc0], 4
call fcn.006115e0
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x5d6aa3
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x5d6a9a
cmp al, 0xff
je 0x5d6a9a
dec al
mov byte [ecx], al
jmp 0x5d6aa3
push ecx
call fcn.00697880
add esp, 4
lea ecx, [esp + 0x30]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0xb0], 2
call fcn.0060ffb0
lea ecx, [esp + 0x60]
mov byte [esp + 0xb0], 1
call fcn.0060d280
lea ecx, [esp + 0x84]
mov byte [esp + 0xb0], bl
call fcn.00546f80
lea ecx, [esp + 0xb8]
mov dword [esp + 0xb0], 0xffffffff
call fcn.0060ffb0
xor eax, eax
mov ecx, dword [esp + 0xa8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa4
ret 4