Function at 0x411420
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, ecx
call fcn.0040a6d0
test al, al
je 0x411448
push 0x32
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 1
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edi, dword [esi + 0x20]
mov dword [esi + 0x20], 0
test edi, edi
je 0x411466
mov ecx, edi
call fcn.00411660
push edi
call sub.mozglue.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esi + 0x30]
test ecx, ecx
jne 0x4115ff
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x411482
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov edi, dword [esi + 0x20]
test edi, edi
jne 0x411637
mov eax, dword [esi + 0x18]
inc eax
cmp eax, 2
jae 0x4114be
mov eax, dword [esi + 0x14]
inc eax
cmp eax, 2
jae 0x411529
mov eax, dword [esi + 0x10]
inc eax
cmp eax, 2
jae 0x411594
mov ecx, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00404c90
lea edi, [esi + 0x18]
mov dword [ebp - 0x14], edi
call fcn.00401780
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [edi]
mov dword [ebp - 0x10], eax
call fcn.00401790
mov ebx, eax
mov eax, dword [eax]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
push ebx
push dword [ebp - 0x10]
call edi
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
call fcn.00401790
mov edi, eax
mov eax, dword [eax]
mov ebx, dword [eax]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push dword [ebp - 0x10]
call ebx
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x411496
lea edi, [esi + 0x14]
mov dword [ebp - 0x14], edi
call fcn.00401780
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [edi]
mov dword [ebp - 0x10], eax
call fcn.00401790
mov ebx, eax
mov eax, dword [eax]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
push ebx
push dword [ebp - 0x10]
call edi
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
call fcn.00401790
mov edi, eax
mov eax, dword [eax]
mov ebx, dword [eax]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push dword [ebp - 0x10]
call ebx
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x4114a3
lea edi, [esi + 0x10]
mov dword [ebp - 0x14], edi
call fcn.00401780
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [edi]
mov dword [ebp - 0x10], eax
call fcn.00401790
mov ebx, eax
mov eax, dword [eax]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [section..00cfg]
mov ecx, ebx
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
push ebx
push dword [ebp - 0x10]
call edi
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
call fcn.00401790
mov edi, eax
mov eax, dword [eax]
mov ebx, dword [eax]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push dword [ebp - 0x10]
call ebx
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x4114b0
mov eax, dword [esi + 0x38]
sub eax, ecx
cmp eax, 0x1000
jb 0x41161d
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x41164c
add eax, 0x23
mov ecx, edx
push eax
push ecx
call sub.mozglue.dll_void___cdecl_operator_delete_void___unsigned_int_
add esp, 8
xor eax, eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
jmp 0x411471
mov ecx, edi
call fcn.00411660
push edi
call sub.mozglue.dll_void___cdecl_operator_delete_void__
add esp, 4
jmp 0x41148d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3