Function at 0x5acfd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a78d0
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x82f184]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, 8
mov dword [ebp - 0x20], 0xcb00c8
mov dword [ebp - 0x24], eax
xor ecx, ecx
mov dword [ebp - 0x1c], 0xdd00df
mov dword [ebp - 0x18], 0x9300cf
mov dword [ebp - 0x14], 0xcc00d4
mov dword [ebp - 0x10], 0xc0
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x20], ax
inc ecx
mov eax, dword [ebp - 0x24]
cmp ecx, eax
jb 0x5ad030
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 0x5ad060
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.005ad380
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
mov bl, al
call fcn.00404490
test bl, bl
jne 0x5ad151
mov eax, 0xc
mov dword [ebp - 0x40], 0xcb00c8
mov dword [ebp - 0x44], eax
xor ecx, ecx
mov dword [ebp - 0x3c], 0xdd00df
mov dword [ebp - 0x38], 0x9300cf
mov dword [ebp - 0x34], 0xcc00d4
mov dword [ebp - 0x30], 0xec00e0
mov dword [ebp - 0x2c], 0xe300fc
mov dword [ebp - 0x28], 0xc4
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x40], ax
inc ecx
mov eax, dword [ebp - 0x44]
cmp ecx, eax
jb 0x5ad0e2
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.005a0320
lea ecx, [ebp - 0x3c]
call fcn.00404490
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00404490
jmp 0x5ad154
lea edi, [esi + 0x1c]
mov dword [ebp - 0x20], 7
xor ecx, ecx
mov dword [ebp - 0x1c], 0xca00cd
mov dword [ebp - 0x18], 0xc900df
mov dword [ebp - 0x14], 0xd70092
mov dword [ebp - 0x10], 0xbf00cd
nop dword [eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x1c], ax
inc ecx
mov eax, dword [ebp - 0x20]
cmp ecx, eax
jb 0x5ad180
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 0x5ad1b0
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.005ad380
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
mov bl, al
call fcn.00404490
test bl, bl
jne 0x5ad29e
mov dword [ebp - 0x40], 0xb
xor ecx, ecx
mov dword [ebp - 0x3c], 0xca00cd
mov dword [ebp - 0x38], 0xc900df
mov dword [ebp - 0x34], 0xd70092
mov dword [ebp - 0x30], 0x9f00cd
mov dword [ebp - 0x2c], 0xff00ed
mov dword [ebp - 0x28], 0xc300e2
nop word [eax + eax]
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x3c], ax
inc ecx
mov eax, dword [ebp - 0x40]
cmp ecx, eax
jb 0x5ad230
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.005a0320
lea ecx, [ebp - 0x3c]
call fcn.00404490
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00404490
jmp 0x5ad2a4
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, esi
call fcn.005ad9f0
test al, al
jne 0x5ad361
mov dword [ebp - 0x50], 0x13
xor ecx, ecx
mov dword [ebp - 0x4c], 0xdc00cb
mov dword [ebp - 0x48], 0xc800c9
mov dword [ebp - 0x44], 0xd200d5
mov dword [ebp - 0x40], 0xcc00d0
mov dword [ebp - 0x3c], 0xae00b4
mov dword [ebp - 0x38], 0xa600b0
mov dword [ebp - 0x34], 0xaf00ea
mov dword [ebp - 0x30], 0xe700b5
mov dword [ebp - 0x2c], 0xf700e5
mov dword [ebp - 0x28], 0xcb00ea
lea eax, [ecx + 0xb8]
xor word [ebp + ecx*2 - 0x4c], ax
inc ecx
mov eax, dword [ebp - 0x50]
cmp ecx, eax
jb 0x5ad302
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.005a0320
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