Function at 0x408aa0
Capabilities:
Encrypt data using des
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push ebx
push esi
push edi
movzx esi, byte [ecx]
movzx eax, byte [ecx + 1]
movzx edx, byte [ecx + 4]
shl esi, 8
or esi, eax
shl edx, 8
movzx eax, byte [ecx + 2]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 3]
shl esi, 8
or esi, eax
movzx eax, byte [ecx + 5]
or edx, eax
movzx eax, byte [ecx + 6]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 7]
shl edx, 8
or edx, eax
mov eax, esi
shr eax, 4
xor eax, edx
and eax, 0xf0f0f0f
xor edx, eax
shl eax, 4
xor esi, eax
mov eax, esi
shr eax, 0x10
xor eax, edx
movzx eax, ax
xor edx, eax
shl eax, 0x10
xor esi, eax
mov eax, edx
shr eax, 2
xor eax, esi
and eax, 0x33333333
xor esi, eax
shl eax, 2
xor edx, eax
mov ebx, edx
shr ebx, 8
xor ebx, esi
and ebx, 0xff00ff
xor esi, ebx
shl ebx, 8
xor ebx, edx
rol ebx, 1
mov edi, ebx
xor edi, esi
and edi, 0xaaaaaaaa
xor ebx, edi
xor edi, esi
mov esi, dword [ebp + 8]
rol edi, 1
mov edx, dword [esi]
xor edx, ebx
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5e8ca8]
xor ecx, dword [eax*4 + 0x5e8ea8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5e90a8]
xor ecx, dword [edx*4 + 0x5e92a8]
mov edx, ebx
xor edi, ecx
ror edx, 4
xor edx, dword [esi + 4]
mov ecx, edx
shr ecx, 0x18
mov eax, edx
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5e8ba8]
xor ecx, dword [eax*4 + 0x5e8da8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5e8fa8]
xor ecx, dword [edx*4 + 0x5e91a8]
mov edx, dword [esi + 8]
xor edi, ecx
xor edx, edi
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5e8ca8]
xor ecx, dword [eax*4 + 0x5e8ea8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5e90a8]
xor ecx, dword [edx*4 + 0x5e92a8]
mov edx, edi
xor ebx, ecx
ror edx, 4
xor edx, dword [esi + 0xc]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5e8ba8]
xor ecx, dword [eax*4 + 0x5e8da8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5e8fa8]
xor ecx, dword [edx*4 + 0x5e91a8]
mov edx, dword [esi + 0x10]
xor ebx, ecx
xor edx, ebx
mov ecx, edx
mov eax, edx
shr ecx, 0x18
shr eax, 0x10
and ecx, 0x3f
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5e8ca8]
xor ecx, dword [eax*4 + 0x5e8ea8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5e90a8]
xor ecx, dword [edx*4 + 0x5e92a8]
mov edx, ebx
xor edi, ecx
ror edx, 4
xor edx, dword [esi + 0x14]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
shr eax, 0x10
and ecx, 0x3f
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5e8ba8]
xor ecx, dword [eax*4 + 0x5e8da8]
mov eax, edx
shr eax, 8
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5e8fa8]
and edx, 0x3f
xor ecx, dword [edx*4 + 0x5e91a8]
xor edi, ecx
mov edx, dword [esi + 0x18]
xor edx, edi
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5e8ca8]
xor ecx, dword [eax*4 + 0x5e8ea8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5e90a8]
xor ecx, dword [edx*4 + 0x5e92a8]
mov edx, edi
xor ebx, ecx
ror edx, 4
xor edx, dword [esi + 0x1c]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5e8ba8]
xor ecx, dword [eax*4 + 0x5e8da8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5e8fa8]
xor ecx, dword [edx*4 + 0x5e91a8]
mov edx, dword [esi + 0x20]
xor ebx, ecx
xor edx, ebx
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5e8ca8]
xor ecx, dword [eax*4 + 0x5e8ea8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5e90a8]
xor ecx, dword [edx*4 + 0x5e92a8]
mov edx, ebx
xor edi, ecx
ror edx, 4
xor edx, dword [esi + 0x24]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5e8ba8]
xor ecx, dword [eax*4 + 0x5e8da8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5e8fa8]
xor ecx, dword [edx*4 + 0x5e91a8]
mov edx, dword [esi + 0x28]
xor edi, ecx
xor edx, edi
mov ecx, edx
mov eax, edx
shr ecx, 0x18
shr eax, 0x10
and ecx, 0x3f
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5e8ca8]
xor ecx, dword [eax*4 + 0x5e8ea8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5e90a8]
xor ecx, dword [edx*4 + 0x5e92a8]
mov edx, edi
xor ebx, ecx
ror edx, 4
xor edx, dword [esi + 0x2c]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5e8ba8]
xor ecx, dword [eax*4 + 0x5e8da8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5e8fa8]
xor ecx, dword [edx*4 + 0x5e91a8]
mov edx, dword [esi + 0x30]
xor ebx, ecx
xor edx, ebx
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5e8ca8]
xor ecx, dword [eax*4 + 0x5e8ea8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5e90a8]
xor ecx, dword [edx*4 + 0x5e92a8]
mov edx, ebx
xor edi, ecx
ror edx, 4
xor edx, dword [esi + 0x34]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5e8ba8]
xor ecx, dword [eax*4 + 0x5e8da8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5e8fa8]
xor ecx, dword [edx*4 + 0x5e91a8]
mov edx, dword [esi + 0x38]
xor edi, ecx
xor edx, edi
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5e8ca8]
xor ecx, dword [eax*4 + 0x5e8ea8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5e90a8]
xor ecx, dword [edx*4 + 0x5e92a8]
mov edx, edi
xor ebx, ecx
ror edx, 4
xor edx, dword [esi + 0x3c]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5e8ba8]
xor ecx, dword [eax*4 + 0x5e8da8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5e8fa8]
xor ecx, dword [edx*4 + 0x5e91a8]
mov edx, dword [esi + 0x40]
xor ebx, ecx
xor edx, ebx
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5e8ca8]
xor ecx, dword [eax*4 + 0x5e8ea8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5e90a8]
xor ecx, dword [edx*4 + 0x5e92a8]
mov edx, ebx
xor edi, ecx
ror edx, 4
xor edx, dword [esi + 0x44]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5e8ba8]
xor ecx, dword [eax*4 + 0x5e8da8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5e8fa8]
xor ecx, dword [edx*4 + 0x5e91a8]
mov edx, dword [esi + 0x48]
xor edi, ecx
xor edx, edi
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5e8ca8]
xor ecx, dword [eax*4 + 0x5e8ea8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5e90a8]
xor ecx, dword [edx*4 + 0x5e92a8]
mov edx, edi
xor ebx, ecx
ror edx, 4
xor edx, dword [esi + 0x4c]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5e8ba8]
xor ecx, dword [eax*4 + 0x5e8da8]
mov eax, edx
shr eax, 8
and eax, 0x3f
and edx, 0x3f
xor ecx, dword [eax*4 + 0x5e8fa8]
xor ecx, dword [edx*4 + 0x5e91a8]
xor ebx, ecx
mov edx, dword [esi + 0x50]
xor edx, ebx
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5e8ca8]
xor ecx, dword [eax*4 + 0x5e8ea8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5e90a8]
xor ecx, dword [edx*4 + 0x5e92a8]
mov edx, ebx
xor edi, ecx
ror edx, 4
xor edx, dword [esi + 0x54]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5e8ba8]
xor ecx, dword [eax*4 + 0x5e8da8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5e8fa8]
xor ecx, dword [edx*4 + 0x5e91a8]
mov edx, dword [esi + 0x58]
xor edi, ecx
xor edx, edi
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5e8ca8]
xor ecx, dword [eax*4 + 0x5e8ea8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5e90a8]
xor ecx, dword [edx*4 + 0x5e92a8]
mov edx, edi
xor ebx, ecx
ror edx, 4
xor edx, dword [esi + 0x5c]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5e8ba8]
xor ecx, dword [eax*4 + 0x5e8da8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5e8fa8]
xor ecx, dword [edx*4 + 0x5e91a8]
mov edx, dword [esi + 0x60]
xor ebx, ecx
xor edx, ebx
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x5e8ca8]
shr eax, 0x10
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5e8ea8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5e90a8]
xor ecx, dword [edx*4 + 0x5e92a8]
mov edx, ebx
xor edi, ecx
ror edx, 4
xor edx, dword [esi + 0x64]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5e8ba8]
xor ecx, dword [eax*4 + 0x5e8da8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5e8fa8]
xor ecx, dword [edx*4 + 0x5e91a8]
mov edx, dword [esi + 0x68]
xor edi, ecx
xor edx, edi
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5e8ca8]
xor ecx, dword [eax*4 + 0x5e8ea8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5e90a8]
xor ecx, dword [edx*4 + 0x5e92a8]
mov edx, edi
xor ebx, ecx
ror edx, 4
xor edx, dword [esi + 0x6c]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5e8ba8]
xor ecx, dword [eax*4 + 0x5e8da8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5e8fa8]
xor ecx, dword [edx*4 + 0x5e91a8]
mov edx, dword [esi + 0x70]
xor ebx, ecx
xor edx, ebx
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5e8ca8]
xor ecx, dword [eax*4 + 0x5e8ea8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5e90a8]
xor ecx, dword [edx*4 + 0x5e92a8]
xor edi, ecx
mov edx, ebx
ror edx, 4
xor edx, dword [esi + 0x74]
mov ecx, edx
mov eax, edx
shr eax, 0x10
and eax, 0x3f
shr ecx, 0x18
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x5e8ba8]
xor ecx, dword [eax*4 + 0x5e8da8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5e8fa8]
xor ecx, dword [edx*4 + 0x5e91a8]
mov edx, dword [esi + 0x78]
xor edi, ecx
xor edx, edi
mov ecx, edx
mov eax, edx
shr eax, 0x10
and eax, 0x3f
shr ecx, 0x18
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x5e8ca8]
xor ecx, dword [eax*4 + 0x5e8ea8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5e90a8]
xor ecx, dword [edx*4 + 0x5e92a8]
mov edx, edi
xor ebx, ecx
ror edx, 4
xor edx, dword [esi + 0x7c]
mov ecx, edx
mov dword [ebp + 0xc], ebx
mov eax, edx
shr ecx, 0x18
shr eax, 0x10
and ecx, 0x3f
and eax, 0x3f
mov ebx, dword [ecx*4 + 0x5e8ba8]
xor ebx, dword [eax*4 + 0x5e8da8]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ebx, dword [eax*4 + 0x5e8fa8]
xor ebx, dword [edx*4 + 0x5e91a8]
xor ebx, dword [ebp + 0xc]
ror ebx, 1
mov edx, ebx
xor edx, edi
and edx, 0xaaaaaaaa
xor ebx, edx
xor edx, edi
ror edx, 1
mov eax, edx
shr eax, 8
xor eax, ebx
and eax, 0xff00ff
xor ebx, eax
shl eax, 8
xor edx, eax
mov eax, edx
shr eax, 2
xor eax, ebx
and eax, 0x33333333
xor ebx, eax
shl eax, 2
xor edx, eax
mov eax, ebx
shr eax, 0x10
xor eax, edx
movzx eax, ax
xor edx, eax
shl eax, 0x10
mov ecx, dword [ebp + 0x10]
xor ebx, eax
mov eax, ebx
shr eax, 4
xor eax, edx
and eax, 0xf0f0f0f
xor edx, eax
shl eax, 4
xor ebx, eax
mov byte [ecx + 7], dl
mov eax, ebx
mov byte [ecx + 3], bl
shr eax, 0x18
mov byte [ecx], al
mov eax, ebx
shr eax, 0x10
mov byte [ecx + 1], al
mov eax, ebx
shr eax, 8
mov byte [ecx + 2], al
mov eax, edx
shr eax, 0x18
mov byte [ecx + 4], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 5], al
mov eax, edx
pop edi
shr eax, 8
pop esi
mov byte [ecx + 6], al
pop ebx
pop ebp
ret