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

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [edx + 1]
push ebx
push esi
movzx esi, byte [edx]
mov dword [ebp - 4], ecx
movzx ecx, byte [edx + 4]
shl esi, 8
or esi, eax
shl ecx, 8
movzx eax, byte [edx + 2]
shl esi, 8
or esi, eax
movzx eax, byte [edx + 3]
shl esi, 8
or esi, eax
movzx eax, byte [edx + 5]
or ecx, eax
movzx eax, byte [edx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 8
or ecx, eax
mov eax, esi
shr eax, 4
xor eax, ecx
and eax, 0xf0f0f0f
xor ecx, eax
shl eax, 4
xor esi, eax
mov eax, esi
shr eax, 0x10
xor eax, ecx
movzx eax, ax
xor ecx, eax
shl eax, 0x10
xor esi, eax
mov eax, ecx
shr eax, 2
xor eax, esi
and eax, 0x33333333
xor esi, eax
shl eax, 2
xor ecx, eax
mov ebx, ecx
shr ebx, 8
xor ebx, esi
and ebx, 0xff00ff
xor esi, ebx
shl ebx, 8
xor ebx, ecx
push edi
rol ebx, 1
mov edi, ebx
xor edi, esi
and edi, 0xaaaaaaaa
xor ebx, edi
xor edi, esi
mov esi, dword [ebp - 4]
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 + 0x5c2c00]
xor ecx, dword [eax*4 + 0x5c3080]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5c2d80]
xor ecx, dword [edx*4 + 0x5c2e80]
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 + 0x5c2b00]
xor ecx, dword [eax*4 + 0x5c3180]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5c2a00]
xor ecx, dword [edx*4 + 0x5c2f80]
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 + 0x5c2c00]
xor ecx, dword [eax*4 + 0x5c3080]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5c2d80]
xor ecx, dword [edx*4 + 0x5c2e80]
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 + 0x5c2b00]
xor ecx, dword [eax*4 + 0x5c3180]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5c2a00]
xor ecx, dword [edx*4 + 0x5c2f80]
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 + 0x5c2c00]
xor ecx, dword [eax*4 + 0x5c3080]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5c2d80]
xor ecx, dword [edx*4 + 0x5c2e80]
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 + 0x5c2b00]
xor ecx, dword [eax*4 + 0x5c3180]
mov eax, edx
shr eax, 8
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5c2a00]
and edx, 0x3f
xor ecx, dword [edx*4 + 0x5c2f80]
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 + 0x5c2c00]
xor ecx, dword [eax*4 + 0x5c3080]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5c2d80]
xor ecx, dword [edx*4 + 0x5c2e80]
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 + 0x5c2b00]
xor ecx, dword [eax*4 + 0x5c3180]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5c2a00]
xor ecx, dword [edx*4 + 0x5c2f80]
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 + 0x5c2c00]
xor ecx, dword [eax*4 + 0x5c3080]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5c2d80]
xor ecx, dword [edx*4 + 0x5c2e80]
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 + 0x5c2b00]
xor ecx, dword [eax*4 + 0x5c3180]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5c2a00]
xor ecx, dword [edx*4 + 0x5c2f80]
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 + 0x5c2c00]
xor ecx, dword [eax*4 + 0x5c3080]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5c2d80]
xor ecx, dword [edx*4 + 0x5c2e80]
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 + 0x5c2b00]
xor ecx, dword [eax*4 + 0x5c3180]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5c2a00]
xor ecx, dword [edx*4 + 0x5c2f80]
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 + 0x5c2c00]
xor ecx, dword [eax*4 + 0x5c3080]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5c2d80]
xor ecx, dword [edx*4 + 0x5c2e80]
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 + 0x5c2b00]
xor ecx, dword [eax*4 + 0x5c3180]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5c2a00]
xor ecx, dword [edx*4 + 0x5c2f80]
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 + 0x5c2c00]
xor ecx, dword [eax*4 + 0x5c3080]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5c2d80]
xor ecx, dword [edx*4 + 0x5c2e80]
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 + 0x5c2b00]
xor ecx, dword [eax*4 + 0x5c3180]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5c2a00]
xor ecx, dword [edx*4 + 0x5c2f80]
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 + 0x5c2c00]
xor ecx, dword [eax*4 + 0x5c3080]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5c2d80]
xor ecx, dword [edx*4 + 0x5c2e80]
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 + 0x5c2b00]
xor ecx, dword [eax*4 + 0x5c3180]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5c2a00]
xor ecx, dword [edx*4 + 0x5c2f80]
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 + 0x5c2c00]
xor ecx, dword [eax*4 + 0x5c3080]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5c2d80]
xor ecx, dword [edx*4 + 0x5c2e80]
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 + 0x5c2b00]
xor ecx, dword [eax*4 + 0x5c3180]
mov eax, edx
shr eax, 8
and eax, 0x3f
and edx, 0x3f
xor ecx, dword [eax*4 + 0x5c2a00]
xor ecx, dword [edx*4 + 0x5c2f80]
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 + 0x5c2c00]
xor ecx, dword [eax*4 + 0x5c3080]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5c2d80]
xor ecx, dword [edx*4 + 0x5c2e80]
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 + 0x5c2b00]
xor ecx, dword [eax*4 + 0x5c3180]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5c2a00]
xor ecx, dword [edx*4 + 0x5c2f80]
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 + 0x5c2c00]
xor ecx, dword [eax*4 + 0x5c3080]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5c2d80]
xor ecx, dword [edx*4 + 0x5c2e80]
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 + 0x5c2b00]
xor ecx, dword [eax*4 + 0x5c3180]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5c2a00]
xor ecx, dword [edx*4 + 0x5c2f80]
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 + 0x5c2c00]
shr eax, 0x10
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5c3080]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5c2d80]
xor ecx, dword [edx*4 + 0x5c2e80]
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 + 0x5c2b00]
xor ecx, dword [eax*4 + 0x5c3180]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5c2a00]
xor ecx, dword [edx*4 + 0x5c2f80]
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 + 0x5c2c00]
xor ecx, dword [eax*4 + 0x5c3080]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5c2d80]
xor ecx, dword [edx*4 + 0x5c2e80]
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 + 0x5c2b00]
xor ecx, dword [eax*4 + 0x5c3180]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5c2a00]
xor ecx, dword [edx*4 + 0x5c2f80]
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 + 0x5c2c00]
xor ecx, dword [eax*4 + 0x5c3080]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5c2d80]
xor ecx, dword [edx*4 + 0x5c2e80]
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 + 0x5c2b00]
xor ecx, dword [eax*4 + 0x5c3180]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5c2a00]
xor ecx, dword [edx*4 + 0x5c2f80]
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 + 0x5c2c00]
xor ecx, dword [eax*4 + 0x5c3080]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5c2d80]
xor ecx, dword [edx*4 + 0x5c2e80]
mov edx, edi
xor ebx, ecx
ror edx, 4
xor edx, dword [esi + 0x7c]
mov ecx, edx
mov dword [ebp - 4], ebx
mov eax, edx
shr ecx, 0x18
shr eax, 0x10
and ecx, 0x3f
and eax, 0x3f
mov ebx, dword [ecx*4 + 0x5c2b00]
xor ebx, dword [eax*4 + 0x5c3180]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ebx, dword [eax*4 + 0x5c2a00]
xor ebx, dword [edx*4 + 0x5c2f80]
xor ebx, dword [ebp - 4]
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 + 8]
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
mov esp, ebp
pop ebp
ret