Function at 0x45e550
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
mov eax, dword [0x48794c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov dword [ebp - 0x190], ecx
xor eax, eax
mov word [ebp - 0x18c], ax
jmp 0x45e587
mov cx, word [ebp - 0x18c]
add cx, 1
mov word [ebp - 0x18c], cx
movzx edx, word [ebp - 0x18c]
cmp edx, 0x38
jge 0x45e5e3
movzx eax, word [ebp - 0x18c]
movzx cx, byte [eax + 0x474dd0]
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 + 0x474e48]
and ecx, eax
neg ecx
sbb ecx, ecx
neg ecx
movzx edx, word [ebp - 0x18c]
mov byte [ebp + edx - 0x3c], cl
jmp 0x45e575
xor eax, eax
mov word [ebp - 0xfc], ax
jmp 0x45e600
mov cx, word [ebp - 0xfc]
add cx, 1
mov word [ebp - 0xfc], cx
movzx edx, word [ebp - 0xfc]
cmp edx, 0x10
jge 0x45e92a
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 0x45e651
mov ax, word [ebp - 0x18c]
add ax, 1
mov word [ebp - 0x18c], ax
movzx ecx, word [ebp - 0x18c]
cmp ecx, 0x1c
jge 0x45e6bd
movzx edx, word [ebp - 0x18c]
movzx eax, word [ebp - 0xfc]
movzx ecx, byte [eax + 0x474e38]
add edx, ecx
mov word [ebp - 0x144], dx
movzx edx, word [ebp - 0x144]
cmp edx, 0x1c
jge 0x45e6a2
movzx eax, word [ebp - 0x144]
movzx ecx, word [ebp - 0x18c]
mov dl, byte [ebp + eax - 0x3c]
mov byte [ebp + ecx - 0xf8], dl
jmp 0x45e6bb
movzx eax, word [ebp - 0x144]
movzx ecx, word [ebp - 0x18c]
mov dl, byte [ebp + eax - 0x58]
mov byte [ebp + ecx - 0xf8], dl
jmp 0x45e63f
mov eax, 0x1c
mov word [ebp - 0x18c], ax
jmp 0x45e6dd
mov cx, word [ebp - 0x18c]
add cx, 1
mov word [ebp - 0x18c], cx
movzx edx, word [ebp - 0x18c]
cmp edx, 0x38
jge 0x45e749
movzx eax, word [ebp - 0x18c]
movzx ecx, word [ebp - 0xfc]
movzx edx, byte [ecx + 0x474e38]
add eax, edx
mov word [ebp - 0x144], ax
movzx eax, word [ebp - 0x144]
cmp eax, 0x38
jge 0x45e72e
movzx ecx, word [ebp - 0x144]
movzx edx, word [ebp - 0x18c]
mov al, byte [ebp + ecx - 0x3c]
mov byte [ebp + edx - 0xf8], al
jmp 0x45e747
movzx ecx, word [ebp - 0x144]
movzx edx, word [ebp - 0x18c]
mov al, byte [ebp + ecx - 0x58]
mov byte [ebp + edx - 0xf8], al
jmp 0x45e6cb
xor ecx, ecx
mov word [ebp - 0x18c], cx
jmp 0x45e766
mov dx, word [ebp - 0x18c]
add dx, 1
mov word [ebp - 0x18c], dx
movzx eax, word [ebp - 0x18c]
cmp eax, 0x18
jge 0x45e803
movzx ecx, word [ebp - 0x18c]
movzx edx, byte [ecx + 0x474e08]
movzx eax, byte [ebp + edx - 0xf8]
test eax, eax
je 0x45e7ba
movzx ecx, word [ebp - 0xfc]
movzx edx, word [ebp - 0x18c]
mov eax, dword [ebp + ecx*4 - 0x188]
or eax, dword [edx*4 + 0x474e50]
movzx ecx, word [ebp - 0xfc]
mov dword [ebp + ecx*4 - 0x188], eax
movzx edx, word [ebp - 0x18c]
movzx eax, byte [edx + 0x474e20]
movzx ecx, byte [ebp + eax - 0xf8]
test ecx, ecx
je 0x45e7fe
movzx edx, word [ebp - 0xfc]
movzx eax, word [ebp - 0x18c]
mov ecx, dword [ebp + edx*4 - 0x140]
or ecx, dword [eax*4 + 0x474e50]
movzx edx, word [ebp - 0xfc]
mov dword [ebp + edx*4 - 0x140], ecx
jmp 0x45e754
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 0x45e5ee
mov edx, dword [ebp - 0x190]
movzx eax, byte [edx + 0xe0]
cmp eax, 1
jne 0x45ea5c
xor ecx, ecx
mov word [ebp - 0xfc], cx
jmp 0x45e95d
mov dx, word [ebp - 0xfc]
add dx, 1
mov word [ebp - 0xfc], dx
movzx eax, word [ebp - 0xfc]
cmp eax, 0x10
jge 0x45e9d3
xor ecx, ecx
mov word [ebp - 0x18c], cx
jmp 0x45e986
mov dx, word [ebp - 0x18c]
add dx, 1
mov word [ebp - 0x18c], dx
movzx eax, word [ebp - 0x18c]
cmp eax, 8
jge 0x45e9ce
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 0x45e974
jmp 0x45e94b
xor edx, edx
mov word [ebp - 0xfc], dx
jmp 0x45e9f0
mov ax, word [ebp - 0xfc]
add ax, 1
mov word [ebp - 0xfc], ax
movzx ecx, word [ebp - 0xfc]
cmp ecx, 0x10
jge 0x45ea5c
xor edx, edx
mov word [ebp - 0x18c], dx
jmp 0x45ea19
mov ax, word [ebp - 0x18c]
add ax, 1
mov word [ebp - 0x18c], ax
movzx ecx, word [ebp - 0x18c]
cmp ecx, 8
jge 0x45ea5a
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 0x45ea07
jmp 0x45e9de
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043ea11
mov esp, ebp
pop ebp
ret