Function at 0x5adfe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a9070
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x831184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, 8
mov dword [ebp - 0x20], 0xd800d9
mov dword [ebp - 0x24], eax
xor ecx, ecx
mov dword [ebp - 0x1c], 0xca00ce
mov dword [ebp - 0x18], 0x8000de
mov dword [ebp - 0x14], 0xc300c5
mov dword [ebp - 0x10], 0xb1
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x20], ax
inc ecx
mov eax, dword [ebp - 0x24]
cmp ecx, eax
jb 0x5ae040
xor ecx, ecx
mov dword [ebp - 0x28], 7
mov word [ebp + eax*2 - 0x20], cx
xor eax, eax
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x20]
mov word [ebp - 0x3c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5ae070
sub ecx, edx
lea eax, [ebp - 0x20]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.004044f0
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.005ae390
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
mov bl, al
call fcn.00404490
test bl, bl
jne 0x5ae161
mov eax, 0xc
mov dword [ebp - 0x40], 0xd800d9
mov dword [ebp - 0x44], eax
xor ecx, ecx
mov dword [ebp - 0x3c], 0xca00ce
mov dword [ebp - 0x38], 0x8000de
mov dword [ebp - 0x34], 0xc300c5
mov dword [ebp - 0x30], 0x9f0091
mov dword [ebp - 0x2c], 0x94008d
mov dword [ebp - 0x28], 0xb5
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x40], ax
inc ecx
mov eax, dword [ebp - 0x44]
cmp ecx, eax
jb 0x5ae0f2
xor ecx, ecx
lea edi, [esi + 0x1c]
mov word [ebp + eax*2 - 0x40], cx
lea eax, [ebp - 0x40]
push edi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0041ee30
add esp, 0xc
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 1
call fcn.00404120
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
push 0xa
call fcn.005a1320
lea ecx, [ebp - 0x3c]
call fcn.00404490
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00404490
jmp 0x5ae164
lea edi, [esi + 0x1c]
mov dword [ebp - 0x20], 7
xor ecx, ecx
mov dword [ebp - 0x1c], 0xd900dc
mov dword [ebp - 0x18], 0xde00ce
mov dword [ebp - 0x14], 0xc40083
mov dword [ebp - 0x10], 0xb000dc
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x1c], ax
inc ecx
mov eax, dword [ebp - 0x20]
cmp ecx, eax
jb 0x5ae190
xor ecx, ecx
mov dword [ebp - 0x28], 7
mov word [ebp + eax*2 - 0x1c], cx
xor eax, eax
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x1c]
mov word [ebp - 0x3c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5ae1c0
sub ecx, edx
lea eax, [ebp - 0x1c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.004044f0
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 3
push eax
mov ecx, esi
call fcn.005ae390
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
mov bl, al
call fcn.00404490
test bl, bl
jne 0x5ae2ae
mov dword [ebp - 0x40], 0xb
xor ecx, ecx
mov dword [ebp - 0x3c], 0xd900dc
mov dword [ebp - 0x38], 0xde00ce
mov dword [ebp - 0x34], 0xc40083
mov dword [ebp - 0x30], 0x9000dc
mov dword [ebp - 0x2c], 0x8c009c
mov dword [ebp - 0x28], 0xb40093
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x3c], ax
inc ecx
mov eax, dword [ebp - 0x40]
cmp ecx, eax
jb 0x5ae240
xor ecx, ecx
mov word [ebp + eax*2 - 0x3c], cx
lea eax, [ebp - 0x3c]
push edi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0041ee30
add esp, 0xc
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 4
call fcn.00404120
mov byte [ebp - 4], 5
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
push eax
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
push 0xa
call fcn.005a1320
lea ecx, [ebp - 0x3c]
call fcn.00404490
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00404490
jmp 0x5ae2b4
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, esi
call fcn.005aea00
test al, al
jne 0x5ae371
mov dword [ebp - 0x50], 0x13
xor ecx, ecx
mov dword [ebp - 0x4c], 0xcf00da
mov dword [ebp - 0x48], 0xdf00d8
mov dword [ebp - 0x44], 0xc100c4
mov dword [ebp - 0x40], 0xc300c1
mov dword [ebp - 0x3c], 0xdd00c5
mov dword [ebp - 0x38], 0xd100c1
mov dword [ebp - 0x34], 0xdc009b
mov dword [ebp - 0x30], 0x9800c4
mov dword [ebp - 0x2c], 0x840094
mov dword [ebp - 0x28], 0xbc009b
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x4c], ax
inc ecx
mov eax, dword [ebp - 0x50]
cmp ecx, eax
jb 0x5ae312
xor ecx, ecx
mov word [ebp + eax*2 - 0x4c], cx
lea eax, [ebp - 0x4c]
push edi
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0041ee30
add esp, 0xc
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 6
call fcn.00404120
mov byte [ebp - 4], 7
call ebx
push eax
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
push 0xa
call fcn.005a1320
lea ecx, [ebp - 0x3c]
call fcn.00404490
lea ecx, [ebp - 0x68]
call fcn.00404490
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret