Function at 0x503350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x745ba6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe4
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x38], esi
call fcn.004cf2d0
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x34], 0x75cfea
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
push 0
lea eax, [ebp - 0x10]
mov byte [ebp - 0x10], 0x3d
push 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.00519560
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
cmp eax, 0xffffffff
jne 0x5033d2
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x84], ecx
jmp 0x503441
lea edx, [eax + 1]
mov edi, dword [ebp - 0x2c]
cmp esi, edx
mov dword [ebp - 0x14], 0xffffffff
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], edi
cmovb edx, esi
mov dword [ebp - 0x8c], edi
cmp edx, 0xffffffff
mov dword [ebp - 0x1c], edx
lea ecx, [ebp - 0x14]
cmovae ecx, eax
lea eax, [ebp - 0x28]
cmp esi, dword [ecx]
cmovae eax, ecx
lea ecx, [ebp - 0x14]
mov eax, dword [eax]
sub eax, edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], eax
add edx, edi
mov eax, dword [ebp - 0x3c]
test eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
cmove ecx, eax
mov dword [ebp - 0x84], edx
lea eax, [ebp - 0x28]
cmp esi, dword [ecx]
cmovae eax, ecx
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x80], ecx
movups xmm0, xmmword [ebp - 0x8c]
movups xmmword [ebp - 0x34], xmm0
test ecx, ecx
je 0x5038b9
push 0
lea eax, [ebp - 0x10]
mov byte [ebp - 0x10], 0x2c
push 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.00519560
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
jne 0x503498
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
jmp 0x503507
mov esi, dword [ebp - 0x28]
lea edx, [eax + 1]
cmp esi, edx
mov dword [ebp - 0x20], 0xffffffff
lea eax, [ebp - 0x14]
cmovb edx, esi
lea ecx, [ebp - 0x20]
cmp edx, 0xffffffff
mov dword [ebp - 0x14], edx
cmovae ecx, eax
lea eax, [ebp - 0x28]
cmp esi, dword [ecx]
cmovae eax, ecx
lea ecx, [ebp - 0x20]
mov edi, dword [eax]
mov eax, dword [ebp - 0x2c]
sub edi, edx
add edx, eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
cmove ecx, eax
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x94], edx
mov dword [ebp - 0x90], edi
cmp esi, dword [ecx]
mov esi, dword [ebp - 0x44]
cmovae eax, ecx
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
movups xmm0, xmmword [ebp - 0x9c]
movups xmmword [ebp - 0x34], xmm0
test eax, eax
je 0x503544
push dword [ebp - 0x24]
lea ecx, [ebp - 0x7c]
push eax
call fcn.00486af0
mov dword [ebp - 0x64], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
test esi, esi
je 0x503574
push dword [ebp - 0x3c]
lea ecx, [ebp - 0x64]
push esi
call fcn.00486af0
movq xmm0, qword [ebp - 0x6c]
mov eax, 0xf
movups xmm1, xmmword [ebp - 0x7c]
mov dword [ebp - 0x6c], 0
movq qword [ebp - 0xc8], xmm0
movups xmm0, xmmword [ebp - 0x64]
mov dword [ebp - 0x68], eax
movups xmmword [ebp - 0xd8], xmm1
mov byte [ebp - 0x7c], 0
movups xmmword [ebp - 0xf0], xmm0
mov byte [ebp - 0x64], 0
movups xmmword [ebp - 0xc0], xmm0
movq xmm0, qword [ebp - 0x54]
movq qword [ebp - 0x40], xmm0
movq qword [ebp - 0xb0], xmm0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0xc4]
lea esi, [ebp - 0xd8]
mov edx, dword [ebp - 0xc8]
cmp eax, 0x10
mov dword [ebp - 0x1c], eax
mov edi, 0x811c9dc5
movd eax, xmm1
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], edx
cmovae esi, eax
mov dword [ebp - 0x14], eax
xor ecx, ecx
test edx, edx
je 0x503616
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, edx
jb 0x503605
mov esi, dword [ebp - 0x38]
lea eax, [ebp - 0xd8]
push edi
push eax
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.00489ef0
cmp dword [ebp - 0x48], 0
jne 0x503833
cmp dword [esi + 8], 0x4924924
je 0x5038d5
lea eax, [esi + 4]
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa8], eax
push 0x38
mov byte [ebp - 4], 3
mov dword [ebp - 0xa4], 0
call fcn.00516cd0
mov esi, eax
lea ecx, [ebp - 0xd8]
mov eax, dword [ebp - 0x18]
add esp, 4
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - 0xa4], esi
cmovae ecx, dword [ebp - 0x14]
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 0x44], ecx
cmp eax, 0x10
jae 0x5036ae
movups xmm0, xmmword [ecx]
mov ecx, 0xf
movups xmmword [esi + 8], xmm0
jmp 0x503724
mov ecx, eax
mov edx, bind
or ecx, 0xf
cmp ecx, 0x7fffffff
cmova ecx, edx
mov dword [ebp - 0x20], ecx
inc ecx
cmp ecx, 0x1000
jb 0x5036f7
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x5038d0
push eax
call fcn.00516cd0
add esp, 4
test eax, eax
je 0x5038cb
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
mov eax, dword [ebp - 0x18]
jmp 0x50370d
test ecx, ecx
je 0x50370b
push ecx
call fcn.00516cd0
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x50370d
xor ecx, ecx
inc eax
mov dword [esi + 8], ecx
push eax
push dword [ebp - 0x44]
push ecx
call fcn.00704c30
mov eax, dword [ebp - 0x18]
add esp, 0xc
mov ecx, dword [ebp - 0x20]
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], ecx
movups xmm0, xmmword [ebp - 0xf0]
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
movups xmmword [esi + 0x20], xmm0
mov dword [ebp - 0xb0], 0
movq xmm0, qword [ebp - 0x40]
movq qword [esi + 0x30], xmm0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
mov edx, dword [ebp - 0x38]
mov byte [ebp - 4], 4
mov eax, dword [edx + 8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x75f520]
mov eax, dword [edx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x75f520]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [edx]
seta al
test al, al
je 0x5037df
mov ecx, edx
call fcn.004ce530
mov ecx, dword [ebp - 0x38]
lea eax, [esi + 8]
push edi
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.00489ef0
mov edx, dword [ebp - 0x38]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], eax
jmp 0x5037e2
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ecx + 4]
inc dword [edx + 8]
mov dword [esi + 4], eax
mov dword [esi], ecx
mov dword [eax], esi
mov dword [ecx + 4], esi
mov dword [ebp - 0x24], eax
mov eax, dword [edx + 0x18]
and eax, edi
mov dword [ebp - 0x3c], ecx
mov ecx, dword [edx + 0xc]
mov edi, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], 0
mov edx, dword [ecx + eax*8]
cmp edx, dword [edi]
jne 0x50381c
mov dword [ecx + eax*8], esi
jmp 0x50382f
cmp edx, dword [ebp - 0x3c]
jne 0x503826
mov dword [ecx + eax*8], esi
jmp 0x503833
mov edx, dword [ebp - 0x24]
cmp dword [ecx + eax*8 + 4], edx
jne 0x503833
mov dword [ecx + eax*8 + 4], esi
mov edx, dword [ebp - 0xac]
mov byte [ebp - 4], 1
cmp edx, 0x10
jb 0x50386d
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x503863
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5038cb
push edx
push ecx
call fcn.00516d60
add esp, 8
mov eax, dword [ebp - 0x1c]
cmp eax, 0x10
jb 0x50389f
mov ecx, dword [ebp - 0x14]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x503895
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5038cb
push edx
push ecx
call fcn.00516d60
add esp, 8
cmp dword [ebp - 0x28], 0
mov edx, 0xf
mov byte [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
jne 0x503394
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
call fcn.0070f5b4
call fcn.00486850
push str.unordered_map_set_too_long
call fcn.006ee17a
int3