Function at 0x5baeb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a900c
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
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 eax, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0x74], 0
mov dword [ebp - 0xb4], eax
movq qword [eax], xmm0
mov dword [eax + 8], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ecx + 0x44]
lea ecx, [ebp - 0x70]
add eax, 0x9c
mov dword [ebp - 0x74], 1
push eax
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
call fcn.00404120
mov edi, 5
mov dword [ebp - 0x74], edi
mov dword [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 7
mov word [ebp - 0xe0], ax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0xe0]
call fcn.00403b80
push 1
lea edx, [ebp - 0xe0]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call fcn.00417030
add esp, 4
lea ecx, [ebp - 0xc8]
call fcn.00404220
lea ecx, [ebp - 0xe0]
call fcn.00404490
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 7
call fcn.00404490
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xb0], esi
mov dword [ebp - 0xb8], eax
cmp esi, eax
je 0x5bb3b6
xorps xmm0, xmm0
mov dword [ebp - 0xac], edi
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x20], 0
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x30], xmm0
call fcn.00404120
lea eax, [esi + 0x18]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x28]
call fcn.00403f00
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x58]
call fcn.00404120
or edi, 8
mov dword [ebp - 0x74], edi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xa
push eax
call fcn.004182a0
add esp, 4
test al, al
jne 0x5bb1e2
push 3
xor eax, eax
mov dword [ebp - 0x98], 0
push 0x7d8828
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
call fcn.004044f0
lea edx, [ebp - 0xa8]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xfc]
call fcn.0041d4e0
mov esi, eax
lea eax, [ebp - 0x58]
cmp eax, esi
je 0x5bb0bb
mov ecx, eax
call fcn.00404490
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [esi + 0x10]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
movq qword [ebp - 0x48], xmm0
mov word [esi], ax
lea ecx, [ebp - 0xfc]
call fcn.00404490
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xa
call fcn.00404490
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00404120
mov edi, dword [ebp - 0xac]
or edi, 0x18
mov dword [ebp - 0x74], edi
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xa8]
call fcn.00487030
lea ecx, [ebp - 0xa8]
mov byte [ebp - 0x75], al
mov byte [ebp - 4], 0xa
call fcn.00404490
cmp byte [ebp - 0x75], 0
je 0x5bb37f
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.005bbc70
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x60], 0
je 0x5bb377
push 0xc4
call fcn.0076d2e3
mov esi, eax
mov dword [ebp - 0xbc], esi
push 0xc4
push 0
push esi
mov byte [ebp - 4], 0xe
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
lea eax, [ebp - 0xfc]
lea ecx, [ebp - 0x40]
push eax
call fcn.00403640
push 2
push 3
push eax
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 0xf
or edi, 2
mov ecx, esi
push eax
mov dword [ebp - 0x74], edi
call fcn.005d4280
mov dword [ebp - 4], 0x10
lea ecx, [ebp - 0x80]
push dword [ebp - 0xbc]
mov dword [ebp - 0x80], 0
push eax
mov dword [ebp - 0x7c], 0
call fcn.005862a0
mov dword [ebp - 4], 0x11
mov edx, dword [ebp - 0xb4]
mov ecx, dword [edx + 4]
cmp dword [edx + 8], ecx
je 0x5bb324
mov eax, dword [ebp - 0x80]
xor esi, esi
mov dword [ecx], eax
mov eax, dword [ebp - 0x7c]
mov dword [ecx + 4], eax
add dword [edx + 4], 8
mov dword [ebp - 0x80], 0
jmp 0x5bb333
mov esi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x24]
cmp esi, ecx
jne 0x5bb21c
xor eax, eax
mov dword [ebp - 0x98], 0
push eax
push 0x7cd378
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
call fcn.004044f0
jmp 0x5bb244
sub ecx, esi
mov eax, 0x2aaaaaab
imul ecx
lea ecx, [ebp - 0xa8]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*2]
lea eax, [eax - 3]
lea eax, [esi + eax*8]
push eax
call fcn.00404120
mov edi, dword [ebp - 0xac]
mov ecx, 4
or edi, 0x28
mov dword [ebp - 0x90], ecx
mov dword [ebp - 0x8c], 0xcc00cf
xor eax, eax
mov dword [ebp - 0x88], 0xdf00d3
mov dword [ebp - 0x84], 0xbc
nop dword [eax + eax]
lea ecx, [eax + 0xb8]
xor word [ebp + eax*2 - 0x8c], cx
inc eax
mov ecx, dword [ebp - 0x90]
cmp eax, ecx
jb 0x5bb280
xor eax, eax
lea edx, [ebp - 0x8c]
mov word [ebp + ecx*2 - 0x8c], ax
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x5bb2b0
sub edx, ecx
lea eax, [ebp - 0x8c]
sar edx, 1
lea ecx, [ebp - 0xa8]
cmp dword [ebp - 0x94], 8
push edx
cmovae ecx, dword [ebp - 0xa8]
mov edx, dword [ebp - 0x98]
push eax
push 0
call fcn.00408350
add esp, 0xc
lea ecx, [ebp - 0xa8]
mov esi, eax
call fcn.00404490
mov dword [ebp - 0x74], edi
test esi, esi
jne 0x5bb11e
lea ecx, [ebp - 0x58]
call fcn.00404490
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00404220
lea ecx, [ebp - 0x40]
call fcn.00404490
mov dword [ebp - 0x74], edi
jmp 0x5bb39b
lea eax, [ebp - 0x80]
push eax
push ecx
mov ecx, edx
call fcn.005860f0
mov esi, dword [ebp - 0x7c]
mov dword [ebp - 4], 0x12
test esi, esi
je 0x5bb35f
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x5bb35f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x5bb35f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
and edi, 0xfffffffd
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0x74], edi
call fcn.00404490
lea ecx, [ebp - 0x70]
call fcn.00404490
lea ecx, [ebp - 0x58]
call fcn.00404490
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.00404220
lea ecx, [ebp - 0x40]
call fcn.00404490
mov esi, dword [ebp - 0xb0]
add esi, 0x24
mov dword [ebp - 0xb0], esi
cmp esi, dword [ebp - 0xb8]
jne 0x5bafe4
lea ecx, [ebp - 0x1c]
call fcn.0041b0e0
mov eax, dword [ebp - 0xb4]
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 4