Function at 0x415062
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
jmp 0x415080
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x20
jge 0x4150c1
mov dword [ebp - 0x14], 0
jmp 0x415098
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0x20
jge 0x4150bf
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov cl, byte [eax + 0x425004]
sub ecx, 1
cmp ecx, dword [ebp - 4]
jne 0x4150bd
mov edx, dword [ebp - 4]
mov al, byte [ebp - 0x14]
mov byte [ebp + edx - 0x3c], al
jmp 0x4150bf
jmp 0x41508f
jmp 0x415077
mov dword [ebp - 8], 0
jmp 0x4150d3
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 8
jge 0x4151c8
mov dword [ebp - 0x14], 0
jmp 0x4150ef
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0x40
jge 0x4151c3
mov eax, dword [ebp - 8]
shl eax, 8
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + eax + 0x3cec]
mov eax, dword [ebp - 0x14]
mov dword [edx + eax*4], 0
mov ecx, dword [ebp - 0x14]
and ecx, 0x20
mov edx, dword [ebp - 0x14]
and edx, 1
neg edx
sbb edx, edx
and edx, 0x10
or ecx, edx
mov eax, dword [ebp - 0x14]
sar eax, 1
and eax, 0xf
or ecx, eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18], 0
jmp 0x415147
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 4
jge 0x4151be
mov edx, dword [ebp - 8]
shl edx, 6
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov cl, byte [edx + eax + 0x425024]
mov edx, ecx
mov eax, 8
mov ecx, dword [ebp - 0x18]
sar eax, cl
and edx, eax
test edx, edx
je 0x4151bc
mov ecx, dword [ebp - 8]
shl ecx, 8
mov edx, dword [ebp - 0x10]
lea eax, [edx + ecx + 0x3cec]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
lea ecx, [edx + ecx*4]
xor edx, edx
mov dl, byte [ebp + ecx - 0x3c]
mov ecx, 0x1f
sub ecx, edx
mov edx, 1
shl edx, cl
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + ecx*4]
or eax, edx
mov ecx, dword [ebp - 8]
shl ecx, 8
mov edx, dword [ebp - 0x10]
lea ecx, [edx + ecx + 0x3cec]
mov edx, dword [ebp - 0x14]
mov dword [ecx + edx*4], eax
jmp 0x41513e
jmp 0x4150e6
jmp 0x4150ca
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
jmp 0x4151e1
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 8
jge 0x415265
mov dword [ebp - 0x18], 0
jmp 0x4151f9
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 0x40
jge 0x415260
mov edx, dword [ebp - 0x14]
shl edx, 8
mov eax, dword [ebp - 0x10]
lea ecx, [eax + edx + 0x3cec]
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx + edx*4]
shl eax, 1
mov ecx, dword [ebp - 0x14]
shl ecx, 8
mov edx, dword [ebp - 0x10]
lea ecx, [edx + ecx + 0x3cec]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ecx + edx*4]
shr ecx, 0x1f
or eax, ecx
mov edx, dword [ebp - 0x14]
shl edx, 8
mov ecx, dword [ebp - 0x10]
lea edx, [ecx + edx + 0x3cec]
mov ecx, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 4
jne 0x41525e
mov dword [ebp - 0x1c], 0
jmp 0x4151f0
jmp 0x4151d8
mov esp, ebp
pop ebp
ret