Function at 0x10014430
Capabilities:
Encrypt data using des

Disassembly:
push 0xffffffffffffffff
push 0x100365d0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10046ca0]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10046ca0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x3c]
push 0x78
mov dword [esp + 0x28], eax
call fcn.10013e10
mov esi, eax
mov ecx, 0x1003d66a
sub ecx, esi
mov dword [esp + 0x20], ecx
mov ebp, str.91__
mov edx, 0x1003d669
mov ecx, 0x1003d66b
add esp, 4
sub ebp, esi
sub edx, esi
sub ecx, esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], 0xe
movzx ecx, byte [eax + ebp]
dec ecx
mov ebx, ecx
and ecx, 7
sar ebx, 3
movzx ebx, byte [ebx + edi]
test byte [ecx*4 + 0x1003d6e0], bl
setne cl
mov byte [eax], cl
movzx ecx, byte [edx + eax]
dec ecx
mov ebx, ecx
sar ebx, 3
movzx ebx, byte [ebx + edi]
and ecx, 7
test byte [ecx*4 + 0x1003d6e0], bl
setne cl
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x1c]
movzx ecx, byte [ecx + eax]
dec ecx
mov ebx, ecx
sar ebx, 3
movzx ebx, byte [ebx + edi]
and ecx, 7
test byte [ecx*4 + 0x1003d6e0], bl
setne cl
mov byte [eax + 2], cl
mov ecx, dword [esp + 0x18]
movzx ecx, byte [ecx + eax]
dec ecx
mov ebx, ecx
sar ebx, 3
movzx ebx, byte [ebx + edi]
and ecx, 7
test byte [ecx*4 + 0x1003d6e0], bl
setne cl
mov byte [eax + 3], cl
add eax, 4
dec dword [esp + 0x14]
jne 0x100144a4
xor ebp, ebp
mov dword [esp + 0x1c], ebp
xor eax, eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov eax, 1
movzx edi, byte [ebp + 0x1003d6a0]
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 0x10014565
add edi, 0xffffffe4
mov dl, byte [esi + edi]
mov byte [esi + eax + 0x37], dl
movzx edx, byte [ebp + 0x1003d6a0]
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 0x1001458d
add edi, 0xffffffe4
mov dl, byte [esi + edi]
mov byte [eax + esi + 0x38], dl
movzx edx, byte [ebp + 0x1003d6a0]
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 0x100145b8
add edi, 0xffffffe4
mov dl, byte [esi + edi]
mov byte [esi + eax + 0x39], dl
movzx edx, byte [ebp + 0x1003d6a0]
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 0x100145e3
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 0x10014543
xor ecx, ecx
mov dword [esp + 0x14], 5
mov dword [esp + 0x18], 4
mov dword [esp + 0x20], 3
lea ebp, [ecx + 2]
mov edi, 1
movzx eax, byte [edi + 0x1003d6af]
cmp byte [eax + esi + 0x37], 0
je 0x1001464a
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 + 0x1003d6e0]
sar eax, 2
or byte [edx + esi + 0x70], al
movzx edx, byte [edi + 0x1003d6b0]
cmp byte [edx + esi + 0x37], 0
je 0x10014679
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 + 0x1003d6e4]
sar eax, 2
or byte [edx + esi + 0x70], al
movzx edx, byte [ebp + 0x1003d6b0]
cmp byte [edx + esi + 0x37], 0
je 0x100146a8
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 + 0x1003d6e8]
sar eax, 2
or byte [edx + esi + 0x70], al
mov edx, dword [esp + 0x20]
movzx eax, byte [edx + 0x1003d6b0]
cmp byte [eax + esi + 0x37], 0
je 0x100146db
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 + 0x1003d6ec]
sar eax, 2
or byte [edx + esi + 0x70], al
mov edx, dword [esp + 0x18]
movzx eax, byte [edx + 0x1003d6b0]
cmp byte [eax + esi + 0x37], 0
je 0x1001470e
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 + 0x1003d6f0]
sar eax, 2
or byte [edx + esi + 0x70], al
mov edx, dword [esp + 0x14]
movzx eax, byte [edx + 0x1003d6b0]
cmp byte [eax + esi + 0x37], 0
je 0x10014741
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 + 0x1003d6f4]
sar eax, 2
or byte [edx + esi + 0x70], al
mov eax, 6
add dword [esp + 0x20], eax
add dword [esp + 0x18], eax
add dword [esp + 0x14], eax
add edi, eax
add ecx, eax
add ebp, eax
cmp edi, 0x31
jl 0x1001461b
movzx ecx, byte [esi + 0x70]
movzx edx, byte [esi + 0x72]
movzx eax, byte [esi + 0x74]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi + 0x76]
shl ecx, 8
or ecx, eax
mov eax, dword [ebx + 0x8c]
shl ecx, 8
or ecx, edx
mov dword [eax + ebp*8], ecx
movzx ecx, byte [esi + 0x71]
movzx edx, byte [esi + 0x73]
movzx eax, byte [esi + 0x75]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi + 0x77]
shl ecx, 8
or ecx, eax
mov eax, dword [ebx + 0x8c]
shl ecx, 8
or ecx, edx
mov dword [eax + ebp*8 + 4], ecx
inc ebp
mov dword [esp + 0x1c], ebp
cmp ebp, 0x10
jl 0x10014536
cmp dword [esp + 0x40], 1
jne 0x10014813
xor ecx, ecx
mov eax, 0x7c
jmp 0x100147e0
mov edx, dword [ebx + 0x8c]
mov ebp, dword [eax + edx - 4]
mov edi, dword [ecx + edx]
mov dword [ecx + edx], ebp
mov dword [eax + edx - 4], edi
mov edx, dword [ebx + 0x8c]
mov ebp, dword [eax + edx]
mov edi, dword [ecx + edx + 4]
mov dword [ecx + edx + 4], ebp
mov dword [eax + edx], edi
sub eax, 8
add ecx, 8
cmp eax, 0x3c
jg 0x100147e0
xor al, al
mov edi, esi
mov ecx, 0x78
push esi
rep stosb byte es:[edi], al
call fcn.10020903
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.100202b1
add esp, 0x24
ret 8