Function at 0x4282e0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4e9ea0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1b4
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x2c], ebx
mov al, byte [esp + 0x2b]
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x1d0], 1
mov byte [esp + 0x18], al
call fcn.004019e0
lea ecx, [esp + 0x24]
mov byte [esp + 0x1cc], 2
call fcn.00453d60
push ecx
mov byte [esp + 0x1d0], 3
mov ecx, esp
mov dword [esp + 0x14], esp
push ecx
lea ecx, [esi + 0x88]
call fcn.0046f1a0
lea ecx, [esp + 0x28]
call fcn.00454080
push 0xffffffffffffffff
lea edx, [esp + 0xc8]
push ebx
push edx
lea ecx, [esp + 0x30]
call fcn.004542b0
push 5
lea ecx, [esp + 0x1dc]
call fcn.004541f0
mov byte [esp + 0x10], al
mov eax, dword [esp + 0x10]
and eax, 0xff
add eax, 0xfffffff5
cmp eax, 0xa
ja case.0x42839c.14
xor ecx, ecx
mov cl, byte [eax + 0x42887c]
jmp dword [ecx*4 + 0x42886c]
mov al, byte [esp + 0xc7]
and eax, 3
sub eax, ebx
je 0x4284be
dec eax
je 0x42846c
push ecx
dec eax
mov ecx, esp
je 0x428417
mov dword [esp + 0x14], esp
push 6
push 0x507b38
call fcn.00453e00
lea edx, [esp + 0x98]
push edx
call fcn.00464820
add esp, 8
mov ecx, dword [0x4f4164]
mov byte [esp + 0x1cc], 7
push ecx
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.004017e0
push 1
lea ecx, [esp + 0x98]
mov byte [esp + 0x1d0], 3
call fcn.004019e0
jmp 0x42871e
mov dword [esp + 0x14], esp
push 6
push 0x507b30
call fcn.00453e00
lea edx, [esp + 0xa8]
push edx
call fcn.00464820
add esp, 8
mov ecx, dword [0x4f4164]
mov byte [esp + 0x1cc], 6
push ecx
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.004017e0
push 1
lea ecx, [esp + 0xa8]
mov byte [esp + 0x1d0], 3
call fcn.004019e0
jmp 0x42871e
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x507b28
call fcn.00453e00
lea edx, [esp + 0x48]
push edx
call fcn.00464820
add esp, 8
mov ecx, dword [0x4f4164]
mov byte [esp + 0x1cc], 5
push ecx
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.004017e0
push 1
lea ecx, [esp + 0x48]
mov byte [esp + 0x1d0], 3
call fcn.004019e0
jmp 0x42871e
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x507b20
call fcn.00453e00
lea edx, [esp + 0x78]
push edx
call fcn.00464820
add esp, 8
mov ecx, dword [0x4f4164]
mov byte [esp + 0x1cc], 4
push ecx
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.004017e0
push 1
lea ecx, [esp + 0x78]
mov byte [esp + 0x1d0], 3
call fcn.004019e0
jmp 0x42871e
mov dl, byte [esp + 0xc7]
xor ax, ax
movzx cx, byte [esp + 0xc8]
and dl, 0xf
mov al, dl
shl eax, 8
add eax, ecx
movsx edx, ax
push edx
lea eax, [esp + 0x34]
push 0x507ad4
push eax
call fcn.004dbc12
add esp, 0xc
jmp 0x42871e
mov al, byte [esp + 0xc7]
and eax, 3
sub eax, ebx
je 0x42866d
dec eax
je 0x428625
push ecx
dec eax
mov ecx, esp
je 0x4285dd
mov dword [esp + 0x14], esp
push 6
push 0x507b18
call fcn.00453e00
lea ecx, [esp + 0xb8]
push ecx
call fcn.00464820
add esp, 8
mov edx, dword [0x4f4164]
lea ecx, [esp + 0x14]
push edx
push ebx
push eax
mov byte [esp + 0x1d8], 0xb
call fcn.004017e0
mov eax, dword [esp + 0xb8]
mov byte [esp + 0x1cc], 3
cmp eax, ebx
je 0x42871e
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4285cf
cmp al, 0xff
je 0x4285cf
dec al
mov byte [ecx], al
jmp 0x42871e
push ecx
call fcn.004db420
add esp, 4
jmp 0x42871e
mov dword [esp + 0x14], esp
push 6
push 0x507b10
call fcn.00453e00
lea eax, [esp + 0x58]
push eax
call fcn.00464820
add esp, 8
mov ecx, dword [0x4f4164]
mov byte [esp + 0x1cc], 0xa
push ecx
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.004017e0
mov eax, dword [esp + 0x58]
mov byte [esp + 0x1cc], 3
jmp 0x4286b9
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x507b08
call fcn.00453e00
lea edx, [esp + 0x68]
push edx
call fcn.00464820
add esp, 8
mov ecx, dword [0x4f4164]
mov byte [esp + 0x1cc], 9
push ecx
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.004017e0
mov eax, dword [esp + 0x68]
mov byte [esp + 0x1cc], 3
jmp 0x4286b9
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 6
push 0x507b00
call fcn.00453e00
lea edx, [esp + 0x88]
push edx
call fcn.00464820
add esp, 8
mov ecx, dword [0x4f4164]
mov byte [esp + 0x1cc], 8
push ecx
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.004017e0
mov eax, dword [esp + 0x88]
mov byte [esp + 0x1cc], 3
cmp eax, ebx
je 0x42871e
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4285cf
cmp al, 0xff
je 0x4285cf
dec al
mov byte [ecx], al
jmp 0x42871e
mov edi, 0x507978
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
call fcn.00401d50
test al, al
je 0x42871e
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
mov esi, 0x507978
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov byte [eax + ebp], bl
cmp dword [esp + 0x1c], ebx
ja 0x4287c7
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x14]
call fcn.004025c0
cmp eax, ebp
jae 0x42874a
call fcn.004db42b
mov edi, dword [esp + 0x18]
cmp edi, ebx
je 0x428772
mov al, byte [edi - 1]
cmp al, bl
je 0x428772
cmp al, 0xff
je 0x428772
cmp ebp, ebx
jne 0x42879b
dec al
push ebx
lea ecx, [esp + 0x18]
mov byte [edi - 1], al
call fcn.004019e0
jmp 0x4287c7
cmp ebp, ebx
jne 0x428783
push 1
lea ecx, [esp + 0x18]
call fcn.004019e0
jmp 0x4287c7
mov eax, dword [esp + 0x20]
cmp eax, 0x1f
ja 0x428790
cmp eax, ebp
jae 0x4287a9
push 1
lea ecx, [esp + 0x18]
call fcn.004019e0
push ebp
lea ecx, [esp + 0x18]
call fcn.004025d0
mov edi, dword [esp + 0x18]
mov ecx, ebp
lea esi, [esp + 0x30]
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 + 0x18]
call fcn.00401d30
mov esi, dword [esp + 0x1d4]
mov al, byte [esp + 0x14]
lea edx, [esp + 0x14]
mov byte [esi], al
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [0x4f4164]
push ecx
push ebx
push edx
mov ecx, esi
call fcn.004017e0
mov dword [esp + 0x2c], 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x1cc], 2
call fcn.00453ea0
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x42882f
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x428826
cmp al, 0xff
je 0x428826
dec al
mov byte [ecx], al
jmp 0x42882f
push ecx
call fcn.004db420
add esp, 4
lea ecx, [esp + 0x1d8]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x1cc], bl
call fcn.00453ea0
mov ecx, dword [esp + 0x1c4]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c0
ret 8