Function at 0x46ca80
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x5c5ebc]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0x10c], 0
jmp 0x46cab4
mov eax, dword [ebp - 0x10c]
add eax, 1
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0x38
jge 0x46cb11
mov ecx, dword [ebp - 0x10c]
movzx edx, byte [ecx + str.80_]
mov dword [ebp - 0x104], edx
mov eax, dword [ebp - 0x104]
and eax, 7
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x104]
sar ecx, 3
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
mov ecx, dword [ebp - 0x108]
movzx edx, word [ecx*2 + 0x5c3238]
and eax, edx
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0x10c]
mov byte [ebp + ecx - 0x3c], al
jmp 0x46caa5
mov dword [ebp - 0x7c], 0
jmp 0x46cb23
mov edx, dword [ebp - 0x7c]
add edx, 1
mov dword [ebp - 0x7c], edx
cmp dword [ebp - 0x7c], 0x10
jge 0x46ccfe
movsx eax, word [ebp + 0xc]
cmp eax, 1
jne 0x46cb48
mov ecx, 0xf
sub ecx, dword [ebp - 0x7c]
shl ecx, 1
mov dword [ebp - 0x108], ecx
jmp 0x46cb53
mov edx, dword [ebp - 0x7c]
shl edx, 1
mov dword [ebp - 0x108], edx
mov eax, dword [ebp - 0x108]
add eax, 1
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
mov dword [ebp + ecx*4 - 0x100], 0
mov edx, dword [ebp - 0x108]
mov dword [ebp + edx*4 - 0x100], 0
mov dword [ebp - 0x10c], 0
jmp 0x46cb99
mov eax, dword [ebp - 0x10c]
add eax, 1
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0x1c
jge 0x46cbed
mov ecx, dword [ebp - 0x7c]
movzx edx, byte [ecx + 0x5c3228]
add edx, dword [ebp - 0x10c]
mov dword [ebp - 0x104], edx
cmp dword [ebp - 0x104], 0x1c
jge 0x46cbd7
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x104]
mov dl, byte [ebp + ecx - 0x3c]
mov byte [ebp + eax - 0x74], dl
jmp 0x46cbeb
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x104]
mov dl, byte [ebp + ecx - 0x58]
mov byte [ebp + eax - 0x74], dl
jmp 0x46cb8a
mov dword [ebp - 0x10c], 0x1c
jmp 0x46cc08
mov eax, dword [ebp - 0x10c]
add eax, 1
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0x38
jge 0x46cc5c
mov ecx, dword [ebp - 0x7c]
movzx edx, byte [ecx + 0x5c3228]
add edx, dword [ebp - 0x10c]
mov dword [ebp - 0x104], edx
cmp dword [ebp - 0x104], 0x38
jge 0x46cc46
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x104]
mov dl, byte [ebp + ecx - 0x3c]
mov byte [ebp + eax - 0x74], dl
jmp 0x46cc5a
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 0x104]
mov dl, byte [ebp + ecx - 0x58]
mov byte [ebp + eax - 0x74], dl
jmp 0x46cbf9
mov dword [ebp - 0x10c], 0
jmp 0x46cc77
mov eax, dword [ebp - 0x10c]
add eax, 1
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0x18
jge 0x46ccf9
mov ecx, dword [ebp - 0x10c]
movzx edx, byte [ecx + 0x5c31f8]
movzx eax, byte [ebp + edx - 0x74]
test eax, eax
je 0x46ccbd
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp - 0x10c]
mov eax, dword [ebp + ecx*4 - 0x100]
or eax, dword [edx*4 + 0x5c3198]
mov ecx, dword [ebp - 0x108]
mov dword [ebp + ecx*4 - 0x100], eax
mov edx, dword [ebp - 0x10c]
movzx eax, byte [edx + 0x5c3210]
movzx ecx, byte [ebp + eax - 0x74]
test ecx, ecx
je 0x46ccf4
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp + edx*4 - 0x100]
or ecx, dword [eax*4 + 0x5c3198]
mov edx, dword [ebp - 0x78]
mov dword [ebp + edx*4 - 0x100], ecx
jmp 0x46cc68
jmp 0x46cb1a
lea eax, [ebp - 0x100]
push eax
call fcn.0046cd20
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00527aad
mov esp, ebp
pop ebp
ret 8