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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x98
mov dword [esp + 4], ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [0x48000c]
xor eax, ebp
mov dword [esp + 0x90], eax
mov eax, dword [edx]
mov ecx, dword [esi]
mov dword [esp + 0x18], eax
add eax, ecx
mov dword [esp + 0x14], edx
mov ebx, dword [edx + 4]
mov edx, dword [esi + 4]
mov esi, eax
mov edi, ebx
adc edi, edx
add esi, 0xffffffff
adc edi, 0xffffffff
mov dword [esp], 0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edx
or ecx, edx
je 0x4313be
cmp esi, dword [esp + 0x18]
mov dword [esp + 0xc], edi
mov eax, edi
mov dword [esp + 8], ebx
sbb eax, ebx
jb 0x4313be
mov dword [esp + 0x1c], esi
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ecx, dword [esp + 4]
lea eax, [ecx + 4]
mov dword [esp + 0x10], eax
mov ebx, dword [ecx + 4]
mov edx, dword [ebx + 4]
cmp byte [edx + 0xd], 0
je 0x431297
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], eax
movsd xmm0, qword [edi]
movsd qword [esp + 0x38], xmm0
mov eax, dword [esi]
mov dword [esp + 0x40], eax
test eax, eax
je 0x431346
add esi, 4
mov ecx, esi
mov eax, ecx
mov ecx, dword [ecx]
cmp ecx, esi
jne 0x43127f
lea ecx, [esp + 0x44]
mov dword [eax], ecx
mov dword [ecx], esi
mov eax, dword [ecx - 4]
jmp 0x43134e
mov edi, edx
mov dword [esp], ebx
mov ecx, dword [esp + 0x18]
mov esi, dword [edi + 0x14]
cmp dword [edi + 0x10], ecx
sbb esi, dword [esp + 8]
setb al
cmovae ebx, edi
movzx eax, al
mov edi, dword [edi + eax*8]
cmp byte [edi + 0xd], 0
je 0x4312a0
mov edi, dword [esp]
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0xc]
mov eax, dword [edx + 0x14]
cmp dword [edx + 0x10], ecx
sbb eax, esi
setb al
cmovae edi, edx
movzx eax, al
mov edx, dword [edx + eax*8]
cmp byte [edx + 0xd], 0
je 0x4312c7
cmp ebx, edi
je 0x4313d7
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
cmp edx, 2
je 0x431452
cmp edx, 1
jne 0x431761
mov esi, dword [ebx + 0x18]
mov edx, dword [ebx + 0x1c]
mov edi, dword [esp + 0x18]
cmp edi, esi
mov eax, dword [esp + 8]
sbb eax, edx
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], edx
jae 0x4314c0
sub esi, edi
sbb edx, dword [esp + 8]
lea eax, [esp + 0x48]
mov dword [eax], esi
mov dword [eax + 4], edx
mov edx, dword [esp + 0x14]
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
jmp 0x4314b3
lea eax, [esp + 0x44]
mov dword [eax], eax
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
movups xmm0, xmmword [esp + 0x30]
movups xmmword [esp + 0x50], xmm0
mov dword [esp + 0x60], eax
test eax, eax
je 0x431386
lea eax, [esp + 0x44]
mov edx, eax
mov ecx, edx
mov edx, dword [edx]
cmp edx, eax
jne 0x431376
lea edx, [esp + 0x64]
mov dword [ecx], edx
jmp 0x43138a
lea eax, [esp + 0x64]
lea esi, [esp + 0x60]
mov dword [esi + 4], eax
lea eax, [esp + 0x48]
lea edx, [esp + 0x88]
mov ecx, dword [esp + 0x10]
push eax
call fcn.00430d40
add esp, 4
mov ecx, esi
call fcn.004310c0
lea ecx, [esp + 0x40]
call fcn.004310c0
mov al, 1
mov dword [esp], eax
mov ecx, dword [esp + 0x90]
xor ecx, ebp
call fcn.0043f850
mov eax, dword [esp]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp ebx, dword [esp]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
je 0x431252
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x1c]
cmp dword [esp + 0x1c], ecx
mov eax, dword [esp + 0xc]
sbb eax, edx
mov eax, dword [esp + 4]
jb 0x431252
mov esi, ecx
mov ecx, eax
mov edi, dword [eax]
cmp edi, 2
je 0x43157d
cmp edi, 1
jne 0x431761
mov dword [esp + 0x88], esi
mov edi, edx
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x18]
cmp edx, esi
mov ecx, dword [esp + 8]
mov eax, ecx
sbb eax, edi
jae 0x4316a2
sub esi, edx
sbb edi, ecx
lea eax, [esp + 0x48]
mov dword [eax], esi
mov dword [eax + 4], edi
mov ecx, dword [esp + 4]
jmp 0x431336
mov edx, dword [ebx + 0x10]
mov dword [esp], edx
sub edx, dword [esp + 0x18]
mov edi, dword [ebx + 0x14]
mov esi, edi
sbb esi, dword [esp + 8]
add edx, 1
adc esi, 0
mov ebx, dword [esp + 0x24]
sub ebx, edx
mov eax, dword [esp + 0x20]
sbb eax, esi
lea ecx, [esp + 0x48]
mov dword [ecx], ebx
mov dword [ecx + 4], eax
mov ebx, dword [ebp + 8]
add edx, dword [ebx]
adc esi, dword [ebx + 4]
lea ebx, [esp + 0x30]
mov dword [ebx], edx
mov eax, dword [esp]
add eax, 1
adc edi, 0
mov dword [ebx + 4], esi
lea edx, [esp + 0x88]
mov dword [edx + 4], edi
mov dword [edx], eax
mov ecx, dword [esp + 4]
push dword [ebp + 0x10]
lea eax, [esp + 0x4c]
push eax
push ebx
call fcn.004311c0
add esp, 0xc
jmp 0x4313bb
cmp esi, edi
sbb edx, dword [esp + 8]
jae 0x431761
lea esi, [esp + 0x84]
mov dword [esi - 4], 0
mov dword [esi], esi
movsd xmm0, qword [ebx + 0x10]
lea edx, [esp + 0x78]
movsd qword [edx], xmm0
lea edi, [esp + 0x68]
lea eax, [esp + 0x70]
push eax
push edi
lea edi, [esp + 0x90]
push edi
lea eax, [esp + 0x8c]
push eax
call fcn.004318e0
add esp, 0x10
mov ecx, dword [esp + 0x10]
mov edx, ebx
call fcn.0042e390
lea ecx, [ebx + 0x28]
call fcn.004310c0
push 0x30
push ebx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
lea ecx, [esp + 0x88]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x68]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
lea eax, [esp + 0x80]
mov eax, dword [eax]
mov dword [esp + 0x40], eax
test eax, eax
je 0x43176d
mov ecx, esi
mov eax, ecx
mov ecx, dword [ecx]
cmp ecx, esi
jne 0x431565
lea ecx, [esp + 0x44]
mov dword [eax], ecx
mov dword [ecx], esi
mov eax, dword [ecx - 4]
jmp 0x431775
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
mov dword [esp], 0
mov edi, dword [esp + 0x1c]
mov dword [esp + 8], eax
cmp edi, eax
mov eax, dword [esp + 0xc]
sbb eax, ecx
mov eax, dword [esp + 4]
jae 0x4313be
sub edi, esi
mov dword [esp], ecx
mov ecx, dword [esp + 0xc]
sbb ecx, edx
add edi, 1
mov esi, eax
mov edx, 0
adc ecx, edx
mov dword [esp + 0xc], ecx
lea eax, [esp + 0x84]
mov dword [eax - 4], edx
lea ecx, [esp + 0x78]
mov dword [ecx + 4], edx
mov dword [ecx], edx
lea eax, [esp + 0x70]
mov dword [eax + 4], edx
mov dword [eax], edx
lea eax, [esp + 0x68]
mov dword [eax + 4], edx
mov dword [eax], edx
lea edx, [esp + 0x88]
mov eax, dword [esp + 8]
mov dword [edx], eax
mov eax, dword [esp]
mov dword [edx + 4], eax
lea eax, [esp + 0x84]
mov dword [eax], eax
lea eax, [esp + 0x80]
mov ecx, esi
lea esi, [esp + 0x70]
push esi
lea esi, [esp + 0x6c]
push esi
lea esi, [esp + 0x80]
push esi
push eax
call fcn.004318e0
add esp, 0x10
mov ecx, dword [esp + 0x10]
mov edx, ebx
call fcn.0042e390
lea ecx, [ebx + 0x28]
call fcn.004310c0
push 0x30
push ebx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
lea ecx, [esp + 0x68]
mov eax, dword [ecx]
add eax, edi
mov ecx, dword [ecx + 4]
mov edx, dword [esp + 0xc]
adc ecx, edx
lea esi, [esp + 0x78]
add edi, dword [esi]
adc edx, dword [esi + 4]
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
lea eax, [esp + 0x80]
mov eax, dword [eax]
mov dword [esp + 0x40], eax
test eax, eax
je 0x4317c2
lea edx, [esp + 0x84]
mov ecx, edx
mov eax, ecx
mov ecx, dword [ecx]
cmp ecx, edx
jne 0x43168a
lea ecx, [esp + 0x44]
mov dword [eax], ecx
mov dword [ecx], edx
mov eax, dword [ecx - 4]
jmp 0x4317ca
cmp esi, edx
sbb edi, ecx
jae 0x431761
lea esi, [esp + 0x84]
mov dword [esi - 4], 0
mov dword [esi], esi
movsd xmm0, qword [ebx + 0x10]
lea edx, [esp + 0x78]
movsd qword [edx], xmm0
lea edi, [esp + 0x68]
mov ecx, dword [esp + 4]
lea eax, [esp + 0x70]
push eax
push edi
lea edi, [esp + 0x90]
push edi
lea eax, [esp + 0x8c]
push eax
call fcn.004318e0
add esp, 0x10
mov ecx, dword [esp + 0x10]
mov edx, ebx
call fcn.0042e390
lea ecx, [ebx + 0x28]
call fcn.004310c0
push 0x30
push ebx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
lea ecx, [esp + 0x88]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x68]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
lea eax, [esp + 0x80]
mov eax, dword [eax]
mov dword [esp + 0x40], eax
test eax, eax
je 0x43183a
mov ecx, esi
mov eax, ecx
mov ecx, dword [ecx]
cmp ecx, esi
jne 0x431749
lea ecx, [esp + 0x44]
mov dword [eax], ecx
mov dword [ecx], esi
mov eax, dword [ecx - 4]
jmp 0x431842
mov dword [esp], 0
jmp 0x4313be
lea eax, [esp + 0x44]
mov dword [eax], eax
xor eax, eax
mov esi, dword [ebp + 0x10]
mov edi, dword [esp + 4]
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
add ecx, 0xffffffff
adc edx, 0xffffffff
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
movups xmm0, xmmword [esp + 0x30]
movups xmmword [esp + 0x50], xmm0
mov dword [esp + 0x60], eax
test eax, eax
je 0x431885
lea eax, [esp + 0x44]
mov edx, eax
mov ecx, edx
mov edx, dword [edx]
cmp edx, eax
jne 0x4317af
lea edx, [esp + 0x64]
mov dword [ecx], edx
jmp 0x431889
lea eax, [esp + 0x44]
mov dword [eax], eax
xor eax, eax
mov esi, dword [ebp + 0x10]
mov ecx, dword [esp + 8]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp]
mov dword [esp + 0x4c], ecx
movups xmm0, xmmword [esp + 0x30]
movups xmmword [esp + 0x50], xmm0
mov dword [esp + 0x60], eax
test eax, eax
je 0x431804
lea eax, [esp + 0x44]
mov edx, eax
mov ecx, edx
mov edx, dword [edx]
cmp edx, eax
jne 0x4317f4
lea edx, [esp + 0x64]
mov dword [ecx], edx
jmp 0x431808
lea eax, [esp + 0x64]
lea ebx, [esp + 0x60]
mov dword [ebx + 4], eax
lea eax, [esp + 0x48]
lea edx, [esp + 0x28]
mov ecx, dword [esp + 0x10]
push eax
call fcn.00430d40
add esp, 4
mov ecx, ebx
call fcn.004310c0
lea ecx, [esp + 0x40]
call fcn.004310c0
mov ecx, dword [esp + 4]
jmp 0x4318b7
lea eax, [esp + 0x44]
mov dword [eax], eax
xor eax, eax
mov esi, dword [ebp + 0x10]
mov edi, dword [esp + 4]
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
add ecx, 0xffffffff
adc edx, 0xffffffff
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
movups xmm0, xmmword [esp + 0x30]
movups xmmword [esp + 0x50], xmm0
mov dword [esp + 0x60], eax
test eax, eax
je 0x431885
lea eax, [esp + 0x44]
mov edx, eax
mov ecx, edx
mov edx, dword [edx]
cmp edx, eax
jne 0x431878
jmp 0x4317b7
lea eax, [esp + 0x64]
lea ebx, [esp + 0x60]
mov dword [ebx + 4], eax
lea eax, [esp + 0x48]
lea edx, [esp + 0x28]
mov ecx, dword [esp + 0x10]
push eax
call fcn.00430d40
add esp, 4
mov ecx, ebx
call fcn.004310c0
lea ecx, [esp + 0x40]
call fcn.004310c0
mov ecx, edi
mov edx, dword [esp + 0x14]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004311c0
add esp, 0xc
mov dword [esp], eax
lea ecx, [esp + 0x80]
call fcn.004310c0
jmp 0x4313be