Function at 0x410260
Capabilities:
Check os version
Encrypt data using des via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4397a1
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x448050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push 0x114
mov dword [ebp - 0x154], eax
xor ebx, ebx
lea eax, [ebp - 0x128]
push ebx
push eax
mov dword [ebp - 0x138], edi
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x144], edx
call fcn.00427020
add esp, 0xc
lea ecx, [ebp - 0x128]
push ecx
mov dword [ebp - 0x128], 0x114
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
mov eax, dword [ebp - 0x124]
cmp eax, 5
ja 0x4102f4
jne 0x4102f0
cmp dword [ebp - 0x120], 1
jae 0x4102f4
xor esi, esi
jmp 0x4102f9
mov esi, 1
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x140], ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x12c], ebx
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x41037c
push 0xf0000000
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push ebx
lea edx, [ebp - 0x134]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x4103b8
call fcn.00411660
cmp eax, ebx
jge 0x4103b8
mov eax, dword [ebp - 0x12c]
cmp eax, ebx
je 0x41035a
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov dword [ebp - 0x12c], ebx
mov eax, dword [ebp - 0x134]
cmp eax, ebx
je 0x410375
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test eax, eax
jne 0x410375
call fcn.00411660
xor eax, eax
jmp 0x410633
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x13c]
push ecx
call fcn.00410ca0
add esp, 8
test eax, eax
je 0x410343
mov ecx, dword [ebp - 0x13c]
cmp ecx, ebx
je 0x4103a6
mov dword [ebp - 0x134], ecx
mov eax, dword [ebp - 0x140]
cmp eax, ebx
je 0x4103be
mov dword [ebp - 0x12c], eax
jmp 0x4103be
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x130], ebx
mov al, 2
mov byte [ebp - 4], al
cmp esi, ebx
je 0x4104c3
mov edi, dword [ebp + 0xc]
xor edx, edx
add edi, 0xc
push edi
mov byte [ebp - 0x14c], 8
mov byte [ebp - 0x14b], al
mov word [ebp - 0x14a], dx
call fcn.00424770
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x41042b
mov eax, dword [ebp - 0x130]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
cmp eax, ebx
je 0x410415
push eax
call esi
mov dword [ebp - 0x130], ebx
mov eax, dword [ebp - 0x12c]
cmp eax, ebx
je 0x41035a
push eax
call esi
jmp 0x410354
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x138]
mov dword [esi], eax
mov eax, 0x6603
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
push eax
push ecx
lea edx, [esi + 0xc]
push edx
mov dword [esi + 8], eax
call fcn.0042c740
mov ecx, dword [0x44c49c]
mov edx, dword [ebp - 0x134]
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
push ebx
push ecx
push edi
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x4104b8
call fcn.00411660
cmp eax, ebx
jge 0x4104b8
push esi
call fcn.0042477b
mov eax, dword [ebp - 0x130]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
add esp, 4
cmp eax, ebx
je 0x4104a2
push eax
call esi
mov dword [ebp - 0x130], ebx
mov eax, dword [ebp - 0x12c]
cmp eax, ebx
je 0x41035a
push eax
call esi
jmp 0x410354
push esi
call fcn.0042477b
add esp, 4
jmp 0x410523
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0x138]
push eax
push edi
push edx
push ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x138], ebx
call fcn.00410a30
add esp, 0x10
test eax, eax
jne 0x410517
mov eax, dword [ebp - 0x130]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
cmp eax, ebx
je 0x410501
push eax
call esi
mov dword [ebp - 0x130], ebx
mov eax, dword [ebp - 0x12c]
cmp eax, ebx
je 0x41035a
push eax
call esi
jmp 0x410354
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x130]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
push ebx
push str.ppliveokppliveok_
mov edi, 1
push edi
push ecx
call esi
test eax, eax
jne 0x410547
call fcn.00411660
mov eax, dword [ebp - 0x130]
push ebx
lea edx, [ebp - 0x138]
push edx
push 4
push eax
mov dword [ebp - 0x138], edi
call esi
test eax, eax
jne 0x410569
call fcn.00411660
mov edx, dword [ebp - 0x130]
push ebx
lea ecx, [ebp - 0x138]
push ecx
push 3
push edx
mov dword [ebp - 0x138], edi
call esi
test eax, eax
jne 0x41058b
call fcn.00411660
mov eax, dword [ebp - 0x154]
mov edi, dword [ebp - 0x144]
mov ebx, dword [ebp - 0x150]
mov esi, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x130]
push ecx
call fcn.0040dab0
mov esi, dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
xor edi, edi
test eax, eax
mov eax, dword [ebp - 0x130]
jns 0x4105f3
cmp eax, edi
je 0x4105cc
push eax
call esi
mov dword [ebp - 0x130], edi
mov eax, dword [ebp - 0x12c]
cmp eax, edi
je 0x4105df
push eax
call esi
mov dword [ebp - 0x12c], edi
mov eax, dword [ebp - 0x134]
cmp eax, edi
je 0x410375
push edi
jmp 0x410365
cmp eax, edi
je 0x410600
push eax
call esi
mov dword [ebp - 0x130], edi
mov eax, dword [ebp - 0x12c]
cmp eax, edi
je 0x410613
push eax
call esi
mov dword [ebp - 0x12c], edi
mov eax, dword [ebp - 0x134]
cmp eax, edi
je 0x41062e
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test eax, eax
jne 0x41062e
call fcn.00411660
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00424761
mov esp, ebp
pop ebp
ret