Function at 0x419170
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474978
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x495240]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x8c], eax
mov eax, dword [eax]
lea ecx, [ebp - 0x54]
mov edx, dword [ebp + 8]
push 0
push edx
lea edi, [eax + 0x44]
push ecx
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x74], edi
call fcn.00417c50
mov dword [ebp - 0x84], eax
cmp dword [eax + 0x14], 7
mov edx, dword [eax + 0x10]
mov dword [ebp - 4], 0
mov dword [ebp - 0x70], eax
jbe 0x4191dd
mov ecx, dword [eax]
mov dword [ebp - 0x70], ecx
xor ecx, ecx
mov esi, 0x811c9dc5
add edx, edx
je 0x41920a
mov edi, dword [ebp - 0x70]
nop dword [eax + eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x4191f0
mov edi, dword [ebp - 0x74]
mov eax, dword [ebp - 0x84]
push esi
push eax
lea eax, [ebp - 0x78]
mov ecx, edi
push eax
call fcn.00418410
mov eax, dword [ebp - 0x74]
test eax, eax
jne 0x41931a
cmp dword [edi + 8], 0x5d1745d
je 0x4195d6
lea eax, [edi + 4]
mov dword [ebp - 0x80], eax
push 0x2c
mov byte [ebp - 4], 1
mov dword [ebp - 0x7c], 0
call fcn.0046704f
mov dword [ebp - 0x7c], eax
xorps xmm0, xmm0
movups xmmword [eax + 8], xmm0
mov dword [eax + 0x18], 0
xor edx, edx
lea ecx, [eax + 8]
mov eax, dword [ebp - 0x84]
mov dword [ecx + 0x14], 0
add esp, 4
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], dx
mov dword [ecx + 0x18], edx
mov dword [ecx + 0x1c], edx
mov dword [ecx + 0x20], edx
mov eax, dword [edi + 8]
inc eax
mov byte [ebp - 4], 2
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x480de0]
mov eax, dword [edi + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x480de0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [edi]
seta al
test al, al
je 0x419307
mov ecx, edi
call fcn.00419d10
mov eax, dword [ebp - 0x7c]
mov ecx, edi
push esi
add eax, 8
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00418410
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x74], eax
jmp 0x41930a
mov ecx, dword [ebp - 0x78]
push dword [ebp - 0x7c]
push ecx
push esi
mov ecx, edi
call fcn.00419cb0
mov byte [ebp - 4], 0
add eax, 0x20
lea ecx, [ebp - 0x98]
push eax
call fcn.004186e0
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 4], 4
cmp ecx, 7
jbe 0x419367
mov edx, dword [ebp - 0x54]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41935d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4195e0
push ecx
push edx
call fcn.0046707f
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0
xor eax, eax
mov dword [ebp - 0x58], 7
movups xmmword [ebp - 0x6c], xmm0
mov word [ebp - 0x6c], ax
mov esi, dword [ebp - 0x98]
mov edi, dword [ebp - 0x94]
mov byte [ebp - 4], 5
cmp esi, edi
je 0x419524
mov eax, dword [esi]
mov dword [ebp - 0x70], esi
test eax, eax
jns 0x4193bf
neg eax
push eax
lea eax, [ebp - 0x12]
push eax
call fcn.004151a0
add esp, 8
mov ecx, 0x2d
sub eax, 2
mov word [eax], cx
jmp 0x4193cc
push eax
lea eax, [ebp - 0x12]
push eax
call fcn.004151a0
add esp, 8
lea ecx, [ebp - 0x12]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x44], 0
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x54], xmm0
cmp eax, ecx
jne 0x419403
xor ecx, ecx
mov edx, 7
xor eax, eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], edx
mov word [ebp - 0x54], ax
jmp 0x4194ad
lea esi, [ebp - 0x12]
sub esi, eax
sar esi, 1
mov dword [ebp - 0x7c], esi
cmp esi, 0x7ffffffe
ja 0x4195e5
cmp esi, 7
ja 0x419444
mov dword [ebp - 0x44], esi
add esi, esi
push esi
push eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x40], 7
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x54], ax
mov ecx, dword [ebp - 0x44]
jmp 0x4194a7
mov eax, esi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x419457
mov eax, 0x7ffffffe
jmp 0x419462
cmp eax, 0xa
mov ecx, 0xa
cmovb eax, ecx
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.00404480
mov dword [ebp - 0x44], esi
mov edi, eax
mov eax, dword [ebp - 0x84]
add esi, esi
push esi
push dword [ebp - 0x74]
mov dword [ebp - 0x54], edi
push edi
mov dword [ebp - 0x40], eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0x7c]
add esp, 0x14
xor eax, eax
mov word [edi + esi], ax
mov edi, dword [ebp - 0x94]
mov edx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x70]
cmp edx, 7
mov byte [ebp - 4], 6
lea eax, [ebp - 0x54]
cmova eax, dword [ebp - 0x54]
push ecx
push eax
lea ecx, [ebp - 0x6c]
call fcn.0040e740
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 4], 5
cmp ecx, 7
jbe 0x419503
mov edx, dword [ebp - 0x54]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4194f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4195ea
push ecx
push edx
call fcn.0046707f
add esp, 8
add esi, 4
cmp esi, edi
je 0x41951e
push 1
push 0x480d14
lea ecx, [ebp - 0x6c]
call fcn.0040e740
jmp 0x41939a
mov esi, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x34]
call fcn.00437380
mov ecx, dword [ebp - 0x58]
cmp ecx, 7
jbe 0x419572
mov edx, dword [ebp - 0x6c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x419568
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4195ea
push ecx
push edx
call fcn.0046707f
add esp, 8
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
test esi, esi
je 0x4195b9
mov ecx, dword [ebp - 0x90]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4195af
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4195ea
push ecx
push esi
call fcn.0046707f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046708d
mov esp, ebp
pop ebp
ret 4
push str.unordered_map_set_too_long
call fcn.0044ec6c
call fcn.004688f0
call fcn.0040e290
call fcn.004688f0
int3