Function at 0x10105f70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10182bf8
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x101dadb0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x1027c0b4]
mov esi, dword [ebp + 8]
cmp dword [edi + 0x324], 0
je 0x10106dd2
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x18]
inc eax
sub ecx, dword [esi + 0x14]
cmp eax, ecx
mov ecx, dword [esi + 8]
jbe 0x10105fc8
xor al, al
jmp 0x10105fdc
push ecx
lea ecx, [esi + 0x10]
call fcn.1004ead0
mov ecx, dword [esi + 8]
mov edi, dword [0x1027c0b4]
mov al, byte [eax]
lea edx, [ecx + 1]
mov dword [esi + 8], edx
cmp al, 1
jne 0x101067fc
xorps xmm0, xmm0
mov dword [ebp - 4], 0
push 8
movups xmmword [ebp - 0x90], xmm0
call fcn.100484a0
lea ecx, [ebp - 0x90]
add esp, 4
mov dword [eax + 4], 0
mov dword [ebp - 0x90], eax
mov dword [eax], ecx
mov dword [ebp - 4], 1
lea edi, [esi + 0x10]
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
lea eax, [edx + 1]
cmp eax, ecx
ja 0x1010603f
push edx
mov ecx, edi
call fcn.1004ead0
mov edx, dword [esi + 8]
inc edx
mov dword [esi + 8], edx
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
lea eax, [edx + 2]
cmp eax, ecx
jbe 0x10106059
mov dword [ebp - 0x78], 0
jmp 0x1010606a
push edx
mov ecx, edi
call fcn.1004ead0
mov edx, dword [esi + 8]
movzx eax, word [eax]
mov dword [ebp - 0x78], eax
lea eax, [edx + 2]
mov dword [esi + 8], eax
mov eax, dword [0x1027c0b4]
mov edi, dword [eax + 0x478]
mov eax, dword [edi + 0x104]
test eax, eax
je 0x101067ec
cmp byte [eax + 0x10d], 0
je 0x101067ec
mov edi, dword [edi + 0x174]
mov ecx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test edi, edi
je 0x101060ca
push 4
push edi
call ecx
test eax, eax
jne 0x101060c4
mov dword [0x1027c054], edi
mov dword [0x1027bfe8], 7
call fcn.100d7450
mov ecx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov eax, dword [0x1027c0b4]
mov eax, dword [eax + 0x478]
mov edi, dword [eax + 0x198]
test edi, edi
je 0x101060fd
push 4
push edi
call ecx
test eax, eax
jne 0x101060fd
mov dword [0x1027c054], edi
mov dword [0x1027bfe8], 7
call fcn.100d7450
mov edi, 0x10c
mov eax, dword [0x1027c0b4]
mov eax, dword [eax + 0x478]
mov eax, dword [edi + eax]
mov dword [ebp - 0x74], eax
test eax, eax
je 0x1010613b
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1010613b
mov eax, dword [ebp - 0x74]
mov dword [0x1027c054], eax
mov dword [0x1027bfe8], 7
call fcn.100d7450
add edi, 4
cmp edi, 0x11c
jl 0x10106102
mov eax, dword [0x1027c0b4]
mov ecx, dword [ebp - 0x78]
push 0x2e
mov eax, dword [eax + 0x478]
mov word [eax + 0x1a0], cx
mov eax, dword [0x1027c0b4]
mov eax, dword [eax + 0x478]
mov byte [eax + 0x1a3], 0
mov eax, dword [0x1027c0b4]
mov eax, dword [eax + 0x478]
mov dword [eax + 0x1a4], 0
mov eax, dword [0x1027c0b4]
mov eax, dword [eax + 0x478]
mov byte [eax + 0x1a8], 0
mov eax, dword [0x1027c0b4]
mov eax, dword [eax + 0x478]
movzx eax, word [eax + 0x1a0]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100f6260
mov byte [ebp - 4], 2
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x101061c1
mov ecx, dword [ecx]
push ecx
lea ecx, [ebp - 0x48]
call fcn.10046d00
mov eax, dword [0x1027c0b4]
mov eax, dword [eax + 0x478]
mov eax, dword [eax + 0x188]
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 3
test eax, eax
jne 0x1010622f
lea ecx, [ebp - 0x48]
call fcn.10043e40
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10106203
inc eax
push eax
push dword [ebp - 0x44]
call fcn.10048530
add esp, 8
mov eax, dword [ebp - 0x48]
push 8
push eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
call fcn.10048530
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
jmp 0x1010628c
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push eax
call edi
test eax, eax
jne 0x1010624b
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x48]
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x48]
call fcn.10043e40
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10106268
inc eax
push eax
push dword [ebp - 0x44]
call fcn.10048530
add esp, 8
mov eax, dword [ebp - 0x48]
push 8
push eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
call fcn.10048530
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.10043e40
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x101062b0
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10048530
add esp, 8
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
call fcn.10048530
mov eax, dword [0x1027c0b4]
add esp, 8
mov eax, dword [eax + 0x478]
push 0x2e
movzx eax, byte [eax + 0x1a3]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100f6260
mov byte [ebp - 4], 4
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x10106304
mov ecx, dword [ecx]
push ecx
lea ecx, [ebp - 0x48]
call fcn.10046d00
mov eax, dword [0x1027c0b4]
mov eax, dword [eax + 0x478]
mov eax, dword [eax + 0x184]
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 5
test eax, eax
je 0x1010633f
push 4
push eax
call edi
test eax, eax
jne 0x1010633f
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x48]
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x48]
call fcn.10043e40
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x1010635c
inc eax
push eax
push dword [ebp - 0x44]
call fcn.10048530
add esp, 8
mov eax, dword [ebp - 0x48]
push 8
push eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
call fcn.10048530
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.10043e40
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x101063a4
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10048530
add esp, 8
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
call fcn.10048530
mov eax, dword [0x1027c0b4]
add esp, 8
mov eax, dword [eax + 0x478]
push 0x2e
push dword [eax + 0x1a4]
lea eax, [ebp - 0x2c]
push eax
call fcn.100f6260
mov byte [ebp - 4], 6
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x101063f6
mov ecx, dword [ecx]
push ecx
lea ecx, [ebp - 0x48]
call fcn.10046d00
mov eax, dword [0x1027c0b4]
mov eax, dword [eax + 0x478]
mov eax, dword [eax + 0x180]
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x10106431
push 4
push eax
call edi
test eax, eax
jne 0x10106431
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x48]
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x48]
call fcn.10043e40
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x1010644e
inc eax
push eax
push dword [ebp - 0x44]
call fcn.10048530
add esp, 8
mov eax, dword [ebp - 0x48]
push 8
push eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
call fcn.10048530
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.10043e40
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10106496
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10048530
add esp, 8
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
call fcn.10048530
mov eax, dword [0x1027c0b4]
add esp, 8
mov eax, dword [eax + 0x478]
push 0x2e
movzx eax, byte [eax + 0x1a8]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.100f6260
mov byte [ebp - 4], 8
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x101064ea
mov ecx, dword [ecx]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10046d00
mov eax, dword [0x1027c0b4]
mov eax, dword [eax + 0x478]
mov eax, dword [eax + 0x18c]
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x10106525
push 4
push eax
call edi
test eax, eax
jne 0x10106525
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x2c]
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x2c]
call fcn.10043e40
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10106542
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10048530
add esp, 8
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
call fcn.10048530
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.10043e40
mov eax, dword [ebp - 0x50]
cmp eax, 0x10
jb 0x1010658a
inc eax
push eax
push dword [ebp - 0x64]
call fcn.10048530
add esp, 8
mov eax, dword [ebp - 0x68]
push 8
push eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
call fcn.10048530
mov eax, dword [ebp - 0x78]
add esp, 8
movzx eax, ax
mov dword [ebp - 0x78], eax
test eax, eax
je 0x101066fd
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
lea eax, [edx + 4]
cmp eax, ecx
jbe 0x101065d6
xor edi, edi
jmp 0x101065e4
push edx
lea ecx, [esi + 0x10]
call fcn.1004ead0
mov edx, dword [esi + 8]
mov edi, dword [eax]
add edx, 4
mov dword [esi + 8], edx
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
lea eax, [edx + 1]
cmp eax, ecx
jbe 0x101065fd
mov byte [ebp - 0x7a], 0
jmp 0x1010660e
push edx
lea ecx, [esi + 0x10]
call fcn.1004ead0
mov edx, dword [esi + 8]
mov al, byte [eax]
mov byte [ebp - 0x7a], al
inc edx
mov dword [esi + 8], edx
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
lea eax, [edx + 1]
cmp eax, ecx
jbe 0x10106625
mov byte [ebp - 0x79], 0
jmp 0x10106636
push edx
lea ecx, [esi + 0x10]
call fcn.1004ead0
mov edx, dword [esi + 8]
mov al, byte [eax]
mov byte [ebp - 0x79], al
inc edx
mov dword [esi + 8], edx
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
lea eax, [edx + 4]
cmp eax, ecx
jbe 0x1010664b
xor ecx, ecx
jmp 0x10106659
push edx
lea ecx, [esi + 0x10]
call fcn.1004ead0
mov edx, dword [esi + 8]
mov ecx, dword [eax]
lea eax, [edx + 4]
mov dword [ebp - 0x34], ecx
mov dword [esi + 8], eax
xor ecx, ecx
mov al, byte [ebp - 0x79]
mov byte [ebp - 0x40], al
mov al, byte [ebp - 0x7a]
mov byte [ebp - 0x38], al
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x30], ecx
cmp eax, dword [ebp - 0x84]
je 0x101066de
movups xmm0, xmmword [ebp - 0x40]
push 3
movups xmmword [eax], xmm0
mov dword [eax + 0x10], ecx
lea ecx, [ebp - 0x74]
mov edi, dword [ebp - 0x88]
call fcn.1011c2a0
mov edx, dword [ebp - 0x90]
add edx, 4
mov eax, dword [edx]
test eax, eax
je 0x101066cd
nop dword [eax]
cmp dword [eax + 8], edi
jb 0x101066c4
ja 0x101066c4
mov dword [eax], 0
mov eax, dword [eax + 4]
mov dword [edx], eax
jmp 0x101066c9
lea edx, [eax + 4]
mov eax, dword [edx]
test eax, eax
jne 0x101066b0
lea ecx, [ebp - 0x74]
call fcn.1011c350
add dword [ebp - 0x88], 0x14
jmp 0x101066f3
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x88]
lea ecx, [ebp - 0x90]
call fcn.10107d00
sub dword [ebp - 0x78], 1
jne 0x101065c2
mov eax, dword [0x1027c0b4]
lea ecx, [ebp - 0x90]
mov esi, dword [eax + 0x478]
add esi, 0x1ac
cmp esi, ecx
je 0x101067e3
mov eax, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x88]
mov dword [ebp - 0x74], eax
cmp eax, edi
jbe 0x10106776
push str.transposed_pointer_range
push 0x101b8af8
push 0
push 0x4d6
push 0x101b90d8
push 2
call fcn.10126bf0
add esp, 0x18
cmp eax, 1
jne 0x10106755
int3
push 0
push 0x4d6
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133includexutility
push 0x101b8c38
push str._transposed_pointer_range_
call fcn.10135530
mov eax, dword [ebp - 0x74]
add esp, 0x14
sub edi, eax
mov ecx, esi
mov eax, 0x66666667
imul edi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x80], eax
call fcn.10043e40
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0xc]
sub ecx, eax
mov dword [ebp - 0x78], eax
mov eax, 0x66666667
imul ecx
mov ecx, dword [ebp - 0x80]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jbe 0x101067c6
push ecx
mov ecx, esi
call fcn.101080f0
mov eax, dword [esi + 4]
mov dword [ebp - 0x78], eax
jmp 0x101067c9
mov eax, dword [ebp - 0x78]
push edi
push dword [ebp - 0x74]
push eax
call fcn.10122110
mov eax, dword [ebp - 0x78]
add esp, 0xc
add eax, edi
mov dword [esi + 8], eax
mov eax, dword [0x1027c0b4]
mov word [eax + 0x448], 1
lea ecx, [ebp - 0x90]
call fcn.10062ff0
jmp 0x10106dd2
cmp al, 2
jne 0x10106a2f
mov ecx, dword [esi + 0x18]
lea eax, [edx + 4]
sub ecx, dword [esi + 0x14]
cmp eax, ecx
jbe 0x10106815
xor ecx, ecx
jmp 0x10106829
push edx
lea ecx, [esi + 0x10]
call fcn.1004ead0
mov edx, dword [esi + 8]
mov edi, dword [0x1027c0b4]
mov ecx, dword [eax]
lea eax, [edx + 4]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x478]
push 0x2e
inc byte [eax + 0x1a3]
mov eax, dword [0x1027c0b4]
mov eax, dword [eax + 0x478]
add dword [eax + 0x1a4], ecx
mov eax, dword [0x1027c0b4]
mov eax, dword [eax + 0x478]
movzx eax, byte [eax + 0x1a3]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.100f6260
mov dword [ebp - 4], 0xa
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x1010687c
mov ecx, dword [ecx]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10046d00
mov eax, dword [0x1027c0b4]
mov eax, dword [eax + 0x478]
mov esi, dword [eax + 0x184]
mov byte [ebp - 4], 0xb
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test esi, esi
je 0x101068b9
push 4
push esi
call edi
test eax, eax
jne 0x101068b9
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x2c]
call fcn.10043e40
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x101068d6
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10048530
add esp, 8
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
call fcn.10048530
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.10043e40
mov eax, dword [ebp - 0x50]
cmp eax, 0x10
jb 0x10106921
inc eax
push eax
push dword [ebp - 0x64]
call fcn.10048530
add esp, 8
mov eax, dword [ebp - 0x68]
push 8
push eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
call fcn.10048530
mov eax, dword [0x1027c0b4]
add esp, 8
mov eax, dword [eax + 0x478]
push 0x2e
push dword [eax + 0x1a4]
lea eax, [ebp - 0x68]
push eax
call fcn.100f6260
mov dword [ebp - 4], 0xc
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x10106976
mov ecx, dword [ecx]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10046d00
mov eax, dword [0x1027c0b4]
mov eax, dword [eax + 0x478]
mov esi, dword [eax + 0x180]
mov byte [ebp - 4], 0xd
test esi, esi
je 0x101069ad
push 4
push esi
call edi
test eax, eax
jne 0x101069ad
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x2c]
call fcn.10043e40
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x101069ca
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10048530
add esp, 8
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
call fcn.10048530
add esp, 8
lea ecx, [ebp - 0x68]
call fcn.10043e40
mov eax, dword [ebp - 0x50]
cmp eax, 0x10
jb 0x10106a0e
inc eax
push eax
push dword [ebp - 0x64]
call fcn.10048530
add esp, 8
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
jmp 0x10106dc7
cmp al, 3
jne 0x10106bcc
mov ecx, dword [esi + 0x18]
lea eax, [edx + 4]
sub ecx, dword [esi + 0x14]
cmp eax, ecx
jbe 0x10106a48
xor ecx, ecx
jmp 0x10106a5c
push edx
lea ecx, [esi + 0x10]
call fcn.1004ead0
mov edx, dword [esi + 8]
mov edi, dword [0x1027c0b4]
mov ecx, dword [eax]
lea eax, [edx + 4]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x478]
push 0x2e
add dword [eax + 0x1a4], ecx
mov eax, dword [0x1027c0b4]
mov eax, dword [eax + 0x478]
inc byte [eax + 0x1a8]
mov eax, dword [0x1027c0b4]
mov eax, dword [eax + 0x478]
push dword [eax + 0x1a4]
lea eax, [ebp - 0x68]
push eax
call fcn.100f6260
mov dword [ebp - 4], 0xe
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x10106aad
mov ecx, dword [ecx]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10046d00
mov eax, dword [0x1027c0b4]
mov eax, dword [eax + 0x478]
mov esi, dword [eax + 0x180]
mov byte [ebp - 4], 0xf
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test esi, esi
je 0x10106aea
push 4
push esi
call edi
test eax, eax
jne 0x10106aea
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x2c]
call fcn.10043e40
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10106b07
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10048530
add esp, 8
mov eax, dword [ebp - 0x2c]
push 8
push eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
call fcn.10048530
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.10043e40
mov eax, dword [ebp - 0x50]
cmp eax, 0x10
jb 0x10106b52
inc eax
push eax
push dword [ebp - 0x64]
call fcn.10048530
add esp, 8
mov eax, dword [ebp - 0x68]
push 8
push eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0xf
mov byte [ebp - 0x64], 0
mov dword [ebp - 0x68], 0
call fcn.10048530
mov eax, dword [0x1027c0b4]
add esp, 8
mov eax, dword [eax + 0x478]
push 0x2e
movzx eax, byte [eax + 0x1a8]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.100f6260
mov dword [ebp - 4], 0x10
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x10106ba9
mov ecx, dword [ecx]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10046d00
mov eax, dword [0x1027c0b4]
mov eax, dword [eax + 0x478]
mov esi, dword [eax + 0x18c]
mov byte [ebp - 4], 0x11
jmp 0x10106994
cmp al, 4
jne 0x10106dd2
mov eax, dword [edi + 0x478]
mov esi, 0x10c
mov ecx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov byte [eax + 0x1a9], 0
mov eax, dword [0x1027c0b4]
mov eax, dword [eax + 0x478]
mov byte [eax + 0x1a2], 0
nop
mov eax, dword [0x1027c0b4]
mov eax, dword [eax + 0x478]
mov edi, dword [esi + eax]
test edi, edi
je 0x10106c36
push 4
push edi
call ecx
test eax, eax
jne 0x10106c30
mov dword [0x1027c054], edi
mov dword [0x1027bfe8], 2
call fcn.100d7450
mov ecx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
add esi, 4
cmp esi, 0x11c
jl 0x10106c00
mov eax, dword [0x1027c0b4]
mov eax, dword [eax + 0x478]
mov esi, dword [eax + 0x174]
test esi, esi
je 0x10106c74
push 4
push esi
call ecx
test eax, eax
jne 0x10106c74
mov dword [0x1027c054], esi
mov dword [0x1027bfe8], 2
call fcn.100d7450
mov eax, dword [0x1027c0b4]
mov eax, dword [eax + 0x478]
mov esi, dword [eax + 0x198]
test esi, esi
je 0x10106cab
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10106cab
mov dword [0x1027c054], esi
mov dword [0x1027bfe8], 2
call fcn.100d7450
movaps xmm0, xmmword [0x101c2f20]
xor ecx, ecx
mov eax, dword [0x1027c0b4]
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x50], 0x63767669
movaps xmm0, xmmword [0x101c2cc0]
mov word [eax + 0x448], 0x100
movups xmmword [ebp - 0x60], xmm0
mov word [ebp - 0x4c], 0x2862
mov byte [ebp - 0x4a], 0
mov al, byte [ebp - 0x70]
xor byte [ebp + ecx - 0x6f], al
inc ecx
cmp ecx, 0x25
jb 0x10106ce2
sub esp, 0x1c
mov byte [ebp - 0x4a], 0
lea eax, [ebp - 0x6f]
mov ecx, esp
push eax
call fcn.10046d00
lea eax, [ebp - 0x48]
push eax
call fcn.10048a80
add esp, 0x20
mov dword [ebp - 4], 0x12
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 0x74], ecx
jb 0x10106d25
mov ecx, dword [ecx]
mov dword [ebp - 0x74], ecx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10106d28
sub ecx, edx
mov dword [ebp - 0x78], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.101204d0
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x80], edi
call fcn.10122870
push dword [ebp - 0x78]
lea esi, [edi + 0x20]
push dword [ebp - 0x74]
push esi
call fcn.10122110
mov eax, dword [ebp - 0x78]
add esp, 0x1c
mov dword [edi + 0x14], eax
mov dword [edi + 4], esi
mov dword [edi + 0x18], 0x1f
mov ecx, dword ds:[0xf3690c]
push 0
push 0xba0f30
push dword [ebp - 0x80]
mov eax, dword [0x101ba6ac]
call eax
push edi
call fcn.1011f890
add esp, 4
lea ecx, [ebp - 0x48]
call fcn.10043e40
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10106dab
inc eax
push eax
push dword [ebp - 0x44]
call fcn.10048530
add esp, 8
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
push 8
push eax
call fcn.10048530
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011f880
mov esp, ebp
pop ebp
ret 4