Function at 0x517f40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x73651d
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.006de95e
add esp, 4
test eax, eax
jne 0x51834f
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 0x517f94
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x38]
call fcn.0047e790
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 0x517fd4
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [ebp - 0x28]
jb 0x517fc2
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x38]
push edx
push eax
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.00481980
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
test eax, eax
jne 0x517ff7
mov eax, dword [edi + 4]
mov dword [ebp + 8], eax
push 0x48
call fcn.00503d60
mov edi, eax
mov dword [ebp - 0x10], eax
add esp, 4
test edi, edi
je 0x518072
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_class_FFlag::Value_.0
mov dword [edi + 0x3c], ecx
mov al, byte [ecx]
mov byte [edi + 0x40], al
mov eax, dword [ecx + 4]
mov dword [edi + 0x44], eax
jmp 0x518077
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 0x5181e4
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
test al, al
je 0x51810d
mov eax, dword [ebp + 8]
push 0
push 0x8e7c48
push 0x8e7c28
push 0
push dword [eax + 0x20]
call fcn.006f5511
mov ecx, eax
add esp, 0x14
mov eax, dword [edi]
add eax, 8
mov dword [ebp + 0x10], eax
test ecx, ecx
je 0x5180de
mov eax, dword [ecx + 0x3c]
movzx eax, byte [eax]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00518e70
add esp, 8
mov byte [ebp - 4], 3
jmp 0x5180f3
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x50]
push edx
mov ecx, dword [eax + 0x20]
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
push ecx
push 0x7f
push eax
mov eax, dword [ebp + 0x10]
mov ecx, edi
call dword [eax]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.0047c810
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], 5
call edi
mov edx, dword [ebp - 0x3c]
mov byte [ebp - 4], 2
cmp edx, 0x10
jb 0x518165
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x51815b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x518355
push edx
push ecx
call fcn.00503df0
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 0x51819b
mov esi, 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 0x518186
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 0x5181d5
mov esi, eax
nop dword [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 0x5181c0
mov esi, dword [ebp - 0x18]
push dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp + 8]
push eax
call fcn.00516e90
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 0x518225
movups xmm0, xmmword [ecx]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 0xf
movups xmmword [ebp - 0x54], xmm0
jmp 0x518297
or eax, 0xf
mov ecx, bind
cmp eax, ecx
cmova eax, ecx
mov dword [ebp + 0x14], eax
inc eax
cmp eax, 0x1000
jb 0x518264
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x51835a
push ecx
call fcn.00503d60
add esp, 4
test eax, eax
je 0x51835f
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x518277
test eax, eax
je 0x518275
push eax
call fcn.00503d60
add esp, 4
mov ecx, eax
jmp 0x518277
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.006f45d0
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], 6
push eax
call fcn.00519200
mov ecx, dword [ebp - 0x3c]
pop edi
test ecx, ecx
je 0x5182c3
mov eax, dword [ecx]
push 1
call dword [eax]
mov edx, dword [ebp - 0x40]
cmp edx, 0x10
jb 0x5182f3
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5182e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51835f
push edx
push ecx
call fcn.00503df0
add esp, 8
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x518323
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x518319
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x51835f
push edx
push ecx
call fcn.00503df0
add esp, 8
push esi
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0xf
mov byte [ebp - 0x38], 0
call fcn.006de9b9
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.006ded1a
call fcn.006fee64
call fcn.0047e4c0
call fcn.006fee64
int3