Function at 0x1001e280
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov byte [ebp - 0x18], 0x7e
mov al, 0x1c
xor al, byte [ebp - 0x18]
mov dl, 0xa
push ebx
mov byte [ebp - 0x17], al
mov dh, 0x1d
mov al, byte [ebp - 0x18]
mov bl, 0x10
push esi
xor dl, al
mov byte [ebp - 0xe], 0
xor dh, al
mov byte [ebp - 0x16], dl
push edi
mov edi, ecx
mov byte [ebp - 0x13], dh
xor bl, al
mov byte [ebp - 1], 0x1b
mov ah, 0x21
mov byte [ebp - 0x15], bl
xor ah, al
mov byte [ebp - 0xe], 0
mov bh, 0x12
mov byte [ebp - 0x14], ah
xor bh, al
mov cl, 0x11
xor cl, al
mov byte [ebp - 0x12], bh
mov ch, 0xd
mov byte [ebp - 0x11], cl
xor ch, al
sub esp, 0x18
mov al, byte [ebp - 1]
mov edx, esp
xor al, byte [ebp - 0x18]
mov byte [ebp - 0x10], ch
mov byte [ebp - 0xf], al
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x1001e30b
mov eax, dword [edx]
jmp 0x1001e30d
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x17], 0
jne 0x1001e31a
xor ecx, ecx
jmp 0x1001e329
lea ecx, [ebp - 0x17]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001e320
sub ecx, esi
push ecx
lea eax, [ebp - 0x17]
mov ecx, edx
push eax
call fcn.10005550
mov ecx, dword [edi + 0x20]
call fcn.10010890
mov dword [edi], eax
mov cl, 0x1e
mov byte [ebp - 0x18], 0x6a
mov al, 8
xor al, byte [ebp - 0x18]
mov dl, 4
mov byte [ebp - 0x17], al
mov ch, cl
mov al, byte [ebp - 0x18]
mov dh, 0xb
xor dl, al
mov byte [ebp - 1], ch
xor dh, al
mov byte [ebp - 0x15], dl
mov byte [ebp - 0x11], dh
xor cl, al
xor ch, al
mov byte [ebp - 0xe], 0
mov edx, esp
mov byte [ebp - 0x16], cl
mov bl, 0x35
mov byte [ebp - 0x12], ch
xor bl, al
mov byte [ebp - 0xe], 0
mov ah, 0x19
mov byte [ebp - 0x14], bl
xor ah, al
mov bh, 0x18
xor bh, al
mov byte [ebp - 0x13], ah
mov al, byte [ebp - 1]
xor al, byte [ebp - 0x18]
mov byte [ebp - 0x10], bh
mov byte [ebp - 0xf], al
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x1001e3bb
mov eax, dword [edx]
jmp 0x1001e3bd
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x17], 0
jne 0x1001e3ca
xor ecx, ecx
jmp 0x1001e3d9
lea ecx, [ebp - 0x17]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001e3d0
sub ecx, esi
push ecx
lea eax, [ebp - 0x17]
mov ecx, edx
push eax
call fcn.10005550
mov ecx, dword [edi + 0x20]
call fcn.10010890
mov dword [edi + 4], eax
mov dl, 0x50
mov byte [ebp - 0x18], 0x3e
mov al, 0x5c
xor al, byte [ebp - 0x18]
mov dh, 0x51
mov byte [ebp - 0x17], al
mov cl, 0x4a
mov al, byte [ebp - 0x18]
mov ch, cl
xor dl, al
mov byte [ebp - 0xf], 0
mov byte [ebp - 0x15], dl
xor dh, al
mov byte [ebp - 0x11], dh
mov bl, 0x61
mov edx, esp
mov byte [ebp - 0xf], 0
mov ah, 0x4d
mov bh, 0x4e
xor cl, al
xor bl, al
mov byte [ebp - 0x16], cl
xor ah, al
mov byte [ebp - 0x14], bl
xor ch, al
mov byte [ebp - 0x13], ah
xor bh, al
mov byte [ebp - 0x12], ch
mov byte [ebp - 0x10], bh
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x1001e460
mov eax, dword [edx]
jmp 0x1001e462
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x17], 0
jne 0x1001e46f
xor ecx, ecx
jmp 0x1001e47e
lea ecx, [ebp - 0x17]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001e475
sub ecx, esi
push ecx
lea eax, [ebp - 0x17]
mov ecx, edx
push eax
call fcn.10005550
mov ecx, dword [edi + 0x20]
call fcn.10010890
movaps xmm0, xmmword [0x10068220]
add esp, 0x18
mov dword [edi + 8], eax
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
mov word [ebp - 0x10], 0x494b
mov byte [ebp - 0xe], 0
nop
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x11
jb 0x1001e4b0
sub esp, 0x18
mov byte [ebp - 0xe], 0
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x1001e4ec
mov eax, dword [edx]
jmp 0x1001e4ee
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x1f], 0
jne 0x1001e4fb
xor ecx, ecx
jmp 0x1001e50a
lea ecx, [ebp - 0x1f]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001e501
sub ecx, esi
push ecx
lea eax, [ebp - 0x1f]
mov ecx, edx
push eax
call fcn.10005550
mov ecx, dword [edi + 0x20]
call fcn.10010890
add esp, 0x18
mov dword [edi + 0xc], eax
mov cl, 0x62
mov dword [ebp - 0x1c], 0xc160062
mov dword [ebp - 0x18], 0xd16113d
xor eax, eax
mov dword [ebp - 0x14], 0xb3d0901
mov word [ebp - 0x10], 0xc0c
mov byte [ebp - 0xe], 0
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 0xd
jae 0x1001e556
mov cl, byte [ebp - 0x1c]
jmp 0x1001e547
sub esp, 0x18
mov byte [ebp - 0xe], 0
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x1001e585
mov eax, dword [edx]
jmp 0x1001e587
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x1b], 0
jne 0x1001e594
xor ecx, ecx
jmp 0x1001e5a9
lea ecx, [ebp - 0x1b]
lea esi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001e5a0
sub ecx, esi
push ecx
lea eax, [ebp - 0x1b]
mov ecx, edx
push eax
call fcn.10005550
mov ecx, dword [edi + 0x20]
call fcn.10010890
mov dword [edi + 0x10], eax
mov dh, 0x22
mov byte [ebp - 0x18], 0x4e
mov al, 0x2c
xor al, byte [ebp - 0x18]
mov dl, 0x20
mov byte [ebp - 0x17], al
mov bh, dh
mov al, byte [ebp - 0x18]
mov cl, 0x3a
xor dl, al
mov byte [ebp - 0xf], 0
mov byte [ebp - 0x15], dl
xor dh, al
mov byte [ebp - 0x11], dh
mov bl, 0x11
mov edx, esp
mov byte [ebp - 0xf], 0
mov ah, 0x3d
mov ch, 0x2b
xor cl, al
xor bl, al
mov byte [ebp - 0x16], cl
xor ah, al
mov byte [ebp - 0x14], bl
xor ch, al
mov byte [ebp - 0x13], ah
xor bh, al
mov byte [ebp - 0x12], ch
mov byte [ebp - 0x10], bh
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x1001e630
mov eax, dword [edx]
jmp 0x1001e632
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x17], 0
jne 0x1001e63f
xor ecx, ecx
jmp 0x1001e64e
lea ecx, [ebp - 0x17]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001e645
sub ecx, esi
push ecx
lea eax, [ebp - 0x17]
mov ecx, edx
push eax
call fcn.10005550
mov ecx, dword [edi + 0x20]
call fcn.10010890
movaps xmm0, xmmword [0x100687a0]
add esp, 0x18
mov dword [edi + 0x14], eax
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x667c677d
mov byte [ebp - 0xc], 0
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x13
jb 0x1001e680
sub esp, 0x18
mov byte [ebp - 0xc], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x1f], 0
jne 0x1001e6b1
xor ecx, ecx
jmp 0x1001e6c0
lea ecx, [ebp - 0x1f]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001e6b7
sub ecx, esi
push ecx
lea eax, [ebp - 0x1f]
mov ecx, edx
push eax
call fcn.10005550
mov ecx, dword [edi + 0x20]
call fcn.10010890
mov esi, eax
add esp, 0x18
mov dword [edi + 0x18], esi
test esi, esi
je 0x1001e704
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push esi
call edi
test eax, eax
jne 0x1001e704
push 4
add esi, 0x128
push esi
call edi
test eax, eax
jne 0x1001e704
mov dword [esi], 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret