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

Disassembly:
sub esp, 0xa8
push ebx
push ebp
mov ebp, dword [esp + 0xb8]
push esi
push edi
mov edi, ecx
mov ecx, ebp
mov dword [esp + 0x14], edi
call fcn.101552d0
mov ebx, dword [esp + 0xcc]
mov esi, eax
mov ecx, dword [esi + 0x114]
cmp byte [ecx + 0x90], 0
je 0x1006eaef
call fcn.10066ed0
test al, al
je 0x1006eaef
mov byte [esp + 0x12], 1
test ebx, ebx
jne 0x1006eaf4
mov byte [esp + 0x11], 1
jmp 0x1006eaf9
mov byte [esp + 0x12], 0
mov byte [esp + 0x11], 0
lea eax, [edi + 0xd0]
push eax
mov dword [esp + 0x54], eax
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0xd0]
push dword [esp + 0xd0]
push esi
call fcn.1006cdb0
add esp, 0x14
cmp dword [edi + 0xf0], 0x9300
jg 0x1006eb82
mov edx, dword [edi + 0xd0]
mov ecx, dword [edi + 0xd4]
cmp edx, ecx
je 0x1006eb82
mov eax, dword [edx]
cmp dword [eax + 0x24], 0
jbe 0x1006eb82
sub ecx, edx
xor eax, eax
sar ecx, 2
test ecx, ecx
je 0x1006eb82
nop
lea esi, [eax*4]
mov edi, dword [esi + edx]
cmp dword [edi + 0x24], 0
je 0x1006eb67
inc eax
cmp eax, ecx
jb 0x1006eb50
jmp 0x1006eb7e
mov eax, dword [edx]
mov ecx, dword [esp + 0x78]
mov dword [edx], edi
mov dword [esi + edx], eax
mov eax, dword [esp + esi + 0x78]
mov dword [esp + 0x78], eax
mov dword [esp + esi + 0x78], ecx
mov edi, dword [esp + 0x14]
push dword [esp + 0xd8]
lea eax, [esp + 0x7c]
mov ecx, edi
push eax
push ebx
push ebp
lea eax, [esp + 0x28]
push eax
call fcn.100864f0
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x1006ebc8
mov eax, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 8], ecx
pop ebx
add esp, 0xa8
ret 0x20
mov esi, dword [esp + 0x20]
test esi, esi
je 0x1006ec1e
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x1006ec03
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x1006ebf9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006ed15
mov eax, edx
push ecx
push eax
call fcn.10174919
add esp, 8
push esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call dword [sym.imp.mozglue.dll_free]
add esp, 4
xor al, al
mov dword [esp + 0x28], 0x10
mov byte [esp + 0x13], al
mov ecx, 0x10
xor eax, eax
xor edx, edx
mov dword [esp + 0x2c], eax
movzx eax, byte [esp + 0x12]
sub ecx, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], ecx
lea edi, [edi + eax*4]
add edi, 0x50
mov eax, dword [esp + 0x50]
xor esi, esi
xor ebp, ebp
xor ebx, ebx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 2
cmp edx, eax
jae 0x1006ed85
mov ebx, dword [ecx + edx*4]
mov ebp, dword [ebx + 0x1c]
test ebp, ebp
je 0x1006ed42
cmp byte [esp + 0x11], 0
je 0x1006ed1b
mov eax, dword [esp + 0xd4]
test eax, eax
je 0x1006ed1b
mov ecx, dword [eax + 0x24]
lea esi, [eax + 0x24]
test ecx, ecx
je 0x1006ece6
lea edx, [esp + 0x48]
mov dword [esp + 0x48], 0
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x1c]
push edx
call dword [eax + 0x2c]
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x1006eba4
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x1006ecd2
push 1
call fcn.1004a480
mov ecx, dword [esp + 0xd4]
mov eax, dword [esp + 0x48]
mov dword [esi], 0
add dword [ecx + 0x28], eax
push dword [esp + 0xd0]
lea eax, [esp + 0x5c]
mov ecx, ebp
push ebx
push esi
push eax
call fcn.10055e20
cmp dword [esp + 0x58], 0
jne 0x1006ee8e
mov esi, dword [esp + 0x64]
lea ecx, [esp + 0x60]
call fcn.100016b0
jmp 0x1006ed53
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push 1
lea eax, [esp + 0x6c]
mov ecx, ebp
push eax
call fcn.10055330
cmp dword [esp + 0x68], esi
jne 0x1006eebc
mov esi, dword [esp + 0x74]
lea ecx, [esp + 0x70]
call fcn.100016b0
jmp 0x1006ed53
lea ecx, [ebx + 0x18]
call fcn.100337a0
mov ecx, eax
call fcn.1007a140
mov esi, eax
push dword [esp + 0xd0]
mov ebp, dword [ebx + 0x14]
lea eax, [esp + 0x34]
push eax
mov ecx, ebx
call fcn.1004f410
cmp dword [esp + 0x30], 0
jne 0x1006eeea
mov ebx, dword [esp + 0x3c]
lea ecx, [esp + 0x38]
call fcn.100016b0
mov edx, dword [esp + 0x4c]
cmp esi, dword [edi - 0x40]
jne 0x1006ed93
cmp ebp, dword [edi]
jne 0x1006ed93
cmp ebx, dword [edi + 0x40]
je 0x1006edc0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
mov dword [edi - 0x40], esi
cmovb ecx, eax
mov dword [edi], ebp
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
mov byte [esp + 0x13], 1
cmovb ecx, eax
mov dword [edi + 0x40], ebx
mov dword [esp + 0x2c], ecx
jmp 0x1006edc4
mov eax, dword [esp + 0x24]
inc edx
inc eax
add edi, 4
mov dword [esp + 0x4c], edx
mov dword [esp + 0x24], eax
cmp edx, dword [esp + 0x54]
jb 0x1006ec52
cmp byte [esp + 0x12], 0
je 0x1006efe8
mov ebx, dword [esp + 0x14]
cmp dword [ebx + 0xdc], 0
lea esi, [ebx + 0xdc]
jne 0x1006ef18
mov ecx, dword [ebx + 0xe8]
lea edx, [esp + 0x18]
push esi
push edx
mov dword [esp + 0x20], 0x10198870
lea edx, [esp + 0x38]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x38], 0x78
mov dword [esp + 0x40], 1
mov dword [esp + 0x3c], 1
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0xc]
test eax, eax
jns 0x1006ef18
mov esi, dword [esp + 0xbc]
push eax
push str.Failed_to_create_instanced_pointsprite_emulation_vertex_buffer__HRESULT:_0x_08x
push 0x505
push esi
call fcn.101314c0
add esp, 0x10
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret 0x20
mov ecx, dword [esp + 0xbc]
lea eax, [esp + 0x58]
push eax
call fcn.10047940
lea ecx, [esp + 0x60]
call fcn.100016b0
mov eax, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret 0x20
mov ecx, dword [esp + 0xbc]
lea eax, [esp + 0x68]
push eax
call fcn.10047940
lea ecx, [esp + 0x70]
call fcn.100016b0
mov eax, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret 0x20
mov ecx, dword [esp + 0xbc]
lea eax, [esp + 0x30]
push eax
call fcn.10047940
lea ecx, [esp + 0x38]
call fcn.100016b0
mov eax, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret 0x20
mov eax, dword [esi]
lea edi, [ebx + 0xe0]
mov dword [ebx + 0x10], eax
mov ecx, 0x14
xor eax, eax
mov dword [ebx + 0x90], 0
cmp byte [esp + 0x11], al
cmovne eax, ecx
xor ebp, ebp
mov dword [ebx + 0x50], eax
cmp dword [edi], ebp
jne 0x1006efcd
mov ecx, dword [ebx + 0xe8]
lea edx, [esp + 0x18]
push edi
push edx
mov dword [esp + 0x20], 0x101988e8
lea edx, [esp + 0x38]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x38], 0xc
mov dword [esp + 0x40], 2
mov dword [esp + 0x3c], 1
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov eax, dword [ecx]
push edx
push ecx
call dword [eax + 0xc]
mov ebx, eax
test ebx, ebx
jns 0x1006efc9
push esi
call fcn.1002a740
mov esi, dword [esp + 0xc0]
push ebx
push str.Failed_to_create_instanced_pointsprite_emulation_index_buffer__HRESULT:_0x_08x
push 0x505
push esi
call fcn.101314c0
add esp, 0x14
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret 0x20
mov ebx, dword [esp + 0x14]
cmp byte [esp + 0x11], 0
je 0x1006efec
mov eax, dword [ebx + 0xec]
push 0
push 0x39
push dword [edi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
jmp 0x1006efec
mov ebp, dword [esp + 0x28]
cmp byte [esp + 0x13], 0
je 0x1006f024
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx + 0xec]
lea eax, [ebx + 0x90]
lea eax, [eax + ebp*4]
push eax
lea eax, [ebx + 0x50]
mov edx, dword [ecx]
lea eax, [eax + ebp*4]
push eax
lea eax, [ebx + 0x10]
lea eax, [eax + ebp*4]
push eax
mov eax, dword [esp + 0x38]
sub eax, ebp
inc eax
push eax
push ebp
push ecx
call dword [edx + 0x48]
mov eax, dword [esp + 0xbc]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
pop ebx
add esp, 0xa8
ret 0x20