Function at 0x4012ab
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov dword [ebp - 0x108], ecx
mov dword [ebp - 0xc0], 0
jmp 0x4012d5
mov eax, dword [ebp - 0xc0]
add eax, 1
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0x38
jge 0x401339
mov ecx, dword [ebp - 0xc0]
xor edx, edx
mov dl, byte [ecx + str.80_]
mov dword [ebp - 0xfc], edx
mov eax, dword [ebp - 0xfc]
and eax, 7
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0xfc]
sar ecx, 3
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + ecx]
mov ecx, dword [ebp - 0x100]
xor edx, edx
mov dx, word [ecx*2 + 0x41a068]
and eax, edx
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0xc0]
mov byte [ebp + ecx - 0xb8], al
jmp 0x4012c6
mov dword [ebp - 0xbc], 0
jmp 0x401354
mov edx, dword [ebp - 0xbc]
add edx, 1
mov dword [ebp - 0xbc], edx
cmp dword [ebp - 0xbc], 0x10
jge 0x40155d
cmp dword [ebp + 0xc], 1
jne 0x40137c
mov eax, 0xf
sub eax, dword [ebp - 0xbc]
shl eax, 1
mov dword [ebp - 0x100], eax
jmp 0x40138a
mov ecx, dword [ebp - 0xbc]
shl ecx, 1
mov dword [ebp - 0x100], ecx
mov edx, dword [ebp - 0x100]
add edx, 1
mov dword [ebp - 0x104], edx
mov eax, dword [ebp - 0x104]
mov dword [ebp + eax*4 - 0x80], 0
mov ecx, dword [ebp - 0x100]
mov dword [ebp + ecx*4 - 0x80], 0
mov dword [ebp - 0xc0], 0
jmp 0x4013d0
mov edx, dword [ebp - 0xc0]
add edx, 1
mov dword [ebp - 0xc0], edx
cmp dword [ebp - 0xc0], 0x1c
jge 0x401436
mov eax, dword [ebp - 0xbc]
xor ecx, ecx
mov cl, byte [eax + 0x41a110]
mov edx, dword [ebp - 0xc0]
add edx, ecx
mov dword [ebp - 0xfc], edx
cmp dword [ebp - 0xfc], 0x1c
jge 0x40141a
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xfc]
mov dl, byte [ebp + ecx - 0xb8]
mov byte [ebp + eax - 0xf8], dl
jmp 0x401434
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xfc]
mov dl, byte [ebp + ecx - 0xd4]
mov byte [ebp + eax - 0xf8], dl
jmp 0x4013c1
mov dword [ebp - 0xc0], 0x1c
jmp 0x401451
mov eax, dword [ebp - 0xc0]
add eax, 1
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0xc0], 0x38
jge 0x4014b7
mov ecx, dword [ebp - 0xbc]
xor edx, edx
mov dl, byte [ecx + 0x41a110]
mov eax, dword [ebp - 0xc0]
add eax, edx
mov dword [ebp - 0xfc], eax
cmp dword [ebp - 0xfc], 0x38
jge 0x40149b
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xfc]
mov al, byte [ebp + edx - 0xb8]
mov byte [ebp + ecx - 0xf8], al
jmp 0x4014b5
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xfc]
mov al, byte [ebp + edx - 0xd4]
mov byte [ebp + ecx - 0xf8], al
jmp 0x401442
mov dword [ebp - 0xc0], 0
jmp 0x4014d2
mov ecx, dword [ebp - 0xc0]
add ecx, 1
mov dword [ebp - 0xc0], ecx
cmp dword [ebp - 0xc0], 0x18
jge 0x401558
mov edx, dword [ebp - 0xc0]
xor eax, eax
mov al, byte [edx + 0x41a120]
xor ecx, ecx
mov cl, byte [ebp + eax - 0xf8]
test ecx, ecx
je 0x401517
mov edx, dword [ebp - 0x100]
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp + edx*4 - 0x80]
or ecx, dword [eax*4 + 0x41a078]
mov edx, dword [ebp - 0x100]
mov dword [ebp + edx*4 - 0x80], ecx
mov eax, dword [ebp - 0xc0]
xor ecx, ecx
mov cl, byte [eax + 0x41a138]
xor edx, edx
mov dl, byte [ebp + ecx - 0xf8]
test edx, edx
je 0x401553
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ebp + eax*4 - 0x80]
or edx, dword [ecx*4 + 0x41a078]
mov eax, dword [ebp - 0x104]
mov dword [ebp + eax*4 - 0x80], edx
jmp 0x4014c3
jmp 0x401345
lea ecx, [ebp - 0x80]
push ecx
mov ecx, dword [ebp - 0x108]
call fcn.00401572
mov esp, ebp
pop ebp
ret 8