Function at 0x5c0230
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7aafca
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xe8], edi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x104], esi
push eax
push 0x7cf388
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.004044f0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0xcc], 0xb
mov dword [ebp - 0xc8], 0xd900f5
mov dword [ebp - 0xc4], 0xcd00ce
mov dword [ebp - 0xc0], 0xcd00df
mov dword [ebp - 0xbc], 0x9e00c7
mov dword [ebp - 0xb8], 0xdc00d8
mov dword [ebp - 0xb4], 0xb400da
nop
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0xc8], cx
inc eax
mov ecx, dword [ebp - 0xcc]
cmp eax, ecx
jb 0x5c02e0
xor eax, eax
mov word [ebp + ecx*2 - 0xc8], ax
lea ecx, [ebp - 0xe4]
mov eax, dword [edi + 0xb8]
add eax, 0x84
push eax
call fcn.00404120
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00408060
add esp, 0xc
lea ecx, [ebp - 0xe4]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x80]
call fcn.00403b80
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 6
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0x59], al
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.00404220
lea ecx, [ebp - 0x80]
call fcn.00404490
cmp byte [ebp - 0x59], 0
jne 0x5c03d5
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
mov word [ebp - 0x28], ax
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
jmp 0x5c0884
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x58]
call fcn.00404120
mov byte [ebp - 4], 7
mov eax, 0xe
mov dword [ebp - 0xb0], eax
xor ecx, ecx
mov dword [ebp - 0xac], 0xcf00ed
mov dword [ebp - 0xa8], 0xcd00cd
mov dword [ebp - 0xa4], 0xc200d8
mov dword [ebp - 0xa0], 0x9000db
mov dword [ebp - 0x9c], 0xd700e2
mov dword [ebp - 0x98], 0xc600d2
mov dword [ebp - 0x94], 0xde00d6
mov dword [ebp - 0x90], 0xb7
nop dword [eax]
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0xac], ax
inc ecx
mov eax, dword [ebp - 0xb0]
cmp ecx, eax
jb 0x5c0450
xor ecx, ecx
mov word [ebp + eax*2 - 0xac], cx
xor eax, eax
mov dword [ebp - 0xd4], ecx
lea ecx, [ebp - 0xac]
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 0x5c0495
sub ecx, edx
lea eax, [ebp - 0xac]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xe4]
call fcn.004044f0
mov byte [ebp - 4], 8
xor ecx, ecx
mov dword [ebp - 0xa0], 7
mov dword [ebp - 0x9c], 0xda00e6
mov dword [ebp - 0x98], 0xc500df
mov dword [ebp - 0x94], 0xc000c2
mov dword [ebp - 0x90], 0xb000dc
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x9c], ax
inc ecx
mov eax, dword [ebp - 0xa0]
cmp ecx, eax
jb 0x5c04f0
xor ecx, ecx
mov word [ebp + eax*2 - 0x9c], cx
xor eax, eax
mov dword [ebp - 0xf0], ecx
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0xec], 7
lea edx, [ecx + 2]
mov word [ebp - 0x100], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5c0535
sub ecx, edx
lea eax, [ebp - 0x9c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x100]
call fcn.004044f0
lea eax, [ebp - 0xe4]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x58]
call fcn.00648a20
mov edi, eax
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x5c05ac
mov ecx, eax
call fcn.00404490
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [edi + 0x10]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
movq qword [ebp - 0x18], xmm0
mov word [edi], ax
lea ecx, [ebp - 0xc8]
call fcn.00404490
lea ecx, [ebp - 0x100]
call fcn.00404490
lea ecx, [ebp - 0xe4]
mov byte [ebp - 4], 7
call fcn.00404490
cmp dword [ebp - 0x18], 0
jne 0x5c0849
mov dword [ebp - 0x8c], 0x15
xor ecx, ecx
mov dword [ebp - 0x88], 0xc600f5
mov dword [ebp - 0x84], 0xcf00c4
mov dword [ebp - 0x80], 0xc200cc
mov dword [ebp - 0x7c], 0xec00ca
mov dword [ebp - 0x78], 0xc700c3
mov dword [ebp - 0x74], 0xc700ef
mov dword [ebp - 0x70], 0xd700d0
mov dword [ebp - 0x6c], 0xdb00c5
mov dword [ebp - 0x68], 0x9400d1
mov dword [ebp - 0x64], 0xd200d2
mov dword [ebp - 0x60], 0xbe00d4
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x88], ax
inc ecx
mov eax, dword [ebp - 0x8c]
cmp ecx, eax
jb 0x5c0640
xor ecx, ecx
mov word [ebp + eax*2 - 0x88], cx
lea ecx, [ebp - 0xe4]
mov eax, dword [ebp - 0xe8]
mov eax, dword [eax + 0xb8]
add eax, 0x6c
push eax
call fcn.00404120
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.00408060
mov edi, eax
add esp, 0xc
lea eax, [ebp - 0x40]
cmp eax, edi
je 0x5c06d3
mov ecx, eax
call fcn.00404490
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [edi + 0x10]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
movq qword [ebp - 0x30], xmm0
mov word [edi], ax
lea ecx, [ebp - 0xc8]
call fcn.00404490
lea ecx, [ebp - 0xe4]
call fcn.00404490
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [ebp - 0x80]
call fcn.00403b80
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 0xd
push eax
call fcn.00418540
add esp, 4
mov byte [ebp - 0x59], al
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 7
call fcn.00404220
lea ecx, [ebp - 0x80]
call fcn.00404490
cmp byte [ebp - 0x59], 0
je 0x5c0849
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x58]
push eax
call fcn.004044f0
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], 0xe
mov dword [ebp - 0x7c], 0xcf00ed
mov dword [ebp - 0x78], 0xcd00cd
mov dword [ebp - 0x74], 0xc200d8
mov dword [ebp - 0x70], 0x9000db
mov dword [ebp - 0x6c], 0xd700e2
mov dword [ebp - 0x68], 0xc600d2
mov dword [ebp - 0x64], 0xde00d6
mov dword [ebp - 0x60], 0xb7
call fcn.00403e20
push eax
lea ecx, [ebp - 0x100]
call fcn.004040b0
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0xa0], 7
mov dword [ebp - 0x9c], 0xda00e6
mov dword [ebp - 0x98], 0xc500df
mov dword [ebp - 0x94], 0xc000c2
mov dword [ebp - 0x90], 0xb000dc
call fcn.00403e20
push eax
lea ecx, [ebp - 0xe4]
call fcn.004040b0
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x58]
call fcn.00648a20
push eax
lea ecx, [ebp - 0x28]
call fcn.00404030
lea ecx, [ebp - 0xc8]
call fcn.00404490
lea ecx, [ebp - 0xe4]
call fcn.00404490
lea ecx, [ebp - 0x100]
call fcn.00404490
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x58]
mov dword [esi + 0x14], 0
xor eax, eax
movups xmmword [esi], xmm0
mov word [ebp - 0x28], ax
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.00404490
lea ecx, [ebp - 0x40]
call fcn.00404490
lea ecx, [ebp - 0x28]
call fcn.00404490
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret 4