Function at 0x46ad00
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x18
mov eax, dword [0x5176f0]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
push esi
push edi
mov edi, 0x78
mov dword [esp + 0x20], eax
call fcn.00469d50
mov esi, eax
mov ecx, 0x4f0bb6
sub ecx, esi
mov dword [esp + 0x18], ecx
mov edi, str.91__
mov edx, 0x4f0bb5
mov ecx, 0x4f0bb7
sub edi, esi
sub edx, esi
sub ecx, esi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0xe
movzx ecx, byte [edi + eax]
dec ecx
mov ebx, ecx
and ecx, 7
sar ebx, 3
movzx ebx, byte [ebx + ebp]
test byte [ecx*4 + 0x4f0c2c], bl
setne cl
mov byte [eax], cl
movzx ecx, byte [edx + eax]
dec ecx
mov ebx, ecx
sar ebx, 3
movzx ebx, byte [ebx + ebp]
and ecx, 7
test byte [ecx*4 + 0x4f0c2c], bl
setne cl
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x18]
movzx ecx, byte [ecx + eax]
dec ecx
mov ebx, ecx
sar ebx, 3
movzx ebx, byte [ebx + ebp]
and ecx, 7
test byte [ecx*4 + 0x4f0c2c], bl
setne cl
mov byte [eax + 2], cl
mov ecx, dword [esp + 0x14]
movzx ecx, byte [ecx + eax]
dec ecx
mov ebx, ecx
sar ebx, 3
movzx ebx, byte [ebx + ebp]
and ecx, 7
test byte [ecx*4 + 0x4f0c2c], bl
setne cl
mov byte [eax + 3], cl
add eax, 4
dec dword [esp + 0x10]
jne 0x46ad56
xor ebp, ebp
mov dword [esp + 0x18], ebp
xor eax, eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov eax, 1
jmp 0x46ae00
movzx edi, byte [ebp + 0x4f0bec]
xor edx, edx
lea ecx, [eax - 1]
add edi, ecx
cmp ecx, 0x1c
setge dl
dec edx
and edx, 0xffffffe4
add edx, 0x38
cmp edi, edx
jl 0x46ae22
add edi, 0xffffffe4
mov dl, byte [esi + edi]
mov byte [esi + eax + 0x37], dl
movzx edx, byte [ebp + 0x4f0bec]
lea edi, [edx + ecx + 1]
xor edx, edx
cmp eax, 0x1c
setge dl
dec edx
and edx, 0xffffffe4
add edx, 0x38
cmp edi, edx
jl 0x46ae4a
add edi, 0xffffffe4
mov dl, byte [esi + edi]
mov byte [eax + esi + 0x38], dl
movzx edx, byte [ebp + 0x4f0bec]
xor ebx, ebx
lea edi, [edx + ecx + 2]
lea edx, [eax + 1]
cmp edx, 0x1c
setge bl
dec ebx
and ebx, 0xffffffe4
add ebx, 0x38
cmp edi, ebx
jl 0x46ae75
add edi, 0xffffffe4
mov dl, byte [esi + edi]
mov byte [esi + eax + 0x39], dl
movzx edx, byte [ebp + 0x4f0bec]
xor ebx, ebx
lea ecx, [edx + ecx + 3]
lea edx, [eax + 2]
cmp edx, 0x1c
setge bl
dec ebx
and ebx, 0xffffffe4
add ebx, 0x38
cmp ecx, ebx
jl 0x46aea0
add ecx, 0xffffffe4
mov cl, byte [esi + ecx]
mov byte [esi + eax + 0x3a], cl
add eax, 4
lea edx, [eax - 1]
cmp edx, 0x38
jl 0x46ae00
xor ecx, ecx
mov dword [esp + 0x10], 5
mov dword [esp + 0x14], 4
mov dword [esp + 0x1c], 3
lea ebp, [ecx + 2]
mov edi, 1
jmp 0x46aee0
movzx eax, byte [edi + 0x4f0bfb]
cmp byte [eax + esi + 0x37], 0
je 0x46af0f
mov eax, 0xaaaaaaab
mul ecx
shr edx, 2
lea eax, [edx + edx*2]
add eax, eax
mov ebx, ecx
sub ebx, eax
mov eax, dword [ebx*4 + 0x4f0c2c]
sar eax, 2
or byte [edx + esi + 0x70], al
movzx edx, byte [edi + 0x4f0bfc]
cmp byte [edx + esi + 0x37], 0
je 0x46af3e
mov eax, 0xaaaaaaab
mul edi
shr edx, 2
lea eax, [edx + edx*2]
add eax, eax
mov ebx, ecx
sub ebx, eax
mov eax, dword [ebx*4 + 0x4f0c30]
sar eax, 2
or byte [edx + esi + 0x70], al
movzx edx, byte [ebp + 0x4f0bfc]
cmp byte [edx + esi + 0x37], 0
je 0x46af6d
mov eax, 0xaaaaaaab
mul ebp
shr edx, 2
lea eax, [edx + edx*2]
add eax, eax
mov ebx, ecx
sub ebx, eax
mov eax, dword [ebx*4 + 0x4f0c34]
sar eax, 2
or byte [edx + esi + 0x70], al
mov edx, dword [esp + 0x1c]
movzx eax, byte [edx + 0x4f0bfc]
cmp byte [eax + esi + 0x37], 0
je 0x46afa0
mov eax, 0xaaaaaaab
mul edx
shr edx, 2
lea eax, [edx + edx*2]
add eax, eax
mov ebx, ecx
sub ebx, eax
mov eax, dword [ebx*4 + 0x4f0c38]
sar eax, 2
or byte [edx + esi + 0x70], al
mov edx, dword [esp + 0x14]
movzx eax, byte [edx + 0x4f0bfc]
cmp byte [eax + esi + 0x37], 0
je 0x46afd3
mov eax, 0xaaaaaaab
mul edx
shr edx, 2
lea eax, [edx + edx*2]
add eax, eax
mov ebx, ecx
sub ebx, eax
mov eax, dword [ebx*4 + 0x4f0c3c]
sar eax, 2
or byte [edx + esi + 0x70], al
mov edx, dword [esp + 0x10]
movzx eax, byte [edx + 0x4f0bfc]
cmp byte [eax + esi + 0x37], 0
je 0x46b006
mov eax, 0xaaaaaaab
mul edx
shr edx, 2
lea eax, [edx + edx*2]
add eax, eax
mov ebx, ecx
sub ebx, eax
mov eax, dword [ebx*4 + 0x4f0c40]
sar eax, 2
or byte [edx + esi + 0x70], al
mov eax, 6
add dword [esp + 0x1c], eax
add dword [esp + 0x14], eax
add dword [esp + 0x10], eax
add edi, eax
add ecx, eax
add ebp, eax
cmp edi, 0x31
jl 0x46aee0
movzx ecx, byte [esi + 0x70]
movzx edx, byte [esi + 0x72]
movzx eax, byte [esi + 0x74]
mov ebp, dword [esp + 0x18]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi + 0x76]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x20]
shl ecx, 8
or ecx, edx
mov edx, dword [eax + 0x8c]
mov dword [edx + ebp*8], ecx
movzx ecx, byte [esi + 0x71]
movzx edx, byte [esi + 0x73]
mov eax, dword [eax + 0x8c]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi + 0x75]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi + 0x77]
shl ecx, 8
or ecx, edx
mov dword [eax + ebp*8 + 4], ecx
inc ebp
mov dword [esp + 0x18], ebp
cmp ebp, 0x10
jl 0x46ade8
cmp dword [esp + 0x30], 1
jne 0x46b0da
xor ebx, ebx
mov edi, 0x7c
jmp 0x46b0a0
mov ebp, dword [esp + 0x20]
mov eax, dword [ebp + 0x8c]
lea ecx, [edi + eax - 4]
push ecx
lea edx, [ebx + eax]
push edx
call fcn.00415920
mov eax, dword [ebp + 0x8c]
lea ecx, [edi + eax]
push ecx
lea edx, [ebx + eax + 4]
push edx
call fcn.00415920
sub edi, 8
add esp, 0x10
add ebx, 8
cmp edi, 0x3c
jg 0x46b0a0
xor al, al
mov edi, esi
mov ecx, 0x78
push esi
rep stosb byte es:[edi], al
call fcn.004b0ace
mov ecx, dword [esp + 0x28]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ae123
add esp, 0x18
ret 0xc