Function at 0x10024540
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
push edi
mov al, 0x6b
mov byte [esp + 0x16], 0
mov edi, ecx
mov byte [esp + 0x16], 0
mov cl, 0xe
mov dword [esp + 0x34], 0xf
mov dh, 0x69
mov byte [esp + 0x10], cl
mov ah, al
mov dword [esp + 0x30], 0
mov dl, 0x60
mov byte [esp + 0x20], 0
mov bl, 0x67
xor dh, cl
xor al, cl
mov byte [esp + 0x11], dh
xor dl, cl
mov byte [esp + 0x12], al
xor bl, cl
mov byte [esp + 0x13], dl
xor ah, cl
mov byte [esp + 0x14], bl
mov byte [esp + 0x15], ah
test dh, dh
jne 0x100245a3
xor ecx, ecx
jmp 0x100245b9
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100245b0
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x28]
call fcn.10002770
mov ecx, dword [edi + 8]
lea edx, [esp + 0x20]
call fcn.100186d0
mov ecx, dword [esp + 0x34]
mov esi, eax
cmp ecx, 0x10
jb 0x100245ee
inc ecx
push ecx
push dword [esp + 0x24]
lea ecx, [esp + 0x28]
call fcn.10002650
mov dh, 0x11
mov byte [esp + 0x17], 0
mov ch, 0x70
mov byte [esp + 0x10], dh
mov al, 0x65
mov byte [esp + 0x17], 0
mov cl, al
mov dword [esp + 0x34], 0xf
mov dl, ch
mov dword [esp + 0x30], 0
mov bl, 0x72
mov byte [esp + 0x20], 0
mov ah, 0x7a
xor ch, dh
xor al, dh
mov byte [esp + 0x11], ch
xor cl, dh
mov byte [esp + 0x12], al
xor dl, dh
mov byte [esp + 0x13], cl
xor bl, dh
mov byte [esp + 0x14], dl
xor ah, dh
mov byte [esp + 0x15], bl
mov byte [esp + 0x16], ah
test ch, ch
jne 0x1002464b
xor ecx, ecx
jmp 0x1002465b
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10024652
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x28]
call fcn.10002770
lea edx, [esp + 0x20]
mov ecx, esi
call fcn.100186d0
mov ecx, dword [esp + 0x34]
mov esi, eax
cmp ecx, 0x10
jb 0x1002468f
inc ecx
push ecx
push dword [esp + 0x24]
lea ecx, [esp + 0x28]
call fcn.10002650
movaps xmm0, xmmword [str.X__a67__a9__9_3]
xor ecx, ecx
movups xmmword [esp + 0x10], xmm0
nop dword [eax]
mov al, byte [esp + 0x10]
xor byte [esp + ecx + 0x11], al
inc ecx
cmp ecx, 0xe
jb 0x100246a0
cmp byte [esp + 0x11], 0
mov byte [esp + 0x1f], 0
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
jne 0x100246d3
xor ecx, ecx
jmp 0x100246e9
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100246e0
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x28]
call fcn.10002770
lea edx, [esp + 0x20]
mov ecx, esi
call fcn.100186d0
mov dword [edi], eax
mov eax, dword [esp + 0x34]
cmp eax, 0x10
jb 0x1002471d
inc eax
lea ecx, [esp + 0x20]
push eax
push dword [esp + 0x24]
call fcn.10002650
movaps xmm0, xmmword [str._M_ApA__pN__NLD]
xor ecx, ecx
movups xmmword [esp + 0x10], xmm0
nop dword [eax + eax]
mov al, byte [esp + 0x10]
xor byte [esp + ecx + 0x11], al
inc ecx
cmp ecx, 0xe
jb 0x10024730
cmp byte [esp + 0x11], 0
mov byte [esp + 0x1f], 0
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], 0
mov byte [esp + 0x20], 0
jne 0x10024763
xor ecx, ecx
jmp 0x10024779
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10024770
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x28]
call fcn.10002770
lea edx, [esp + 0x20]
mov ecx, esi
call fcn.100186d0
mov dword [edi + 4], eax
mov eax, dword [esp + 0x34]
cmp eax, 0x10
jb 0x100247ae
inc eax
lea ecx, [esp + 0x20]
push eax
push dword [esp + 0x24]
call fcn.10002650
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret