Function at 0x5b1ba0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a97a8
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x100], eax
xor eax, eax
mov dword [ebp - 0x144], 0x13
mov dword [ebp - 0x140], 0xd900f5
mov dword [ebp - 0x13c], 0xcd00ce
mov dword [ebp - 0x138], 0xcd00df
mov dword [ebp - 0x134], 0x9e00c7
mov dword [ebp - 0x130], 0xc100db
mov dword [ebp - 0x12c], 0xda00dc
mov dword [ebp - 0x128], 0xdb009b
mov dword [ebp - 0x124], 0xc200d8
mov dword [ebp - 0x120], 0xc000d5
mov dword [ebp - 0x11c], 0xbc008f
nop dword [eax + eax]
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0x140], cx
inc eax
mov ecx, dword [ebp - 0x144]
cmp eax, ecx
jb 0x5b1c50
xor eax, eax
mov word [ebp + ecx*2 - 0x140], ax
lea ecx, [ebp - 0x118]
mov eax, dword [edi + 0xb8]
add eax, 0x84
push eax
call fcn.00404120
lea eax, [ebp - 0x140]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00408060
add esp, 0xc
lea ecx, [ebp - 0x118]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x158], 7
mov word [ebp - 0x16c], ax
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x16c]
call fcn.00403b80
lea eax, [ebp - 0x16c]
mov byte [ebp - 4], 5
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0xed], al
lea ecx, [ebp - 0x154]
mov byte [ebp - 4], 2
call fcn.00404220
lea ecx, [ebp - 0x16c]
call fcn.00404490
cmp byte [ebp - 0xed], 0
je 0x5b1f6e
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0064be30
mov byte [ebp - 4], 6
cmp dword [ebp - 0x18], 0
je 0x5b1f66
xorps xmm0, xmm0
lea ecx, [ebp - 0x40]
push 0
movups xmmword [ebp - 0x40], xmm0
movq qword [ebp - 0x30], xmm0
call fcn.007725c0
push 0x74
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 7
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xec]
call fcn.00774c70
push 1
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xec]
call fcn.007763c0
test al, al
je 0x5b1f53
lea ecx, [ebp - 0x40]
call fcn.007740b0
test al, al
je 0x5b1f53
xor eax, eax
mov dword [ebp - 0x110], 8
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x10c], 0xcddfcfc4
mov dword [ebp - 0x108], 0xd1dbcfe9
mov byte [ebp - 0x104], 0xb1
mov word [ebp - 0x103], ax
mov byte [ebp - 0x101], al
call fcn.004131e0
push eax
lea ecx, [ebp - 0x40]
call fcn.00772ae0
sub esp, 0x18
mov esi, eax
mov ecx, esp
mov dword [ebp - 0x148], esp
push dword [ebp - 0x100]
call fcn.007722a0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xfc]
mov dword [ebp - 0xfc], 7
mov dword [ebp - 0xf8], 0xded9dfca
mov dword [ebp - 0xf4], 0xb0dbc0c8
call fcn.004131e0
push eax
mov ecx, esi
call fcn.00772ae0
mov ecx, eax
mov byte [ebp - 4], 8
call fcn.00772890
push dword [ebp - 0x100]
lea eax, [ebp - 0x160]
mov ecx, edi
push eax
call fcn.005b2050
sub esp, 0x18
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x148], esp
push eax
call fcn.007722a0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xfc]
xor eax, eax
mov dword [ebp - 0xfc], 4
mov dword [ebp - 0xf8], 0xc4d8cbc1
mov byte [ebp - 0xf4], 0xad
mov word [ebp - 0xf3], ax
mov byte [ebp - 0xf1], al
call fcn.004131e0
push eax
mov ecx, esi
call fcn.00772ae0
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00772890
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 8
call fcn.00404490
lea ecx, [ebp - 0x78]
call fcn.0076f7c0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x78]
call fcn.00770250
push eax
lea ecx, [ebp - 0x28]
call fcn.00407cc0
lea ecx, [ebp - 0x160]
call fcn.00407a10
mov eax, dword [ebp - 0x18]
add eax, 0xc
push eax
call fcn.007906ca
cmp dword [ebp - 0x14], 0x10
lea esi, [eax + 0xc]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
mov edx, esi
cmovae ecx, dword [ebp - 0x28]
call fcn.00660b20
mov edi, eax
add esp, 8
test edi, edi
jg 0x5b1f7d
push 1
push esi
call fcn.0076e8f3
add esp, 8
lea ecx, [ebp - 0x78]
call fcn.0042fe10
lea ecx, [ebp - 0xec]
call fcn.00430850
lea ecx, [ebp - 0x40]
call fcn.007727c0
lea ecx, [ebp - 0x28]
call fcn.00407a10
lea ecx, [ebp - 0x58]
call fcn.00404490
xor al, al
jmp 0x5b2025
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x16c]
sub esi, 0xc
mov dword [ebp - 0xfc], 0x4c7a6f6d
mov dword [ebp - 0xf8], 0x30347a
add edi, 0xc
movq xmm0, qword [ebp - 0xfc]
movq qword [esi], xmm0
mov dword [esi + 8], eax
lea eax, [ebp - 0x58]
push eax
mov byte [edi + esi], 0
call fcn.00403150
push edi
mov edx, esi
lea ecx, [ebp - 0x16c]
call fcn.00418130
add esp, 4
mov byte [ebp - 0xed], al
lea ecx, [ebp - 0x154]
call fcn.00404220
lea ecx, [ebp - 0x16c]
call fcn.00404490
push 1
push esi
call fcn.0076e8f3
add esp, 8
lea ecx, [ebp - 0x78]
call fcn.0042fe10
lea ecx, [ebp - 0xec]
call fcn.00430850
lea ecx, [ebp - 0x40]
call fcn.007727c0
lea ecx, [ebp - 0x28]
call fcn.00407a10
lea ecx, [ebp - 0x58]
call fcn.00404490
mov al, byte [ebp - 0xed]
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.0076eb7e
mov esp, ebp
pop ebp
ret 8