Function at 0x5855b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a4ab9
mov eax, dword fs:[0]
push eax
sub esp, 0x164
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 esi, ecx
mov dword [ebp - 0xd0], esi
xor edi, edi
lea ecx, [ebp - 0xa8]
xorps xmm0, xmm0
mov dword [ebp - 0xb0], edi
push edi
movups xmmword [ebp - 0xa8], xmm0
movq qword [ebp - 0x98], xmm0
call fcn.007725c0
lea eax, [ebp - 0xa8]
mov dword [ebp - 4], edi
push eax
mov ecx, esi
call fcn.00586760
lea ecx, [ebp - 0xa8]
call fcn.007740b0
test al, al
je 0x585d00
mov ecx, dword [esi + 0xc]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], edi
mov esi, dword [ecx + 0x1c0]
test esi, esi
je 0x585651
lock inc dword [esi + 4]
mov esi, dword [ecx + 0x1c0]
mov ecx, dword [ecx + 0x1bc]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 1
lea edx, [ebp - 0x1c]
mov eax, dword [ecx]
push edx
call dword [eax + 0xc]
mov byte [ebp - 4], 4
test esi, esi
je 0x585693
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x585693
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x585693
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x124], eax
cmp ecx, eax
je 0x585ca7
add ecx, 4
mov dword [ebp - 0xd8], ecx
mov esi, dword [ecx]
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0xd4], esi
test esi, esi
je 0x5856d4
lock inc dword [esi + 4]
mov esi, dword [ecx]
mov dword [ebp - 0xd4], esi
mov eax, dword [ecx - 4]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
add eax, 0x4c
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x3c]
movq qword [ebp - 0x68], xmm0
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0xb0], eax
call fcn.00404120
or edi, 4
mov dword [ebp - 0xac], edi
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.00405710
add esp, 8
push eax
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 7
call fcn.00772970
push eax
lea ecx, [ebp - 0x78]
call fcn.00772080
lea ecx, [ebp - 0x140]
call fcn.00407a10
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
call fcn.00404490
lea ecx, [ebp - 0x78]
call fcn.007740b0
test al, al
jne 0x585798
lea ecx, [ebp - 0x78]
call fcn.007727c0
mov byte [ebp - 4], 0xb
test esi, esi
je 0x58578f
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x58578f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x58578f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 3
jmp 0x585c83
xorps xmm0, xmm0
mov dword [ebp - 0xc8], 0xc5c5cbc4
xor ecx, ecx
movq qword [ebp - 0x50], xmm0
mov eax, 8
mov dword [ebp - 0xc4], 0xc4dccbcb
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0xcc], eax
mov byte [ebp - 0xc0], 0xb1
mov word [ebp - 0xbf], cx
mov byte [ebp - 0xbd], cl
nop dword [eax]
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0xc8], al
inc ecx
mov eax, dword [ebp - 0xcc]
cmp ecx, eax
jb 0x5857e0
mov byte [ebp + eax - 0xc8], 0
lea ecx, [ebp - 0x78]
lea eax, [ebp - 0xc8]
push eax
call fcn.00772ae0
push eax
lea ecx, [ebp - 0x60]
call fcn.00772080
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xc
call fcn.007740b0
test al, al
jne 0x58583f
lea ecx, [ebp - 0x60]
call fcn.007727c0
lea ecx, [ebp - 0x78]
call fcn.007727c0
mov byte [ebp - 4], 0xd
jmp 0x58576a
xorps xmm0, xmm0
mov dword [ebp - 0xbc], 7
movups xmmword [ebp - 0x90], xmm0
xor ecx, ecx
mov dword [ebp - 0xb8], 0xdfd9cfdf
movq qword [ebp - 0x80], xmm0
mov dword [ebp - 0xb4], 0xb0c1c1c4
nop
mov al, cl
sub al, 0x57
xor byte [ebp + ecx - 0xb8], al
inc ecx
mov eax, dword [ebp - 0xbc]
cmp ecx, eax
jb 0x585870
mov byte [ebp + eax - 0xb8], 0
lea ecx, [ebp - 0x60]
lea eax, [ebp - 0xb8]
push eax
call fcn.00772ae0
lea ecx, [ebp - 0x170]
push ecx
mov ecx, eax
call fcn.007737d0
mov edi, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x118]
push dword [ebp - 0xb0]
call fcn.00404120
mov byte [ebp - 4], 0xf
mov edx, 0xc
mov dword [ebp - 0x100], edx
xor ecx, ecx
mov dword [ebp - 0xfc], 0xef00f5
mov dword [ebp - 0xf8], 0xd800d3
mov dword [ebp - 0xf4], 0xc000c8
mov dword [ebp - 0xf0], 0xd900dc
mov dword [ebp - 0xec], 0xdc00de
mov dword [ebp - 0xe8], 0xe800c0
mov dword [ebp - 0xe4], 0xb5
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0xfc], ax
inc ecx
mov edx, dword [ebp - 0x100]
cmp ecx, edx
jb 0x585920
xor eax, eax
lea ecx, [ebp - 0x3c]
mov word [ebp + edx*2 - 0xfc], ax
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 0xc]
add eax, 0x84
push eax
call fcn.00404120
or dword [ebp - 0xac], 0x18
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.00408060
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 0x11
push ecx
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.00413490
add esp, 0x18
push edi
push eax
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0x12
push eax
call fcn.00586ad0
lea ecx, [ebp - 0x140]
call fcn.00404490
lea ecx, [ebp - 0x158]
call fcn.00404490
lea ecx, [ebp - 0x3c]
call fcn.00404490
lea ecx, [ebp - 0x118]
call fcn.00404490
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0x18
call fcn.00404490
lea ecx, [ebp - 0x90]
call fcn.007740b0
test al, al
jne 0x585a14
lea ecx, [ebp - 0x90]
call fcn.007727c0
lea ecx, [ebp - 0x60]
call fcn.007727c0
lea ecx, [ebp - 0x78]
call fcn.007727c0
mov byte [ebp - 4], 0x19
jmp 0x585c54
lea eax, [ebp - 0x48]
mov dword [ebp - 0x40], 0
xorps xmm0, xmm0
lea ecx, [ebp - 0x60]
push eax
movq qword [ebp - 0x48], xmm0
call fcn.00773ce0
mov byte [ebp - 4], 0x1a
mov eax, dword [ebp - 0x44]
mov edi, dword [ebp - 0x48]
mov dword [ebp - 0x11c], eax
cmp edi, eax
je 0x585c2d
push edi
lea ecx, [ebp - 0x3c]
call fcn.00406bb0
mov byte [ebp - 4], 0x1b
mov ecx, 0xe
movaps xmm0, xmmword [0x7e5680]
xor eax, eax
mov dword [ebp - 0x114], ecx
movups xmmword [ebp - 0x110], xmm0
nop
lea ecx, [eax - 0x57]
xor byte [ebp + eax - 0x110], cl
inc eax
mov ecx, dword [ebp - 0x114]
cmp eax, ecx
jb 0x585a70
mov byte [ebp + ecx - 0x110], 0
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x585a96
sub ecx, edx
lea eax, [ebp - 0x3c]
cmp dword [ebp - 0x28], 0x10
push ecx
cmovae eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x110]
push ecx
push dword [ebp - 0x2c]
push eax
call fcn.0040ffd0
add esp, 0x10
test al, al
jne 0x585ad5
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x90]
call fcn.00773fe0
test al, al
je 0x585af5
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x1a
call fcn.00407a10
add edi, 0x18
cmp edi, dword [ebp - 0x11c]
jne 0x585a47
jmp 0x585c2d
push 0xc4
call fcn.0076e8c3
mov esi, eax
mov dword [ebp - 0x128], esi
push 0xc4
push 0
push esi
mov byte [ebp - 4], 0x1c
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
lea ecx, [ebp - 0x140]
push dword [ebp - 0xb0]
call fcn.00404120
mov byte [ebp - 4], 0x1d
lea ecx, [ebp - 0x118]
mov edi, dword [ebp - 0xac]
mov eax, edi
or eax, 0x21
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x120]
add eax, 0x1c
push eax
call fcn.00404120
push 9
push 1
lea eax, [ebp - 0x140]
mov dword [ebp - 4], 0x1e
push eax
lea eax, [ebp - 0x118]
or edi, 0x63
push eax
mov ecx, esi
mov dword [ebp - 0xac], edi
mov dword [ebp - 0xb0], edi
call fcn.005d52b0
mov edi, eax
lea ecx, [ebp - 0x118]
call fcn.00404490
mov dword [ebp - 4], 0x1b
lea ecx, [ebp - 0x140]
and dword [ebp - 0xac], 0xfffffffc
call fcn.00404490
mov eax, dword [ebp - 0xd0]
lea ecx, [ebp - 0xe0]
push dword [ebp - 0x128]
mov byte [edi + 0xc], 1
push edi
mov esi, dword [eax + 4]
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0
call fcn.00587400
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 0x21
push eax
mov ecx, esi
call fcn.005870b0
mov byte [ebp - 4], 0x22
mov esi, dword [ebp - 0xdc]
test esi, esi
je 0x585c1f
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x585c1f
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x585c1f
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x3c]
call fcn.00407a10
mov esi, dword [ebp - 0xd4]
lea ecx, [ebp - 0x48]
call fcn.0056f100
lea ecx, [ebp - 0x90]
call fcn.007727c0
lea ecx, [ebp - 0x60]
call fcn.007727c0
lea ecx, [ebp - 0x78]
call fcn.007727c0
mov byte [ebp - 4], 0x23
test esi, esi
je 0x585c79
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x585c79
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x585c79
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [ebp - 4], 3
mov edi, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xd8]
add ecx, 8
mov dword [ebp - 0xd8], ecx
lea eax, [ecx - 4]
cmp eax, dword [ebp - 0x124]
jne 0x5856b4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x585d00
push ecx
mov edx, eax
call fcn.00413a10
mov ecx, dword [ebp - 0x14]
add esp, 4
mov edx, dword [ebp - 0x1c]
sub ecx, edx
and ecx, 0xfffffff8
mov eax, edx
cmp ecx, 0x1000
jb 0x585ce1
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x585ce1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0076e8f3
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0xa8]
call fcn.007727c0
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