Function at 0x1010e5e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x74
push 0xffffffffffffffff
push 0x1017a04d
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x101cfdb0]
xor eax, ebp
mov dword [ebp + 0x70], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x1010e624
push 0
call dword [0x101b07e0]
lea eax, [ebp + 0x37]
add esi, 0x7c
mov dword [ebp - 0x1c], eax
mov ebx, 0xd
lea eax, [ebp + 0x23]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x36]
mov dword [ebp - 0x30], eax
nop
mov ecx, dword [esi]
mov dword [esi + 0x14], 0xffffffff
test ecx, ecx
je 0x1010e655
push 0
call dword [0x101b07e0]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x1010e664
push 0
call dword [0x101b07e0]
push 8
mov dword [ebp + 0x38], 0
mov dword [ebp + 0x3c], 0
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0
call fcn.10047940
lea ecx, [ebp + 0x38]
mov dword [ebp - 0x20], eax
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp + 0x38], eax
mov dword [ebp - 4], 0
push 0
push 0x101aec64
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0xf
mov byte [ebp + 0x3c], 0
call fcn.10046d30
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 1
test edi, edi
je 0x1010e6ef
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1010e6ef
lea eax, [ebp + 0x38]
mov ecx, edi
push eax
call dword [0x101b07cc]
lea ecx, [ebp + 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.100432e0
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x1010e713
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp + 0x38]
push 8
push eax
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0xf
mov byte [ebp + 0x3c], 0
mov dword [ebp + 0x38], 0
call fcn.100479d0
push 8
mov dword [ebp + 0x38], 0
mov dword [ebp + 0x3c], 0
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0
call fcn.10047940
lea ecx, [ebp + 0x38]
mov dword [ebp - 0x14], eax
add esp, 0xc
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp + 0x38], eax
mov dword [ebp - 4], 2
push 0
push 0x101aec64
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0xf
mov byte [ebp + 0x3c], 0
call fcn.10046d30
mov edi, dword [esi + 8]
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 3
test edi, edi
je 0x1010e7c2
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1010e7c2
lea eax, [ebp + 0x38]
mov ecx, edi
push eax
call dword [0x101b07cc]
lea ecx, [ebp + 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.100432e0
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x1010e7e6
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp + 0x38]
push 8
push eax
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0xf
mov byte [ebp + 0x3c], 0
mov dword [ebp + 0x38], 0
call fcn.100479d0
push 8
mov dword [ebp + 0x38], 0
mov dword [ebp + 0x3c], 0
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0
call fcn.10047940
lea ecx, [ebp + 0x38]
mov dword [ebp - 0x34], eax
add esp, 0xc
mov dword [eax], ecx
mov dword [eax + 4], 0
mov dword [ebp + 0x38], eax
mov dword [ebp - 4], 4
push 0
push 0x101aec64
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0xf
mov byte [ebp + 0x3c], 0
call fcn.10046d30
mov edi, dword [esi + 0xc]
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 5
test edi, edi
je 0x1010e895
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1010e895
lea eax, [ebp + 0x38]
mov ecx, edi
push eax
call dword [0x101b07cc]
lea ecx, [ebp + 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.100432e0
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x1010e8b9
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp + 0x38]
push 8
push eax
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0xf
mov byte [ebp + 0x3c], 0
mov dword [ebp + 0x38], 0
call fcn.100479d0
add esp, 8
add esi, 0x18
sub ebx, 1
jne 0x1010e640
xorps xmm0, xmm0
mov dword [ebp - 4], 6
push 8
movups xmmword [ebp + 4], xmm0
call fcn.10047940
lea ecx, [ebp + 4]
add esp, 4
mov dword [eax + 4], ebx
mov dword [ebp + 4], eax
mov dword [eax], ecx
mov dword [ebp - 4], 7
mov ecx, dword [0x102710b4]
add ecx, 0x3c
push ecx
mov eax, dword [ecx + 4]
lea ecx, [ebp + 0x28]
mov eax, dword [eax]
mov dword [ebp + 0x28], ebx
mov dword [ebp + 0x2c], ebx
mov dword [ebp + 0x30], eax
call fcn.10049150
mov byte [ebp - 4], 8
nop word [eax + eax]
mov ecx, dword [0x102710b4]
add ecx, 0x3c
mov dword [ebp + 0x14], 0
push ecx
mov dword [ebp + 0x18], 0
mov eax, dword [ecx + 4]
lea ecx, [ebp + 0x14]
mov dword [ebp + 0x1c], eax
call fcn.10049150
mov esi, dword [ebp + 0x28]
test esi, esi
je 0x1010e971
mov esi, dword [esi]
jmp 0x1010e973
xor esi, esi
lea ecx, [ebp + 0x14]
call fcn.100491b0
cmp esi, eax
je 0x1010e9c3
push str.map_set_iterators_incompatible
push 0x101aeae8
push 0
push 0xe6
push 0x101af938
push 2
call fcn.1011d740
add esp, 0x18
cmp eax, 1
jne 0x1010e9a5
int3
push 0
push 0xe6
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133includextree
push 0x101aec28
push str._map_set_iterators_incompatible_
call fcn.1012c080
add esp, 0x14
mov eax, dword [ebp + 0x30]
lea ecx, [ebp]
cmp eax, dword [ebp + 0x1c]
push 3
setne bl
call fcn.10112de0
lea ecx, [ebp + 0x14]
call fcn.100491c0
lea ecx, [ebp]
call fcn.10112e90
test bl, bl
je 0x1010ea49
lea ecx, [ebp + 0x28]
call fcn.1004d9a0
cmp dword [eax + 4], 0
je 0x1010ea1d
lea ecx, [ebp + 0x28]
call fcn.1004d9a0
mov eax, dword [eax + 4]
cmp byte [eax + 8], 0
je 0x1010ea1d
lea ecx, [ebp + 0x28]
call fcn.1004d9a0
lea ecx, [ebp + 4]
mov eax, dword [eax + 4]
push eax
call fcn.1004da50
push ecx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x28]
call fcn.1004d890
push 3
lea ecx, [ebp + 0x24]
call fcn.10112de0
lea ecx, [ebp - 0x2c]
call fcn.100491c0
lea ecx, [ebp + 0x24]
call fcn.10112e90
jmp 0x1010e940
push 3
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 7
call fcn.10112de0
lea ecx, [ebp + 0x28]
call fcn.100491c0
lea ecx, [ebp + 0x24]
call fcn.10112e90
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 8], eax
je 0x1010f1bd
mov dword [ebp + 0x1c], eax
lea ecx, [ebp + 0x14]
lea eax, [ebp + 4]
mov dword [ebp + 0x14], 0
push eax
mov dword [ebp + 0x18], 0
call fcn.10049150
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0x28]
mov dword [ebp + 0x30], eax
lea eax, [ebp + 4]
push eax
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x2c], 0
call fcn.10049150
lea edx, [ebp + 0x14]
mov byte [ebp - 4], 0xa
lea ecx, [ebp + 0x28]
call fcn.1004e2b0
mov esi, dword [ebp + 0x1c]
mov eax, 0x66666667
mov ecx, dword [ebp + 0x30]
sub esi, ecx
push dword [ebp - 0x10]
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp + 0x1c]
push eax
call fcn.1004e360
add esp, 8
lea ecx, [ebp + 0x24]
push 3
call fcn.10112de0
lea ecx, [ebp + 0x28]
call fcn.100491c0
lea ecx, [ebp + 0x24]
call fcn.10112e90
push 3
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 7
call fcn.10112de0
lea ecx, [ebp + 0x14]
call fcn.100491c0
lea ecx, [ebp + 0x24]
call fcn.10112e90
mov edi, dword [ebp - 0x18]
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x1010eb31
push 1
call dword [0x101b07e0]
mov ecx, dword [ebp + 0xc]
mov eax, 0x66666667
sub ecx, dword [ebp + 8]
sub esp, 8
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101b7c60]
divsd xmm0, qword [0x101b6d18]
movsd qword [ebp + 0x18], xmm0
fld qword [ebp + 0x18]
fstp qword [esp]
call fcn.10141220
add esp, 8
fstp qword [ebp + 0x18]
movsd xmm0, qword [ebp + 0x18]
call fcn.100490c0
cvttsd2si eax, xmm0
mov word [edi + 0x1b6], ax
movzx ecx, ax
cmp ax, 1
jae 0x1010eba9
mov eax, 1
mov word [edi + 0x1b6], ax
mov ecx, eax
movzx eax, cx
lea ebx, [ebp + 0x38]
push eax
movzx eax, word [edi + 0x1b4]
push eax
sub esp, 0x1c
lea eax, [ebp + 0x36]
mov esi, esp
mov dword [ebp - 0x1c], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10047940
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov byte [ebp - 4], 0xb
mov ecx, esi
push 5
push str._d__d
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10046d30
push ebx
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 7
call fcn.100492e0
mov esi, dword [edi + 0x6c]
add esp, 0x28
mov byte [ebp - 4], 0xc
test esi, esi
je 0x1010ec51
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1010ec51
mov eax, ebx
mov ecx, esi
push eax
call dword [0x101b07cc]
lea ecx, [ebp + 0x38]
call fcn.100432e0
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x1010ec6e
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp + 0x38]
push 8
push eax
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0xf
mov byte [ebp + 0x3c], 0
mov dword [ebp + 0x38], 0
call fcn.100479d0
movzx eax, word [ebp + 0x7c]
add esp, 8
imul ecx, eax, 0xd
xor eax, eax
mov dword [ebp], 0
mov dword [ebp + 0x28], 0
mov dword [ebp + 0x2c], 0
sub ecx, 0xd
cmp word [ebp + 0x7c], 1
cmovae eax, ecx
mov ecx, dword [ebp + 8]
cdq
xor bh, bh
xor eax, edx
mov dword [ebp + 0x30], ecx
sub eax, edx
mov byte [ebp + 0x37], bh
mov dword [ebp - 0x38], eax
lea ecx, [ebp + 0x28]
lea eax, [ebp + 4]
push eax
call fcn.10049150
mov byte [ebp - 4], 0xd
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 4]
push eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call fcn.10049150
mov esi, dword [ebp + 0x28]
test esi, esi
je 0x1010ed0c
mov esi, dword [esi]
jmp 0x1010ed0e
xor esi, esi
lea ecx, [ebp - 0x2c]
call fcn.100491b0
cmp esi, eax
je 0x1010ed5e
push str.vector_iterators_incompatible
push 0x101aeae8
push 0
push 0xba
push 0x101af550
push 2
call fcn.1011d740
add esp, 0x18
cmp eax, 1
jne 0x1010ed40
int3
push 0
push 0xba
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133include_vector
push 0x101aec28
push str._vector_iterators_incompatible_
call fcn.1012c080
add esp, 0x14
mov eax, dword [ebp + 0x30]
lea ecx, [ebp + 0x24]
cmp eax, dword [ebp - 0x24]
push 3
setne bl
call fcn.10112de0
lea ecx, [ebp - 0x2c]
call fcn.100491c0
lea ecx, [ebp + 0x24]
call fcn.10112e90
test bl, bl
je 0x1010f1a3
mov eax, dword [ebp]
inc eax
mov dword [ebp], eax
movzx eax, ax
cmp eax, dword [ebp - 0x38]
jbe 0x1010f136
lea ecx, [ebp + 0x28]
call fcn.1004d7d0
movzx edx, bh
mov eax, dword [eax]
lea ecx, [edx + edx*2]
lea ebx, [edx + edx*2]
mov dword [edi + ecx*8 + 0x90], eax
mov ecx, dword [edi + ebx*8 + 0x7c]
test ecx, ecx
je 0x1010edc6
push 1
call dword [0x101b07e0]
lea ecx, [ebp + 0x28]
call fcn.1004d7d0
cmp dword [eax + 0x24], 0x10
lea ecx, [eax + 0x10]
jb 0x1010edd9
mov ecx, dword [ecx]
push ecx
lea ecx, [ebp + 0x28]
call fcn.1004d7d0
lea ecx, [ebp + 0x28]
movzx eax, word [eax + 4]
push eax
call fcn.1004d7d0
mov ecx, 0x101b027c
cmp byte [eax + 9], 0
mov eax, 0x101aec64
cmove ecx, eax
lea eax, [ebp + 0x36]
push ecx
sub esp, 0x1c
mov dword [ebp - 0x3c], eax
mov esi, esp
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10047940
add esp, 4
mov dword [ebp - 0x40], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov byte [ebp - 4], 0xe
mov ecx, esi
push 7
push str._s_d__s
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10046d30
lea eax, [ebp + 0x54]
mov dword [ebp - 0x40], 0
push eax
mov byte [ebp - 4], 0xd
call fcn.100492e0
add esp, 0x2c
lea eax, [ebp + 0x54]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp + 0x38]
call fcn.10046370
mov esi, dword [edi + ebx*8 + 0x8c]
mov byte [ebp - 4], 0x10
test esi, esi
je 0x1010eeb2
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1010eeb2
lea eax, [ebp + 0x38]
mov ecx, esi
push eax
call dword [0x101b07cc]
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xf
call fcn.100432e0
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x1010eed3
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp + 0x38]
push 8
push eax
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0xf
mov byte [ebp + 0x3c], 0
mov dword [ebp + 0x38], 0
call fcn.100479d0
add esp, 8
lea ecx, [ebp + 0x28]
call fcn.1004d7d0
mov ecx, dword [eax]
mov eax, dword [0x102710b4]
movzx edx, word [eax + ecx*2 + 0x1c]
lea ecx, [ebp + 0x38]
call fcn.10049240
mov esi, dword [edi + ebx*8 + 0x84]
mov byte [ebp - 4], 0x11
test esi, esi
je 0x1010ef3e
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1010ef3e
lea eax, [ebp + 0x38]
mov ecx, esi
push eax
call dword [0x101b07cc]
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xf
call fcn.100432e0
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x1010ef5f
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp + 0x38]
push 8
push eax
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0xf
mov byte [ebp + 0x3c], 0
mov dword [ebp + 0x38], 0
call fcn.100479d0
add esp, 8
lea ecx, [ebp + 0x28]
call fcn.1004d7d0
movzx eax, word [eax + 6]
push eax
sub esp, 0x1c
lea eax, [ebp + 0x23]
mov esi, esp
mov dword [ebp + 0x1c], eax
push 8
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.10047940
add esp, 4
mov dword [ebp + 0x18], eax
mov dword [eax], esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov byte [ebp - 4], 0x12
mov ecx, esi
push 6
push str.max:_d
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0xf
mov byte [esi + 4], 0
call fcn.10046d30
lea eax, [ebp + 0x38]
mov dword [ebp + 0x18], 0
push eax
mov byte [ebp - 4], 0xf
call fcn.100492e0
mov esi, dword [edi + ebx*8 + 0x88]
add esp, 0x24
mov byte [ebp - 4], 0x13
test esi, esi
je 0x1010f034
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1010f034
lea eax, [ebp + 0x38]
mov ecx, esi
push eax
call dword [0x101b07cc]
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xf
call fcn.100432e0
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x1010f055
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp + 0x38]
push 8
push eax
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0xf
mov byte [ebp + 0x3c], 0
mov dword [ebp + 0x38], 0
call fcn.100479d0
mov ecx, dword [edi + ebx*8 + 0x80]
add esp, 8
test ecx, ecx
je 0x1010f08f
push 1
call dword [0x101b07e0]
lea ecx, [ebp + 0x28]
call fcn.1004d7d0
mov esi, dword [0x102710b4]
lea ecx, [ebp + 0x28]
mov edi, dword [eax]
call fcn.1004d7d0
lea ecx, [eax + 6]
mov ax, word [esi + edi*2 + 0x1c]
mov edi, dword [ebp - 0x18]
cmp ax, word [ecx]
mov ecx, dword [edi + ebx*8 + 0x80]
jb 0x1010f0c6
test ecx, ecx
je 0x1010f0e1
push 0
jmp 0x1010f0db
mov eax, dword [0x102710b4]
cmp word [eax + 0x36], 0
setne byte [ebp - 0x30]
test ecx, ecx
je 0x1010f0e1
push dword [ebp - 0x30]
call dword [0x101b07e0]
mov bh, byte [ebp + 0x37]
lea ecx, [ebp + 0x54]
inc bh
mov byte [ebp + 0x37], bh
cmp bh, 0xd
jae 0x1010f162
mov byte [ebp - 4], 0xd
call fcn.100432e0
mov eax, dword [ebp + 0x6c]
cmp eax, 0x10
jb 0x1010f10f
inc eax
push eax
push dword [ebp + 0x58]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp + 0x54]
push 8
push eax
mov dword [ebp + 0x68], 0
mov dword [ebp + 0x6c], 0xf
mov byte [ebp + 0x58], 0
mov dword [ebp + 0x54], 0
call fcn.100479d0
add esp, 8
push ecx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp + 0x28]
call fcn.1004d700
push 3
lea ecx, [ebp - 0x10]
call fcn.10112de0
lea ecx, [ebp - 0x4c]
call fcn.100491c0
lea ecx, [ebp - 0x10]
call fcn.10112e90
jmp 0x1010ece1
call fcn.100432e0
mov eax, dword [ebp + 0x6c]
cmp eax, 0x10
jb 0x1010f17c
inc eax
push eax
push dword [ebp + 0x58]
call fcn.100479d0
add esp, 8
mov eax, dword [ebp + 0x54]
push 8
push eax
mov dword [ebp + 0x68], 0
mov dword [ebp + 0x6c], 0xf
mov byte [ebp + 0x58], 0
mov dword [ebp + 0x54], 0
call fcn.100479d0
add esp, 8
push 3
lea ecx, [ebp - 0x10]
call fcn.10112de0
lea ecx, [ebp + 0x28]
call fcn.100491c0
lea ecx, [ebp - 0x10]
call fcn.10112e90
lea ecx, [ebp + 4]
call fcn.100432e0
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1010f213
mov edx, dword [ebp + 0xc]
push ecx
call fcn.1004e160
mov ecx, dword [ebp + 0x10]
mov eax, 0x66666667
mov esi, dword [ebp + 8]
sub ecx, esi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*4]
shl eax, 3
push eax
push esi
call fcn.100479d0
add esp, 0xc
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x10], 0
mov eax, dword [ebp + 4]
push 8
push eax
mov dword [ebp + 4], 0
call fcn.100479d0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x70]
xor ecx, ebp
call fcn.101163c0
lea esp, [ebp + 0x74]
pop ebp
ret 4