Function at 0x5b5880
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a87e1
mov eax, dword fs:[0]
push eax
sub esp, 0x1c8
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 edx, ecx
mov dword [ebp - 0x1d0], edx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x1c8], eax
mov eax, 0xc
mov dword [ebp - 0x184], eax
mov dword [ebp - 0x180], 0xca00e4
mov dword [ebp - 0x17c], 0xda00df
mov dword [ebp - 0x178], 0xde00ce
mov dword [ebp - 0x174], 0x9100d6
mov dword [ebp - 0x170], 0xb200aa
mov dword [ebp - 0x16c], 0xad00ad
mov dword [ebp - 0x168], 0xc4
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x180], ax
inc ecx
mov eax, dword [ebp - 0x184]
cmp ecx, eax
jb 0x5b5911
xor ecx, ecx
mov word [ebp + eax*2 - 0x180], cx
lea ecx, [ebp - 0x1a0]
mov eax, dword [edx + 0xb8]
add eax, 0x84
push eax
call fcn.00404120
lea eax, [ebp - 0x180]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x1a0]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00408060
add esp, 0xc
lea ecx, [ebp - 0x1a0]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 7
mov word [ebp - 0x188], ax
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x188]
call fcn.00403b80
lea eax, [ebp - 0x188]
mov byte [ebp - 4], 5
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0x161], al
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 2
call fcn.00404220
lea ecx, [ebp - 0x188]
call fcn.00404490
cmp byte [ebp - 0x161], 0
je 0x5b5e36
xor eax, eax
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 7
mov word [ebp - 0x188], ax
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x188]
call fcn.00403b80
lea eax, [ebp - 0x188]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00418020
add esp, 8
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0xa
call fcn.00404220
lea ecx, [ebp - 0x188]
call fcn.00404490
xorps xmm0, xmm0
lea ecx, [ebp - 0x34]
push 0
movups xmmword [ebp - 0x34], xmm0
movq qword [ebp - 0x24], xmm0
call fcn.00770fe0
push 0x74
lea eax, [ebp - 0x160]
mov byte [ebp - 4], 0xb
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x160]
call fcn.00773690
push 1
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x160]
call fcn.00774de0
test al, al
je 0x5b5e1b
lea ecx, [ebp - 0x34]
call fcn.00772ad0
test al, al
je 0x5b5e1b
lea ecx, [ebp - 0x198]
mov dword [ebp - 0x198], 0xb
mov dword [ebp - 0x194], 0xdec8d0dc
mov dword [ebp - 0x190], 0xcdd1c9df
mov dword [ebp - 0x18c], 0xc3b1a4a9
call fcn.004131e0
push eax
lea ecx, [ebp - 0x34]
call fcn.00771500
mov esi, eax
mov ecx, esi
call fcn.00772ad0
test al, al
je 0x5b5e1b
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
xorps xmm0, xmm0
mov ecx, esi
push eax
movq qword [ebp - 0x1c], xmm0
call fcn.00772700
mov byte [ebp - 4], 0xd
mov eax, 0x2aaaaaab
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
sub ecx, edi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x5b5e13
push edi
mov ecx, esi
call fcn.00771390
mov esi, eax
mov ecx, esi
call fcn.00772ad0
test al, al
je 0x5b5e13
lea ecx, [ebp - 0x1ac]
mov dword [ebp - 0x1ac], 7
mov dword [ebp - 0x1a8], 0xd2ddd7dd
mov dword [ebp - 0x1a4], 0xbfcdd8d2
call fcn.004131e0
push eax
mov ecx, esi
call fcn.00771500
mov edi, eax
mov ecx, edi
mov dword [ebp - 0x1cc], edi
call fcn.007728f0
test al, al
je 0x5b5e13
xor al, al
lea ecx, [ebp - 0xa0]
push 0x7cd378
mov byte [ebp - 0x161], al
call fcn.004040b0
mov ecx, edi
mov byte [ebp - 4], 0xe
xor esi, esi
call fcn.00773590
test eax, eax
je 0x5b5e08
nop dword [eax]
push esi
mov ecx, edi
call fcn.007713b0
mov edi, eax
mov ecx, edi
call fcn.00772ad0
test al, al
je 0x5b5d35
lea ecx, [ebp - 0x194]
mov dword [ebp - 0x194], 5
mov dword [ebp - 0x190], 0xd6dbd7e7
mov dword [ebp - 0x18c], 0xbdd9
call fcn.004131e0
push eax
mov ecx, edi
call fcn.00771500
lea ecx, [ebp - 0x7c]
push ecx
mov ecx, eax
call fcn.007721f0
mov edx, dword [ebp - 0x1c8]
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xf
call fcn.004059e0
test al, al
je 0x5b5d29
lea ecx, [ebp - 0x1b8]
mov dword [ebp - 0x1b8], 7
mov dword [ebp - 0x1b4], 0xdfd3d1e7
mov dword [ebp - 0x1b0], 0xbfd0d8d8
call fcn.004131e0
push eax
mov ecx, edi
call fcn.00771500
mov ecx, eax
call fcn.00771d30
cmp al, 1
jne 0x5b5d29
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1d4], esp
push 0
call fcn.00771150
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x1c4]
mov dword [ebp - 0x1c4], 7
mov dword [ebp - 0x1c0], 0xdfd3d1e7
mov dword [ebp - 0x1bc], 0xbfd0d8d8
call fcn.004131e0
push eax
mov ecx, edi
call fcn.00771500
mov ecx, eax
mov byte [ebp - 4], 0xf
call fcn.007712b0
push 0x7d8660
mov ecx, edi
call fcn.00771500
lea ecx, [ebp - 0x17c]
push ecx
mov ecx, eax
call fcn.007721f0
push eax
lea ecx, [ebp - 0xa0]
call fcn.00404030
lea ecx, [ebp - 0x17c]
call fcn.00404490
mov byte [ebp - 0x161], 1
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0xe
call fcn.00404490
mov edi, dword [ebp - 0x1cc]
inc esi
mov ecx, edi
call fcn.00773590
cmp esi, eax
jb 0x5b5bf0
cmp byte [ebp - 0x161], 0
je 0x5b5e08
push 0x4c
lea eax, [ebp - 0xec]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xec]
call fcn.0076e210
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x17c]
push eax
lea ecx, [ebp - 0xec]
call fcn.0076ecc0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00407cc0
lea ecx, [ebp - 0x17c]
call fcn.00407a10
cmp dword [ebp - 0x38], 0x10
lea eax, [ebp - 0x64]
mov esi, dword [ebp - 0x3c]
lea edi, [ebp - 0x4c]
cmovae edi, dword [ebp - 0x4c]
lea ecx, [ebp - 0x88]
push eax
call fcn.00403150
push esi
mov edx, edi
lea ecx, [ebp - 0x88]
call fcn.00418130
add esp, 4
lea ecx, [ebp - 0x70]
call fcn.00404220
lea ecx, [ebp - 0x88]
call fcn.00404490
mov ecx, dword [ebp - 0x1d0]
lea eax, [ebp - 0xa0]
push eax
push dword [ebp - 0x1c8]
call fcn.005b05a0
lea ecx, [ebp - 0xec]
call fcn.005a04c0
lea ecx, [ebp - 0xa0]
call fcn.00404490
lea ecx, [ebp - 0x1c]
call fcn.0056df60
lea ecx, [ebp - 0x160]
call fcn.00430850
lea ecx, [ebp - 0x34]
call fcn.007711e0
lea ecx, [ebp - 0x4c]
call fcn.00407a10
lea ecx, [ebp - 0x64]
call fcn.00404490
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