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

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x74
push 0xffffffffffffffff
push 0x1018444d
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 0x101182a4
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 0x101182d5
push 0
call dword [0x101ba7a0]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x101182e4
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.10048e10
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.10048200
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 1
test edi, edi
je 0x1011836f
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1011836f
lea eax, [ebp + 0x38]
mov ecx, edi
push eax
call dword [0x101ba78c]
lea ecx, [ebp + 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.100447b0
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x10118393
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.10048ea0
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.10048ea0
push 8
mov dword [ebp + 0x38], 0
mov dword [ebp + 0x3c], 0
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0
call fcn.10048e10
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.10048200
mov edi, dword [esi + 8]
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 3
test edi, edi
je 0x10118442
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10118442
lea eax, [ebp + 0x38]
mov ecx, edi
push eax
call dword [0x101ba78c]
lea ecx, [ebp + 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.100447b0
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x10118466
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.10048ea0
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.10048ea0
push 8
mov dword [ebp + 0x38], 0
mov dword [ebp + 0x3c], 0
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0
call fcn.10048e10
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.10048200
mov edi, dword [esi + 0xc]
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 5
test edi, edi
je 0x10118515
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10118515
lea eax, [ebp + 0x38]
mov ecx, edi
push eax
call dword [0x101ba78c]
lea ecx, [ebp + 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.100447b0
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x10118539
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.10048ea0
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.10048ea0
add esp, 8
add esi, 0x18
sub ebx, 1
jne 0x101182c0
xorps xmm0, xmm0
mov dword [ebp - 4], 6
push 8
movups xmmword [ebp + 4], xmm0
call fcn.10048e10
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.1004a610
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.1004a610
mov esi, dword [ebp + 0x28]
test esi, esi
je 0x101185f1
mov esi, dword [esi]
jmp 0x101185f3
xor esi, esi
lea ecx, [ebp + 0x14]
call fcn.1004a670
cmp esi, eax
je 0x10118643
push str.map_set_iterators_incompatible
push 0x101b8af8
push 0
push 0xe6
push 0x101b9948
push 2
call fcn.101275c0
add esp, 0x18
cmp eax, 1
jne 0x10118625
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.10135f00
add esp, 0x14
mov eax, dword [ebp + 0x30]
lea ecx, [ebp]
cmp eax, dword [ebp + 0x1c]
push 3
setne bl
call fcn.1011cc50
lea ecx, [ebp + 0x14]
call fcn.1004a680
lea ecx, [ebp]
call fcn.1011cd00
test bl, bl
je 0x101186c9
lea ecx, [ebp + 0x28]
call fcn.1004f150
cmp dword [eax + 4], 0
je 0x1011869d
lea ecx, [ebp + 0x28]
call fcn.1004f150
mov eax, dword [eax + 4]
cmp byte [eax + 8], 0
je 0x1011869d
lea ecx, [ebp + 0x28]
call fcn.1004f150
lea ecx, [ebp + 4]
mov eax, dword [eax + 4]
push eax
call fcn.1004f200
push ecx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x28]
call fcn.1004f040
push 3
lea ecx, [ebp + 0x24]
call fcn.1011cc50
lea ecx, [ebp - 0x2c]
call fcn.1004a680
lea ecx, [ebp + 0x24]
call fcn.1011cd00
jmp 0x101185c0
push 3
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 7
call fcn.1011cc50
lea ecx, [ebp + 0x28]
call fcn.1004a680
lea ecx, [ebp + 0x24]
call fcn.1011cd00
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 8], eax
je 0x10118e3d
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.1004a610
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.1004a610
lea edx, [ebp + 0x14]
mov byte [ebp - 4], 0xa
lea ecx, [ebp + 0x28]
call fcn.1004f9b0
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.1004fa60
add esp, 8
lea ecx, [ebp + 0x24]
push 3
call fcn.1011cc50
lea ecx, [ebp + 0x28]
call fcn.1004a680
lea ecx, [ebp + 0x24]
call fcn.1011cd00
push 3
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 7
call fcn.1011cc50
lea ecx, [ebp + 0x14]
call fcn.1004a680
lea ecx, [ebp + 0x24]
call fcn.1011cd00
mov edi, dword [ebp - 0x18]
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x101187b1
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 + 0x101c2710]
divsd xmm0, qword [0x101c17b8]
movsd qword [ebp + 0x18], xmm0
fld qword [ebp + 0x18]
fstp qword [esp]
call fcn.1014b0d0
add esp, 8
fstp qword [ebp + 0x18]
movsd xmm0, qword [ebp + 0x18]
call fcn.1004a580
cvttsd2si eax, xmm0
mov word [edi + 0x1b6], ax
movzx ecx, ax
cmp ax, 1
jae 0x10118829
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.10048e10
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.10048200
push ebx
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 7
call fcn.1004a7a0
mov esi, dword [edi + 0x6c]
add esp, 0x28
mov byte [ebp - 4], 0xc
test esi, esi
je 0x101188d1
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x101188d1
mov eax, ebx
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp + 0x38]
call fcn.100447b0
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x101188ee
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.10048ea0
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.10048ea0
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.1004a610
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.1004a610
mov esi, dword [ebp + 0x28]
test esi, esi
je 0x1011898c
mov esi, dword [esi]
jmp 0x1011898e
xor esi, esi
lea ecx, [ebp - 0x2c]
call fcn.1004a670
cmp esi, eax
je 0x101189de
push str.vector_iterators_incompatible
push 0x101b8af8
push 0
push 0xba
push 0x101b9560
push 2
call fcn.101275c0
add esp, 0x18
cmp eax, 1
jne 0x101189c0
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.10135f00
add esp, 0x14
mov eax, dword [ebp + 0x30]
lea ecx, [ebp + 0x24]
cmp eax, dword [ebp - 0x24]
push 3
setne bl
call fcn.1011cc50
lea ecx, [ebp - 0x2c]
call fcn.1004a680
lea ecx, [ebp + 0x24]
call fcn.1011cd00
test bl, bl
je 0x10118e23
mov eax, dword [ebp]
inc eax
mov dword [ebp], eax
movzx eax, ax
cmp eax, dword [ebp - 0x38]
jbe 0x10118db6
lea ecx, [ebp + 0x28]
call fcn.1004ef80
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 0x10118a46
push 1
call dword [0x101ba7a0]
lea ecx, [ebp + 0x28]
call fcn.1004ef80
cmp dword [eax + 0x24], 0x10
lea ecx, [eax + 0x10]
jb 0x10118a59
mov ecx, dword [ecx]
push ecx
lea ecx, [ebp + 0x28]
call fcn.1004ef80
lea ecx, [ebp + 0x28]
movzx eax, word [eax + 4]
push eax
call fcn.1004ef80
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.10048e10
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.10048200
lea eax, [ebp + 0x54]
mov dword [ebp - 0x40], 0
push eax
mov byte [ebp - 4], 0xd
call fcn.1004a7a0
add esp, 0x2c
lea eax, [ebp + 0x54]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp + 0x38]
call fcn.10047840
mov esi, dword [edi + ebx*8 + 0x8c]
mov byte [ebp - 4], 0x10
test esi, esi
je 0x10118b32
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10118b32
lea eax, [ebp + 0x38]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xf
call fcn.100447b0
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x10118b53
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.10048ea0
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.10048ea0
add esp, 8
lea ecx, [ebp + 0x28]
call fcn.1004ef80
mov ecx, dword [eax]
mov eax, dword [0x1027c0b4]
movzx edx, word [eax + ecx*2 + 0x1c]
lea ecx, [ebp + 0x38]
call fcn.1004a700
mov esi, dword [edi + ebx*8 + 0x84]
mov byte [ebp - 4], 0x11
test esi, esi
je 0x10118bbe
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10118bbe
lea eax, [ebp + 0x38]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xf
call fcn.100447b0
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x10118bdf
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.10048ea0
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.10048ea0
add esp, 8
lea ecx, [ebp + 0x28]
call fcn.1004ef80
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.10048e10
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.10048200
lea eax, [ebp + 0x38]
mov dword [ebp + 0x18], 0
push eax
mov byte [ebp - 4], 0xf
call fcn.1004a7a0
mov esi, dword [edi + ebx*8 + 0x88]
add esp, 0x24
mov byte [ebp - 4], 0x13
test esi, esi
je 0x10118cb4
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10118cb4
lea eax, [ebp + 0x38]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xf
call fcn.100447b0
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x10118cd5
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.10048ea0
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.10048ea0
mov ecx, dword [edi + ebx*8 + 0x80]
add esp, 8
test ecx, ecx
je 0x10118d0f
push 1
call dword [0x101ba7a0]
lea ecx, [ebp + 0x28]
call fcn.1004ef80
mov esi, dword [0x1027c0b4]
lea ecx, [ebp + 0x28]
mov edi, dword [eax]
call fcn.1004ef80
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 0x10118d46
test ecx, ecx
je 0x10118d61
push 0
jmp 0x10118d5b
mov eax, dword [0x1027c0b4]
cmp word [eax + 0x36], 0
setne byte [ebp - 0x30]
test ecx, ecx
je 0x10118d61
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 0x10118de2
mov byte [ebp - 4], 0xd
call fcn.100447b0
mov eax, dword [ebp + 0x6c]
cmp eax, 0x10
jb 0x10118d8f
inc eax
push eax
push dword [ebp + 0x58]
call fcn.10048ea0
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.10048ea0
add esp, 8
push ecx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp + 0x28]
call fcn.1004eeb0
push 3
lea ecx, [ebp - 0x10]
call fcn.1011cc50
lea ecx, [ebp - 0x4c]
call fcn.1004a680
lea ecx, [ebp - 0x10]
call fcn.1011cd00
jmp 0x10118961
call fcn.100447b0
mov eax, dword [ebp + 0x6c]
cmp eax, 0x10
jb 0x10118dfc
inc eax
push eax
push dword [ebp + 0x58]
call fcn.10048ea0
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.10048ea0
add esp, 8
push 3
lea ecx, [ebp - 0x10]
call fcn.1011cc50
lea ecx, [ebp + 0x28]
call fcn.1004a680
lea ecx, [ebp - 0x10]
call fcn.1011cd00
lea ecx, [ebp + 4]
call fcn.100447b0
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x10118e93
mov edx, dword [ebp + 0xc]
push ecx
call fcn.1004f860
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.10048ea0
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.10048ea0
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.10120250
lea esp, [ebp + 0x74]
pop ebp
ret 4