Function at 0x514900
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 eax, dword [ebp + 8]
mov ebx, edx
shr ebx, 8
xor ebx, esi
and ebx, 0xff00ff
xor esi, ebx
shl ebx, 8
xor ebx, edx
mov edx, dword [eax]
rol ebx, 1
mov edi, ebx
xor edi, esi
and edi, 0xaaaaaaaa
xor ebx, edi
xor edi, esi
xor edx, ebx
rol edi, 1
lea esi, [eax + 4]
mov ecx, edx
shr ecx, 0x18
mov eax, edx
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5d0bd0]
xor ecx, dword [eax*4 + 0x5d0dd0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0fd0]
xor ecx, dword [edx*4 + 0x5d11d0]
mov edx, ebx
ror edx, 4
xor edi, ecx
xor edx, dword [esi]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5d0ad0]
xor ecx, dword [eax*4 + 0x5d0cd0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0ed0]
xor ecx, dword [edx*4 + 0x5d10d0]
mov edx, dword [esi + 4]
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 + 0x5d0bd0]
xor ecx, dword [eax*4 + 0x5d0dd0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0fd0]
xor ecx, dword [edx*4 + 0x5d11d0]
mov edx, edi
xor ebx, ecx
ror edx, 4
xor edx, dword [esi + 8]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5d0ad0]
xor ecx, dword [eax*4 + 0x5d0cd0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0ed0]
xor ecx, dword [edx*4 + 0x5d10d0]
mov edx, dword [esi + 0xc]
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 + 0x5d0bd0]
xor ecx, dword [eax*4 + 0x5d0dd0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0fd0]
xor ecx, dword [edx*4 + 0x5d11d0]
mov edx, ebx
xor edi, ecx
ror edx, 4
xor edx, dword [esi + 0x10]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
shr eax, 0x10
and ecx, 0x3f
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5d0ad0]
xor ecx, dword [eax*4 + 0x5d0cd0]
mov eax, edx
shr eax, 8
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0ed0]
and edx, 0x3f
xor ecx, dword [edx*4 + 0x5d10d0]
xor edi, ecx
mov edx, dword [esi + 0x14]
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 + 0x5d0bd0]
xor ecx, dword [eax*4 + 0x5d0dd0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0fd0]
xor ecx, dword [edx*4 + 0x5d11d0]
mov edx, edi
xor ebx, ecx
ror edx, 4
xor edx, dword [esi + 0x18]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5d0ad0]
xor ecx, dword [eax*4 + 0x5d0cd0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0ed0]
xor ecx, dword [edx*4 + 0x5d10d0]
mov edx, dword [esi + 0x1c]
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 + 0x5d0bd0]
xor ecx, dword [eax*4 + 0x5d0dd0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0fd0]
xor ecx, dword [edx*4 + 0x5d11d0]
mov edx, ebx
xor edi, ecx
ror edx, 4
xor edx, dword [esi + 0x20]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5d0ad0]
xor ecx, dword [eax*4 + 0x5d0cd0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0ed0]
xor ecx, dword [edx*4 + 0x5d10d0]
mov edx, dword [esi + 0x24]
xor edi, ecx
xor edx, edi
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
mov ecx, dword [ecx*4 + 0x5d0bd0]
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0dd0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0fd0]
xor ecx, dword [edx*4 + 0x5d11d0]
mov edx, edi
xor ebx, ecx
ror edx, 4
xor edx, dword [esi + 0x28]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5d0ad0]
xor ecx, dword [eax*4 + 0x5d0cd0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0ed0]
xor ecx, dword [edx*4 + 0x5d10d0]
mov edx, dword [esi + 0x2c]
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 + 0x5d0bd0]
xor ecx, dword [eax*4 + 0x5d0dd0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0fd0]
xor ecx, dword [edx*4 + 0x5d11d0]
mov edx, ebx
xor edi, ecx
ror edx, 4
xor edx, dword [esi + 0x30]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5d0ad0]
xor ecx, dword [eax*4 + 0x5d0cd0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0ed0]
xor ecx, dword [edx*4 + 0x5d10d0]
mov edx, dword [esi + 0x34]
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 + 0x5d0bd0]
xor ecx, dword [eax*4 + 0x5d0dd0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0fd0]
xor ecx, dword [edx*4 + 0x5d11d0]
mov edx, edi
xor ebx, ecx
ror edx, 4
xor edx, dword [esi + 0x38]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5d0ad0]
xor ecx, dword [eax*4 + 0x5d0cd0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0ed0]
xor ecx, dword [edx*4 + 0x5d10d0]
mov edx, dword [esi + 0x3c]
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 + 0x5d0bd0]
xor ecx, dword [eax*4 + 0x5d0dd0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0fd0]
xor ecx, dword [edx*4 + 0x5d11d0]
mov edx, ebx
xor edi, ecx
ror edx, 4
xor edx, dword [esi + 0x40]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5d0ad0]
xor ecx, dword [eax*4 + 0x5d0cd0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0ed0]
xor ecx, dword [edx*4 + 0x5d10d0]
mov edx, dword [esi + 0x44]
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 + 0x5d0bd0]
xor ecx, dword [eax*4 + 0x5d0dd0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0fd0]
xor ecx, dword [edx*4 + 0x5d11d0]
mov edx, edi
xor ebx, ecx
ror edx, 4
xor edx, dword [esi + 0x48]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
shr eax, 0x10
and ecx, 0x3f
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5d0ad0]
xor ecx, dword [eax*4 + 0x5d0cd0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0ed0]
xor ecx, dword [edx*4 + 0x5d10d0]
xor ebx, ecx
mov edx, dword [esi + 0x4c]
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 + 0x5d0bd0]
xor ecx, dword [eax*4 + 0x5d0dd0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0fd0]
xor ecx, dword [edx*4 + 0x5d11d0]
mov edx, ebx
xor edi, ecx
ror edx, 4
xor edx, dword [esi + 0x50]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5d0ad0]
xor ecx, dword [eax*4 + 0x5d0cd0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0ed0]
xor ecx, dword [edx*4 + 0x5d10d0]
mov edx, dword [esi + 0x54]
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 + 0x5d0bd0]
xor ecx, dword [eax*4 + 0x5d0dd0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0fd0]
xor ecx, dword [edx*4 + 0x5d11d0]
mov edx, edi
xor ebx, ecx
ror edx, 4
xor edx, dword [esi + 0x58]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5d0ad0]
xor ecx, dword [eax*4 + 0x5d0cd0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0ed0]
xor ecx, dword [edx*4 + 0x5d10d0]
mov edx, dword [esi + 0x5c]
xor ebx, ecx
xor edx, ebx
mov ecx, edx
shr ecx, 0x18
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x5d0bd0]
mov eax, edx
shr eax, 0x10
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0dd0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0fd0]
xor ecx, dword [edx*4 + 0x5d11d0]
mov edx, ebx
xor edi, ecx
ror edx, 4
xor edx, dword [esi + 0x60]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5d0ad0]
xor ecx, dword [eax*4 + 0x5d0cd0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0ed0]
xor ecx, dword [edx*4 + 0x5d10d0]
mov edx, dword [esi + 0x64]
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 + 0x5d0bd0]
xor ecx, dword [eax*4 + 0x5d0dd0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0fd0]
xor ecx, dword [edx*4 + 0x5d11d0]
mov edx, edi
xor ebx, ecx
ror edx, 4
xor edx, dword [esi + 0x68]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5d0ad0]
xor ecx, dword [eax*4 + 0x5d0cd0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0ed0]
xor ecx, dword [edx*4 + 0x5d10d0]
mov edx, dword [esi + 0x6c]
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 + 0x5d0bd0]
xor ecx, dword [eax*4 + 0x5d0dd0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0fd0]
xor ecx, dword [edx*4 + 0x5d11d0]
xor edi, ecx
mov edx, ebx
ror edx, 4
xor edx, dword [esi + 0x70]
mov ecx, edx
mov eax, edx
shr eax, 0x10
and eax, 0x3f
shr ecx, 0x18
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x5d0ad0]
xor ecx, dword [eax*4 + 0x5d0cd0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0ed0]
xor ecx, dword [edx*4 + 0x5d10d0]
mov edx, dword [esi + 0x74]
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 + 0x5d0bd0]
xor ecx, dword [eax*4 + 0x5d0dd0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0fd0]
xor ecx, dword [edx*4 + 0x5d11d0]
mov edx, edi
ror edx, 4
xor ebx, ecx
xor edx, dword [esi + 0x78]
mov ecx, edx
mov eax, edx
shr eax, 0x10
and eax, 0x3f
shr ecx, 0x18
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x5d0ad0]
xor ecx, dword [eax*4 + 0x5d0cd0]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
xor ecx, dword [eax*4 + 0x5d0ed0]
xor ecx, dword [edx*4 + 0x5d10d0]
xor ebx, ecx
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
xor eax, eax
pop ebx
pop ebp
ret