Function at 0x10026000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi]
test edi, edi
je 0x1002602a
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002602a
mov ecx, edi
call dword [0x10049ffc]
mov edi, eax
jmp 0x1002602c
xor edi, edi
mov ebx, dword [esi]
test ebx, ebx
je 0x1002604b
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002604b
or edi, 0x20
mov ecx, ebx
push edi
call dword [0x1004a000]
mov byte [ebp - 0x14], 0x4f
mov al, 0x2d
xor al, byte [ebp - 0x14]
mov dl, 0x21
mov byte [ebp - 0x13], al
mov dh, 0x20
mov al, byte [ebp - 0x14]
mov cl, 0x3b
xor dl, al
mov byte [ebp - 0xa], 0
xor dh, al
mov byte [ebp - 0x11], dl
mov byte [ebp - 0xd], dh
xor cl, al
mov bl, 0x10
mov byte [ebp - 1], 0x2a
xor bl, al
mov byte [ebp - 0x12], cl
mov ah, 0x2c
mov byte [ebp - 0x10], bl
xor ah, al
mov byte [ebp - 0xa], 0
mov ch, 0x23
mov byte [ebp - 0xf], ah
xor ch, al
mov bh, 0x3c
xor bh, al
mov byte [ebp - 0xe], ch
mov al, byte [ebp - 1]
sub esp, 0x18
xor al, byte [ebp - 0x14]
mov edx, esp
mov byte [ebp - 0xc], bh
mov byte [ebp - 0xb], 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 0x100260cb
mov eax, dword [edx]
jmp 0x100260cd
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x13], 0
jne 0x100260da
xor ecx, ecx
jmp 0x100260e9
lea ecx, [ebp - 0x13]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100260e0
sub ecx, edi
push ecx
lea eax, [ebp - 0x13]
mov ecx, edx
push eax
call fcn.10004510
mov ecx, dword [esi]
call fcn.1000e680
add esp, 0x18
mov dword [esi + 4], eax
mov cl, 0x58
mov dword [ebp - 0x18], 0x362c3a58
mov dword [ebp - 0x14], 0x2a392f07
xor eax, eax
mov dword [ebp - 0x10], 0x2a37312a
mov byte [ebp - 0xc], 0
nop
xor byte [ebp + eax - 0x17], cl
inc eax
cmp eax, 0xb
jae 0x1002612f
mov cl, byte [ebp - 0x18]
jmp 0x10026120
sub esp, 0x18
mov byte [ebp - 0xc], 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 0x1002615e
mov eax, dword [edx]
jmp 0x10026160
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x17], 0
jne 0x1002616d
xor ecx, ecx
jmp 0x1002617c
lea ecx, [ebp - 0x17]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10026173
sub ecx, edi
push ecx
lea eax, [ebp - 0x17]
mov ecx, edx
push eax
call fcn.10004510
mov ecx, dword [esi]
call fcn.1000e680
mov dword [esi + 8], eax
mov dl, 0x5b
mov byte [ebp - 0x14], 0x35
mov al, 0x57
xor al, byte [ebp - 0x14]
mov dh, 0x52
mov byte [ebp - 0x13], al
mov cl, 0x41
mov al, byte [ebp - 0x14]
mov bl, 0x6a
xor dl, al
mov byte [ebp - 0xa], 0
xor dh, al
mov byte [ebp - 0x11], dl
mov byte [ebp - 0xd], dh
xor cl, al
xor bl, al
mov byte [ebp - 1], 0x50
mov edx, esp
mov byte [ebp - 0x12], cl
mov ah, 0x47
mov byte [ebp - 0x10], bl
xor ah, al
mov byte [ebp - 0xa], 0
mov ch, 0x5a
mov byte [ebp - 0xf], ah
xor ch, al
mov bh, 0x40
xor bh, al
mov byte [ebp - 0xe], ch
mov al, byte [ebp - 1]
xor al, byte [ebp - 0x14]
mov byte [ebp - 0xc], bh
mov byte [ebp - 0xb], 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 0x1002620f
mov eax, dword [edx]
jmp 0x10026211
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x13], 0
jne 0x1002621e
xor ecx, ecx
jmp 0x1002622d
lea ecx, [ebp - 0x13]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10026224
sub ecx, edi
push ecx
lea eax, [ebp - 0x13]
mov ecx, edx
push eax
call fcn.10004510
mov ecx, dword [esi]
call fcn.1000e680
mov dword [esi + 0xc], eax
mov dl, 0x2f
mov byte [ebp - 0x14], 0x41
mov al, 0x23
xor al, byte [ebp - 0x14]
mov dh, 0x26
mov byte [ebp - 0x13], al
mov cl, 0x35
mov al, byte [ebp - 0x14]
mov bl, 0x1e
xor dl, al
mov byte [ebp - 0xb], 0
mov byte [ebp - 0x11], dl
xor dh, al
mov byte [ebp - 0xd], dh
mov ah, 0x2c
mov edx, esp
mov byte [ebp - 0xb], 0
mov ch, 0x20
mov bh, 0x24
xor cl, al
xor bl, al
mov byte [ebp - 0x12], cl
xor ah, al
mov byte [ebp - 0x10], bl
xor ch, al
mov byte [ebp - 0xf], ah
xor bh, al
mov byte [ebp - 0xe], ch
mov byte [ebp - 0xc], 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 0x100262b3
mov eax, dword [edx]
jmp 0x100262b5
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x13], 0
jne 0x100262c2
xor ecx, ecx
jmp 0x100262d1
lea ecx, [ebp - 0x13]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100262c8
sub ecx, edi
push ecx
lea eax, [ebp - 0x13]
mov ecx, edx
push eax
call fcn.10004510
mov ecx, dword [esi]
call fcn.1000e680
mov dword [esi + 0x10], eax
mov cl, 0x72
mov byte [ebp - 0x14], 6
mov al, 0x64
xor al, byte [ebp - 0x14]
mov dl, 0x68
mov byte [ebp - 0x13], al
mov dh, 0x6f
mov byte [ebp - 2], cl
mov bl, 0x59
xor cl, byte [ebp - 0x14]
mov ah, 0x76
mov byte [ebp - 0x12], cl
mov ch, 0x74
mov cl, byte [ebp - 0x14]
mov bh, 0x63
mov byte [ebp - 1], 0x75
xor dl, cl
mov al, byte [ebp - 1]
xor dh, cl
mov byte [ebp - 0x11], dl
xor al, cl
mov byte [ebp - 0xb], al
xor bl, cl
mov al, byte [ebp - 2]
xor ah, cl
mov byte [ebp - 0xd], dh
xor ch, cl
mov edx, esp
mov byte [ebp - 9], 0
mov byte [ebp - 0x10], bl
xor bh, cl
mov byte [ebp - 0xf], ah
xor al, cl
mov byte [ebp - 0xe], ch
mov byte [ebp - 0xc], bh
mov byte [ebp - 0xa], al
mov byte [ebp - 9], 0
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 0x1002636f
mov eax, dword [edx]
jmp 0x10026371
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x13], 0
jne 0x1002637e
xor ecx, ecx
jmp 0x1002638d
lea ecx, [ebp - 0x13]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10026384
sub ecx, edi
push ecx
lea eax, [ebp - 0x13]
mov ecx, edx
push eax
call fcn.10004510
mov ecx, dword [esi]
call fcn.1000e680
movaps xmm0, xmmword [str.U____n084____2_n_U]
add esp, 0x18
mov dword [esi + 0x14], eax
xor ecx, ecx
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0xc], 0x30383c
nop word [eax + eax]
mov al, byte [ebp - 0x1c]
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 0x12
jb 0x100263c0
sub esp, 0x18
mov byte [ebp - 9], 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 0x100263fc
mov eax, dword [edx]
jmp 0x100263fe
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x1b], 0
jne 0x1002640b
xor ecx, ecx
jmp 0x1002641a
lea ecx, [ebp - 0x1b]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10026411
sub ecx, edi
push ecx
lea eax, [ebp - 0x1b]
mov ecx, edx
push eax
call fcn.10004510
mov ecx, dword [esi]
call fcn.1000e680
movaps xmm0, xmmword [0x1004aa30]
add esp, 0x18
mov dword [esi + 0x18], eax
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x647f6569
mov word [ebp - 0xc], 0x7e
nop dword [eax]
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x14
jb 0x10026450
sub esp, 0x18
mov byte [ebp - 0xb], 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 0x1002648c
mov eax, dword [edx]
jmp 0x1002648e
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x1f], 0
jne 0x1002649b
xor ecx, ecx
jmp 0x100264aa
lea ecx, [ebp - 0x1f]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100264a1
sub ecx, edi
push ecx
lea eax, [ebp - 0x1f]
mov ecx, edx
push eax
call fcn.10004510
mov ecx, dword [esi]
call fcn.1000e680
movaps xmm0, xmmword [0x1004ab10]
add esp, 0x18
mov dword [esi + 0x1c], eax
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x606c5063
mov dword [ebp - 0xc], 0x7b617a
nop
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x16
jb 0x100264e0
sub esp, 0x18
mov byte [ebp - 9], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x1f], 0
jne 0x10026511
xor ecx, ecx
jmp 0x10026520
lea ecx, [ebp - 0x1f]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10026517
sub ecx, edi
push ecx
lea eax, [ebp - 0x1f]
mov ecx, edx
push eax
call fcn.10004510
mov ecx, dword [esi]
call fcn.1000e680
add esp, 0x18
mov dword [esi + 0x20], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret