Function at 0x5baa10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a8f1c
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x82f184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd8], ecx
mov edi, dword [ebp + 8]
mov ecx, edi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xdc], edi
mov dword [ebp - 0xd4], eax
call fcn.007728f0
test al, al
je 0x5bae90
xor esi, esi
mov ecx, edi
mov dword [ebp - 0xd0], esi
call fcn.00773590
test eax, eax
je 0x5bae90
nop dword [eax + eax]
xorps xmm0, xmm0
mov ecx, edi
push esi
movups xmmword [ebp - 0x30], xmm0
movq qword [ebp - 0x20], xmm0
call fcn.00771570
push eax
lea ecx, [ebp - 0x30]
call fcn.00770aa0
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0
call fcn.00772ad0
test al, al
jne 0x5baac4
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.007711e0
jmp 0x5bae7a
xor eax, eax
mov dword [ebp - 0xc8], 0xded7d8d6
mov ecx, 4
mov byte [ebp - 0xc4], 0xbc
mov dword [ebp - 0xcc], ecx
mov word [ebp - 0xc3], ax
mov byte [ebp - 0xc1], al
nop
lea ecx, [eax - 0x48]
xor byte [ebp + eax - 0xc8], cl
inc eax
mov ecx, dword [ebp - 0xcc]
cmp eax, ecx
jb 0x5baaf0
lea eax, [ebp - 0xc8]
mov byte [ebp + ecx - 0xc8], 0
push eax
lea ecx, [ebp - 0x30]
call fcn.00771500
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, eax
call fcn.007721f0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x98], 0
jne 0x5bab56
lea ecx, [ebp - 0xa8]
call fcn.00404490
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.007711e0
jmp 0x5bae7a
push 0x7d7a28
lea ecx, [ebp - 0x30]
call fcn.00771500
lea ecx, [ebp - 0x90]
push ecx
mov ecx, eax
call fcn.007721f0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x80], 0
jne 0x5bab88
lea ecx, [ebp - 0x90]
call fcn.00404490
jmp 0x5bab37
xorps xmm0, xmm0
push 0xc4
movlpd qword [ebp - 0x18], xmm0
call fcn.0076d2e3
mov esi, eax
mov dword [ebp - 0xe0], esi
push 0xc4
push 0
push esi
mov byte [ebp - 4], 3
call sub.VCRUNTIME140.dll_memset
mov edi, dword [ebp - 0xd4]
lea eax, [ebp - 0x90]
add esp, 0x10
mov ecx, esi
push 3
push eax
lea eax, [ebp - 0xa8]
push eax
push dword [edi]
call fcn.005d43f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
push dword [ebp - 0xe0]
mov dword [ebp - 0x18], 0
push eax
mov dword [ebp - 0x14], 0
call fcn.005862a0
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x18]
mov al, byte [edi + 4]
mov byte [esi + 0xa0], al
mov al, byte [edi + 5]
mov edi, dword [ebp - 0xd8]
mov byte [esi + 0xa8], al
mov ecx, dword [edi + 8]
cmp dword [edi + 0xc], ecx
je 0x5bac40
mov eax, dword [ebp - 0x14]
mov dword [ecx], 0
mov dword [ecx + 4], 0
test eax, eax
je 0x5bac35
lock inc dword [eax + 4]
mov dword [ecx], esi
mov dword [ecx + 4], eax
add dword [edi + 8], 8
jmp 0x5bac50
lea eax, [ebp - 0x18]
push eax
push ecx
lea ecx, [edi + 4]
call fcn.0059f490
mov esi, dword [ebp - 0x18]
mov eax, dword [edi + 0x44]
lea ecx, [ebp - 0x78]
add eax, 0x9c
add esi, 0x88
push eax
call fcn.00404120
push 0x7cd374
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.00408060
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 6
push ecx
mov edx, eax
lea ecx, [ebp - 0xf8]
call fcn.00413520
add esp, 0x10
push eax
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.00406920
lea ecx, [ebp - 0xf8]
call fcn.00404490
lea ecx, [ebp - 0x110]
call fcn.00404490
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 4
call fcn.00404490
xorps xmm0, xmm0
lea ecx, [ebp - 0x30]
push 0x7d82ec
movups xmmword [ebp - 0x60], xmm0
movq qword [ebp - 0x50], xmm0
call fcn.00771500
push eax
lea ecx, [ebp - 0x60]
call fcn.00770aa0
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 8
call fcn.007728f0
test al, al
je 0x5bad62
lea ecx, [ebp - 0x60]
xor edi, edi
call fcn.00773590
test eax, eax
je 0x5bad62
nop dword [eax]
push edi
lea ecx, [ebp - 0x60]
call fcn.007713b0
lea ecx, [ebp - 0x78]
push ecx
mov ecx, eax
call fcn.007721f0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x78]
mov eax, dword [esi + 4]
push ecx
cmp dword [esi + 8], eax
je 0x5bad41
mov ecx, eax
call fcn.00404120
add dword [esi + 4], 0x18
jmp 0x5bad49
push eax
mov ecx, esi
call fcn.00404950
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 8
call fcn.00404490
lea ecx, [ebp - 0x60]
inc edi
call fcn.00773590
cmp edi, eax
jb 0x5bad10
xorps xmm0, xmm0
lea ecx, [ebp - 0x30]
push 0x7d861c
movups xmmword [ebp - 0x48], xmm0
movq qword [ebp - 0x38], xmm0
call fcn.00771500
push eax
lea ecx, [ebp - 0x48]
call fcn.00770aa0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xa
call fcn.007728f0
test al, al
je 0x5bae0d
lea ecx, [ebp - 0x48]
xor edi, edi
call fcn.00773590
test eax, eax
je 0x5bae0d
mov esi, dword [ebp - 0x18]
push edi
lea ecx, [ebp - 0x48]
call fcn.007713b0
lea ecx, [ebp - 0xc0]
push ecx
mov ecx, eax
call fcn.007721f0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xc0]
mov eax, dword [esi + 0x98]
push ecx
cmp dword [esi + 0x9c], eax
je 0x5bade5
mov ecx, eax
call fcn.00404120
add dword [esi + 0x98], 0x18
jmp 0x5badf1
push eax
lea ecx, [esi + 0x94]
call fcn.00404950
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xa
call fcn.00404490
lea ecx, [ebp - 0x48]
inc edi
call fcn.00773590
cmp edi, eax
jb 0x5bada5
lea ecx, [ebp - 0x48]
call fcn.007711e0
lea ecx, [ebp - 0x60]
call fcn.007711e0
mov byte [ebp - 4], 0xc
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x5bae49
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x5bae49
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x5bae49
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x90]
call fcn.00404490
lea ecx, [ebp - 0xa8]
call fcn.00404490
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.007711e0
mov esi, dword [ebp - 0xd0]
mov edi, dword [ebp - 0xdc]
inc esi
mov ecx, edi
mov dword [ebp - 0xd0], esi
call fcn.00773590
cmp esi, eax
jb 0x5baa80
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.0076d59e
mov esp, ebp
pop ebp
ret 8