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

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x74
push 0xffffffffffffffff
push 0x101838ed
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x101dadb0]
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 0x101178f4
push 0
call dword [0x101ba7a0]
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 0x10117925
push 0
call dword [0x101ba7a0]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10117934
push 0
call dword [0x101ba7a0]
push 8
mov dword [ebp + 0x38], 0
mov dword [ebp + 0x3c], 0
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0
call fcn.100484a0
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 0x101b8c74
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0xf
mov byte [ebp + 0x3c], 0
call fcn.10047890
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 1
test edi, edi
je 0x101179bf
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x101179bf
lea eax, [ebp + 0x38]
mov ecx, edi
push eax
call dword [0x101ba78c]
lea ecx, [ebp + 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.10043e40
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x101179e3
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.10048530
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.10048530
push 8
mov dword [ebp + 0x38], 0
mov dword [ebp + 0x3c], 0
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0
call fcn.100484a0
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 0x101b8c74
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0xf
mov byte [ebp + 0x3c], 0
call fcn.10047890
mov edi, dword [esi + 8]
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 3
test edi, edi
je 0x10117a92
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10117a92
lea eax, [ebp + 0x38]
mov ecx, edi
push eax
call dword [0x101ba78c]
lea ecx, [ebp + 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.10043e40
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x10117ab6
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.10048530
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.10048530
push 8
mov dword [ebp + 0x38], 0
mov dword [ebp + 0x3c], 0
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0
call fcn.100484a0
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 0x101b8c74
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0xf
mov byte [ebp + 0x3c], 0
call fcn.10047890
mov edi, dword [esi + 0xc]
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 5
test edi, edi
je 0x10117b65
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10117b65
lea eax, [ebp + 0x38]
mov ecx, edi
push eax
call dword [0x101ba78c]
lea ecx, [ebp + 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.10043e40
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x10117b89
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.10048530
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.10048530
add esp, 8
add esi, 0x18
sub ebx, 1
jne 0x10117910
xorps xmm0, xmm0
mov dword [ebp - 4], 6
push 8
movups xmmword [ebp + 4], xmm0
call fcn.100484a0
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 [0x1027c0b4]
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.10049ca0
mov byte [ebp - 4], 8
nop word [eax + eax]
mov ecx, dword [0x1027c0b4]
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.10049ca0
mov esi, dword [ebp + 0x28]
test esi, esi
je 0x10117c41
mov esi, dword [esi]
jmp 0x10117c43
xor esi, esi
lea ecx, [ebp + 0x14]
call fcn.10049d00
cmp esi, eax
je 0x10117c93
push str.map_set_iterators_incompatible
push 0x101b8af8
push 0
push 0xe6
push 0x101b9948
push 2
call fcn.10126bf0
add esp, 0x18
cmp eax, 1
jne 0x10117c75
int3
push 0
push 0xe6
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133includextree
push 0x101b8c38
push str._map_set_iterators_incompatible_
call fcn.10135530
add esp, 0x14
mov eax, dword [ebp + 0x30]
lea ecx, [ebp]
cmp eax, dword [ebp + 0x1c]
push 3
setne bl
call fcn.1011c2a0
lea ecx, [ebp + 0x14]
call fcn.10049d10
lea ecx, [ebp]
call fcn.1011c350
test bl, bl
je 0x10117d19
lea ecx, [ebp + 0x28]
call fcn.1004e7e0
cmp dword [eax + 4], 0
je 0x10117ced
lea ecx, [ebp + 0x28]
call fcn.1004e7e0
mov eax, dword [eax + 4]
cmp byte [eax + 8], 0
je 0x10117ced
lea ecx, [ebp + 0x28]
call fcn.1004e7e0
lea ecx, [ebp + 4]
mov eax, dword [eax + 4]
push eax
call fcn.1004e890
push ecx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x28]
call fcn.1004e6d0
push 3
lea ecx, [ebp + 0x24]
call fcn.1011c2a0
lea ecx, [ebp - 0x2c]
call fcn.10049d10
lea ecx, [ebp + 0x24]
call fcn.1011c350
jmp 0x10117c10
push 3
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 7
call fcn.1011c2a0
lea ecx, [ebp + 0x28]
call fcn.10049d10
lea ecx, [ebp + 0x24]
call fcn.1011c350
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 8], eax
je 0x1011848d
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.10049ca0
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.10049ca0
lea edx, [ebp + 0x14]
mov byte [ebp - 4], 0xa
lea ecx, [ebp + 0x28]
call fcn.1004f040
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.1004f0f0
add esp, 8
lea ecx, [ebp + 0x24]
push 3
call fcn.1011c2a0
lea ecx, [ebp + 0x28]
call fcn.10049d10
lea ecx, [ebp + 0x24]
call fcn.1011c350
push 3
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 7
call fcn.1011c2a0
lea ecx, [ebp + 0x14]
call fcn.10049d10
lea ecx, [ebp + 0x24]
call fcn.1011c350
mov edi, dword [ebp - 0x18]
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x10117e01
push 1
call dword [0x101ba7a0]
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 + 0x101c2480]
divsd xmm0, qword [0x101c14c8]
movsd qword [ebp + 0x18], xmm0
fld qword [ebp + 0x18]
fstp qword [esp]
call fcn.1014a6f0
add esp, 8
fstp qword [ebp + 0x18]
movsd xmm0, qword [ebp + 0x18]
call fcn.10049c10
cvttsd2si eax, xmm0
mov word [edi + 0x1b6], ax
movzx ecx, ax
cmp ax, 1
jae 0x10117e79
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.100484a0
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.10047890
push ebx
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 7
call fcn.10049e30
mov esi, dword [edi + 0x6c]
add esp, 0x28
mov byte [ebp - 4], 0xc
test esi, esi
je 0x10117f21
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10117f21
mov eax, ebx
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp + 0x38]
call fcn.10043e40
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x10117f3e
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.10048530
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.10048530
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.10049ca0
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.10049ca0
mov esi, dword [ebp + 0x28]
test esi, esi
je 0x10117fdc
mov esi, dword [esi]
jmp 0x10117fde
xor esi, esi
lea ecx, [ebp - 0x2c]
call fcn.10049d00
cmp esi, eax
je 0x1011802e
push str.vector_iterators_incompatible
push 0x101b8af8
push 0
push 0xba
push 0x101b9560
push 2
call fcn.10126bf0
add esp, 0x18
cmp eax, 1
jne 0x10118010
int3
push 0
push 0xba
push str.C:Program_Files__x86_Microsoft_Visual_Studio2019CommunityVCToolsMSVC14.29.30133include_vector
push 0x101b8c38
push str._vector_iterators_incompatible_
call fcn.10135530
add esp, 0x14
mov eax, dword [ebp + 0x30]
lea ecx, [ebp + 0x24]
cmp eax, dword [ebp - 0x24]
push 3
setne bl
call fcn.1011c2a0
lea ecx, [ebp - 0x2c]
call fcn.10049d10
lea ecx, [ebp + 0x24]
call fcn.1011c350
test bl, bl
je 0x10118473
mov eax, dword [ebp]
inc eax
mov dword [ebp], eax
movzx eax, ax
cmp eax, dword [ebp - 0x38]
jbe 0x10118406
lea ecx, [ebp + 0x28]
call fcn.1004e610
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 0x10118096
push 1
call dword [0x101ba7a0]
lea ecx, [ebp + 0x28]
call fcn.1004e610
cmp dword [eax + 0x24], 0x10
lea ecx, [eax + 0x10]
jb 0x101180a9
mov ecx, dword [ecx]
push ecx
lea ecx, [ebp + 0x28]
call fcn.1004e610
lea ecx, [ebp + 0x28]
movzx eax, word [eax + 4]
push eax
call fcn.1004e610
mov ecx, 0x101ba23c
cmp byte [eax + 9], 0
mov eax, 0x101b8c74
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.100484a0
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.10047890
lea eax, [ebp + 0x54]
mov dword [ebp - 0x40], 0
push eax
mov byte [ebp - 4], 0xd
call fcn.10049e30
add esp, 0x2c
lea eax, [ebp + 0x54]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp + 0x38]
call fcn.10046ed0
mov esi, dword [edi + ebx*8 + 0x8c]
mov byte [ebp - 4], 0x10
test esi, esi
je 0x10118182
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10118182
lea eax, [ebp + 0x38]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xf
call fcn.10043e40
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x101181a3
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.10048530
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.10048530
add esp, 8
lea ecx, [ebp + 0x28]
call fcn.1004e610
mov ecx, dword [eax]
mov eax, dword [0x1027c0b4]
movzx edx, word [eax + ecx*2 + 0x1c]
lea ecx, [ebp + 0x38]
call fcn.10049d90
mov esi, dword [edi + ebx*8 + 0x84]
mov byte [ebp - 4], 0x11
test esi, esi
je 0x1011820e
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1011820e
lea eax, [ebp + 0x38]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xf
call fcn.10043e40
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x1011822f
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.10048530
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.10048530
add esp, 8
lea ecx, [ebp + 0x28]
call fcn.1004e610
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.100484a0
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.10047890
lea eax, [ebp + 0x38]
mov dword [ebp + 0x18], 0
push eax
mov byte [ebp - 4], 0xf
call fcn.10049e30
mov esi, dword [edi + ebx*8 + 0x88]
add esp, 0x24
mov byte [ebp - 4], 0x13
test esi, esi
je 0x10118304
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10118304
lea eax, [ebp + 0x38]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xf
call fcn.10043e40
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x10118325
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.10048530
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.10048530
mov ecx, dword [edi + ebx*8 + 0x80]
add esp, 8
test ecx, ecx
je 0x1011835f
push 1
call dword [0x101ba7a0]
lea ecx, [ebp + 0x28]
call fcn.1004e610
mov esi, dword [0x1027c0b4]
lea ecx, [ebp + 0x28]
mov edi, dword [eax]
call fcn.1004e610
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 0x10118396
test ecx, ecx
je 0x101183b1
push 0
jmp 0x101183ab
mov eax, dword [0x1027c0b4]
cmp word [eax + 0x36], 0
setne byte [ebp - 0x30]
test ecx, ecx
je 0x101183b1
push dword [ebp - 0x30]
call dword [0x101ba7a0]
mov bh, byte [ebp + 0x37]
lea ecx, [ebp + 0x54]
inc bh
mov byte [ebp + 0x37], bh
cmp bh, 0xd
jae 0x10118432
mov byte [ebp - 4], 0xd
call fcn.10043e40
mov eax, dword [ebp + 0x6c]
cmp eax, 0x10
jb 0x101183df
inc eax
push eax
push dword [ebp + 0x58]
call fcn.10048530
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.10048530
add esp, 8
push ecx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp + 0x28]
call fcn.1004e540
push 3
lea ecx, [ebp - 0x10]
call fcn.1011c2a0
lea ecx, [ebp - 0x4c]
call fcn.10049d10
lea ecx, [ebp - 0x10]
call fcn.1011c350
jmp 0x10117fb1
call fcn.10043e40
mov eax, dword [ebp + 0x6c]
cmp eax, 0x10
jb 0x1011844c
inc eax
push eax
push dword [ebp + 0x58]
call fcn.10048530
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.10048530
add esp, 8
push 3
lea ecx, [ebp - 0x10]
call fcn.1011c2a0
lea ecx, [ebp + 0x28]
call fcn.10049d10
lea ecx, [ebp - 0x10]
call fcn.1011c350
lea ecx, [ebp + 4]
call fcn.10043e40
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x101184e3
mov edx, dword [ebp + 0xc]
push ecx
call fcn.1004eef0
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.10048530
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.10048530
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.1011f880
lea esp, [ebp + 0x74]
pop ebp
ret 4