Function at 0x5b0650
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7a9503
mov eax, dword fs:[0]
push eax
sub esp, 0x80
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 0x5b06b0
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 0x5b06e0
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.005b0c50
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
mov bl, al
call fcn.00404490
test bl, bl
jne 0x5b07d1
mov eax, 0xc
mov dword [ebp - 0x58], 0xd800d9
mov dword [ebp - 0x5c], eax
xor ecx, ecx
mov dword [ebp - 0x54], 0xca00ce
mov dword [ebp - 0x50], 0x8000de
mov dword [ebp - 0x4c], 0xc300c5
mov dword [ebp - 0x48], 0x9f0091
mov dword [ebp - 0x44], 0x94008d
mov dword [ebp - 0x40], 0xb5
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x58], ax
inc ecx
mov eax, dword [ebp - 0x5c]
cmp ecx, eax
jb 0x5b0762
xor ecx, ecx
lea edi, [esi + 0x1c]
mov word [ebp + eax*2 - 0x58], cx
lea eax, [ebp - 0x58]
push edi
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0041ee30
add esp, 0xc
push eax
lea ecx, [ebp - 0x54]
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 - 0x54]
mov ecx, esi
push eax
push 0xa
call fcn.005a1320
lea ecx, [ebp - 0x54]
call fcn.00404490
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.00404490
jmp 0x5b07d4
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 0x5b0800
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 0x5b0830
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.005b0c50
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
mov bl, al
call fcn.00404490
test bl, bl
jne 0x5b091a
mov dword [ebp - 0x58], 0xb
xor ecx, ecx
mov dword [ebp - 0x54], 0xd900dc
mov dword [ebp - 0x50], 0xde00ce
mov dword [ebp - 0x4c], 0xc40083
mov dword [ebp - 0x48], 0x9000dc
mov dword [ebp - 0x44], 0x8c009c
mov dword [ebp - 0x40], 0xb40093
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x54], ax
inc ecx
mov eax, dword [ebp - 0x58]
cmp ecx, eax
jb 0x5b08b0
xor ecx, ecx
mov word [ebp + eax*2 - 0x54], cx
lea eax, [ebp - 0x54]
push edi
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0041ee30
add esp, 0xc
push eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 4
call fcn.00404120
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x54]
mov ecx, esi
push eax
push 0xa
call fcn.005a1320
lea ecx, [ebp - 0x54]
call fcn.00404490
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.00404490
mov eax, 6
mov dword [ebp - 0x1c], 0xc500ee
mov dword [ebp - 0x20], eax
xor ecx, ecx
mov dword [ebp - 0x18], 0xcb00c4
mov dword [ebp - 0x14], 0xcb00c1
mov dword [ebp - 0x10], 0xaf
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x1c], ax
inc ecx
mov eax, dword [ebp - 0x20]
cmp ecx, eax
jb 0x5b0940
xor ecx, ecx
mov word [ebp + eax*2 - 0x1c], cx
xor eax, eax
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x28], 7
lea edx, [ecx + 2]
mov word [ebp - 0x3c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5b0970
sub ecx, edx
lea eax, [ebp - 0x1c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.004044f0
mov dword [ebp - 4], 6
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.005b15b0
lea ecx, [ebp - 0x54]
mov bl, al
call fcn.00404490
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.00404490
test bl, bl
jne 0x5b0aaa
mov eax, 0x18
mov dword [ebp - 0x70], 0xcf00da
mov dword [ebp - 0x74], eax
xor ecx, ecx
mov dword [ebp - 0x6c], 0xde00ca
mov dword [ebp - 0x68], 0xc600ce
mov dword [ebp - 0x64], 0xdd0082
mov dword [ebp - 0x60], 0xc600d4
mov dword [ebp - 0x5c], 0xd000d2
mov dword [ebp - 0x58], 0xc200d4
mov dword [ebp - 0x54], 0x9600d6
mov dword [ebp - 0x50], 0xc900d3
mov dword [ebp - 0x4c], 0xd200d4
mov dword [ebp - 0x48], 0x93009d
mov dword [ebp - 0x44], 0xe00081
mov dword [ebp - 0x40], 0xc1
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x70], ax
inc ecx
mov eax, dword [ebp - 0x74]
cmp ecx, eax
jb 0x5b0a40
xor ecx, ecx
mov word [ebp + eax*2 - 0x70], cx
lea eax, [ebp - 0x70]
push edi
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0041ee30
add esp, 0xc
push eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 8
call fcn.00404120
mov byte [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x54]
mov ecx, esi
push eax
push 0xa
call fcn.005a1320
lea ecx, [ebp - 0x54]
call fcn.00404490
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.00404490
mov eax, 6
mov dword [ebp - 0x1c], 0xc500ee
mov dword [ebp - 0x20], eax
xor ecx, ecx
mov dword [ebp - 0x18], 0xcb00c4
mov dword [ebp - 0x14], 0xcb00c1
mov dword [ebp - 0x10], 0xaf
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x1c], ax
inc ecx
mov eax, dword [ebp - 0x20]
cmp ecx, eax
jb 0x5b0ad0
xor ecx, ecx
mov word [ebp + eax*2 - 0x1c], cx
xor eax, eax
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x28], 7
lea edx, [ecx + 2]
mov word [ebp - 0x3c], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5b0b00
sub ecx, edx
lea eax, [ebp - 0x1c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.004044f0
mov dword [ebp - 4], 0xa
xor eax, eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
push ecx
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xb
push eax
mov ecx, esi
call fcn.005b1ba0
lea ecx, [ebp - 0x54]
mov bl, al
call fcn.00404490
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
call fcn.00404490
test bl, bl
jne 0x5b0c39
mov eax, 0x16
mov dword [ebp - 0x6c], 0xcf00da
mov dword [ebp - 0x70], eax
xor ecx, ecx
mov dword [ebp - 0x68], 0xde00ca
mov dword [ebp - 0x64], 0xc600ce
mov dword [ebp - 0x60], 0xda0081
mov dword [ebp - 0x5c], 0xdd00c2
mov dword [ebp - 0x58], 0x9a00dd
mov dword [ebp - 0x54], 0xd900d8
mov dword [ebp - 0x50], 0xd400cd
mov dword [ebp - 0x4c], 0x8e00c3
mov dword [ebp - 0x48], 0x91009b
mov dword [ebp - 0x44], 0x9e0083
mov dword [ebp - 0x40], 0xbf
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 0x5b0bd0
xor ecx, ecx
mov word [ebp + eax*2 - 0x6c], cx
lea eax, [ebp - 0x6c]
push edi
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.0041ee30
add esp, 0xc
push eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0xc
call fcn.00404120
mov byte [ebp - 4], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x54]
mov ecx, esi
push eax
push 0xa
call fcn.005a1320
lea ecx, [ebp - 0x54]
call fcn.00404490
lea ecx, [ebp - 0x8c]
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