Function at 0x410650
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 ebx, dword [ebp + 8]
push 0x114
mov dword [ebp - 0x154], eax
xor edi, edi
lea eax, [ebp - 0x128]
push edi
push eax
mov dword [ebp - 0x138], ebx
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 0x4106e4
jne 0x4106e0
cmp dword [ebp - 0x120], 1
jae 0x4106e4
xor esi, esi
jmp 0x4106e9
mov esi, 1
mov dword [ebp - 0x13c], edi
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x134], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x12c], edi
mov byte [ebp - 4], 1
cmp esi, edi
je 0x41076c
push 0xf0000000
push 1
push str.Microsoft_Enhanced_Cryptographic_Provider_v1.0
push edi
lea edx, [ebp - 0x134]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x4107a8
call fcn.00411660
cmp eax, edi
jge 0x4107a8
mov eax, dword [ebp - 0x12c]
cmp eax, edi
je 0x41074a
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov dword [ebp - 0x12c], edi
mov eax, dword [ebp - 0x134]
cmp eax, edi
je 0x410765
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test eax, eax
jne 0x410765
call fcn.00411660
xor eax, eax
jmp 0x410a12
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x13c]
push ecx
call fcn.00410ca0
add esp, 8
test eax, eax
je 0x410733
mov ecx, dword [ebp - 0x13c]
cmp ecx, edi
je 0x410796
mov dword [ebp - 0x134], ecx
mov eax, dword [ebp - 0x140]
cmp eax, edi
je 0x4107ae
mov dword [ebp - 0x12c], eax
jmp 0x4107ae
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x130], edi
mov al, 2
mov byte [ebp - 4], al
cmp esi, edi
je 0x4108b3
mov ebx, dword [ebp + 0xc]
xor edx, edx
add ebx, 0xc
push ebx
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, edi
jne 0x41081b
mov eax, dword [ebp - 0x130]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
cmp eax, edi
je 0x410805
push eax
call esi
mov dword [ebp - 0x130], edi
mov eax, dword [ebp - 0x12c]
cmp eax, edi
je 0x41074a
push eax
call esi
jmp 0x410744
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 edi
push ecx
push ebx
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x4108a8
call fcn.00411660
cmp eax, edi
jge 0x4108a8
push esi
call fcn.0042477b
mov eax, dword [ebp - 0x130]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
add esp, 4
cmp eax, edi
je 0x410892
push eax
call esi
mov dword [ebp - 0x130], edi
mov eax, dword [ebp - 0x12c]
cmp eax, edi
je 0x41074a
push eax
call esi
jmp 0x410744
push esi
call fcn.0042477b
add esp, 4
jmp 0x410913
mov edx, dword [ebp - 0x12c]
lea eax, [ebp - 0x138]
push eax
push ebx
push edx
push ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x138], edi
call fcn.00410a30
add esp, 0x10
test eax, eax
jne 0x410907
mov eax, dword [ebp - 0x130]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
cmp eax, edi
je 0x4108f1
push eax
call esi
mov dword [ebp - 0x130], edi
mov eax, dword [ebp - 0x12c]
cmp eax, edi
je 0x41074a
push eax
call esi
jmp 0x410744
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x130]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
push edi
push 0x44967c
mov ebx, 1
push ebx
push ecx
call esi
test eax, eax
jne 0x410937
call fcn.00411660
mov eax, dword [ebp - 0x130]
push edi
lea edx, [ebp - 0x138]
push edx
push 4
push eax
mov dword [ebp - 0x138], ebx
call esi
test eax, eax
jne 0x410959
call fcn.00411660
mov edx, dword [ebp - 0x130]
push edi
lea ecx, [ebp - 0x138]
push ecx
push 3
push edx
mov dword [ebp - 0x138], ebx
call esi
test eax, eax
jne 0x41097b
call fcn.00411660
mov eax, dword [ebp - 0x154]
mov ebx, dword [ebp - 0x144]
mov edi, dword [ebp - 0x150]
mov esi, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x130]
push ecx
call fcn.0040dba0
mov esi, dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
xor edi, edi
test eax, eax
mov eax, dword [ebp - 0x130]
jns 0x4109d2
cmp eax, edi
je 0x4109bc
push eax
call esi
mov dword [ebp - 0x130], edi
mov eax, dword [ebp - 0x12c]
cmp eax, edi
je 0x41074a
push eax
call esi
jmp 0x410744
cmp eax, edi
je 0x4109df
push eax
call esi
mov dword [ebp - 0x130], edi
mov eax, dword [ebp - 0x12c]
cmp eax, edi
je 0x4109f2
push eax
call esi
mov dword [ebp - 0x12c], edi
mov eax, dword [ebp - 0x134]
cmp eax, edi
je 0x410a0d
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test eax, eax
jne 0x410a0d
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