Function at 0x469010
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a198f
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x62700c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x18], esi
mov ebx, ecx
mov dword [ebp - 0x34], ebx
push 0xc
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.0045afb5
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 0
test ebx, ebx
je 0x469116
mov eax, dword [ebx + 8]
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [eax + 4]
add ecx, 8
add ecx, ebx
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x46909c
lea edx, [ebp - 0x3c]
push edx
push esi
push eax
call fcn.00467850
jmp 0x4691ca
movzx eax, word [esi + 4]
mov ecx, eax
cmp eax, 0x10
jae 0x4691ca
movzx eax, word [esi + 2]
push ecx
mov ecx, dword [0x631ba0]
push eax
movzx eax, word [esi]
push eax
call fcn.00518420
mov edi, eax
test edi, edi
jne 0x4690f0
push 0x24
call fcn.0045afb5
add esp, 4
mov dword [ebp - 0x2c], eax
movzx ecx, word [esi + 4]
push ecx
movzx ecx, word [esi + 2]
push ecx
movzx ecx, word [esi]
push ecx
mov ecx, eax
call fcn.0040e1e0
mov edi, eax
push edi
call fcn.0040e560
cmp dword [ebp - 0x38], 0x15555555
mov esi, dword [ebp - 0x3c]
jne 0x469107
push str.list_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 1
jmp 0x4691a2
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x46912d
lea eax, [ebp - 0x3c]
push eax
push esi
push esi
call fcn.00467850
jmp 0x4691ca
movzx eax, word [esi + 4]
mov ecx, eax
cmp eax, 0x10
jae 0x4691ca
movzx eax, word [esi + 2]
push ecx
mov ecx, dword [0x631ba0]
push eax
movzx eax, word [esi]
push eax
call fcn.00518420
mov edi, eax
test edi, edi
jne 0x469181
push 0x24
call fcn.0045afb5
add esp, 4
mov dword [ebp - 0x2c], eax
movzx ecx, word [esi + 4]
push ecx
movzx ecx, word [esi + 2]
push ecx
movzx ecx, word [esi]
push ecx
mov ecx, eax
call fcn.0040e1e0
mov edi, eax
push edi
call fcn.0040e560
cmp dword [ebp - 0x38], 0x15555555
mov esi, dword [ebp - 0x3c]
jne 0x469198
push str.list_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 2
push 0xc
mov dword [ebp - 0x2c], 0
call fcn.0045afb5
mov byte [ebp - 4], 0
add esp, 4
mov dword [eax + 8], edi
inc dword [ebp - 0x38]
mov ecx, dword [esi + 4]
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [esi + 4], eax
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
test eax, eax
je 0x46925d
cmp byte [edi + 4], 0
jne 0x46925d
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
cmp ecx, eax
je 0x469257
movss xmm1, dword [0x6012d8]
mov esi, ecx
movss xmm0, dword [0x6012dc]
cmovge esi, eax
call fcn.0058cfe0
movss xmm2, dword [0x6012e8]
lea ecx, [ebp - 0x14]
xorps xmm1, xmm1
movss dword [ebp - 0x1c], xmm0
comiss xmm0, xmm1
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0x3f800000
cmovbe eax, ecx
lea ecx, [ebp - 0x20]
comiss xmm2, dword [eax]
cmova ecx, eax
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x2c]
cmovle eax, dword [ebp - 0x2c]
sub eax, esi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ecx]
cvttss2si eax, xmm0
add eax, esi
mov ecx, dword [ebp + 0x14]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov esi, dword [eax]
cmp esi, eax
je 0x4692d6
mov edi, dword [ebp - 0x18]
xor ebx, ebx
nop dword [eax]
mov ecx, dword [esi + 8]
lea edx, [ebp - 0x2e]
push edx
mov eax, dword [ecx]
call dword [eax + 0x10]
movzx ecx, word [edi]
movzx eax, word [eax]
sub eax, ecx
mov ecx, dword [esi + 8]
cdq
xor eax, edx
sub eax, edx
lea edx, [ebp - 0x28]
cmp eax, ebx
push edx
cmova ebx, eax
mov eax, dword [ecx]
call dword [eax + 0x10]
movzx ecx, word [edi + 2]
movzx eax, word [eax + 2]
sub eax, ecx
mov ecx, dword [ebp - 0x14]
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
cmova ecx, eax
mov eax, dword [esi]
mov esi, eax
mov dword [ebp - 0x14], ecx
cmp eax, dword [ebp - 0x3c]
jne 0x469280
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x34]
push 0xc
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
call fcn.0045afb5
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
add eax, 0xb
push eax
push eax
add ecx, 0xb
lea eax, [ebp - 0x44]
push ecx
push ecx
mov ecx, dword [0x631ba0]
push 1
push 0
push dword [ebp - 0x18]
push eax
call fcn.00517cd0
mov eax, dword [ebp - 0x3c]
mov esi, dword [eax]
mov dword [ebp - 0x1c], esi
cmp esi, eax
je 0x46946f
mov edx, dword [esi + 8]
mov dword [ebp - 0x14], edx
test edx, edx
je 0x469461
movzx eax, byte [edi + 6]
mov ecx, ebx
push eax
call fcn.0046a7c0
add esp, 4
cmp eax, 1
jne 0x469461
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 0xd], al
mov eax, dword [ecx + 0x14]
shr eax, 0x1d
test al, 1
lea eax, [ecx + 0x30]
jne 0x46936c
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x469452
mov esi, dword [eax]
mov edi, dword [eax + 4]
nop dword [eax]
cmp esi, edi
je 0x46944c
mov eax, dword [ebp + 0xc]
cmp byte [eax + 3], 0
je 0x4693bf
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
jne 0x4693b9
mov eax, dword [esi]
mov ecx, dword [eax + 0x2b4]
test ecx, ecx
je 0x46943c
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x46943c
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 0xc]
cmp byte [eax + 2], 0
je 0x4693ff
test ebx, ebx
je 0x4693ea
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 4]
add ecx, 8
add ecx, ebx
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [ebp - 0x14]
cmp eax, ecx
jne 0x4693ea
cmp dword [esi], ebx
jne 0x4693f9
mov byte [ebp - 0xd], 0
jmp 0x4693ff
call fcn.0058c890
cmp dword [esi], eax
jne 0x4693f9
mov byte [ebp - 0xd], 0
jmp 0x4693ff
cmp byte [ebp - 0xd], 0
jne 0x46943c
mov edx, dword [ebp + 0xc]
cmp byte [edx + 6], 0
je 0x46941d
mov edx, dword [esi]
cmp ebx, edx
je 0x46943c
mov ecx, ebx
call fcn.0046a4d0
cmp eax, 1
jne 0x46943c
mov edx, dword [ebp + 0xc]
push dword [ebp + 0x14]
push edx
push dword [esi]
push ebx
call dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
add esp, 0x10
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x46943c
push dword [esi]
push ebx
call fcn.00467d90
mov ecx, dword [ebp - 0x14]
add esi, 4
cmp byte [ebp - 0xd], 0
jne 0x469380
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp + 0xc]
push edi
push ecx
mov edx, ebx
lea ecx, [ebp - 0x44]
call fcn.00469610
add esp, 8
mov esi, dword [esi]
mov dword [ebp - 0x1c], esi
cmp esi, dword [ebp - 0x3c]
jne 0x469330
test ebx, ebx
je 0x4694a2
mov edx, dword [edi + 0x28]
cmp edx, 0xff
je 0x4694a2
mov eax, dword [ebx + 8]
push edx
push dword [ebp - 0x18]
lea edx, [ebp - 0x2e]
mov ecx, dword [eax + 4]
add ecx, 8
add ecx, ebx
push edx
mov eax, dword [ecx]
call dword [eax + 0x14]
mov edx, eax
mov ecx, ebx
call fcn.00469520
add esp, 8
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov eax, dword [ecx]
test eax, eax
je 0x4694c7
mov esi, dword [eax]
push 0xc
push eax
call fcn.0045b34b
add esp, 8
mov eax, esi
test esi, esi
jne 0x4694b4
push 0xc
push dword [ebp - 0x44]
call fcn.0045b34b
mov ecx, dword [ebp - 0x3c]
add esp, 8
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov eax, dword [ecx]
test eax, eax
je 0x4694f9
mov esi, dword [eax]
push 0xc
push eax
call fcn.0045b34b
add esp, 8
mov eax, esi
test esi, esi
jne 0x4694e6
push 0xc
push dword [ebp - 0x3c]
call fcn.0045b34b
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret