Function at 0x41a2d4
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe24
push ebx
xor edx, edx
mov dword [ebp - 0x1dc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41a818
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x70b02d], 0
je 0x41a30d
cmp dword [0x71bca4], 0
jne 0x41a7ec
mov byte [0x70b02d], 1
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x41a38e
lea eax, [ebp - 0x1b4]
mov edx, 0x11c
call fcn.00413eac
mov dword [ebp - 0x1b4], 0x11c
push 0x41a824
push 0x41a840
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.00412e30
mov ebx, eax
test ebx, ebx
je 0x41a366
lea eax, [ebp - 0x1b4]
push eax
call ebx
test eax, eax
je 0x41a3e8
lea eax, [ebp - 0x1b4]
push eax
call sub.kernel32.dll_GetVersionExW
test eax, eax
jne 0x41a3e8
mov dword [ebp - 0x1b4], 0x114
lea eax, [ebp - 0x1b4]
push eax
call sub.kernel32.dll_GetVersionExW
jmp 0x41a3e8
lea eax, [ebp - 0x98]
mov edx, 0x94
call fcn.00413eac
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call sub.kernel32.dll_GetVersionExA
lea edx, [ebp - 0x1b4]
lea eax, [ebp - 0x98]
mov ecx, 0x94
call fcn.004066ec
mov ecx, 0x80
lea eax, [ebp - 0x84]
lea edx, [ebp - 0x1a0]
movzx ebx, byte [eax]
mov word [edx], bx
add edx, 2
inc eax
dec ecx
jne 0x41a3db
mov eax, dword [ebp - 0x1b0]
mov dword [0x71bc88], eax
mov eax, dword [ebp - 0x1ac]
mov dword [0x71bc8c], eax
mov eax, 0x71bc94
lea edx, [ebp - 0x1a0]
mov ecx, 0x80
call fcn.0040ac78
mov eax, dword [ebp - 0x1a4]
cmp eax, 1
sete dl
mov byte [0x71bc98], dl
cmp eax, 2
sete al
mov byte [0x71bc9a], al
cmp byte [0x71bc98], 0
je 0x41a447
movzx eax, word [ebp - 0x1a8]
mov dword [0x71bc90], eax
jmp 0x41a452
mov eax, dword [ebp - 0x1a8]
mov dword [0x71bc90], eax
mov byte [0x71bc9c], 0
xor eax, eax
mov dword [0x71bca0], eax
cmp byte [0x71bc98], 0
je 0x41a50c
mov eax, dword [0x71bc88]
sub eax, 4
jb 0x41a4f4
je 0x41a47b
jmp 0x41a4ed
mov eax, dword [0x71bc8c]
sub eax, 0xa
jb 0x41a48f
je 0x41a4ad
dec eax
sub eax, 0x50
jb 0x41a4db
jmp 0x41a4e4
cmp dword [0x71bc90], 0x3e8
jbe 0x41a4a4
mov byte [0x71bc9c], 2
jmp 0x41a4f4
mov byte [0x71bc9c], 1
jmp 0x41a4f4
mov eax, dword [0x71bc90]
cmp eax, 0xa8c
jbe 0x41a4c2
mov byte [0x71bc9c], 5
jmp 0x41a4f4
cmp eax, 0x7d0
jbe 0x41a4d2
mov byte [0x71bc9c], 4
jmp 0x41a4f4
mov byte [0x71bc9c], 3
jmp 0x41a4f4
mov byte [0x71bc9c], 5
jmp 0x41a4f4
mov byte [0x71bc9c], 6
jmp 0x41a4f4
mov byte [0x71bc9c], 6
movzx eax, byte [0x71bc9c]
mov byte [0x71bc99], al
mov byte [0x71bc9b], 0
jmp 0x41a6ff
cmp byte [0x71bc9a], 0
je 0x41a6ff
mov eax, dword [0x71bc88]
cmp eax, 0xa
ja case.0x41a527.7
jmp dword [eax*4 + 0x41a52e]
mov byte [0x71bc9c], 7
jmp 0x41a652
mov byte [0x71bc9c], 8
jmp 0x41a652
mov eax, dword [0x71bc8c]
sub eax, 1
jb 0x41a580
je 0x41a58c
jmp 0x41a598
mov byte [0x71bc9c], 9
jmp 0x41a652
mov byte [0x71bc9c], 0xa
jmp 0x41a652
cmp byte [ebp - 0x9a], 1
jne 0x41a5ad
mov byte [0x71bc9c], 0xa
jmp 0x41a652
mov byte [0x71bc9c], 0xb
jmp 0x41a652
mov eax, dword [0x71bc8c]
sub eax, 1
jb 0x41a5cd
je 0x41a5e8
dec eax
je 0x41a603
dec eax
je 0x41a61e
jmp 0x41a639
cmp byte [ebp - 0x9a], 1
jne 0x41a5df
mov byte [0x71bc9c], 0xc
jmp 0x41a652
mov byte [0x71bc9c], 0xd
jmp 0x41a652
cmp byte [ebp - 0x9a], 1
jne 0x41a5fa
mov byte [0x71bc9c], 0xe
jmp 0x41a652
mov byte [0x71bc9c], 0xf
jmp 0x41a652
cmp byte [ebp - 0x9a], 1
jne 0x41a615
mov byte [0x71bc9c], 0x10
jmp 0x41a652
mov byte [0x71bc9c], 0x11
jmp 0x41a652
cmp byte [ebp - 0x9a], 1
jne 0x41a630
mov byte [0x71bc9c], 0x12
jmp 0x41a652
mov byte [0x71bc9c], 0x13
jmp 0x41a652
mov byte [0x71bc9c], 0x15
jmp 0x41a652
mov byte [0x71bc9c], 0x14
jmp 0x41a652
mov byte [0x71bc9c], 0x15
mov byte [0x71bc99], 0
movzx eax, byte [0x71bc9c]
mov byte [0x71bc9b], al
cmp dword [ebp - 0x1b4], 0x11c
jb 0x41a67f
movzx eax, word [ebp - 0xa0]
mov dword [0x71bca0], eax
jmp 0x41a6bb
mov eax, dword [0x71bc94]
call fcn.0040a150
cmp eax, 0xe
jl 0x41a6bb
mov eax, dword [0x71bc94]
call fcn.0040a150
sub eax, 0xd
push eax
mov eax, 0x71bc94
call fcn.0040a218
lea edx, [eax + 0x1a]
mov ebx, dword [0x71841c]
mov ebx, dword [ebx]
xor eax, eax
pop ecx
call ebx
mov dword [0x71bca0], eax
push 0x41a854
push 0x41a87c
call sub.kernel32.dll_GetModuleHandleW
push eax
call fcn.00412e30
mov ebx, eax
test ebx, ebx
je 0x41a6ff
lea eax, [ebp - 0x1d8]
mov edx, 0x24
call fcn.00413eac
lea eax, [ebp - 0x1d8]
push eax
call ebx
cmp word [ebp - 0x1d8], 9
sete al
mov byte [0x71bc9d], al
lea eax, [ebp - 0x1dc]
movzx edx, byte [0x71bc9c]
mov edx, dword [edx*4 + 0x70afac]
mov ecx, 0
call fcn.0040a3a8
mov edx, dword [ebp - 0x1dc]
mov eax, 0x71bca4
call fcn.0040ac94
cmp byte [0x71bc9a], 0
je 0x41a7ec
push 0x59
call sub.user32.dll_GetSystemMetrics
test eax, eax
je 0x41a754
mov eax, 0x71bca4
mov edx, 0x41a8a4
call fcn.0040add0
push 0x56
call sub.user32.dll_GetSystemMetrics
test eax, eax
je 0x41a76e
mov eax, 0x71bca4
mov edx, 0x41a8b8
call fcn.0040add0
push 0x58
call sub.user32.dll_GetSystemMetrics
test eax, eax
je 0x41a788
mov eax, 0x71bca4
mov edx, 0x41a8dc
call fcn.0040add0
cmp byte [0x71bc9c], 0xc
jae 0x41a7ab
push 0x57
call sub.user32.dll_GetSystemMetrics
test eax, eax
je 0x41a7ab
mov eax, 0x71bca4
mov edx, 0x41a8fc
call fcn.0040add0
cmp byte [0x71bc9d], 0
je 0x41a7c3
mov eax, 0x71bca4
mov edx, 0x41a924
call fcn.0040add0
cmp dword [0x71bc94], 0
je 0x41a7ec
push dword [0x71bca4]
push 0x41a93c
push dword [0x71bc94]
mov eax, 0x71bca4
mov edx, 3
call fcn.0040aeb0
mov eax, dword [ebp - 4]
mov edx, 0x71bc88
mov ecx, dword [0x419f68]
call fcn.0040b778
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a81f
lea eax, [ebp - 0x1dc]
call fcn.00409c84
ret