Function at 0x1005c070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10089e98
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x100a7078]
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 esi, ecx
cmp dword [ebp + 8], 0
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x2c], edi
jbe 0x1005c471
test edi, edi
je 0x1005c471
call fcn.1005bfe0
test al, al
jne 0x1005c16f
movaps xmm0, xmmword [0x1009daa0]
xor ecx, ecx
movups xmmword [ebp - 0x3c], xmm0
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0xe
jb 0x1005c0d2
lea eax, [ebp - 0x3b]
mov byte [ebp - 0x2d], 0
push eax
lea ecx, [ebp - 0x5c]
call fcn.10002870
mov dword [ebp - 4], 0
xor ecx, ecx
movaps xmm0, xmmword [str.o__a_n]
movups xmmword [ebp - 0xec], xmm0
mov byte [ebp - 0xcc], 0
movaps xmm0, xmmword [0x1009e580]
movups xmmword [ebp - 0xdc], xmm0
nop dword [eax + eax]
mov al, byte [ebp - 0xec]
xor byte [ebp + ecx - 0xeb], al
inc ecx
cmp ecx, 0x1f
jb 0x1005c120
lea eax, [ebp - 0xeb]
mov byte [ebp - 0xcc], 0
push eax
lea ecx, [ebp - 0x74]
call fcn.10002870
push 0
push 0
lea edx, [ebp - 0x5c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x74]
call fcn.10022e30
add esp, 8
lea ecx, [ebp - 0x74]
call fcn.10002220
lea ecx, [ebp - 0x5c]
jmp 0x1005c46c
mov ebx, dword [ebp + 0x14]
mov ecx, esi
push ebx
call fcn.1005c010
test al, al
je 0x1005c31f
cmp ebx, 1
jne 0x1005c25c
movaps xmm0, xmmword [0x1009dc20]
xor ecx, ecx
movups xmmword [ebp - 0x3c], xmm0
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0xe
jb 0x1005c198
lea eax, [ebp - 0x3b]
mov byte [ebp - 0x2d], 0
push eax
lea ecx, [ebp - 0x74]
call fcn.10002870
mov dword [ebp - 4], 2
xor ecx, ecx
movaps xmm0, xmmword [0x1009e770]
movups xmmword [ebp - 0xc8], xmm0
mov dword [ebp - 0x78], 0x636c36
movaps xmm0, xmmword [0x1009e780]
movups xmmword [ebp - 0xb8], xmm0
movaps xmm0, xmmword [0x1009e120]
movups xmmword [ebp - 0xa8], xmm0
movaps xmm0, xmmword [0x1009dfe0]
movups xmmword [ebp - 0x98], xmm0
movaps xmm0, xmmword [0x1009e160]
movups xmmword [ebp - 0x88], xmm0
nop dword [eax + eax]
mov al, byte [ebp - 0xc8]
xor byte [ebp + ecx - 0xc7], al
inc ecx
cmp ecx, 0x52
jb 0x1005c210
lea eax, [ebp - 0xc7]
mov byte [ebp - 0x75], 0
push eax
lea ecx, [ebp - 0x5c]
call fcn.10002870
mov byte [ebp - 4], 3
push 0
push 0
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x5c]
call fcn.10022e30
add esp, 8
lea ecx, [ebp - 0x5c]
call fcn.10002220
lea ecx, [ebp - 0x74]
jmp 0x1005c46c
cmp ebx, 2
jne 0x1005c471
movaps xmm0, xmmword [str.X_b7_u_r_x_v_7]
xor ecx, ecx
movups xmmword [ebp - 0x3c], xmm0
mov al, byte [ebp - 0x3c]
xor byte [ebp + ecx - 0x3b], al
inc ecx
cmp ecx, 0xe
jb 0x1005c272
lea eax, [ebp - 0x3b]
mov byte [ebp - 0x2d], 0
push eax
lea ecx, [ebp - 0x74]
call fcn.10002870
mov dword [ebp - 4], 4
xor ecx, ecx
movaps xmm0, xmmword [0x1009e1c0]
movups xmmword [ebp - 0xc8], xmm0
mov word [ebp - 0x78], 0x333c
movaps xmm0, xmmword [0x1009e760]
movups xmmword [ebp - 0xb8], xmm0
mov byte [ebp - 0x76], 0
movaps xmm0, xmmword [0x1009e1b0]
movups xmmword [ebp - 0xa8], xmm0
movaps xmm0, xmmword [0x1009e800]
movups xmmword [ebp - 0x98], xmm0
movaps xmm0, xmmword [0x1009e7e0]
movups xmmword [ebp - 0x88], xmm0
nop dword [eax + eax]
mov al, byte [ebp - 0xc8]
xor byte [ebp + ecx - 0xc7], al
inc ecx
cmp ecx, 0x51
jb 0x1005c2f0
lea eax, [ebp - 0xc7]
mov byte [ebp - 0x76], 0
push eax
lea ecx, [ebp - 0x5c]
call fcn.10002870
mov byte [ebp - 4], 5
jmp 0x1005c23a
xor bl, bl
movzx eax, bl
lea eax, [eax + eax*2]
cmp dword [esi + eax*8 + 0x10c], 0
ja 0x1005c33b
cmp dword [esi + eax*8 + 0x110], 0
jbe 0x1005c347
inc bl
cmp bl, 6
jb 0x1005c321
jmp 0x1005c471
mov ecx, edi
call fcn.1000f560
mov edi, eax
test edi, edi
je 0x1005c471
mov dword [ebp - 0x14], 0xf
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 4], 6
mov cl, byte [edi + 4]
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.1000f590
mov dword [ebp - 0x40], eax
test eax, eax
je 0x1005c3a8
cmp dword [eax + 0x48], 0
je 0x1005c3a8
push dword [ebp - 0x2c]
xor edx, edx
lea ecx, [ebp - 0x5c]
push eax
call fcn.1000f830
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10003ae0
lea ecx, [ebp - 0x5c]
jmp 0x1005c3cc
push dword [ebp - 0x2c]
mov edx, edi
lea ecx, [ebp - 0x104]
push 0
call fcn.1000f830
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.10003ae0
lea ecx, [ebp - 0x104]
call fcn.10002220
movzx eax, bl
mov dword [ebp - 0x44], eax
lea eax, [eax + eax*2]
lea eax, [eax + 0x21]
mov ecx, dword [esi + eax*8]
lea ebx, [esi + eax*8]
test ecx, ecx
je 0x1005c43c
add ecx, 4
lea edx, [ebp - 0x28]
call fcn.10015230
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x40]
mov dword [eax + 0x50], edi
mov eax, dword [ebx]
mov dword [eax + 0x54], ecx
mov eax, dword [ebx]
mov dword [eax + 0x58], 1
test ecx, ecx
je 0x1005c418
movsx ecx, word [ecx + 0x56]
movsx eax, word [edi + 0x66]
add ecx, eax
jmp 0x1005c41c
movsx ecx, word [edi + 0x66]
mov eax, dword [ebx]
mov dword [eax + 0x5c], ecx
mov eax, dword [ebx]
mov ecx, dword [eax]
test ecx, ecx
je 0x1005c43c
lea edx, [ebp - 0x28]
call fcn.10018de0
mov ecx, dword [ebx]
mov dl, 1
mov ecx, dword [ecx]
call fcn.10018950
mov eax, dword [ebp - 0x44]
lea eax, [eax + eax*2]
lea ecx, [esi + eax*8]
mov eax, dword [ebp + 8]
mov dword [ecx + 0x10c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 0x110], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 0x114], eax
mov eax, dword [ebp + 0x14]
mov dword [ecx + 0x118], eax
lea ecx, [ebp - 0x28]
call fcn.10002220
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.10067955
mov esp, ebp
pop ebp
ret 0x10