Function at 0x5e8a00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7aef27
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
call fcn.005ea3e0
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test al, al
jne 0x5e8b08
mov eax, 4
mov dword [ebp - 0x50], 0x870089
mov dword [ebp - 0x54], eax
xor ecx, ecx
mov dword [ebp - 0x4c], 0x8c0095
mov dword [ebp - 0x48], 0xad
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x50], ax
inc ecx
mov eax, dword [ebp - 0x54]
cmp ecx, eax
jb 0x5e8a64
xor ecx, ecx
xor edx, edx
mov word [ebp + eax*2 - 0x50], cx
lea ecx, [ebp - 0x74]
call fcn.005d93e0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0
push ecx
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.00408060
lea edi, [esi + 0x1c]
mov byte [ebp - 4], 1
push edi
mov edx, eax
lea ecx, [ebp - 0x90]
call fcn.00413520
add esp, 0x10
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.00404120
mov byte [ebp - 4], 3
call ebx
push eax
lea eax, [ebp - 0x5c]
mov ecx, esi
push eax
push 0xa
call fcn.005a1320
lea ecx, [ebp - 0x5c]
call fcn.00404490
lea ecx, [ebp - 0x90]
call fcn.00404490
lea ecx, [ebp - 0xa8]
call fcn.00404490
lea ecx, [ebp - 0x74]
mov dword [ebp - 4], 0xffffffff
call fcn.00404490
jmp 0x5e8b0b
lea edi, [esi + 0x1c]
push 1
mov ecx, esi
call fcn.005ea3e0
test al, al
jne 0x5e8be0
mov eax, 4
mov dword [ebp - 0x50], 0x870089
mov dword [ebp - 0x54], eax
xor ecx, ecx
mov dword [ebp - 0x4c], 0x8c0095
mov dword [ebp - 0x48], 0xad
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x50], ax
inc ecx
mov eax, dword [ebp - 0x54]
cmp ecx, eax
jb 0x5e8b40
xor ecx, ecx
mov word [ebp + eax*2 - 0x50], cx
lea edx, [ecx + 1]
lea ecx, [ebp - 0x90]
call fcn.005d93e0
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.00408060
push edi
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x74]
call fcn.00413520
add esp, 0x10
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 6
call fcn.00404120
mov byte [ebp - 4], 7
call ebx
push eax
lea eax, [ebp - 0x5c]
mov ecx, esi
push eax
push 0xa
call fcn.005a1320
lea ecx, [ebp - 0x5c]
call fcn.00404490
lea ecx, [ebp - 0x74]
call fcn.00404490
lea ecx, [ebp - 0xa8]
call fcn.00404490
lea ecx, [ebp - 0x90]
mov dword [ebp - 4], 0xffffffff
call fcn.00404490
cmp byte [esi + 0xd4], 0
je 0x5e8ce4
push 0x34
lea eax, [ebp - 0x44]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0xd0]
add esp, 0xc
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 8
call fcn.006568f0
test al, al
jne 0x5e8cd4
mov dword [ebp - 0x78], 0xb
xor ecx, ecx
mov dword [ebp - 0x74], 0xcf00fa
mov dword [ebp - 0x70], 0xdf00d8
mov dword [ebp - 0x6c], 0xc100c4
mov dword [ebp - 0x68], 0x9000c1
mov dword [ebp - 0x64], 0x8c009c
mov dword [ebp - 0x60], 0xb40093
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x74], ax
inc ecx
mov eax, dword [ebp - 0x78]
cmp ecx, eax
jb 0x5e8c72
xor ecx, ecx
mov word [ebp + eax*2 - 0x74], cx
lea eax, [ebp - 0x74]
push edi
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.0041ee30
add esp, 0xc
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 9
call fcn.00404120
mov byte [ebp - 4], 0xa
call ebx
push eax
lea eax, [ebp - 0x5c]
mov ecx, esi
push eax
push 0xa
call fcn.005a1320
lea ecx, [ebp - 0x5c]
call fcn.00404490
lea ecx, [ebp - 0xc0]
call fcn.00404490
lea ecx, [ebp - 0x28]
call fcn.00404490
lea ecx, [ebp - 0x40]
call fcn.00404490
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret