Function at 0x4353d0
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 0x4353e8
push eax
call esi
mov eax, dword [edi + 0x70]
test eax, eax
je 0x4353f2
push eax
call esi
cmp dword [edi + 0x78], 0
push ebx
je 0x435525
push 0x4ae3e4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test byte [edi + 0x78], 1
je 0x435417
push dword [edi + 0x7c]
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
test byte [edi + 0x78], 2
je 0x43542b
push dword [edi + 0x80]
call fcn.0045c18f
add esp, 4
test byte [edi + 0x78], 4
je 0x43543f
push dword [edi + 0x84]
call fcn.0045815a
add esp, 4
mov ecx, dword [0x4ae3dc]
mov eax, dword [ecx + 4]
add eax, 0xfffffffc
cmp dword [eax], edi
jne 0x43545a
mov dword [ecx + 4], eax
mov ebx, dword [0x4ae3dc]
jmp 0x4354b6
push str.warning:_removing_Breakpad_handler_out_of_order_n
push 2
call fcn.0045d346
add esp, 4
push eax
call fcn.0040f6c0
mov ebx, dword [0x4ae3dc]
add esp, 8
mov esi, dword [ebx]
cmp esi, dword [ebx + 4]
je 0x4354b6
lea ecx, [esi + 4]
mov dword [ebp - 4], ecx
cmp dword [esi], edi
jne 0x4354a8
mov eax, dword [ebx + 4]
sub eax, ecx
push eax
push ecx
push esi
call fcn.004599b0
mov ecx, dword [ebp - 4]
add esp, 0xc
add dword [ebx + 4], 0xfffffffc
mov ebx, dword [0x4ae3dc]
jmp 0x4354b1
add esi, 4
add ecx, 4
mov dword [ebp - 4], ecx
cmp esi, dword [ebx + 4]
jne 0x435485
mov eax, dword [ebx]
cmp eax, dword [ebx + 4]
jne 0x43551a
test eax, eax
je 0x435505
mov ecx, dword [ebx + 8]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4354e7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4356cb
mov eax, edx
push ecx
push eax
call fcn.00456cbd
mov dword [ebx], 0
add esp, 8
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
push 0xc
push ebx
call fcn.00456cbd
add esp, 8
mov dword [0x4ae3dc], 0
push 0x4ae3e4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [edi + 0xc], 0
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jne 0x435570
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 [0x4ae3fc], eax
jne 0x435584
push 0x4ae3e4
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 0x4355b3
nop word [eax + eax]
mov esi, dword [eax]
push 0x18
push eax
call fcn.00456cbd
add esp, 8
mov eax, esi
test esi, esi
jne 0x4355a0
push 0x18
push dword [edi + 0xc0]
call fcn.00456cbd
mov ecx, dword [edi + 0x54]
add esp, 8
cmp ecx, 8
jb 0x4355fd
mov eax, dword [edi + 0x40]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4355f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4356cb
mov eax, edx
push ecx
push eax
call fcn.00456cbd
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, 8
jb 0x43564b
mov eax, dword [edi + 0x28]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x435641
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4356cb
mov eax, edx
push ecx
push eax
call fcn.00456cbd
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, 8
jb 0x435695
mov eax, dword [edi + 0x10]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x43568b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4356cb
mov eax, edx
push ecx
push eax
call fcn.00456cbd
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 0x4356c5
mov ecx, esi
call fcn.00440d30
push 0x348
push esi
call fcn.00456cbd
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.0045c13e
int3