Function at 0x44f990
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x180
mov eax, dword [0x4fa008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor edx, edx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x180], ecx
mov dword [ebp - 0x17c], edi
nop dword [eax]
movzx ecx, byte [edx + 0x4c7d90]
mov eax, ecx
and ecx, 7
shr eax, 3
movzx eax, byte [eax + esi]
test byte [ecx*2 + 0x4c7d50], al
movzx ecx, byte [edx + 0x4c7d91]
setne al
mov byte [ebp + edx - 0x3c], al
mov eax, ecx
shr eax, 3
and ecx, 7
movzx eax, byte [eax + esi]
test byte [ecx*2 + 0x4c7d50], al
movzx ecx, byte [edx + 0x4c7d92]
setne al
mov byte [ebp + edx - 0x3b], al
mov eax, ecx
shr eax, 3
and ecx, 7
movzx eax, byte [eax + esi]
test byte [ecx*2 + 0x4c7d50], al
movzx ecx, byte [edx + 0x4c7d93]
setne al
mov byte [ebp + edx - 0x3a], al
mov eax, ecx
shr eax, 3
and ecx, 7
movzx eax, byte [eax + esi]
test byte [ecx*2 + 0x4c7d50], al
setne al
mov byte [ebp + edx - 0x39], al
add edx, 4
cmp edx, 0x38
jl 0x44f9c0
mov ecx, 0x1e
push ebx
xor ebx, ebx
mov dword [ebp - 0x178], ecx
nop
cmp edi, 1
lea eax, [ebx + ebx]
lea edi, [ebp - 0xf4]
cmovne ecx, eax
xor eax, eax
lea esi, [ebp + ecx*4 - 0xf0]
lea edi, [edi + ecx*4]
mov dword [esi], 0
movzx ecx, byte [ebx + 0x4c7fc8]
mov dword [edi], 0
nop
cmp ecx, 0x1c
jge 0x44fa9b
mov dl, byte [ebp + ecx - 0x3c]
jmp 0x44fa9f
mov dl, byte [ebp + ecx - 0x58]
mov byte [ebp + eax - 0x74], dl
inc ecx
inc eax
cmp eax, 0x1c
jl 0x44fa90
movzx eax, byte [ebx + 0x4c7fc8]
mov ecx, 0x1c
add eax, ecx
cmp eax, 0x38
jge 0x44fac3
mov dl, byte [ebp + eax - 0x3c]
jmp 0x44fac7
mov dl, byte [ebp + eax - 0x58]
mov byte [ebp + ecx - 0x74], dl
inc eax
inc ecx
cmp ecx, 0x38
jl 0x44fab8
xor eax, eax
nop dword [eax]
nop dword [eax + eax]
movzx ecx, byte [eax + 0x4c7d60]
cmp byte [ebp + ecx - 0x74], 0
je 0x44faf7
mov ecx, dword [eax*4 + 0x4c7af0]
or dword [edi], ecx
movzx ecx, byte [eax + 0x4c7d78]
cmp byte [ebp + ecx - 0x74], 0
je 0x44fb0e
mov ecx, dword [eax*4 + 0x4c7af0]
or dword [esi], ecx
inc eax
cmp eax, 0x18
jl 0x44fae0
mov ecx, dword [ebp - 0x178]
inc ebx
mov edi, dword [ebp - 0x17c]
sub ecx, 2
mov dword [ebp - 0x178], ecx
cmp ecx, 0xfffffffe
jg 0x44fa60
lea eax, [ebp - 0x174]
mov dword [ebp - 0x17c], 0x10
lea ebx, [ebp - 0xf4]
mov dword [ebp - 0x178], eax
nop
mov edi, dword [ebx + 4]
lea ebx, [ebx + 8]
mov esi, dword [ebx - 8]
mov edx, edi
shr edx, 4
mov eax, edi
and eax, 0xfc0
and edx, 0xfc000
or edx, eax
mov ecx, esi
and ecx, 0xfc0
shr edx, 6
shl ecx, 4
mov eax, esi
and eax, 0xfc0000
or ecx, eax
mov eax, dword [ebp - 0x178]
shl ecx, 6
or edx, ecx
mov ecx, esi
and ecx, 0x3f
and esi, 0x3f000
mov dword [eax], edx
mov edx, eax
shl ecx, 4
mov eax, edi
or ecx, esi
shr eax, 4
shl ecx, 0xc
and eax, 0x3f00
or ecx, eax
and edi, 0x3f
or ecx, edi
mov dword [edx + 4], ecx
add edx, 8
sub dword [ebp - 0x17c], 1
mov dword [ebp - 0x178], edx
jne 0x44fb50
mov eax, dword [ebp - 0x180]
lea ecx, [ebp - 0x174]
xor edx, edx
pop ebx
lea edi, [eax + 4]
add eax, 0x84
cmp eax, edi
sbb esi, esi
and esi, 0xffffffe0
add esi, 0x20
je 0x44fc01
mov eax, ecx
sub edi, eax
mov eax, dword [ecx]
lea ecx, [ecx + 4]
inc edx
mov dword [edi + ecx - 4], eax
cmp edx, esi
jb 0x44fbf3
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004976eb
mov esp, ebp
pop ebp
ret 8