Function at 0x40ac80
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
mov eax, dword [0x46f650]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x190], ecx
xor eax, eax
mov word [ebp - 0x18c], ax
jmp 0x40acb7
mov cx, word [ebp - 0x18c]
add cx, 1
mov word [ebp - 0x18c], cx
movzx edx, word [ebp - 0x18c]
cmp edx, 0x38
jge 0x40ad13
movzx eax, word [ebp - 0x18c]
movzx cx, byte [eax + str.80_]
mov word [ebp - 0x144], cx
movzx edx, word [ebp - 0x144]
sar edx, 3
mov eax, dword [ebp - 0x190]
movzx ecx, byte [eax + edx]
movzx edx, word [ebp - 0x144]
and edx, 7
movzx eax, byte [edx + 0x457018]
and ecx, eax
neg ecx
sbb ecx, ecx
neg ecx
movzx edx, word [ebp - 0x18c]
mov byte [ebp + edx - 0x3c], cl
jmp 0x40aca5
xor eax, eax
mov word [ebp - 0xfc], ax
jmp 0x40ad30
mov cx, word [ebp - 0xfc]
add cx, 1
mov word [ebp - 0xfc], cx
movzx edx, word [ebp - 0xfc]
cmp edx, 0x10
jge 0x40b05a
movzx eax, word [ebp - 0xfc]
mov dword [ebp + eax*4 - 0x140], 0
movzx ecx, word [ebp - 0xfc]
mov dword [ebp + ecx*4 - 0x188], 0
xor edx, edx
mov word [ebp - 0x18c], dx
jmp 0x40ad81
mov ax, word [ebp - 0x18c]
add ax, 1
mov word [ebp - 0x18c], ax
movzx ecx, word [ebp - 0x18c]
cmp ecx, 0x1c
jge 0x40aded
movzx edx, word [ebp - 0x18c]
movzx eax, word [ebp - 0xfc]
movzx ecx, byte [eax + 0x457008]
add edx, ecx
mov word [ebp - 0x144], dx
movzx edx, word [ebp - 0x144]
cmp edx, 0x1c
jge 0x40add2
movzx eax, word [ebp - 0x144]
movzx ecx, word [ebp - 0x18c]
mov dl, byte [ebp + eax - 0x3c]
mov byte [ebp + ecx - 0xf8], dl
jmp 0x40adeb
movzx eax, word [ebp - 0x144]
movzx ecx, word [ebp - 0x18c]
mov dl, byte [ebp + eax - 0x58]
mov byte [ebp + ecx - 0xf8], dl
jmp 0x40ad6f
mov eax, 0x1c
mov word [ebp - 0x18c], ax
jmp 0x40ae0d
mov cx, word [ebp - 0x18c]
add cx, 1
mov word [ebp - 0x18c], cx
movzx edx, word [ebp - 0x18c]
cmp edx, 0x38
jge 0x40ae79
movzx eax, word [ebp - 0x18c]
movzx ecx, word [ebp - 0xfc]
movzx edx, byte [ecx + 0x457008]
add eax, edx
mov word [ebp - 0x144], ax
movzx eax, word [ebp - 0x144]
cmp eax, 0x38
jge 0x40ae5e
movzx ecx, word [ebp - 0x144]
movzx edx, word [ebp - 0x18c]
mov al, byte [ebp + ecx - 0x3c]
mov byte [ebp + edx - 0xf8], al
jmp 0x40ae77
movzx ecx, word [ebp - 0x144]
movzx edx, word [ebp - 0x18c]
mov al, byte [ebp + ecx - 0x58]
mov byte [ebp + edx - 0xf8], al
jmp 0x40adfb
xor ecx, ecx
mov word [ebp - 0x18c], cx
jmp 0x40ae96
mov dx, word [ebp - 0x18c]
add dx, 1
mov word [ebp - 0x18c], dx
movzx eax, word [ebp - 0x18c]
cmp eax, 0x18
jge 0x40af33
movzx ecx, word [ebp - 0x18c]
movzx edx, byte [ecx + 0x456fd8]
movzx eax, byte [ebp + edx - 0xf8]
test eax, eax
je 0x40aeea
movzx ecx, word [ebp - 0xfc]
movzx edx, word [ebp - 0x18c]
mov eax, dword [ebp + ecx*4 - 0x188]
or eax, dword [edx*4 + 0x457020]
movzx ecx, word [ebp - 0xfc]
mov dword [ebp + ecx*4 - 0x188], eax
movzx edx, word [ebp - 0x18c]
movzx eax, byte [edx + 0x456ff0]
movzx ecx, byte [ebp + eax - 0xf8]
test ecx, ecx
je 0x40af2e
movzx edx, word [ebp - 0xfc]
movzx eax, word [ebp - 0x18c]
mov ecx, dword [ebp + edx*4 - 0x140]
or ecx, dword [eax*4 + 0x457020]
movzx edx, word [ebp - 0xfc]
mov dword [ebp + edx*4 - 0x140], ecx
jmp 0x40ae84
movzx eax, word [ebp - 0xfc]
mov ecx, dword [ebp + eax*4 - 0x188]
shr ecx, 0x12
and ecx, 0x3f
movzx edx, word [ebp - 0xfc]
mov eax, dword [ebp - 0x190]
mov byte [eax + edx*8 + 0x18], cl
movzx ecx, word [ebp - 0xfc]
mov edx, dword [ebp + ecx*4 - 0x188]
shr edx, 0xc
and edx, 0x3f
movzx eax, word [ebp - 0xfc]
mov ecx, dword [ebp - 0x190]
mov byte [ecx + eax*8 + 0x19], dl
movzx edx, word [ebp - 0xfc]
mov eax, dword [ebp + edx*4 - 0x188]
shr eax, 6
and eax, 0x3f
movzx ecx, word [ebp - 0xfc]
mov edx, dword [ebp - 0x190]
mov byte [edx + ecx*8 + 0x1a], al
movzx eax, word [ebp - 0xfc]
mov ecx, dword [ebp + eax*4 - 0x188]
and ecx, 0x3f
movzx edx, word [ebp - 0xfc]
mov eax, dword [ebp - 0x190]
mov byte [eax + edx*8 + 0x1b], cl
movzx ecx, word [ebp - 0xfc]
mov edx, dword [ebp + ecx*4 - 0x140]
shr edx, 0x12
and edx, 0x3f
movzx eax, word [ebp - 0xfc]
mov ecx, dword [ebp - 0x190]
mov byte [ecx + eax*8 + 0x1c], dl
movzx edx, word [ebp - 0xfc]
mov eax, dword [ebp + edx*4 - 0x140]
shr eax, 0xc
and eax, 0x3f
movzx ecx, word [ebp - 0xfc]
mov edx, dword [ebp - 0x190]
mov byte [edx + ecx*8 + 0x1d], al
movzx eax, word [ebp - 0xfc]
mov ecx, dword [ebp + eax*4 - 0x140]
shr ecx, 6
and ecx, 0x3f
movzx edx, word [ebp - 0xfc]
mov eax, dword [ebp - 0x190]
mov byte [eax + edx*8 + 0x1e], cl
movzx ecx, word [ebp - 0xfc]
mov edx, dword [ebp + ecx*4 - 0x140]
and edx, 0x3f
movzx eax, word [ebp - 0xfc]
mov ecx, dword [ebp - 0x190]
mov byte [ecx + eax*8 + 0x1f], dl
jmp 0x40ad1e
mov edx, dword [ebp - 0x190]
movzx eax, byte [edx + 0xe0]
cmp eax, 1
jne 0x40b18c
xor ecx, ecx
mov word [ebp - 0xfc], cx
jmp 0x40b08d
mov dx, word [ebp - 0xfc]
add dx, 1
mov word [ebp - 0xfc], dx
movzx eax, word [ebp - 0xfc]
cmp eax, 0x10
jge 0x40b103
xor ecx, ecx
mov word [ebp - 0x18c], cx
jmp 0x40b0b6
mov dx, word [ebp - 0x18c]
add dx, 1
mov word [ebp - 0x18c], dx
movzx eax, word [ebp - 0x18c]
cmp eax, 8
jge 0x40b0fe
movzx ecx, word [ebp - 0xfc]
mov edx, 0xf
sub edx, ecx
mov eax, dword [ebp - 0x190]
lea ecx, [eax + edx*8 + 0x18]
movzx edx, word [ebp - 0x18c]
movzx eax, word [ebp - 0xfc]
lea eax, [ebp + eax*8 - 0xc0]
movzx esi, word [ebp - 0x18c]
mov cl, byte [ecx + edx]
mov byte [eax + esi], cl
jmp 0x40b0a4
jmp 0x40b07b
xor edx, edx
mov word [ebp - 0xfc], dx
jmp 0x40b120
mov ax, word [ebp - 0xfc]
add ax, 1
mov word [ebp - 0xfc], ax
movzx ecx, word [ebp - 0xfc]
cmp ecx, 0x10
jge 0x40b18c
xor edx, edx
mov word [ebp - 0x18c], dx
jmp 0x40b149
mov ax, word [ebp - 0x18c]
add ax, 1
mov word [ebp - 0x18c], ax
movzx ecx, word [ebp - 0x18c]
cmp ecx, 8
jge 0x40b18a
movzx edx, word [ebp - 0xfc]
lea eax, [ebp + edx*8 - 0xc0]
movzx ecx, word [ebp - 0x18c]
movzx edx, word [ebp - 0xfc]
mov esi, dword [ebp - 0x190]
lea edx, [esi + edx*8 + 0x18]
movzx esi, word [ebp - 0x18c]
mov al, byte [eax + ecx]
mov byte [edx + esi], al
jmp 0x40b137
jmp 0x40b10e
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00428d44
mov esp, ebp
pop ebp
ret