Function at 0x413440
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xfc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10c]
push edi
xor eax, eax
movzx ecx, byte [eax + str.80_]
mov edx, ecx
and ecx, 7
mov bl, byte [ecx*2 + 0x443250]
sar edx, 3
mov dl, byte [edx + esi]
test bl, dl
setne cl
mov byte [esp + eax + 0x54], cl
movzx ecx, byte [eax + 0x4432c1]
mov edx, ecx
and ecx, 7
mov bl, byte [ecx*2 + 0x443250]
sar edx, 3
mov dl, byte [edx + esi]
test bl, dl
setne cl
mov byte [esp + eax + 0x55], cl
movzx ecx, byte [eax + 0x4432c2]
mov edx, ecx
and ecx, 7
mov bl, byte [ecx*2 + 0x443250]
sar edx, 3
mov dl, byte [edx + esi]
test bl, dl
setne cl
mov byte [esp + eax + 0x56], cl
movzx ecx, byte [eax + 0x4432c3]
mov edx, ecx
and ecx, 7
mov bl, byte [ecx*2 + 0x443250]
sar edx, 3
mov dl, byte [edx + esi]
test bl, dl
setne cl
mov byte [esp + eax + 0x57], cl
add eax, 4
cmp eax, 0x38
jl 0x413453
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 0x1e
jmp 0x413500
mov ecx, dword [esp + 0x10]
jmp 0x413500
cmp word [esp + 0x114], 1
mov eax, dword [esp + 0x14]
je 0x413512
lea eax, [ecx + ecx]
movzx ebp, byte [ecx + 0x4432f8]
lea ebx, [esp + eax*4 + 0x90]
lea eax, [esp + eax*4 + 0x8c]
mov dword [ebx], 0
mov dword [esp + 0x18], eax
mov dword [eax], 0
xor esi, esi
lea ecx, [ebp + 3]
lea eax, [ebp + 2]
nop
lea edi, [ecx - 3]
cmp edi, 0x1c
jge 0x41354e
mov dl, byte [esp + eax + 0x52]
jmp 0x413552
mov dl, byte [esp + edi + 0x38]
lea edi, [ecx - 2]
cmp edi, 0x1c
mov byte [esp + esi + 0x1c], dl
jge 0x413564
mov dl, byte [esp + eax + 0x53]
jmp 0x413568
mov dl, byte [esp + edi + 0x38]
cmp eax, 0x1c
mov byte [esp + esi + 0x1d], dl
jge 0x413577
mov dl, byte [esp + eax + 0x54]
jmp 0x41357b
mov dl, byte [esp + eax + 0x38]
cmp ecx, 0x1c
mov byte [esp + esi + 0x1e], dl
jge 0x41358a
mov dl, byte [esp + eax + 0x55]
jmp 0x41358e
mov dl, byte [esp + ecx + 0x38]
mov byte [esp + esi + 0x1f], dl
add esi, 4
add eax, 4
add ecx, 4
cmp esi, 0x1c
jl 0x413540
mov edi, 0x1c
lea edx, [ebp + 0x1f]
lea eax, [ebp + 0x1e]
jmp 0x4135b0
lea ecx, [edx - 3]
cmp ecx, 0x38
jge 0x4135be
mov cl, byte [esp + eax + 0x52]
jmp 0x4135c2
mov cl, byte [esp + ecx + 0x38]
lea esi, [edx - 2]
cmp esi, 0x38
mov byte [esp + edi + 0x1c], cl
jge 0x4135d4
mov cl, byte [esp + eax + 0x53]
jmp 0x4135d8
mov cl, byte [esp + esi + 0x38]
cmp eax, 0x38
mov byte [esp + edi + 0x1d], cl
jge 0x4135e7
mov cl, byte [esp + eax + 0x54]
jmp 0x4135eb
mov cl, byte [esp + eax + 0x38]
cmp edx, 0x38
mov byte [esp + edi + 0x1e], cl
jge 0x4135fa
mov cl, byte [esp + eax + 0x55]
jmp 0x4135fe
mov cl, byte [esp + edx + 0x38]
mov byte [esp + edi + 0x1f], cl
add edi, 4
add eax, 4
add edx, 4
cmp edi, 0x38
jl 0x4135b0
xor eax, eax
movzx edx, byte [eax + 0x443308]
mov cl, byte [esp + edx + 0x1c]
test cl, cl
mov ecx, dword [esp + 0x18]
je 0x413632
mov esi, dword [ecx]
mov edx, dword [eax*4 + 0x443260]
or esi, edx
mov dword [ecx], esi
movzx edx, byte [eax + 0x443320]
cmp byte [esp + edx + 0x1c], 0
je 0x41364d
mov esi, dword [ebx]
mov edx, dword [eax*4 + 0x443260]
or esi, edx
mov dword [ebx], esi
movzx edx, byte [eax + 0x443309]
cmp byte [esp + edx + 0x1c], 0
je 0x413668
mov esi, dword [ecx]
mov edx, dword [eax*4 + 0x443264]
or esi, edx
mov dword [ecx], esi
movzx edx, byte [eax + 0x443321]
cmp byte [esp + edx + 0x1c], 0
je 0x413683
mov esi, dword [ebx]
mov edx, dword [eax*4 + 0x443264]
or esi, edx
mov dword [ebx], esi
movzx edx, byte [eax + 0x44330a]
cmp byte [esp + edx + 0x1c], 0
je 0x41369e
mov esi, dword [ecx]
mov edx, dword [eax*4 + 0x443268]
or esi, edx
mov dword [ecx], esi
movzx edx, byte [eax + 0x443322]
cmp byte [esp + edx + 0x1c], 0
je 0x4136b9
mov esi, dword [ebx]
mov edx, dword [eax*4 + 0x443268]
or esi, edx
mov dword [ebx], esi
movzx edx, byte [eax + 0x44330b]
cmp byte [esp + edx + 0x1c], 0
je 0x4136d4
mov esi, dword [ecx]
mov edx, dword [eax*4 + 0x44326c]
or esi, edx
mov dword [ecx], esi
movzx edx, byte [eax + 0x443323]
cmp byte [esp + edx + 0x1c], 0
je 0x4136ef
mov esi, dword [ebx]
mov edx, dword [eax*4 + 0x44326c]
or esi, edx
mov dword [ebx], esi
movzx edx, byte [eax + 0x44330c]
cmp byte [esp + edx + 0x1c], 0
je 0x41370a
mov esi, dword [ecx]
mov edx, dword [eax*4 + 0x443270]
or esi, edx
mov dword [ecx], esi
movzx edx, byte [eax + 0x443324]
cmp byte [esp + edx + 0x1c], 0
je 0x413725
mov esi, dword [ebx]
mov edx, dword [eax*4 + 0x443270]
or esi, edx
mov dword [ebx], esi
movzx edx, byte [eax + 0x44330d]
cmp byte [esp + edx + 0x1c], 0
je 0x413740
mov esi, dword [ecx]
mov edx, dword [eax*4 + 0x443274]
or esi, edx
mov dword [ecx], esi
movzx ecx, byte [eax + 0x443325]
mov dl, byte [esp + ecx + 0x1c]
test dl, dl
je 0x41375c
mov ecx, dword [ebx]
mov edx, dword [eax*4 + 0x443274]
or ecx, edx
mov dword [ebx], ecx
add eax, 6
cmp eax, 0x18
jl 0x413612
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
sub eax, 2
inc esi
cmp eax, 0xfffffffe
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
jg 0x4134f7
lea ecx, [esp + 0x8c]
call fcn.004131e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret