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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, ecx
mov eax, dword [0x1038000c]
xor eax, ebp
mov dword [esp + 0x68], eax
push dword [ebp + 8]
call fcn.1007ab00
cmp dword [esi + 0x38], 0x10
jb 0x1007c77c
mov ecx, dword [esi + 0x24]
jmp 0x1007c77f
lea ecx, [esi + 0x24]
xor eax, eax
mov dword [esi + 0x34], eax
mov byte [ecx], al
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x140]
mov dword [esi + 0x40], ecx
cmp edx, 0x10
jb 0x1007c79f
mov ecx, dword [esi + 0x12c]
jmp 0x1007c7a5
lea ecx, [esi + 0x12c]
mov dword [esi + 0x13c], eax
mov byte [ecx], al
mov dword [esi + 0x20], 0x64
mov edi, dword [esi + 0x6c]
mov ebx, dword [esi + 0x70]
cmp edi, ebx
je 0x1007c7d2
mov ecx, edi
call fcn.1026a740
add edi, 0xb4
cmp edi, ebx
jne 0x1007c7be
mov ebx, dword [esi + 0x6c]
mov dword [esi + 0x70], ebx
mov edi, dword [esi + 0x78]
mov ebx, dword [esi + 0x7c]
cmp edi, ebx
je 0x1007c7f3
mov ecx, edi
call fcn.1026a740
add edi, 0xb4
cmp edi, ebx
jne 0x1007c7df
mov ebx, dword [esi + 0x78]
mov dword [esi + 0x7c], ebx
mov edi, dword [esi + 0x84]
mov ebx, dword [esi + 0x88]
cmp edi, ebx
je 0x1007c81d
mov ecx, edi
call fcn.1026a740
add edi, 0xb4
cmp edi, ebx
jne 0x1007c806
mov ebx, dword [esi + 0x84]
mov dword [esi + 0x88], ebx
mov edi, dword [esi + 0x90]
mov ebx, dword [esi + 0x94]
cmp edi, ebx
je 0x1007c847
mov ecx, edi
call fcn.1026bc50
add edi, 0x6c
cmp edi, ebx
jne 0x1007c833
mov ebx, dword [esi + 0x90]
mov dword [esi + 0x94], ebx
mov edi, dword [esi + 0x9c]
mov ebx, dword [esi + 0xa0]
cmp edi, ebx
je 0x1007c871
mov ecx, edi
call fcn.1026bc50
add edi, 0x6c
cmp edi, ebx
jne 0x1007c85d
mov ebx, dword [esi + 0x9c]
mov dword [esi + 0xa0], ebx
mov edi, dword [esi + 0xb4]
mov ebx, dword [esi + 0xb8]
cmp edi, ebx
je 0x1007c89e
mov ecx, edi
call fcn.1026a740
add edi, 0xb4
cmp edi, ebx
jne 0x1007c887
mov ebx, dword [esi + 0xb4]
mov dword [esi + 0xb8], ebx
mov edi, dword [esi + 0xc0]
mov ebx, dword [esi + 0xc4]
cmp edi, ebx
je 0x1007c8cb
mov ecx, edi
call fcn.1026a740
add edi, 0xb4
cmp edi, ebx
jne 0x1007c8b4
mov ebx, dword [esi + 0xc0]
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xd8], 0xffffffff
xor edx, edx
mov byte [esi + 0xdc], dl
mov byte [esi + 0xde], dl
mov byte [esi + 0xe0], dl
mov dword [esi + 0xe8], 1
mov dword [esi + 0xd0], edx
mov word [esi + 0xcc], 0
mov dword [esi + 0xd4], edx
xorps xmm0, xmm0
movups xmmword [esi + 0xec], xmm0
mov dword [esi + 0xfc], edx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x27c]
mov dword [esi + 0x16c], eax
mov eax, dword [ecx + 0x280]
mov dword [esi + 0x170], eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], edx
movups xmmword [esp + 0x38], xmm0
cmp byte [ecx + 0x1345], dl
mov edi, 3
mov eax, 0x3a03
cmove eax, edi
mov edi, 0x480
mov ebx, 0x180
cmove ebx, edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], eax
cmp byte [esi + 0x10c], dl
je 0x1007c981
or eax, 0x20
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], eax
mov edx, dword [ecx + 0x1fcc]
cmp byte [edx + 0x374], 0
je 0x1007c99d
or eax, 0x20000
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], eax
cmp byte [edx + 0x44c], 0
je 0x1007c9b3
or eax, 0x40010000
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], eax
call fcn.10017080
test eax, eax
je 0x1007c9bf
inc dword [eax + 4]
mov edi, dword [esi + 0x148]
mov dword [esi + 0x148], eax
test edi, edi
je 0x1007c9fa
dec dword [edi + 4]
jne 0x1007c9fa
mov eax, dword [edi]
mov ebx, dword [eax]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push dword [ebp + 8]
call ebx
mov eax, dword [edi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push 1
call ebx
mov ecx, dword [esi + 0x148]
movzx eax, byte [esi + 0x1c]
lea edi, [esp + 0x24]
push eax
push edi
call fcn.1000ae70
push dword [edi]
call fcn.102661e0
add esp, 4
lea edi, [esi + 0x150]
cmp edi, eax
je 0x1007caec
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x1007ca32
mov eax, dword [eax]
mov ebx, dword [esi + 0x164]
cmp ebx, ecx
jae 0x1007caca
mov dword [esp + 0xc], edi
test ecx, ecx
js 0x1007ccaf
mov edi, ebx
shr edi, 1
mov edx, edi
xor edx, 0x7fffffff
cmp edx, ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
jb 0x1007ccb4
or ecx, 0xf
add edi, ebx
cmp ecx, edi
cmova edi, ecx
lea ecx, [edi + 1]
cmp ecx, 0x1000
jae 0x1007ccbb
push ecx
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
mov ecx, eax
mov ebx, dword [esp + 0x10]
mov dword [esi + 0x160], ebx
mov dword [esi + 0x164], edi
push ebx
push dword [esp + 0x1c]
push ecx
mov edi, ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [edi + ebx], 0
mov ecx, dword [esp + 0x14]
cmp ecx, 0x10
jae 0x1007ccdb
mov eax, dword [esp + 0xc]
mov dword [eax], edi
jmp 0x1007caec
cmp ebx, 0x10
jb 0x1007cad5
mov edi, dword [esi + 0x150]
mov dword [esi + 0x160], ecx
push ecx
push eax
push edi
mov ebx, ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [edi + ebx], 0
xorps xmm0, xmm0
movaps xmmword [esp + 0x50], xmm0
mov dword [esp + 0x60], 0
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x1fd8]
test ecx, ecx
je 0x1007cb27
lea eax, [esp + 0x50]
lea edx, [esp + 0x30]
push eax
lea eax, [esp + 0x28]
push eax
push edx
push esi
push edi
call fcn.1004e970
test eax, eax
je 0x1007cc89
mov dword [esi + 0x100], 1
push 0x28
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
xorps xmm0, xmm0
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
xor ecx, ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x20], ecx
mov ebx, dword [esi + 0x14c]
mov dword [esi + 0x14c], eax
test ebx, ebx
je 0x1007cbaa
mov edi, dword [ebx + 4]
test edi, edi
je 0x1007cb9a
lock dec dword [edi + 4]
jne 0x1007cb9a
mov eax, dword [edi]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
call dword [section..00cfg]
mov ecx, edi
call dword [esp + 0xc]
lock dec dword [edi + 8]
jne 0x1007cb9a
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [esp + 0xc], ecx
call dword [section..00cfg]
mov ecx, edi
call dword [esp + 0xc]
push ebx
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, dword [esi + 0x14c]
add eax, 8
mov ecx, eax
lea eax, [esp + 0x24]
push eax
call fcn.1000b120
mov eax, dword [esi + 0x14c]
mov ecx, dword [esp + 0x60]
mov dword [eax + 0x24], ecx
movaps xmm0, xmmword [esp + 0x50]
movups xmmword [eax + 0x14], xmm0
mov eax, dword [esi + 0x104]
mov dword [esp + 0x10], eax
mov edi, dword [esi + 0x14c]
add edi, 8
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov dword [esp + 0xc], ecx
call dword [section..00cfg]
lea eax, [esp + 0x30]
lea ebx, [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push eax
push edi
push dword [ebp + 8]
push ebx
call dword [esp + 0x1c]
mov eax, dword [esi + 0x14c]
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
xor esi, esi
mov dword [ebx], esi
mov dword [ebx + 4], esi
mov dword [eax], ecx
mov esi, dword [eax + 4]
mov dword [eax + 4], edx
test esi, esi
je 0x1007cc52
lock dec dword [esi + 4]
jne 0x1007cc52
mov eax, dword [esi]
mov edi, dword [eax]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
lock dec dword [esi + 8]
jne 0x1007cc52
mov eax, dword [esi]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
mov esi, dword [esp + 0x20]
test esi, esi
je 0x1007cc9a
lock dec dword [esi + 4]
jne 0x1007cc9a
mov eax, dword [esi]
mov edi, dword [eax]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
lock dec dword [esi + 8]
jne 0x1007cc9a
mov eax, dword [esi]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
jmp 0x1007cc9a
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1007cc9a
push eax
call fcn.10266160
add esp, 4
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.10212780
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.102136b0
mov edi, 0x7fffffff
jmp 0x1007ccc0
cmp ecx, 0xffffffdd
jae 0x1007cd0d
lea eax, [edi + 0x24]
push eax
call dword [sym.imp.mozglue.dll_moz_xmalloc]
add esp, 4
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x1007ca91
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
add ecx, 0xfffff001
cmp ecx, 0xffffefff
ja 0x1007ccfe
mov ecx, dword [eax - 4]
add eax, 0xfffffffc
sub eax, ecx
cmp eax, 0x20
jae 0x1007cd12
mov eax, ecx
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x1007cac2
call fcn.102133d0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3