Function at 0x5855e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a34d0
mov eax, dword fs:[0]
push eax
sub esp, 0x128
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 edi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x130], 0x13
mov dword [ebp - 0x12c], 0xea00e4
mov dword [ebp - 0x128], 0xd800df
mov dword [ebp - 0x124], 0xcf00c9
mov dword [ebp - 0x120], 0x9f00db
mov dword [ebp - 0x11c], 0xb30090
mov dword [ebp - 0x118], 0xa500a7
mov dword [ebp - 0x114], 0xb700a1
mov dword [ebp - 0x110], 0xa900a3
mov dword [ebp - 0x10c], 0xac00ab
mov dword [ebp - 0x108], 0xcb00b9
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x12c], ax
inc ecx
mov eax, dword [ebp - 0x130]
cmp ecx, eax
jb 0x585690
xor ecx, ecx
mov word [ebp + eax*2 - 0x12c], cx
lea ecx, [ebp - 0xe8]
mov eax, dword [edx + 0xc]
add eax, 0x84
push eax
call fcn.00404120
lea eax, [ebp - 0x12c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00408060
add esp, 0xc
lea ecx, [ebp - 0xe8]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 7
mov word [ebp - 0xf4], ax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0xf4]
call fcn.00403b80
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 5
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0xcd], al
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 2
call fcn.00404220
lea ecx, [ebp - 0xf4]
call fcn.00404490
cmp byte [ebp - 0xcd], 0
jne 0x58577d
mov byte [ebp - 0xcd], 0
jmp 0x585923
xor eax, eax
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xe0], 7
mov word [ebp - 0xf4], ax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0xf4]
call fcn.00403b80
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00418020
add esp, 8
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0xa
call fcn.00404220
lea ecx, [ebp - 0xf4]
call fcn.00404490
xorps xmm0, xmm0
lea ecx, [ebp - 0x28]
push 0
movups xmmword [ebp - 0x28], xmm0
movq qword [ebp - 0x18], xmm0
call fcn.00770fe0
push 0x74
lea eax, [ebp - 0xcc]
mov byte [ebp - 4], 0xb
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea ecx, [ebp - 0xcc]
call fcn.00773690
push 1
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0xcc]
call fcn.00774de0
test al, al
je 0x585901
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xe0], 0xa
mov dword [ebp - 0xdc], 0xdecec1dd
mov dword [ebp - 0xd8], 0xd0d7ced2
mov dword [ebp - 0xd4], 0xc2b2ae
call fcn.004131e0
push eax
lea ecx, [ebp - 0x28]
call fcn.00771500
mov esi, eax
mov ecx, esi
call fcn.00772ad0
test al, al
je 0x585901
xor eax, eax
mov dword [ebp - 0x104], 8
lea ecx, [ebp - 0x104]
mov dword [ebp - 0x100], 0xcfcedccb
mov dword [ebp - 0xfc], 0xccd9d3d5
mov byte [ebp - 0xf8], 0xc0
mov word [ebp - 0xf7], ax
mov byte [ebp - 0xf5], al
call fcn.004131e0
push eax
mov ecx, esi
call fcn.00771500
mov esi, eax
mov ecx, esi
call fcn.00772ad0
test al, al
je 0x585901
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00770aa0
mov ecx, edi
call fcn.007712b0
mov byte [ebp - 0xcd], 1
jmp 0x585908
mov byte [ebp - 0xcd], 0
lea ecx, [ebp - 0xcc]
call fcn.00430850
lea ecx, [ebp - 0x28]
call fcn.007711e0
lea ecx, [ebp - 0x58]
call fcn.00407a10
lea ecx, [ebp - 0x40]
call fcn.00404490
mov al, byte [ebp - 0xcd]
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