Function at 0x543130
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
mov dword [ebp - 8], ecx
push ebx
mov ecx, dword [ebp + 0xc]
push esi
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
mov ebx, ecx
push edi
mov esi, edx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
sub edx, eax
and ecx, 3
mov ebx, eax
rep movsb byte es:[edi], byte [esi]
mov ecx, 8
xor esi, esi
sub ecx, eax
mov dword [ebp + 0x14], esi
mov dword [ebp + 8], ebx
mov dword [ebp + 0x10], edx
mov dword [ebp - 0x18], ecx
jmp 0x54317c
mov edx, dword [ebp + 0x10]
xor esi, esi
add edx, ebx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
mov esi, 0x40
mov eax, dword [edx]
mov dword [ebp - 0x28], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x24], ecx
xor ecx, ecx
mov dl, byte [ecx + 0x73eec4]
dec dl
mov byte [ebp - 4], dl
mov eax, dword [ebp - 4]
and eax, 0xff
mov edx, eax
and eax, 7
shr edx, 3
mov dl, byte [ebp + edx - 0x28]
test byte [eax + 0x73eebc], dl
je 0x5431d3
mov eax, ecx
mov edx, ecx
shr eax, 3
and edx, 7
lea eax, [ebp + eax - 0x30]
mov dl, byte [edx + 0x73eebc]
or byte [eax], dl
inc ecx
dec esi
jne 0x543196
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], ecx
xor ecx, ecx
mov edx, dword [eax + 0x78]
mov eax, dword [eax + 0x7c]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov edi, 0x30
mov dl, byte [ecx + 0x73efbc]
add dl, 0x1f
mov byte [ebp - 0xc], dl
mov eax, dword [ebp - 0xc]
and eax, 0xff
mov edx, eax
and eax, 7
shr edx, 3
mov dl, byte [ebp + edx - 0x28]
test byte [eax + 0x73eebc], dl
je 0x543252
mov eax, 0x2aaaaaab
mov ebx, 6
imul ecx
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
lea esi, [ebp + edx - 0x20]
cdq
idiv ebx
mov al, byte [esi]
mov ebx, dword [ebp + 8]
mov dl, byte [edx + 0x73eebc]
or al, dl
mov byte [esi], al
inc ecx
dec edi
jne 0x5431ff
xor eax, eax
mov ecx, 8
mov dl, byte [ebp + eax - 0x48]
xor byte [ebp + eax - 0x20], dl
inc eax
dec ecx
jne 0x54325d
xor eax, eax
xor ecx, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
mov edi, 8
mov edx, eax
and edx, 0x80000001
jns 0x543287
dec edx
or edx, 0xfffffffe
inc edx
jne 0x5432a6
xor edx, edx
mov esi, eax
mov dl, byte [ebp + eax - 0x20]
shr edx, 2
mov dl, byte [edx + ecx + 0x73f00c]
shl dl, 4
shr esi, 1
mov byte [ebp + esi - 0x38], dl
jmp 0x5432c0
mov edx, eax
shr edx, 1
lea esi, [ebp + edx - 0x38]
xor edx, edx
mov dl, byte [ebp + eax - 0x20]
shr edx, 2
mov dl, byte [edx + ecx + 0x73f00c]
add byte [esi], dl
inc eax
add ecx, 0x40
dec edi
jne 0x543278
xor ecx, ecx
xor esi, esi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], esi
mov edi, 0x20
mov al, byte [ecx + 0x73efec]
dec al
mov byte [ebp - 0x10], al
mov eax, dword [ebp - 0x10]
and eax, 0xff
mov edx, eax
and eax, 7
shr edx, 3
mov dl, byte [ebp + edx - 0x38]
test byte [eax + 0x73eebc], dl
je 0x543316
mov eax, ecx
mov edx, ecx
shr eax, 3
and edx, 7
lea eax, [ebp + eax - 0x20]
mov dl, byte [edx + 0x73eebc]
or byte [eax], dl
mov esi, dword [ebp - 0x20]
inc ecx
dec edi
jne 0x5432d6
mov eax, dword [ebp - 0x30]
xor esi, eax
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], ecx
mov esi, 0x40
mov dl, byte [ecx + 0x73ef04]
dec dl
mov byte [ebp - 0x14], dl
mov eax, dword [ebp - 0x14]
and eax, 0xff
mov edx, eax
and eax, 7
shr edx, 3
mov dl, byte [ebp + edx - 0x28]
test byte [eax + 0x73eebc], dl
je 0x543372
mov eax, ecx
mov edx, ecx
shr eax, 3
and edx, 7
lea eax, [ebp + eax - 0x40]
mov dl, byte [edx + 0x73eebc]
or byte [eax], dl
inc ecx
dec esi
jne 0x543335
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov eax, ebx
mov dword [eax], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x18]
add eax, ebx
cmp eax, ecx
jge 0x5433a5
mov eax, dword [ebp + 0x14]
add ebx, 8
inc eax
mov dword [ebp + 8], ebx
cmp eax, 0x14
mov dword [ebp + 0x14], eax
jl 0x543177
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10