Function at 0x52a990
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x747ad5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
mov eax, ecx
push esi
mov dword [ebp - 0x14], eax
lea esi, [eax + 0x20]
push esi
mov dword [ebp - 0x18], esi
call fcn.006eefbe
add esp, 4
test eax, eax
jne 0x52ad62
push edi
mov edx, dword [ebp + 8]
mov ecx, edx
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0xf
lea edi, [ecx + 1]
mov byte [ebp - 0x38], al
mov al, byte [ecx]
inc ecx
test al, al
jne 0x52a9e4
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x38]
call fcn.00486af0
cmp dword [ebp - 0x24], 0x10
lea edi, [ebp - 0x38]
mov byte [ebp - 4], 1
mov edx, 0x811c9dc5
cmovae edi, dword [ebp - 0x38]
xor ecx, ecx
cmp dword [ebp - 0x28], ecx
jbe 0x52aa24
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x28]
jb 0x52aa12
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x38]
push edx
push eax
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.00489ef0
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
test eax, eax
jne 0x52aa47
mov eax, dword [edi + 4]
mov dword [ebp + 8], eax
push 0x48
call fcn.00516cd0
mov edi, eax
mov dword [ebp - 0x10], eax
add esp, 4
test edi, edi
je 0x52aac2
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [edi + 4], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xf
mov byte [edi + 4], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x38], eax
mov dword [edi], vtable.FLog::ValueGetSet_struct_FLog::Channel_.0
mov dword [edi + 0x3c], ecx
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], ecx
jmp 0x52aac7
xor edi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp + 0xc], edi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 2
cmp eax, dword [ecx + 4]
je 0x52abf7
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
test al, al
je 0x52ab20
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x50]
mov eax, dword [edi]
push edx
mov ecx, dword [ecx + 0x20]
mov edi, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
push ecx
mov ecx, dword [ebp - 0x10]
push 0x7f
push eax
call edi
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.00484b50
mov edi, dword [ebp - 0x10]
mov eax, dword [edi]
lea edx, [ebp - 0x50]
push edx
mov edi, dword [eax + 0xc]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov ecx, dword [ebp - 0x10]
push eax
mov byte [ebp - 4], 4
call edi
mov edx, dword [ebp - 0x3c]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x52ab78
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x52ab6e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52ad68
push edx
push ecx
call fcn.00516d60
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov edi, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x10], eax
cmp eax, ecx
je 0x52abb5
mov esi, eax
nop dword [eax]
mov eax, dword [edi]
mov ecx, edi
push 0x7f
push esi
call dword [eax + 0x10]
add esi, 0x18
cmp esi, dword [ebp + 0x14]
jne 0x52aba0
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x10], eax
cmp eax, ecx
je 0x52abe8
mov esi, eax
mov eax, dword [edi]
mov ecx, edi
push 0x7f
push esi
call dword [eax + 0x14]
add esi, 0x18
cmp esi, dword [ebp + 0x14]
jne 0x52abd3
mov esi, dword [ebp - 0x18]
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp + 8]
push eax
call fcn.0052a500
cmp dword [ebp - 0x24], 0x10
lea ecx, [ebp - 0x38]
mov eax, dword [ebp - 0x28]
cmovae ecx, dword [ebp - 0x38]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp + 8], eax
mov dword [ebp + 0x10], ecx
cmp eax, 0x10
jae 0x52ac38
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 0xf
movups xmmword [ebp - 0x54], xmm0
jmp 0x52acaa
or eax, 0xf
mov ecx, bind
cmp eax, ecx
cmova eax, ecx
mov dword [ebp + 0x14], eax
inc eax
cmp eax, 0x1000
jb 0x52ac77
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x52ad6d
push ecx
call fcn.00516cd0
add esp, 4
test eax, eax
je 0x52ad72
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x52ac8a
test eax, eax
je 0x52ac88
push eax
call fcn.00516cd0
add esp, 4
mov ecx, eax
jmp 0x52ac8a
xor ecx, ecx
mov eax, dword [ebp + 8]
inc eax
mov dword [ebp - 0x54], ecx
push eax
push dword [ebp + 0x10]
push ecx
call fcn.00704c30
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov dword [ebp + 0xc], 0
mov dword [ebp - 0x3c], edi
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 5
push eax
call fcn.0052c200
mov ecx, dword [ebp - 0x3c]
pop edi
test ecx, ecx
je 0x52acd6
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x52ad06
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x52acfc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52ad72
push edx
push ecx
call fcn.00516d60
add esp, 8
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x52ad36
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x52ad2c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52ad72
push edx
push ecx
call fcn.00516d60
add esp, 8
push esi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.006ef019
mov ecx, dword [ebp - 0xc]
add esp, 4
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10
push eax
call fcn.006ef37a
call fcn.0070f5b4
call fcn.00486850
call fcn.0070f5b4
int3