Function at 0x1004ec10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov al, 0x25
mov byte [esp + 0xa], 0x26
mov bh, al
mov byte [esp + 0xc], 0x44
xor al, byte [esp + 0xc]
mov dl, 0x37
mov byte [esp + 0xb], bh
mov bl, 0x21
mov bh, byte [esp + 0xa]
mov ah, 0x1b
xor bh, byte [esp + 0xc]
mov dh, 0x36
push esi
mov esi, ecx
mov byte [esp + 0xe], bh
mov byte [esp + 0x11], bh
mov cl, 0x31
mov bh, byte [esp + 0xf]
mov ch, 0x2a
mov byte [esp + 0x12], al
mov al, byte [esp + 0x10]
xor dl, al
mov byte [esp + 0x1a], 0
xor bl, al
mov byte [esp + 0x13], dl
xor ah, al
mov byte [esp + 0x14], bl
xor dh, al
mov byte [esp + 0x15], ah
xor cl, al
mov byte [esp + 0x16], dh
xor ch, al
mov byte [esp + 0x17], cl
xor bh, al
mov byte [esp + 0x18], ch
cmp byte [esp + 0xe], 0
push edi
mov byte [esp + 0x1d], bh
mov byte [esp + 0x1e], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x1004ecb0
xor ecx, ecx
jmp 0x1004ecc0
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004ecb7
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.100027b0
mov ecx, dword [esi]
lea edx, [esp + 0x28]
call fcn.10018040
mov dword [esi + 4], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x1004ecf1
inc eax
push eax
push dword [esp + 0x2c]
call fcn.100026b0
movaps xmm0, xmmword [0x1007b260]
xor ecx, ecx
movups xmmword [esp + 0x14], xmm0
mov word [esp + 0x24], 0x1d
mov al, byte [esp + 0x14]
xor byte [esp + ecx + 0x15], al
inc ecx
cmp ecx, 0x10
jb 0x1004ed06
cmp byte [esp + 0x15], 0
mov byte [esp + 0x25], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x1004ed39
xor ecx, ecx
jmp 0x1004ed49
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004ed40
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.100027b0
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.10018040
mov dword [esi + 8], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x1004ed7b
inc eax
push eax
push dword [esp + 0x2c]
call fcn.100026b0
movaps xmm0, xmmword [0x1007acd0]
xor ecx, ecx
movups xmmword [esp + 0x14], xmm0
mov word [esp + 0x24], 0x24
mov al, byte [esp + 0x14]
xor byte [esp + ecx + 0x15], al
inc ecx
cmp ecx, 0x10
jb 0x1004ed90
cmp byte [esp + 0x15], 0
mov byte [esp + 0x25], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x1004edc3
xor ecx, ecx
jmp 0x1004edd9
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004edd0
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.100027b0
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.10018040
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x1004ee0b
inc eax
push eax
push dword [esp + 0x2c]
call fcn.100026b0
mov dl, 0x35
mov byte [esp + 0x12], 0x32
mov bh, dl
mov byte [esp + 0x14], 0x50
mov byte [esp + 0x13], bh
mov al, 0x31
mov bh, byte [esp + 0x12]
mov cl, 0x23
xor bh, byte [esp + 0x14]
mov bl, 0xf
xor al, byte [esp + 0x14]
mov ah, 0x24
mov byte [esp + 0x12], bh
mov ch, 0x39
mov byte [esp + 0x15], bh
mov dh, 0x3d
mov bh, byte [esp + 0x13]
mov byte [esp + 0x16], al
mov al, byte [esp + 0x14]
xor cl, al
mov byte [esp + 0x1e], 0
xor dl, al
mov byte [esp + 0x17], cl
xor bl, al
mov byte [esp + 0x18], dl
xor ah, al
mov byte [esp + 0x19], bl
xor ch, al
mov byte [esp + 0x1a], ah
xor dh, al
mov byte [esp + 0x1b], ch
xor bh, al
mov byte [esp + 0x1c], dh
cmp byte [esp + 0x12], 0
mov byte [esp + 0x1d], bh
mov byte [esp + 0x1e], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jne 0x1004ee9d
xor ecx, ecx
jmp 0x1004eead
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004eea4
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.100027b0
mov ecx, dword [esi + 4]
lea edx, [esp + 0x28]
call fcn.10018040
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x1004eedf
inc eax
push eax
push dword [esp + 0x2c]
call fcn.100026b0
mov al, 0x36
mov byte [esp + 0x14], 0x42
mov bl, al
mov byte [esp + 0x1d], 0
xor al, byte [esp + 0x14]
mov bh, 0x31
xor bh, byte [esp + 0x14]
mov cl, 0x30
mov byte [esp + 0x16], al
mov dl, 0x1d
mov al, byte [esp + 0x14]
mov ah, 0x2b
mov ch, 0x2f
mov byte [esp + 0x15], bh
mov dh, 0x27
mov byte [esp + 0x1d], 0
xor cl, al
mov dword [esp + 0x3c], 0xf
xor dl, al
mov byte [esp + 0x17], cl
xor bl, al
mov byte [esp + 0x18], dl
xor ah, al
mov byte [esp + 0x19], bl
xor ch, al
mov byte [esp + 0x1a], ah
xor dh, al
mov byte [esp + 0x1b], ch
mov byte [esp + 0x1c], dh
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
test bh, bh
jne 0x1004ef53
xor ecx, ecx
jmp 0x1004ef69
lea ecx, [esp + 0x15]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004ef60
sub ecx, edx
push ecx
lea eax, [esp + 0x19]
push eax
lea ecx, [esp + 0x30]
call fcn.100027b0
mov ecx, dword [esi + 0x10]
lea edx, [esp + 0x28]
call fcn.10018040
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x3c]
cmp eax, 0x10
jb 0x1004ef9b
inc eax
push eax
push dword [esp + 0x2c]
call fcn.100026b0
mov edi, dword [esi + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test edi, edi
je 0x1004efba
push 4
push edi
call ebx
test eax, eax
jne 0x1004efba
push eax
mov ecx, edi
call dword [0x100785d0]
mov esi, dword [esi]
test esi, esi
je 0x1004efd3
push 4
push esi
call ebx
test eax, eax
jne 0x1004efd3
push 0x14
mov ecx, esi
call dword [0x100785e0]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret