Function at 0x10106bc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10183a28
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 0x10107a22
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 0x10106c18
xor al, al
jmp 0x10106c2c
push ecx
lea ecx, [esi + 0x10]
call fcn.1004f5c0
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 0x1010744c
xorps xmm0, xmm0
mov dword [ebp - 4], 0
push 8
movups xmmword [ebp - 0x90], xmm0
call fcn.10048f80
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 0x10106c8f
push edx
mov ecx, edi
call fcn.1004f5c0
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 0x10106ca9
mov dword [ebp - 0x78], 0
jmp 0x10106cba
push edx
mov ecx, edi
call fcn.1004f5c0
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 0x1010743c
cmp byte [eax + 0x10d], 0
je 0x1010743c
mov edi, dword [edi + 0x174]
mov ecx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test edi, edi
je 0x10106d1a
push 4
push edi
call ecx
test eax, eax
jne 0x10106d14
mov dword [0x1027c054], edi
mov dword [0x1027bfe8], 7
call fcn.100d7f80
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 0x10106d4d
push 4
push edi
call ecx
test eax, eax
jne 0x10106d4d
mov dword [0x1027c054], edi
mov dword [0x1027bfe8], 7
call fcn.100d7f80
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 0x10106d8b
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10106d8b
mov eax, dword [ebp - 0x74]
mov dword [0x1027c054], eax
mov dword [0x1027bfe8], 7
call fcn.100d7f80
add edi, 4
cmp edi, 0x11c
jl 0x10106d52
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.100f6ec0
mov byte [ebp - 4], 2
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x10106e11
mov ecx, dword [ecx]
push ecx
lea ecx, [ebp - 0x48]
call fcn.10047780
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 0x10106e7f
lea ecx, [ebp - 0x48]
call fcn.100448c0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10106e53
inc eax
push eax
push dword [ebp - 0x44]
call fcn.10049010
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.10049010
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
jmp 0x10106edc
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push eax
call edi
test eax, eax
jne 0x10106e9b
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x48]
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x48]
call fcn.100448c0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10106eb8
inc eax
push eax
push dword [ebp - 0x44]
call fcn.10049010
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.10049010
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.100448c0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10106f00
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10049010
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.10049010
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.100f6ec0
mov byte [ebp - 4], 4
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x10106f54
mov ecx, dword [ecx]
push ecx
lea ecx, [ebp - 0x48]
call fcn.10047780
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 0x10106f8f
push 4
push eax
call edi
test eax, eax
jne 0x10106f8f
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x48]
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x48]
call fcn.100448c0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x10106fac
inc eax
push eax
push dword [ebp - 0x44]
call fcn.10049010
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.10049010
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.100448c0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10106ff4
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10049010
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.10049010
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.100f6ec0
mov byte [ebp - 4], 6
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x10107046
mov ecx, dword [ecx]
push ecx
lea ecx, [ebp - 0x48]
call fcn.10047780
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 0x10107081
push 4
push eax
call edi
test eax, eax
jne 0x10107081
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x48]
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x48]
call fcn.100448c0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x1010709e
inc eax
push eax
push dword [ebp - 0x44]
call fcn.10049010
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.10049010
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.100448c0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x101070e6
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10049010
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.10049010
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.100f6ec0
mov byte [ebp - 4], 8
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x1010713a
mov ecx, dword [ecx]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10047780
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 0x10107175
push 4
push eax
call edi
test eax, eax
jne 0x10107175
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x2c]
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x2c]
call fcn.100448c0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10107192
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10049010
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.10049010
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.100448c0
mov eax, dword [ebp - 0x50]
cmp eax, 0x10
jb 0x101071da
inc eax
push eax
push dword [ebp - 0x64]
call fcn.10049010
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.10049010
mov eax, dword [ebp - 0x78]
add esp, 8
movzx eax, ax
mov dword [ebp - 0x78], eax
test eax, eax
je 0x1010734d
mov edx, dword [esi + 8]
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
lea eax, [edx + 4]
cmp eax, ecx
jbe 0x10107226
xor edi, edi
jmp 0x10107234
push edx
lea ecx, [esi + 0x10]
call fcn.1004f5c0
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 0x1010724d
mov byte [ebp - 0x7a], 0
jmp 0x1010725e
push edx
lea ecx, [esi + 0x10]
call fcn.1004f5c0
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 0x10107275
mov byte [ebp - 0x79], 0
jmp 0x10107286
push edx
lea ecx, [esi + 0x10]
call fcn.1004f5c0
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 0x1010729b
xor ecx, ecx
jmp 0x101072a9
push edx
lea ecx, [esi + 0x10]
call fcn.1004f5c0
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 0x1010732e
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.1011cee0
mov edx, dword [ebp - 0x90]
add edx, 4
mov eax, dword [edx]
test eax, eax
je 0x1010731d
nop dword [eax]
cmp dword [eax + 8], edi
jb 0x10107314
ja 0x10107314
mov dword [eax], 0
mov eax, dword [eax + 4]
mov dword [edx], eax
jmp 0x10107319
lea edx, [eax + 4]
mov eax, dword [edx]
test eax, eax
jne 0x10107300
lea ecx, [ebp - 0x74]
call fcn.1011cf90
add dword [ebp - 0x88], 0x14
jmp 0x10107343
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0x88]
lea ecx, [ebp - 0x90]
call fcn.10108950
sub dword [ebp - 0x78], 1
jne 0x10107212
mov eax, dword [0x1027c0b4]
lea ecx, [ebp - 0x90]
mov esi, dword [eax + 0x478]
add esi, 0x1ac
cmp esi, ecx
je 0x10107433
mov eax, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x88]
mov dword [ebp - 0x74], eax
cmp eax, edi
jbe 0x101073c6
push str.transposed_pointer_range
push 0x101b8af8
push 0
push 0x4d6
push 0x101b90d8
push 2
call fcn.10127830
add esp, 0x18
cmp eax, 1
jne 0x101073a5
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.10136180
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.100448c0
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 0x10107416
push ecx
mov ecx, esi
call fcn.10108d40
mov eax, dword [esi + 4]
mov dword [ebp - 0x78], eax
jmp 0x10107419
mov eax, dword [ebp - 0x78]
push edi
push dword [ebp - 0x74]
push eax
call fcn.10122d50
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.10063ac0
jmp 0x10107a22
cmp al, 2
jne 0x1010767f
mov ecx, dword [esi + 0x18]
lea eax, [edx + 4]
sub ecx, dword [esi + 0x14]
cmp eax, ecx
jbe 0x10107465
xor ecx, ecx
jmp 0x10107479
push edx
lea ecx, [esi + 0x10]
call fcn.1004f5c0
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.100f6ec0
mov dword [ebp - 4], 0xa
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x101074cc
mov ecx, dword [ecx]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10047780
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 0x10107509
push 4
push esi
call edi
test eax, eax
jne 0x10107509
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x2c]
call fcn.100448c0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10107526
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10049010
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.10049010
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.100448c0
mov eax, dword [ebp - 0x50]
cmp eax, 0x10
jb 0x10107571
inc eax
push eax
push dword [ebp - 0x64]
call fcn.10049010
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.10049010
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.100f6ec0
mov dword [ebp - 4], 0xc
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x101075c6
mov ecx, dword [ecx]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10047780
mov eax, dword [0x1027c0b4]
mov eax, dword [eax + 0x478]
mov esi, dword [eax + 0x180]
mov byte [ebp - 4], 0xd
test esi, esi
je 0x101075fd
push 4
push esi
call edi
test eax, eax
jne 0x101075fd
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x2c]
call fcn.100448c0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1010761a
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10049010
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.10049010
add esp, 8
lea ecx, [ebp - 0x68]
call fcn.100448c0
mov eax, dword [ebp - 0x50]
cmp eax, 0x10
jb 0x1010765e
inc eax
push eax
push dword [ebp - 0x64]
call fcn.10049010
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 0x10107a17
cmp al, 3
jne 0x1010781c
mov ecx, dword [esi + 0x18]
lea eax, [edx + 4]
sub ecx, dword [esi + 0x14]
cmp eax, ecx
jbe 0x10107698
xor ecx, ecx
jmp 0x101076ac
push edx
lea ecx, [esi + 0x10]
call fcn.1004f5c0
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.100f6ec0
mov dword [ebp - 4], 0xe
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x101076fd
mov ecx, dword [ecx]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10047780
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 0x1010773a
push 4
push esi
call edi
test eax, eax
jne 0x1010773a
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp - 0x2c]
call fcn.100448c0
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10107757
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10049010
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.10049010
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.100448c0
mov eax, dword [ebp - 0x50]
cmp eax, 0x10
jb 0x101077a2
inc eax
push eax
push dword [ebp - 0x64]
call fcn.10049010
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.10049010
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.100f6ec0
mov dword [ebp - 4], 0x10
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
jb 0x101077f9
mov ecx, dword [ecx]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10047780
mov eax, dword [0x1027c0b4]
mov eax, dword [eax + 0x478]
mov esi, dword [eax + 0x18c]
mov byte [ebp - 4], 0x11
jmp 0x101075e4
cmp al, 4
jne 0x10107a22
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 0x10107886
push 4
push edi
call ecx
test eax, eax
jne 0x10107880
mov dword [0x1027c054], edi
mov dword [0x1027bfe8], 2
call fcn.100d7f80
mov ecx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
add esi, 4
cmp esi, 0x11c
jl 0x10107850
mov eax, dword [0x1027c0b4]
mov eax, dword [eax + 0x478]
mov esi, dword [eax + 0x174]
test esi, esi
je 0x101078c4
push 4
push esi
call ecx
test eax, eax
jne 0x101078c4
mov dword [0x1027c054], esi
mov dword [0x1027bfe8], 2
call fcn.100d7f80
mov eax, dword [0x1027c0b4]
mov eax, dword [eax + 0x478]
mov esi, dword [eax + 0x198]
test esi, esi
je 0x101078fb
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x101078fb
mov dword [0x1027c054], esi
mov dword [0x1027bfe8], 2
call fcn.100d7f80
movaps xmm0, xmmword [0x101c2260]
xor ecx, ecx
mov eax, dword [0x1027c0b4]
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x50], 0x3f2a2a35
movaps xmm0, xmmword [0x101c2420]
mov word [eax + 0x448], 0x100
movups xmmword [ebp - 0x60], xmm0
mov word [ebp - 0x4c], 0x743e
mov byte [ebp - 0x4a], 0
mov al, byte [ebp - 0x70]
xor byte [ebp + ecx - 0x6f], al
inc ecx
cmp ecx, 0x25
jb 0x10107932
sub esp, 0x1c
mov byte [ebp - 0x4a], 0
lea eax, [ebp - 0x6f]
mov ecx, esp
push eax
call fcn.10047780
lea eax, [ebp - 0x48]
push eax
call fcn.10049560
add esp, 0x20
mov dword [ebp - 4], 0x12
lea ecx, [eax + 4]
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 0x74], ecx
jb 0x10107975
mov ecx, dword [ecx]
mov dword [ebp - 0x74], ecx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10107978
sub ecx, edx
mov dword [ebp - 0x78], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.10121110
push esi
mov edi, eax
push 0
push edi
mov dword [ebp - 0x80], edi
call fcn.101234b0
push dword [ebp - 0x78]
lea esi, [edi + 0x20]
push dword [ebp - 0x74]
push esi
call fcn.10122d50
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.101204d0
add esp, 4
lea ecx, [ebp - 0x48]
call fcn.100448c0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x101079fb
inc eax
push eax
push dword [ebp - 0x44]
call fcn.10049010
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.10049010
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.101204c0
mov esp, ebp
pop ebp
ret 4