Function at 0x4227b0
Capabilities:
Check os version

Disassembly:
mov eax, dword [0x43b5d0]
mov ecx, dword [0x43b588]
mov edx, dword [0x43b590]
push ebp
push esi
push edi
push str.Function_Entry
push 0x43d2ec
push 4
push 0xbad
push eax
mov eax, dword [0x43b58c]
push ecx
push edx
mov ebp, 1
push eax
push ebp
call fcn.0040ee40
mov eax, dword [0x4453dc]
add esp, 0x24
cmp eax, ebp
jne 0x422830
mov eax, dword [esp + 0x10]
test eax, eax
je 0x42281f
mov ecx, dword [esp + 0x14]
cmp ecx, 0x105
jl 0x42281f
push ecx
push 0x4452cc
push eax
call fcn.004099d0
add esp, 0xc
xor esi, esi
jmp 0x422b95
mov esi, 0x80000b03
mov eax, 0xbb5
mov edi, esi
jmp 0x422b6c
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
push edi
push esi
call fcn.00422dc0
add esp, 8
test eax, eax
je 0x422b1a
mov ecx, dword [0x43b5cc]
mov edx, dword [0x43b588]
mov eax, dword [0x43b590]
push str.Function_Entry
push 0x43d2ec
push 4
push 0xb59
push ecx
mov ecx, dword [0x43b58c]
push edx
push eax
push ecx
push ebp
mov dword [esp + 0x38], 0
call fcn.0040ee40
lea edx, [esp + 0x38]
push edx
push 3
call fcn.00411de0
mov ecx, dword [esp + 0x40]
mov eax, dword [0x4453d8]
add esp, 0x2c
and ecx, 3
cmp eax, ebp
mov dword [esp + 0x14], ecx
je 0x4228d3
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
jne 0x4228c3
xor ecx, ecx
cmp al, 4
sete cl
mov dword [0x4453d4], ecx
jmp 0x4228cd
mov dword [0x4453d4], 0
mov dword [0x4453d8], ebp
cmp dword [0x4453d4], ebp
jne 0x4228e6
cmp dword [esp + 0x14], 3
jne 0x4228e6
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x14]
dec eax
je 0x4229d5
dec eax
je 0x4229c6
dec eax
je 0x42290a
push edi
push esi
call fcn.00422be0
add esp, 8
jmp 0x422aa7
mov edx, dword [0x43b5b8]
mov eax, dword [0x43b588]
mov ecx, dword [0x43b590]
push str.Function_Entry
push 0x43d2ec
push 4
push 0x864
push edx
mov edx, dword [0x43b58c]
push eax
push ecx
push edx
push ebp
call fcn.0040ee40
add esp, 0x24
test esi, esi
je 0x422977
cmp edi, 0xb
jl 0x422977
mov al, 0x6c
mov byte [esi], 0x71
mov byte [esi + 1], 0x75
mov byte [esi + 2], 0x61
mov byte [esi + 3], 0x72
mov byte [esi + 4], 0x74
mov byte [esi + 5], 0x7a
mov byte [esi + 6], 0x2e
mov byte [esi + 7], 0x64
mov byte [esi + 8], al
mov byte [esi + 9], al
mov byte [esi + 0xa], 0
xor edi, edi
jmp 0x4229a9
mov eax, dword [0x43b5b8]
mov ecx, dword [0x43b588]
mov edx, dword [0x43b590]
push 0x65
push 0x86a
push eax
mov eax, dword [0x43b58c]
push ecx
mov edi, 0x80000b03
push edx
push eax
push edi
push edi
push 3
call fcn.0040fdd0
add esp, 0x24
mov ecx, dword [0x43b5b8]
push edi
push str.Function_Exit
push str._s__Rc__0x_08X
push 4
push 0x88d
jmp 0x422a87
push edi
push esi
call fcn.00422cd0
add esp, 8
jmp 0x422aa7
mov edx, dword [0x43b5c4]
mov eax, dword [0x43b588]
mov ecx, dword [0x43b590]
push str.Function_Entry
push 0x43d2ec
push 4
push 0x924
push edx
mov edx, dword [0x43b58c]
push eax
push ecx
push edx
push ebp
call fcn.0040ee40
add esp, 0x24
test esi, esi
je 0x422a3d
cmp edi, 0xa
jl 0x422a3d
mov al, 0x6c
mov byte [esi], 0x6f
mov byte [esi + 1], al
mov byte [esi + 2], 0x65
mov byte [esi + 3], 0x33
mov byte [esi + 4], 0x32
mov byte [esi + 5], 0x2e
mov byte [esi + 6], 0x64
mov byte [esi + 7], al
mov byte [esi + 8], al
mov byte [esi + 9], 0
xor edi, edi
jmp 0x422a6f
mov eax, dword [0x43b5c4]
mov ecx, dword [0x43b588]
mov edx, dword [0x43b590]
push 0x65
push 0x92a
push eax
mov eax, dword [0x43b58c]
push ecx
mov edi, 0x80000b03
push edx
push eax
push edi
push edi
push 3
call fcn.0040fdd0
add esp, 0x24
mov ecx, dword [0x43b5c4]
push edi
push str.Function_Exit
push str._s__Rc__0x_08X
push 4
push 0x94b
mov edx, dword [0x43b588]
mov eax, dword [0x43b590]
push ecx
mov ecx, dword [0x43b58c]
push edx
push eax
push ecx
push ebp
call fcn.0040ee40
add esp, 0x28
mov eax, edi
test eax, eax
jne 0x422aaf
xor edi, edi
jmp 0x422ae0
mov edx, dword [0x43b5cc]
mov ecx, dword [0x43b588]
push 0x65
push 0xb80
push edx
mov edx, dword [0x43b590]
push ecx
mov ecx, dword [0x43b58c]
push edx
push ecx
push eax
push eax
push 3
mov edi, eax
call fcn.0040fdd0
add esp, 0x24
mov edx, dword [0x43b5cc]
mov eax, dword [0x43b588]
mov ecx, dword [0x43b590]
push edi
push str.Function_Exit
push str._s__Rc__0x_08X
push 4
push 0xb89
push edx
mov edx, dword [0x43b58c]
push eax
push ecx
push edx
push ebp
call fcn.0040ee40
add esp, 0x28
test edi, edi
jne 0x422b65
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x422b61
mov edi, esi
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x105
jae 0x422b61
mov ecx, 0x41
mov edi, 0x4452cc
rep stosd dword es:[edi], eax
push 0x105
push esi
push 0x4452cc
stosw word es:[edi], ax
call fcn.004099d0
add esp, 0xc
mov dword [0x4453dc], ebp
xor esi, esi
jmp 0x422b95
mov esi, edi
mov eax, 0xbd4
mov ecx, dword [0x43b588]
mov edx, dword [0x43b590]
push 0x65
push eax
mov eax, dword [0x43b5d0]
push eax
mov eax, dword [0x43b58c]
push ecx
push edx
push eax
push edi
push esi
push 3
call fcn.0040fdd0
add esp, 0x24
mov ecx, dword [0x43b5d0]
mov edx, dword [0x43b588]
mov eax, dword [0x43b590]
push esi
push str.Function_Exit
push str._s__Rc__0x_08X
push 4
push 0xbdc
push ecx
mov ecx, dword [0x43b58c]
push edx
push eax
push ecx
push ebp
call fcn.0040ee40
add esp, 0x28
mov eax, esi
pop edi
pop esi
pop ebp
ret