Function at 0x459860
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x48600c]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x110], ecx
mov dword [ebp - 0xf8], 0
jmp 0x459894
mov eax, dword [ebp - 0xf8]
add eax, 1
mov dword [ebp - 0xf8], eax
cmp dword [ebp - 0xf8], 0x38
jge 0x45990c
mov ecx, dword [ebp - 0xf8]
movzx edx, byte [ecx + str.80_]
mov dword [ebp - 0xfc], edx
mov eax, dword [ebp - 0xfc]
and eax, 7
mov dword [ebp - 0x104], eax
mov ecx, dword [ebp - 0xfc]
sar ecx, 3
mov edx, dword [ebp + 8]
movsx eax, byte [edx + ecx]
mov ecx, dword [ebp - 0x104]
movzx edx, word [ecx*2 + 0x487210]
and eax, edx
je 0x4598ed
mov dword [ebp - 0x10c], 1
jmp 0x4598f7
mov dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0xf8]
mov cl, byte [ebp - 0x10c]
mov byte [ebp + eax - 0x74], cl
jmp 0x459885
mov dword [ebp - 0x100], 0
jmp 0x459927
mov edx, dword [ebp - 0x100]
add edx, 1
mov dword [ebp - 0x100], edx
cmp dword [ebp - 0x100], 0x10
jge 0x459b20
cmp dword [ebp + 0xc], 1
jne 0x45994f
mov eax, 0xf
sub eax, dword [ebp - 0x100]
shl eax, 1
mov dword [ebp - 0x104], eax
jmp 0x45995d
mov ecx, dword [ebp - 0x100]
shl ecx, 1
mov dword [ebp - 0x104], ecx
mov edx, dword [ebp - 0x104]
add edx, 1
mov dword [ebp - 0x108], edx
mov eax, dword [ebp - 0x108]
mov dword [ebp + eax*4 - 0xf4], 0
mov ecx, dword [ebp - 0x104]
mov dword [ebp + ecx*4 - 0xf4], 0
mov dword [ebp - 0xf8], 0
jmp 0x4599a9
mov edx, dword [ebp - 0xf8]
add edx, 1
mov dword [ebp - 0xf8], edx
cmp dword [ebp - 0xf8], 0x1c
jge 0x459a03
mov eax, dword [ebp - 0x100]
movzx ecx, byte [eax + 0x487200]
add ecx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], ecx
cmp dword [ebp - 0xfc], 0x1c
jge 0x4599ea
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0xfc]
mov cl, byte [ebp + eax - 0x74]
mov byte [ebp + edx - 0x3c], cl
jmp 0x459a01
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0xfc]
mov cl, byte [ebp + eax - 0x90]
mov byte [ebp + edx - 0x3c], cl
jmp 0x45999a
mov dword [ebp - 0xf8], 0x1c
jmp 0x459a1e
mov edx, dword [ebp - 0xf8]
add edx, 1
mov dword [ebp - 0xf8], edx
cmp dword [ebp - 0xf8], 0x38
jge 0x459a78
mov eax, dword [ebp - 0x100]
movzx ecx, byte [eax + 0x487200]
add ecx, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], ecx
cmp dword [ebp - 0xfc], 0x38
jge 0x459a5f
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0xfc]
mov cl, byte [ebp + eax - 0x74]
mov byte [ebp + edx - 0x3c], cl
jmp 0x459a76
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp - 0xfc]
mov cl, byte [ebp + eax - 0x90]
mov byte [ebp + edx - 0x3c], cl
jmp 0x459a0f
mov dword [ebp - 0xf8], 0
jmp 0x459a93
mov edx, dword [ebp - 0xf8]
add edx, 1
mov dword [ebp - 0xf8], edx
cmp dword [ebp - 0xf8], 0x18
jge 0x459b1b
mov eax, dword [ebp - 0xf8]
movzx ecx, byte [eax + 0x4871d0]
movzx edx, byte [ebp + ecx - 0x3c]
test edx, edx
je 0x459ad9
mov eax, dword [ebp - 0x104]
mov ecx, dword [ebp - 0xf8]
mov edx, dword [ebp + eax*4 - 0xf4]
or edx, dword [ecx*4 + 0x487170]
mov eax, dword [ebp - 0x104]
mov dword [ebp + eax*4 - 0xf4], edx
mov ecx, dword [ebp - 0xf8]
movzx edx, byte [ecx + 0x4871e8]
movzx eax, byte [ebp + edx - 0x3c]
test eax, eax
je 0x459b16
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp - 0xf8]
mov eax, dword [ebp + ecx*4 - 0xf4]
or eax, dword [edx*4 + 0x487170]
mov ecx, dword [ebp - 0x108]
mov dword [ebp + ecx*4 - 0xf4], eax
jmp 0x459a84
jmp 0x459918
lea edx, [ebp - 0xf4]
push edx
mov ecx, dword [ebp - 0x110]
call fcn.004596d0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422b91
mov esp, ebp
pop ebp
ret 8