Function at 0x41b227
Capabilities:
Check os version

Disassembly:
mov eax, 0x476cd5
call fcn.004461a8
sub esp, 0x208
push ebx
push esi
lea eax, [ebp - 0x214]
push edi
mov dword [ebp - 0x20], ecx
push eax
mov dword [ebp - 0x214], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x210], 5
jne 0x41b3ec
cmp dword [ebp - 0x20c], 2
jne 0x41b3ec
cmp byte [ebp - 0xfa], 1
je 0x41b3ec
push 0x493774
push dword [ebp + 8]
call fcn.00446a68
pop ecx
test eax, eax
pop ecx
je 0x41b497
mov eax, dword [ebp + 8]
xor edi, edi
mov ebx, 0x47e5e0
mov esi, 0x47e5d8
cmp eax, edi
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0x88], esi
jne 0x41b2b6
mov eax, 0x49cc4c
lea ecx, [ebp + 0xb]
push edi
push ecx
push eax
lea ecx, [ebp - 0xa8]
call fcn.00403c0d
cmp dword [ebp - 0x9c], edi
mov dword [ebp - 4], 2
je 0x41b3dd
mov al, byte [ebp + 0xb]
mov dword [ebp - 0x2c], edi
mov byte [ebp - 0x30], al
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0xa8]
push eax
push 0x2c
mov byte [ebp - 4], 3
call fcn.00419c81
lea eax, [ebp - 0xd]
push edi
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x38], esi
call fcn.004029f5
mov byte [ebp - 4], 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
cmp dword [ebp - 0x2c], edi
je 0x41b3c5
mov eax, dword [ebp - 0x28]
push 0x28
sub eax, dword [ebp - 0x2c]
pop ecx
cdq
idiv ecx
cmp dword [ebp - 0x14], eax
jae 0x41b3c5
mov eax, str.dotnetfxsp1.exe
mov dword [ebp - 0xd0], ebx
mov ecx, eax
mov dword [ebp - 0xb0], esi
test ecx, ecx
jne 0x41b355
mov eax, 0x49cc4c
lea ecx, [ebp - 0x19]
push edi
push ecx
push eax
lea ecx, [ebp - 0xd0]
call fcn.00403c0d
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0xd0]
push eax
mov eax, dword [ebp - 0x2c]
add ecx, eax
lea eax, [ebp - 0xf8]
push ecx
push eax
mov byte [ebp - 4], 5
call fcn.00428096
add esp, 0xc
lea ecx, [ebp - 0x58]
push edi
push ecx
mov ecx, dword [ebp - 0x20]
push eax
mov byte [ebp - 4], 6
call fcn.004229c1
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 5
call fcn.00401f6c
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 4
call fcn.00401f6c
inc dword [ebp - 0x14]
add dword [ebp - 0x18], 0x28
jmp 0x41b31b
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.00401f6c
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.00407006
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
jmp 0x41b492
xor edi, edi
lea eax, [ebp - 0xd]
mov ebx, 0x47e5e0
mov esi, 0x47e5d8
push edi
push eax
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x60], esi
call fcn.004029f5
push 0x493774
mov dword [ebp - 4], edi
push dword [ebp + 8]
call fcn.00446a68
pop ecx
test eax, eax
pop ecx
jne 0x41b48b
mov eax, str.dotnetfxsp1.exe
mov dword [ebp - 0x58], ebx
mov ecx, eax
mov dword [ebp - 0x38], esi
test ecx, ecx
jne 0x41b437
mov eax, 0x49cc4c
lea ecx, [ebp + 0xb]
push edi
push ecx
push eax
lea ecx, [ebp - 0x58]
call fcn.00403c0d
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x80]
push 1
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
call fcn.004229c1
mov ebx, eax
lea ecx, [ebp - 0x58]
neg ebx
sbb bl, bl
and byte [ebp - 4], 0
inc bl
call fcn.00401f6c
test bl, bl
je 0x41b48b
mov ecx, dword [ebp - 0x20]
call fcn.00425900
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.00401f6c
xor eax, eax
jmp 0x41b49a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x80]
call fcn.00401f6c
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4