Function at 0x4ac0f0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push edi
mov edi, ecx
mov eax, dword [edi + 0x64]
test eax, eax
je 0x4ac108
push eax
call esi
mov eax, dword [edi + 0x70]
test eax, eax
je 0x4ac112
push eax
call esi
cmp dword [edi + 0x78], 0
push ebx
je 0x4ac245
push 0x561e60
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test byte [edi + 0x78], 1
je 0x4ac137
push dword [edi + 0x7c]
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
test byte [edi + 0x78], 2
je 0x4ac14b
push dword [edi + 0x80]
call fcn.004d52ef
add esp, 4
test byte [edi + 0x78], 4
je 0x4ac15f
push dword [edi + 0x84]
call fcn.004d1d2d
add esp, 4
mov ecx, dword [0x561e58]
mov eax, dword [ecx + 4]
add eax, 0xfffffffc
cmp dword [eax], edi
jne 0x4ac17a
mov dword [ecx + 4], eax
mov ebx, dword [0x561e58]
jmp 0x4ac1d6
push str.warning:_removing_Breakpad_handler_out_of_order_n
push 2
call fcn.004e35f6
add esp, 4
push eax
call fcn.00401260
mov ebx, dword [0x561e58]
add esp, 8
mov esi, dword [ebx]
cmp esi, dword [ebx + 4]
je 0x4ac1d6
lea ecx, [esi + 4]
mov dword [ebp - 4], ecx
cmp dword [esi], edi
jne 0x4ac1c8
mov eax, dword [ebx + 4]
sub eax, ecx
push eax
push ecx
push esi
call fcn.004d1630
mov ecx, dword [ebp - 4]
add esp, 0xc
add dword [ebx + 4], 0xfffffffc
mov ebx, dword [0x561e58]
jmp 0x4ac1d1
add esi, 4
add ecx, 4
mov dword [ebp - 4], ecx
cmp esi, dword [ebx + 4]
jne 0x4ac1a5
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
jne 0x4ac23a
test eax, eax
je 0x4ac225
mov ecx, dword [ebx + 8]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4ac207
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ac3eb
mov eax, edx
push ecx
push eax
call fcn.004cefc9
mov dword [ebx], 0
add esp, 8
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
push 0xc
push ebx
call fcn.004cefc9
add esp, 8
mov dword [0x561e58], 0
push 0x561e60
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [edi + 0xc], 0
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jne 0x4ac290
push 1
push dword [edi + 0x88]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [edi + 0x88]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
lea eax, [edi + 0x90]
mov dword [edi + 0x88], 0
push eax
call ebx
push dword [edi + 0xa8]
call esi
push dword [edi + 0xac]
call esi
or eax, 0xffffffff
lock xadd dword [0x561e78], eax
jne 0x4ac2a4
push 0x561e60
call ebx
mov ecx, dword [edi + 0xc0]
pop ebx
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov eax, dword [ecx]
test eax, eax
je 0x4ac2d3
nop word [eax + eax]
mov esi, dword [eax]
push 0x18
push eax
call fcn.004cefc9
add esp, 8
mov eax, esi
test esi, esi
jne 0x4ac2c0
push 0x18
push dword [edi + 0xc0]
call fcn.004cefc9
mov ecx, dword [edi + 0x54]
add esp, 8
cmp ecx, 7
jbe 0x4ac31d
mov eax, dword [edi + 0x40]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4ac313
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ac3eb
mov eax, edx
push ecx
push eax
call fcn.004cefc9
add esp, 8
xor eax, eax
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 7
mov word [edi + 0x40], ax
mov ecx, dword [edi + 0x3c]
cmp ecx, 7
jbe 0x4ac36b
mov eax, dword [edi + 0x28]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4ac361
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ac3eb
mov eax, edx
push ecx
push eax
call fcn.004cefc9
add esp, 8
xor eax, eax
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 7
mov word [edi + 0x28], ax
mov ecx, dword [edi + 0x24]
cmp ecx, 7
jbe 0x4ac3b5
mov eax, dword [edi + 0x10]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4ac3ab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ac3eb
mov eax, edx
push ecx
push eax
call fcn.004cefc9
add esp, 8
xor eax, eax
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 7
mov word [edi + 0x10], ax
mov esi, dword [edi + 0xc]
test esi, esi
je 0x4ac3e5
mov ecx, esi
call fcn.004ad450
push 0x348
push esi
call fcn.004cefc9
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.004d529e
int3