Function at 0x4a2880
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x547550
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x58d038]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x78
mov dword [ebp - 0x24], ecx
call fcn.00448060
mov edi, dword [ebp + 0xc]
mov esi, eax
mov ecx, 0x56603d
sub ecx, esi
mov dword [ebp - 0x1c], ecx
mov ecx, 0x56603e
sub ecx, esi
mov dword [ebp - 0x18], ecx
mov edx, str.91__
mov ecx, 0x56603f
add esp, 4
sub edx, esi
sub ecx, esi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], 0xe
lea esp, [esp]
movzx ecx, byte [edx + eax]
dec ecx
mov ebx, ecx
and ecx, 7
sar ebx, 3
movzx ebx, byte [ebx + edi]
test byte [ecx*4 + 0x5660b4], bl
setne cl
mov byte [eax], cl
mov ecx, dword [ebp - 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 + 0x5660b4], bl
setne cl
mov byte [eax + 1], cl
mov ecx, dword [ebp - 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 + 0x5660b4], bl
setne cl
mov byte [eax + 2], cl
mov ecx, dword [ebp - 0x20]
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 + 0x5660b4], bl
setne cl
mov byte [eax + 3], cl
add eax, 4
dec dword [ebp - 0x14]
jne 0x4a28f0
xor edx, edx
mov dword [ebp - 0x14], edx
xor eax, eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov eax, 1
mov edi, edi
movzx edi, byte [edx + 0x566074]
xor ebx, ebx
lea ecx, [eax - 1]
add edi, ecx
cmp ecx, 0x1c
setge bl
dec ebx
and ebx, 0xffffffe4
add ebx, 0x38
cmp edi, ebx
jl 0x4a29b2
add edi, 0xffffffe4
mov bl, byte [esi + edi]
mov byte [esi + eax + 0x37], bl
movzx edi, byte [edx + 0x566074]
xor ebx, ebx
cmp eax, 0x1c
setge bl
lea edi, [edi + ecx + 1]
dec ebx
and ebx, 0xffffffe4
add ebx, 0x38
cmp edi, ebx
jl 0x4a29da
add edi, 0xffffffe4
mov bl, byte [esi + edi]
mov byte [eax + esi + 0x38], bl
movzx edx, byte [edx + 0x566074]
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 0x4a2a05
add edi, 0xffffffe4
mov dl, byte [esi + edi]
mov byte [esi + eax + 0x39], dl
mov edx, dword [ebp - 0x14]
movzx edi, byte [edx + 0x566074]
xor ebx, ebx
lea ecx, [edi + ecx + 3]
lea edi, [eax + 2]
cmp edi, 0x1c
setge bl
dec ebx
and ebx, 0xffffffe4
add ebx, 0x38
cmp ecx, ebx
jl 0x4a2a33
add ecx, 0xffffffe4
mov cl, byte [esi + ecx]
mov byte [esi + eax + 0x3a], cl
add eax, 4
lea ecx, [eax - 1]
cmp ecx, 0x38
jl 0x4a2990
xor ecx, ecx
mov dword [ebp - 0x1c], 5
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x28], 2
mov edi, 1
movzx edx, byte [edi + 0x566083]
cmp byte [edx + esi + 0x37], 0
je 0x4a2a9b
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 + 0x5660b4]
sar eax, 2
or byte [edx + esi + 0x70], al
movzx edx, byte [edi + 0x566084]
cmp byte [edx + esi + 0x37], 0
je 0x4a2aca
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 + 0x5660b8]
sar eax, 2
or byte [edx + esi + 0x70], al
mov edx, dword [ebp - 0x28]
movzx eax, byte [edx + 0x566084]
cmp byte [eax + esi + 0x37], 0
je 0x4a2afc
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 + 0x5660bc]
sar eax, 2
or byte [edx + esi + 0x70], al
mov edx, dword [ebp - 0x20]
movzx eax, byte [edx + 0x566084]
cmp byte [eax + esi + 0x37], 0
je 0x4a2b2e
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 + 0x5660c0]
sar eax, 2
or byte [edx + esi + 0x70], al
mov edx, dword [ebp - 0x18]
movzx eax, byte [edx + 0x566084]
cmp byte [eax + esi + 0x37], 0
je 0x4a2b60
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 + 0x5660c4]
sar eax, 2
or byte [edx + esi + 0x70], al
mov edx, dword [ebp - 0x1c]
movzx eax, byte [edx + 0x566084]
cmp byte [eax + esi + 0x37], 0
je 0x4a2b92
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 + 0x5660c8]
sar eax, 2
or byte [edx + esi + 0x70], al
mov eax, 6
add dword [ebp - 0x28], eax
add dword [ebp - 0x20], eax
add dword [ebp - 0x18], eax
add dword [ebp - 0x1c], eax
add edi, eax
add ecx, eax
cmp edi, 0x31
jl 0x4a2a6c
movzx ecx, byte [esi + 0x70]
movzx edx, byte [esi + 0x72]
movzx eax, byte [esi + 0x74]
mov edi, dword [ebp - 0x24]
shl ecx, 8
or ecx, edx
movzx edx, byte [esi + 0x76]
shl ecx, 8
or ecx, eax
mov eax, dword [edi + 0x8c]
shl ecx, 8
or ecx, edx
mov edx, dword [ebp - 0x14]
mov dword [eax + edx*8], ecx
movzx ecx, byte [esi + 0x71]
movzx eax, byte [esi + 0x73]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x75]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x77]
shl ecx, 8
or ecx, eax
mov eax, dword [edi + 0x8c]
mov dword [eax + edx*8 + 4], ecx
inc edx
mov dword [ebp - 0x14], edx
cmp edx, 0x10
jl 0x4a2981
cmp dword [ebp + 8], 1
jne 0x4a2c60
xor ecx, ecx
mov eax, 0x7c
mov edx, dword [edi + 0x8c]
mov ebx, dword [ecx + edx]
mov dword [ebp - 0x24], ebx
mov ebx, dword [eax + edx - 4]
mov dword [ecx + edx], ebx
mov ebx, dword [ebp - 0x24]
mov dword [eax + edx - 4], ebx
mov edx, dword [edi + 0x8c]
mov ebx, dword [ecx + edx + 4]
mov dword [ebp - 0x24], ebx
mov ebx, dword [eax + edx]
mov dword [ecx + edx + 4], ebx
mov ebx, dword [ebp - 0x24]
mov dword [eax + edx], ebx
sub eax, 8
add ecx, 8
cmp eax, 0x3c
jg 0x4a2c21
xor al, al
mov edi, esi
mov ecx, 0x78
push esi
rep stosb byte es:[edi], al
call fcn.004adeb0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00480264
mov esp, ebp
pop ebp
ret 8