Function at 0x1002d340
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, 0xc
mov byte [esp + 0x16], 0
mov edi, ecx
mov dword [esp + 0x34], 0xf
mov cl, 0x69
mov dword [esp + 0x30], 0
mov dh, 0xe
mov byte [esp + 0x10], cl
xor bl, bl
mov byte [esp + 0x20], 0
mov ah, al
mov dl, 7
xor dh, cl
xor al, cl
xor dl, cl
mov byte [esp + 0x11], dh
xor bl, cl
mov byte [esp + 0x12], al
xor ah, cl
mov byte [esp + 0x13], dl
mov byte [esp + 0x14], bl
mov byte [esp + 0x15], ah
test dh, dh
jne 0x1002d39e
xor ecx, ecx
jmp 0x1002d3ae
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002d3a5
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x28]
call fcn.10002840
mov ecx, dword [edi + 8]
lea edx, [esp + 0x20]
call fcn.1001b710
mov ecx, dword [esp + 0x34]
mov esi, eax
cmp ecx, 0x10
jb 0x1002d3e3
inc ecx
push ecx
push dword [esp + 0x24]
lea ecx, [esp + 0x28]
call fcn.10002720
mov dh, 0x3c
mov byte [esp + 0x17], 0
mov ch, 0x5d
mov byte [esp + 0x10], dh
mov al, 0x48
mov byte [esp + 0x17], 0
mov cl, al
mov dword [esp + 0x34], 0xf
mov dl, ch
mov dword [esp + 0x30], 0
mov bl, 0x5f
mov byte [esp + 0x20], 0
mov ah, 0x57
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 0x1002d440
xor ecx, ecx
jmp 0x1002d450
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002d447
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x28]
call fcn.10002840
lea edx, [esp + 0x20]
mov ecx, esi
call fcn.1001b710
mov ecx, dword [esp + 0x34]
mov esi, eax
cmp ecx, 0x10
jb 0x1002d484
inc ecx
push ecx
push dword [esp + 0x24]
lea ecx, [esp + 0x28]
call fcn.10002720
movaps xmm0, xmmword [str._MJLaPQJa_JJ__U]
xor ecx, ecx
movups xmmword [esp + 0x10], xmm0
mov al, byte [esp + 0x10]
xor byte [esp + ecx + 0x11], al
inc ecx
cmp ecx, 0xe
jb 0x1002d492
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 0x1002d4c5
xor ecx, ecx
jmp 0x1002d4d9
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002d4d0
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x28]
call fcn.10002840
lea edx, [esp + 0x20]
mov ecx, esi
call fcn.1001b710
mov dword [edi], eax
mov eax, dword [esp + 0x34]
cmp eax, 0x10
jb 0x1002d50d
inc eax
lea ecx, [esp + 0x20]
push eax
push dword [esp + 0x24]
call fcn.10002720
movaps xmm0, xmmword [str.M_9]
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 0x1002d520
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 0x1002d553
xor ecx, ecx
jmp 0x1002d569
lea ecx, [esp + 0x11]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002d560
sub ecx, edx
push ecx
lea eax, [esp + 0x15]
push eax
lea ecx, [esp + 0x28]
call fcn.10002840
lea edx, [esp + 0x20]
mov ecx, esi
call fcn.1001b710
mov dword [edi + 4], eax
mov eax, dword [esp + 0x34]
cmp eax, 0x10
jb 0x1002d59e
inc eax
lea ecx, [esp + 0x20]
push eax
push dword [esp + 0x24]
call fcn.10002720
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret