Function at 0x51a070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x736680
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push esi
mov dword [ebp - 0x54], 0
push edi
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0xd], 0
mov byte [ebp - 0xe], 0
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0xf
mov byte [ebp - 0x54], 0
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 0x10
mov edi, dword [esi + 0x10]
jb 0x51a0ca
mov esi, dword [esi]
cmp dword [0x8e0fa8], 0x10
mov edx, 0x8e0f94
mov eax, dword [0x8e0fa4]
cmovae edx, dword [0x8e0f94]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], edi
cmp edi, eax
jb 0x51a123
mov ecx, edi
sub ecx, eax
push eax
push edx
mov dword [ebp + 8], ecx
lea eax, [esi + ecx]
push eax
call fcn.0048d620
add esp, 0xc
test eax, eax
jne 0x51a123
mov eax, dword [0x8e0fa4]
xor ecx, ecx
cmp edi, dword [ebp + 8]
mov dword [ebp - 0x2c], esi
cmovb eax, ecx
mov byte [ebp - 0xd], 1
sub edi, eax
mov dword [ebp - 0x28], edi
jmp 0x51a1b2
cmp dword [0x8e0f78], 0x10
mov ecx, 0x8e0f64
mov edx, dword [0x8e0f74]
cmovae ecx, dword [0x8e0f64]
cmp edi, edx
jb 0x51a16e
mov eax, edi
sub eax, edx
push edx
mov dword [ebp + 8], eax
add eax, esi
push ecx
push eax
call fcn.0048d620
add esp, 0xc
test eax, eax
jne 0x51a16e
mov eax, dword [ebp + 8]
cmp edi, eax
mov dword [ebp - 0x2c], esi
cmovb eax, edi
mov byte [ebp - 0xe], 1
mov edi, eax
mov dword [ebp - 0x28], edi
jmp 0x51a1b2
mov ecx, dword [0x8e0f8c]
sub esp, 8
cmp dword [0x8e0f90], 0x10
mov edx, esp
mov eax, 0x8e0f7c
cmovae eax, dword [0x8e0f7c]
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x2c]
mov dword [edx], eax
call fcn.004ee260
mov ecx, dword [ebp - 0x14]
test al, al
mov edi, dword [ebp - 0x28]
mov edx, 1
mov esi, dword [ebp - 0x2c]
movzx ecx, cl
cmovne ecx, edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
test esi, esi
je 0x51a1d5
push edi
push esi
lea ecx, [ebp - 0x6c]
call fcn.0047e790
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x51a209
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51a1ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51a6f4
push edx
push ecx
call fcn.00503df0
add esp, 8
movups xmm1, xmmword [ebp - 0x6c]
lea esi, [ebp - 0x54]
mov byte [ebp - 0x6c], 0
movq xmm0, qword [ebp - 0x5c]
mov edx, 0x811c9dc5
movq qword [ebp - 0x44], xmm0
cmp dword [ebp - 0x40], 0x10
mov edi, dword [ebp - 0x44]
movd eax, xmm1
movups xmmword [ebp - 0x54], xmm1
mov dword [ebp - 0x5c], 0
cmovae esi, eax
mov dword [ebp - 0x58], 0xf
xor ecx, ecx
test edi, edi
je 0x51a261
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x51a250
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x54]
push edx
push eax
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
call fcn.00481980
mov esi, dword [eax + 4]
test esi, esi
jne 0x51a27e
mov esi, dword [edi + 4]
mov dh, byte [0xa82632]
mov eax, dword [str.FastLogValueChanged]
mov ecx, dword [0x8e0f14]
mov dl, byte [0x8e0c40]
mov dword [ebp - 0x30], eax
test dh, dh
je 0x51a2b4
test dl, dl
je 0x51a2b4
test cl, cl
je 0x51a2f7
cmp cl, 6
jb 0x51a2f7
mov eax, ecx
shr eax, 8
cmp al, 3
jb 0x51a2f2
jmp 0x51a2b8
test cl, cl
je 0x51a2f7
mov dword [ebp + 8], 0x18cc728
lea ecx, [ebp - 0x54]
mov eax, dword [ebp + 8]
push ecx
sub eax, 0x114b37c
push eax
push dword [0x8e0f18]
push dword [0x8e0f14]
call fcn.00505440
mov ecx, dword [0x8e0f14]
add esp, 0x10
mov dl, byte [0x8e0c40]
mov dh, byte [0xa82632]
mov eax, dword [str.FastLogValueChanged]
cmp esi, dword [edi + 4]
mov edi, dword [ebp + 0xc]
jne 0x51a516
mov dword [ebp - 0x1c], eax
test dh, dh
je 0x51a321
test dl, dl
je 0x51a321
test cl, cl
je 0x51a34a
cmp cl, 6
jb 0x51a34a
shr ecx, 8
cmp cl, 3
jb 0x51a34a
jmp 0x51a325
test cl, cl
je 0x51a34a
mov dword [ebp + 8], 0x18dc53c
mov eax, dword [ebp + 8]
push edi
sub eax, 0x115b160
push eax
push dword [0x8e0f18]
push dword [0x8e0f14]
call fcn.00505440
add esp, 0x10
push 0x70
call fcn.00503d60
mov ecx, eax
mov dword [ebp + 0xc], eax
add esp, 4
test ecx, ecx
je 0x51a3ee
mov eax, dword [ebp + 0x10]
mov dword [ecx + 4], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0xf
mov byte [ecx + 4], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x38], eax
mov dword [ecx], vtable.FLog::UnregisteredValueGetSet.0
mov dword [ecx + 0x3c], 0
mov dword [ecx + 0x4c], 0
mov dword [ecx + 0x50], 0xf
mov byte [ecx + 0x3c], 0
mov dword [ecx + 0x54], 0
mov dword [ecx + 0x64], 0
mov dword [ecx + 0x68], 0xf
mov byte [ecx + 0x54], 0
mov byte [ecx + 0x6c], 0
jmp 0x51a3f3
xor ecx, ecx
mov dword [ebp + 0xc], ecx
mov dword [ebp + 0x14], 0
mov dword [ebp - 0x24], ecx
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 1
call fcn.00518900
cmp dword [ebp - 0x40], 0x10
lea eax, [ebp - 0x54]
mov ecx, dword [ebp - 0x44]
cmovae eax, dword [ebp - 0x54]
mov dword [ebp + 8], ecx
mov dword [ebp - 0x1c], eax
cmp ecx, 0x10
jae 0x51a438
movups xmm0, xmmword [eax]
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], 0xf
movups xmmword [ebp - 0x88], xmm0
jmp 0x51a476
mov esi, ecx
mov eax, bind
or esi, 0xf
lea ecx, [ebp - 0x88]
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.0047e6a0
mov ecx, dword [ebp + 8]
inc ecx
mov dword [ebp - 0x88], eax
push ecx
push dword [ebp - 0x1c]
push eax
call fcn.006f45d0
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], esi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 2
push eax
call fcn.00519200
mov ecx, dword [ebp - 0x70]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x51a4ab
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [ebp - 0x74]
cmp edx, 0x10
jb 0x51a4e2
mov ecx, dword [ebp - 0x88]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51a4d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51a6f4
push edx
push ecx
call fcn.00503df0
add esp, 8
mov esi, dword [ebp - 0x34]
mov ecx, dword [0x8e0f14]
mov dl, byte [0x8e0c40]
mov dh, byte [0xa82632]
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0xf
mov byte [ebp - 0x88], 0
mov byte [ebp + 0xb], 0
mov byte [ebp - 4], 0
jmp 0x51a51a
mov byte [ebp + 0xb], 1
cmp byte [ebp - 0xd], 0
je 0x51a57c
test dh, dh
je 0x51a53b
test dl, dl
je 0x51a53b
test cl, cl
je 0x51a56e
cmp cl, 6
jb 0x51a56e
shr ecx, 8
cmp cl, 3
jb 0x51a56e
jmp 0x51a53f
test cl, cl
je 0x51a56e
mov dword [ebp + 0x18], 0x191fc7d
mov ecx, edi
mov eax, dword [ebp + 0x18]
sub eax, 0x119e869
cmp dword [edi + 0x14], 0x10
jb 0x51a558
mov ecx, dword [edi]
push ecx
push eax
push dword [0x8e0f18]
push dword [0x8e0f14]
call fcn.005052c0
add esp, 0x10
mov ecx, dword [esi + 0x20]
push edi
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x51a6af
cmp byte [ebp - 0xe], 0
je 0x51a5e1
test dh, dh
je 0x51a59d
test dl, dl
je 0x51a59d
test cl, cl
je 0x51a5d0
cmp cl, 6
jb 0x51a5d0
shr ecx, 8
cmp cl, 3
jb 0x51a5d0
jmp 0x51a5a1
test cl, cl
je 0x51a5d0
mov dword [ebp + 0x18], 0x1933a12
mov ecx, edi
mov eax, dword [ebp + 0x18]
sub eax, 0x11b25c6
cmp dword [edi + 0x14], 0x10
jb 0x51a5ba
mov ecx, dword [edi]
push ecx
push eax
push dword [0x8e0f18]
push dword [0x8e0f14]
call fcn.005052c0
add esp, 0x10
mov ecx, dword [esi + 0x20]
push dword [ebp + 0x10]
push edi
mov eax, dword [ecx]
call dword [eax + 0x10]
jmp 0x51a6af
cmp byte [ebp - 0x14], 0
je 0x51a643
test dh, dh
je 0x51a602
test dl, dl
je 0x51a602
test cl, cl
je 0x51a635
cmp cl, 6
jb 0x51a635
shr ecx, 8
cmp cl, 3
jb 0x51a635
jmp 0x51a606
test cl, cl
je 0x51a635
mov dword [ebp + 0x18], 0x19477ab
mov ecx, edi
mov eax, dword [ebp + 0x18]
sub eax, 0x11c6323
cmp dword [edi + 0x14], 0x10
jb 0x51a61f
mov ecx, dword [edi]
push ecx
push eax
push dword [0x8e0f18]
push dword [0x8e0f14]
call fcn.005052c0
add esp, 0x10
mov ecx, dword [esi + 0x20]
push dword [ebp + 0x10]
push edi
mov eax, dword [ecx]
call dword [eax + 0x14]
jmp 0x51a6af
test dh, dh
je 0x51a65e
test dl, dl
je 0x51a65e
test cl, cl
je 0x51a691
cmp cl, 6
jb 0x51a691
shr ecx, 8
cmp cl, 3
jb 0x51a691
jmp 0x51a662
test cl, cl
je 0x51a691
mov dword [ebp + 0xc], 0x195b548
mov ecx, edi
mov eax, dword [ebp + 0xc]
sub eax, 0x11da080
cmp dword [edi + 0x14], 0x10
jb 0x51a67b
mov ecx, dword [edi]
push ecx
push eax
push dword [0x8e0f18]
push dword [0x8e0f14]
call fcn.005052c0
add esp, 0x10
mov ecx, dword [esi + 0x20]
lea edx, [ebp - 0x54]
push edx
push dword [ebp + 0x10]
mov eax, dword [ecx]
push edi
call dword [eax + 8]
cmp byte [ebp + 0x18], 0
je 0x51a6af
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x51a6df
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51a6d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51a6f4
push edx
push ecx
call fcn.00503df0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp + 0xb]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0x18
call fcn.006fee64
int3