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

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x74
push 0xffffffffffffffff
push 0x1018471d
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 0x10118534
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 0x10118565
push 0
call dword [0x101ba7a0]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x10118574
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.10048f80
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.10048350
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 1
test edi, edi
je 0x101185ff
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x101185ff
lea eax, [ebp + 0x38]
mov ecx, edi
push eax
call dword [0x101ba78c]
lea ecx, [ebp + 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.100448c0
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x10118623
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.10049010
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.10049010
push 8
mov dword [ebp + 0x38], 0
mov dword [ebp + 0x3c], 0
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0
call fcn.10048f80
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.10048350
mov edi, dword [esi + 8]
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 3
test edi, edi
je 0x101186d2
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x101186d2
lea eax, [ebp + 0x38]
mov ecx, edi
push eax
call dword [0x101ba78c]
lea ecx, [ebp + 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.100448c0
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x101186f6
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.10049010
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.10049010
push 8
mov dword [ebp + 0x38], 0
mov dword [ebp + 0x3c], 0
mov dword [ebp + 0x4c], 0
mov dword [ebp + 0x50], 0
call fcn.10048f80
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.10048350
mov edi, dword [esi + 0xc]
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 5
test edi, edi
je 0x101187a5
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x101187a5
lea eax, [ebp + 0x38]
mov ecx, edi
push eax
call dword [0x101ba78c]
lea ecx, [ebp + 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.100448c0
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x101187c9
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.10049010
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.10049010
add esp, 8
add esi, 0x18
sub ebx, 1
jne 0x10118550
xorps xmm0, xmm0
mov dword [ebp - 4], 6
push 8
movups xmmword [ebp + 4], xmm0
call fcn.10048f80
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.1004a780
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.1004a780
mov esi, dword [ebp + 0x28]
test esi, esi
je 0x10118881
mov esi, dword [esi]
jmp 0x10118883
xor esi, esi
lea ecx, [ebp + 0x14]
call fcn.1004a7e0
cmp esi, eax
je 0x101188d3
push str.map_set_iterators_incompatible
push 0x101b8af8
push 0
push 0xe6
push 0x101b9948
push 2
call fcn.10127830
add esp, 0x18
cmp eax, 1
jne 0x101188b5
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.10136180
add esp, 0x14
mov eax, dword [ebp + 0x30]
lea ecx, [ebp]
cmp eax, dword [ebp + 0x1c]
push 3
setne bl
call fcn.1011cee0
lea ecx, [ebp + 0x14]
call fcn.1004a7f0
lea ecx, [ebp]
call fcn.1011cf90
test bl, bl
je 0x10118959
lea ecx, [ebp + 0x28]
call fcn.1004f2d0
cmp dword [eax + 4], 0
je 0x1011892d
lea ecx, [ebp + 0x28]
call fcn.1004f2d0
mov eax, dword [eax + 4]
cmp byte [eax + 8], 0
je 0x1011892d
lea ecx, [ebp + 0x28]
call fcn.1004f2d0
lea ecx, [ebp + 4]
mov eax, dword [eax + 4]
push eax
call fcn.1004f380
push ecx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp + 0x28]
call fcn.1004f1c0
push 3
lea ecx, [ebp + 0x24]
call fcn.1011cee0
lea ecx, [ebp - 0x2c]
call fcn.1004a7f0
lea ecx, [ebp + 0x24]
call fcn.1011cf90
jmp 0x10118850
push 3
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 7
call fcn.1011cee0
lea ecx, [ebp + 0x28]
call fcn.1004a7f0
lea ecx, [ebp + 0x24]
call fcn.1011cf90
mov eax, dword [ebp + 0xc]
cmp dword [ebp + 8], eax
je 0x101190cd
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.1004a780
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.1004a780
lea edx, [ebp + 0x14]
mov byte [ebp - 4], 0xa
lea ecx, [ebp + 0x28]
call fcn.1004fb30
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.1004fbe0
add esp, 8
lea ecx, [ebp + 0x24]
push 3
call fcn.1011cee0
lea ecx, [ebp + 0x28]
call fcn.1004a7f0
lea ecx, [ebp + 0x24]
call fcn.1011cf90
push 3
lea ecx, [ebp + 0x24]
mov byte [ebp - 4], 7
call fcn.1011cee0
lea ecx, [ebp + 0x14]
call fcn.1004a7f0
lea ecx, [ebp + 0x24]
call fcn.1011cf90
mov edi, dword [ebp - 0x18]
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x10118a41
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 + 0x101c2790]
divsd xmm0, qword [0x101c1858]
movsd qword [ebp + 0x18], xmm0
fld qword [ebp + 0x18]
fstp qword [esp]
call fcn.1014b360
add esp, 8
fstp qword [ebp + 0x18]
movsd xmm0, qword [ebp + 0x18]
call fcn.1004a6f0
cvttsd2si eax, xmm0
mov word [edi + 0x1b6], ax
movzx ecx, ax
cmp ax, 1
jae 0x10118ab9
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.10048f80
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.10048350
push ebx
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 7
call fcn.1004a910
mov esi, dword [edi + 0x6c]
add esp, 0x28
mov byte [ebp - 4], 0xc
test esi, esi
je 0x10118b61
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10118b61
mov eax, ebx
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp + 0x38]
call fcn.100448c0
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x10118b7e
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.10049010
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.10049010
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.1004a780
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.1004a780
mov esi, dword [ebp + 0x28]
test esi, esi
je 0x10118c1c
mov esi, dword [esi]
jmp 0x10118c1e
xor esi, esi
lea ecx, [ebp - 0x2c]
call fcn.1004a7e0
cmp esi, eax
je 0x10118c6e
push str.vector_iterators_incompatible
push 0x101b8af8
push 0
push 0xba
push 0x101b9560
push 2
call fcn.10127830
add esp, 0x18
cmp eax, 1
jne 0x10118c50
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.10136180
add esp, 0x14
mov eax, dword [ebp + 0x30]
lea ecx, [ebp + 0x24]
cmp eax, dword [ebp - 0x24]
push 3
setne bl
call fcn.1011cee0
lea ecx, [ebp - 0x2c]
call fcn.1004a7f0
lea ecx, [ebp + 0x24]
call fcn.1011cf90
test bl, bl
je 0x101190b3
mov eax, dword [ebp]
inc eax
mov dword [ebp], eax
movzx eax, ax
cmp eax, dword [ebp - 0x38]
jbe 0x10119046
lea ecx, [ebp + 0x28]
call fcn.1004f100
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 0x10118cd6
push 1
call dword [0x101ba7a0]
lea ecx, [ebp + 0x28]
call fcn.1004f100
cmp dword [eax + 0x24], 0x10
lea ecx, [eax + 0x10]
jb 0x10118ce9
mov ecx, dword [ecx]
push ecx
lea ecx, [ebp + 0x28]
call fcn.1004f100
lea ecx, [ebp + 0x28]
movzx eax, word [eax + 4]
push eax
call fcn.1004f100
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.10048f80
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.10048350
lea eax, [ebp + 0x54]
mov dword [ebp - 0x40], 0
push eax
mov byte [ebp - 4], 0xd
call fcn.1004a910
add esp, 0x2c
lea eax, [ebp + 0x54]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp + 0x38]
call fcn.10047950
mov esi, dword [edi + ebx*8 + 0x8c]
mov byte [ebp - 4], 0x10
test esi, esi
je 0x10118dc2
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10118dc2
lea eax, [ebp + 0x38]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xf
call fcn.100448c0
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x10118de3
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.10049010
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.10049010
add esp, 8
lea ecx, [ebp + 0x28]
call fcn.1004f100
mov ecx, dword [eax]
mov eax, dword [0x1027c0b4]
movzx edx, word [eax + ecx*2 + 0x1c]
lea ecx, [ebp + 0x38]
call fcn.1004a870
mov esi, dword [edi + ebx*8 + 0x84]
mov byte [ebp - 4], 0x11
test esi, esi
je 0x10118e4e
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10118e4e
lea eax, [ebp + 0x38]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xf
call fcn.100448c0
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x10118e6f
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.10049010
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.10049010
add esp, 8
lea ecx, [ebp + 0x28]
call fcn.1004f100
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.10048f80
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.10048350
lea eax, [ebp + 0x38]
mov dword [ebp + 0x18], 0
push eax
mov byte [ebp - 4], 0xf
call fcn.1004a910
mov esi, dword [edi + ebx*8 + 0x88]
add esp, 0x24
mov byte [ebp - 4], 0x13
test esi, esi
je 0x10118f44
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10118f44
lea eax, [ebp + 0x38]
mov ecx, esi
push eax
call dword [0x101ba78c]
lea ecx, [ebp + 0x38]
mov byte [ebp - 4], 0xf
call fcn.100448c0
mov eax, dword [ebp + 0x50]
cmp eax, 0x10
jb 0x10118f65
inc eax
push eax
push dword [ebp + 0x3c]
call fcn.10049010
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.10049010
mov ecx, dword [edi + ebx*8 + 0x80]
add esp, 8
test ecx, ecx
je 0x10118f9f
push 1
call dword [0x101ba7a0]
lea ecx, [ebp + 0x28]
call fcn.1004f100
mov esi, dword [0x1027c0b4]
lea ecx, [ebp + 0x28]
mov edi, dword [eax]
call fcn.1004f100
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 0x10118fd6
test ecx, ecx
je 0x10118ff1
push 0
jmp 0x10118feb
mov eax, dword [0x1027c0b4]
cmp word [eax + 0x36], 0
setne byte [ebp - 0x30]
test ecx, ecx
je 0x10118ff1
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 0x10119072
mov byte [ebp - 4], 0xd
call fcn.100448c0
mov eax, dword [ebp + 0x6c]
cmp eax, 0x10
jb 0x1011901f
inc eax
push eax
push dword [ebp + 0x58]
call fcn.10049010
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.10049010
add esp, 8
push ecx
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp + 0x28]
call fcn.1004f030
push 3
lea ecx, [ebp - 0x10]
call fcn.1011cee0
lea ecx, [ebp - 0x4c]
call fcn.1004a7f0
lea ecx, [ebp - 0x10]
call fcn.1011cf90
jmp 0x10118bf1
call fcn.100448c0
mov eax, dword [ebp + 0x6c]
cmp eax, 0x10
jb 0x1011908c
inc eax
push eax
push dword [ebp + 0x58]
call fcn.10049010
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.10049010
add esp, 8
push 3
lea ecx, [ebp - 0x10]
call fcn.1011cee0
lea ecx, [ebp + 0x28]
call fcn.1004a7f0
lea ecx, [ebp - 0x10]
call fcn.1011cf90
lea ecx, [ebp + 4]
call fcn.100448c0
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x10119123
mov edx, dword [ebp + 0xc]
push ecx
call fcn.1004f9e0
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.10049010
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.10049010
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.101204c0
lea esp, [ebp + 0x74]
pop ebp
ret 4