Function at 0x5102c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
mov dword [ebp - 0x54], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x20]
mov dword [ebp - 0x28], edx
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x20]
mov dword [ebp - 0x30], edx
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x28]
mov dword [ebp - 0x38], edx
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x30]
mov dword [ebp - 0x40], edx
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
shrd eax, edx, 0xe
shr edx, 0xe
push edx
push eax
mov edx, dword [ebp - 0x28]
shl edx, 0x12
xor eax, eax
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
shrd eax, edx, 0x12
shr edx, 0x12
push edx
push eax
mov edx, dword [ebp - 0x28]
shl edx, 0xe
xor eax, eax
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [ebp - 0x24]
shr eax, 9
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x24]
shld edx, eax, 0x17
shl eax, 0x17
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0x38]
adc edx, dword [ecx + 0x3c]
push edx
push eax
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
and eax, dword [ebp - 0x38]
and edx, dword [ebp - 0x34]
push edx
push eax
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
not eax
not edx
and eax, dword [ebp - 0x40]
and edx, dword [ebp - 0x3c]
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov ecx, dword [ebp - 0x1c]
add eax, dword [ecx*8 + 0x54aea8]
adc edx, dword [ecx*8 + 0x54aeac]
mov ecx, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x1c]
add eax, dword [ecx + ebx*8]
adc edx, dword [ecx + ebx*8 + 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov dword [ebp - 0x48], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x50], edx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [eax]
shrd eax, edx, 0x1c
shr edx, 0x1c
push edx
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
shl edx, 4
xor eax, eax
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
shr eax, 2
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [eax]
shld edx, eax, 0x1e
shl eax, 0x1e
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
shr eax, 7
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [eax]
shld edx, eax, 0x19
shl eax, 0x19
or eax, dword [esp]
or edx, dword [esp + 4]
add esp, 8
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [eax]
and eax, dword [ebp - 0x48]
and edx, dword [ebp - 0x44]
push edx
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [eax]
and eax, dword [ebp - 0x50]
and edx, dword [ebp - 0x4c]
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
push edx
push eax
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
and eax, dword [ebp - 0x50]
and edx, dword [ebp - 0x4c]
xor eax, dword [esp]
xor edx, dword [esp + 4]
add esp, 8
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x30]
mov dword [eax + 0x38], ecx
mov ecx, dword [edx + 0x34]
mov dword [eax + 0x3c], ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x28]
mov dword [eax + 0x30], ecx
mov ecx, dword [edx + 0x2c]
mov dword [eax + 0x34], ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x20]
mov dword [eax + 0x28], ecx
mov ecx, dword [edx + 0x24]
mov dword [eax + 0x2c], ecx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x18]
add eax, dword [ebp - 0x10]
adc edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x10]
mov dword [eax + 0x18], ecx
mov ecx, dword [edx + 0x14]
mov dword [eax + 0x1c], ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 8]
mov dword [eax + 0x10], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0x14], ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
add eax, dword [ebp - 0x18]
adc edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ecx + 4], edx
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 0x50
jne 0x5102da
pop ebx
mov esp, ebp
pop ebp
ret