Function at 0x10026730
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006fff1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa0
mov eax, dword [0x10083040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x3c], edi
cmp dword [0x10088030], 0
je 0x10026f6a
mov ecx, dword [edi + 0x158]
mov edx, dword [edi + 0x15c]
cmp ecx, edx
je 0x100267a8
push ecx
call fcn.10027050
mov eax, dword [edi + 0x158]
add esp, 4
mov dword [edi + 0x15c], eax
mov esi, dword [edi + 0x14c]
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov eax, 0x4ec4ec4f
mov ecx, dword [edi + 0x150]
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x10026929
xor edi, edi
cmp word [edi + esi + 0x60], 0
je 0x10026853
cmp byte [0x100880ac], 0
mov eax, dword [0x10088030]
mov dword [ebp - 0x30], eax
je 0x10026834
mov ecx, 0x10b8134
call fcn.100113d0
mov dword [ebp - 0x34], eax
test eax, eax
je 0x10026838
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10026838
mov eax, dword [ebp - 0x34]
add eax, 0xc88
push 4
push eax
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov ecx, dword [ebp - 0x30]
test eax, eax
jne 0x1002683b
mov eax, dword [ebp - 0x34]
mov ax, word [eax]
mov word [ecx + 0x40], ax
jmp 0x1002683b
mov ecx, eax
jmp 0x1002683b
mov ecx, dword [ebp - 0x30]
mov ax, word [edi + esi + 0x60]
cmp ax, word [ecx + 0x40]
jne 0x100268f5
mov eax, dword [ebp - 0x3c]
mov esi, dword [eax + 0x14c]
movzx eax, word [edi + esi + 0x60]
mov ecx, eax
cmp eax, 1
je 0x10026864
cmp ecx, 2
jne 0x100268c8
cmp byte [0x100880ac], 0
mov eax, dword [0x10088030]
mov dword [ebp - 0x30], eax
je 0x100268bd
mov ecx, 0x10b8134
call fcn.100113d0
mov dword [ebp - 0x34], eax
test eax, eax
je 0x100268ba
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100268ba
mov eax, dword [ebp - 0x34]
add eax, 0x6dc
push 4
push eax
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100268ba
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov al, byte [eax]
mov byte [ecx + 0x38], al
mov eax, ecx
jmp 0x100268bd
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax + 0x38]
cmp word [edi + esi + 0x60], ax
jne 0x100268f5
mov ecx, dword [ebp - 0x3c]
lea esi, [ecx + 0x158]
mov eax, dword [ecx + 0x14c]
mov ecx, dword [esi + 4]
add eax, edi
push eax
cmp ecx, dword [esi + 8]
je 0x100268ed
call fcn.100273d0
add dword [esi + 4], 0x68
jmp 0x100268f5
push ecx
mov ecx, esi
call fcn.100270c0
mov eax, dword [ebp - 0x3c]
add edi, 0x68
inc dword [ebp - 0x38]
mov ecx, dword [eax + 0x150]
mov esi, dword [eax + 0x14c]
sub ecx, esi
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x38], eax
jl 0x100267d6
mov edi, dword [ebp - 0x3c]
mov eax, dword [edi + 0x158]
mov ecx, dword [edi + 0x15c]
cmp eax, ecx
jne 0x100269a3
add edi, 0xc
mov dword [ebp - 0x44], 4
mov esi, dword [edi]
test esi, esi
je 0x1002695f
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002695f
push eax
mov ecx, esi
call dword [0x1007ac58]
add edi, 4
sub dword [ebp - 0x44], 1
jne 0x10026943
mov esi, dword [ebp - 0x3c]
mov edi, dword [esi + 0x144]
mov esi, dword [esi + 0x134]
test esi, esi
je 0x10026991
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10026991
push edi
mov ecx, esi
call dword [0x1007acc0]
mov eax, dword [ebp - 0x3c]
mov dword [eax + 0x148], 1
jmp 0x10026f6a
sub ecx, eax
sub esp, 8
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1007c320]
mulsd xmm0, qword [0x1007bc88]
movsd qword [ebp - 0x90], xmm0
fld qword [ebp - 0x90]
fstp qword [esp]
call fcn.1006bca0
add esp, 8
fstp qword [ebp - 0x90]
movsd xmm0, qword [ebp - 0x90]
call fcn.10027460
cvttsd2si eax, xmm0
mov dword [edi + 0x148], eax
cmp dword [edi + 0x144], eax
jle 0x10026a1d
mov dword [edi + 0x144], 1
movzx eax, byte [ebx + 8]
lea ecx, [edi + 8]
shl eax, 2
or edx, 0xffffffff
mov dword [ebp - 0x94], eax
add eax, 0xfffffffc
mov dword [ebp - 0x44], eax
imul eax, eax, 0x68
mov dword [ebp - 0x40], eax
lea eax, [edi + 0xc]
nop
inc edx
add ecx, 4
add eax, 0x18
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x30], eax
cmp edx, 4
jg 0x10026f39
mov ecx, dword [edi + 0x15c]
mov eax, 0x4ec4ec4f
mov esi, dword [edi + 0x158]
sub ecx, esi
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
dec eax
add eax, edx
cmp dword [ebp - 0x44], eax
jle 0x10026aad
mov ecx, dword [ebp - 0x38]
mov esi, dword [ecx]
test esi, esi
je 0x10026f18
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10026f15
push eax
mov ecx, esi
call dword [0x1007ac58]
jmp 0x10026f15
mov eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x2c]
add eax, esi
mov dword [ebp - 0x34], 0xffc4fc03
push eax
call fcn.10001d60
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x158]
cmp byte [eax + ecx + 0x65], 2
jne 0x10026b1a
movaps xmm0, xmmword [0x1007c640]
xor ecx, ecx
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0x617c697b
mov dword [ebp - 0x58], 0x556667
mov al, byte [ebp - 0x6c]
xor byte [ebp + ecx - 0x6b], al
inc ecx
cmp ecx, 0x16
jb 0x10026af4
lea eax, [ebp - 0x6b]
mov byte [ebp - 0x55], 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.10005bb0
mov dword [ebp - 0x34], 0xff5cb9fe
jmp 0x10026b5f
mov cl, 0x7e
mov dword [ebp - 0x54], 0x2b255e7e
mov dword [ebp - 0x50], 0xc1b1a10
xor eax, eax
mov dword [ebp - 0x4c], 0x71f095e
mov word [ebp - 0x48], 0x23
nop dword [eax]
xor byte [ebp + eax - 0x53], cl
inc eax
cmp eax, 0xc
jae 0x10026b4f
mov cl, byte [ebp - 0x54]
jmp 0x10026b40
lea eax, [ebp - 0x53]
mov byte [ebp - 0x47], 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.10005bb0
cmp dword [ebp - 0x18], 0xf
lea edx, [ebp - 0x2c]
xorps xmm0, xmm0
mov dword [ebp - 0x74], 0
cmova edx, dword [ebp - 0x2c]
mov ecx, edx
mov dword [ebp - 0x70], 0
movups xmmword [ebp - 0x84], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10026b87
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x84]
call fcn.10002130
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 1
mov esi, dword [ecx]
test esi, esi
je 0x10026bc6
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10026bc6
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
call dword [0x1007acbc]
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x70]
cmp ecx, 0xf
jbe 0x10026c01
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10026bf7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10026f8a
push ecx
push edx
call fcn.1004d526
add esp, 8
mov eax, dword [ebp - 0x30]
mov esi, dword [eax]
test esi, esi
je 0x10026c22
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10026c22
push dword [ebp - 0x34]
mov ecx, esi
call dword [0x1007acc4]
mov eax, dword [edi + 0x158]
mov edx, dword [ebp - 0x40]
movaps xmm0, xmmword [0x1007bd10]
movups xmmword [ebp - 0x64], xmm0
movzx ecx, byte [eax + edx + 0x64]
movzx eax, byte [eax + edx + 0x63]
push ecx
push eax
xor ecx, ecx
mov al, byte [ebp - 0x64]
xor byte [ebp + ecx - 0x63], al
inc ecx
cmp ecx, 0xe
jb 0x10026c44
sub esp, 0x18
mov byte [ebp - 0x55], 0
mov edx, esp
lea ecx, [ebp - 0x63]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10026c74
sub ecx, esi
lea eax, [ebp - 0x63]
push ecx
push eax
mov ecx, edx
call fcn.10002130
lea eax, [ebp - 0xac]
push eax
call fcn.1000bae0
add esp, 0x24
mov edx, eax
mov byte [ebp - 4], 2
cmp dword [edx + 0x14], 0xf
jbe 0x10026ca6
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x74], 0
xorps xmm0, xmm0
mov dword [ebp - 0x70], 0
movups xmmword [ebp - 0x84], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10026cc3
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x84]
call fcn.10002130
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 3
mov esi, dword [eax - 4]
test esi, esi
je 0x10026d03
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10026d03
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
call dword [0x1007acbc]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x70]
cmp ecx, 0xf
jbe 0x10026d3e
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10026d34
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10026f8a
push ecx
push edx
call fcn.1004d526
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
cmp ecx, 0xf
jbe 0x10026d91
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10026d87
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10026f8a
push ecx
push edx
call fcn.1004d526
add esp, 8
mov edx, dword [edi + 0x158]
lea ecx, [ebp - 0x6c]
add edx, dword [ebp - 0x40]
mov dx, word [edx + 0x60]
call fcn.10020b40
mov edx, eax
mov byte [ebp - 4], 4
cmp dword [edx + 0x14], 0xf
jbe 0x10026db4
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x74], 0
xorps xmm0, xmm0
mov dword [ebp - 0x70], 0
movups xmmword [ebp - 0x84], xmm0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10026dd1
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x84]
call fcn.10002130
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 5
mov esi, dword [eax + 8]
test esi, esi
je 0x10026e11
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10026e11
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
call dword [0x1007acbc]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x70]
cmp ecx, 0xf
jbe 0x10026e4c
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10026e42
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10026f8a
push ecx
push edx
call fcn.1004d526
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
cmp ecx, 0xf
jbe 0x10026e99
mov edx, dword [ebp - 0x6c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10026e8f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10026f8a
push ecx
push edx
call fcn.1004d526
add esp, 8
mov eax, dword [edi + 0x158]
mov ecx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x38]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov eax, dword [eax + ecx + 0x18]
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 0x6c], 0
mov dword [ecx - 8], eax
mov esi, dword [esi]
test esi, esi
je 0x10026ede
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10026ede
push 1
mov ecx, esi
call dword [0x1007ac58]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x10026f15
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10026f0b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10026f8a
push ecx
push edx
call fcn.1004d526
add esp, 8
mov ecx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x44]
add dword [ebp - 0x40], 0x68
inc esi
mov dword [ebp - 0x44], esi
cmp esi, dword [ebp - 0x94]
jge 0x10026f39
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x8c]
jmp 0x10026a40
mov esi, dword [ebp - 0x3c]
mov edi, dword [edi + 0x144]
mov esi, dword [esi + 0x134]
test esi, esi
je 0x10026f62
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10026f62
push edi
mov ecx, esi
call dword [0x1007acc0]
mov ecx, dword [ebp - 0x3c]
call fcn.10025d30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1004d4c5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.100527f4
int3