Function at 0x451b20
Capabilities:
Terminate thread

Disassembly:
sub esp, 0xc
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x70]
xor ebp, ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp eax, ebp
je 0x451b3a
push eax
call edi
mov eax, dword [esi + 0x7c]
cmp eax, ebp
je 0x451b44
push eax
call edi
push ebx
cmp dword [esi + 0x84], ebp
je 0x451cd3
push 0x620ffc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test byte [esi + 0x84], 1
je 0x451b72
mov eax, dword [esi + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
test byte [esi + 0x84], 2
je 0x451b8a
mov ecx, dword [esi + 0x8c]
push ecx
call sub.MSVCR90.dll__set_invalid_parameter_handler
add esp, 4
test byte [esi + 0x84], 4
je 0x451ba2
mov edx, dword [esi + 0x90]
push edx
call sub.MSVCR90.dll__set_purecall_handler
add esp, 4
mov ecx, dword [0x621014]
call fcn.00457070
cmp dword [eax], esi
jne 0x451bd6
mov ecx, dword [0x621014]
mov eax, dword [ecx + 0x10]
mov edx, eax
sub edx, dword [ecx + 0xc]
test edx, 0xfffffffc
je 0x451c84
add eax, 0xfffffffc
mov dword [ecx + 0x10], eax
jmp 0x451c84
push str.warning:_removing_Breakpad_handler_out_of_order_n
call sub.MSVCR90.dll___iob_func
add eax, 0x40
push eax
call sub.MSVCR90.dll_fprintf
mov edi, dword [0x621014]
mov ebx, dword [edi + 0xc]
add esp, 8
cmp ebx, dword [edi + 0x10]
jbe 0x451bff
call sub.MSVCR90.dll__invalid_parameter_noinfo
mov edi, dword [edi]
mov ebp, dword [0x621014]
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
cmp dword [ebp + 0xc], eax
jbe 0x451c18
call sub.MSVCR90.dll__invalid_parameter_noinfo
mov ebp, dword [ebp]
test edi, edi
je 0x451c23
cmp edi, ebp
je 0x451c28
call sub.MSVCR90.dll__invalid_parameter_noinfo
cmp ebx, dword [esp + 0x10]
je 0x451c82
test edi, edi
jne 0x451c60
call sub.MSVCR90.dll__invalid_parameter_noinfo
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x451c43
call sub.MSVCR90.dll__invalid_parameter_noinfo
cmp dword [ebx], esi
jne 0x451c64
mov ecx, dword [0x621014]
push ebx
push edi
lea eax, [esp + 0x1c]
push eax
call fcn.00452cc0
mov edi, dword [eax]
mov ebx, dword [eax + 4]
jmp 0x451c01
mov eax, dword [edi]
jmp 0x451c39
test edi, edi
jne 0x451c7e
call sub.MSVCR90.dll__invalid_parameter_noinfo
xor eax, eax
cmp ebx, dword [eax + 0x10]
jb 0x451c79
call sub.MSVCR90.dll__invalid_parameter_noinfo
add ebx, 4
jmp 0x451c01
mov eax, dword [edi]
jmp 0x451c6f
xor ebp, ebp
mov edi, dword [0x621014]
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
test ecx, 0xfffffffc
jne 0x451cc8
mov eax, dword [edi + 0xc]
cmp eax, ebp
je 0x451ca8
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edx, dword [edi]
push edx
mov dword [edi + 0xc], ebp
mov dword [edi + 0x10], ebp
mov dword [edi + 0x14], ebp
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 8
mov dword [0x621014], ebp
push 0x620ffc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
cmp dword [esi + 0xc], ebp
jne 0x451d1d
mov eax, dword [esi + 0x94]
push 1
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [esi + 0x94]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call edi
lea edx, [esi + 0x9c]
push edx
mov dword [esi + 0x94], ebp
call ebx
mov eax, dword [esi + 0xb4]
push eax
call edi
mov ecx, dword [esi + 0xb8]
push ecx
call edi
push 0x62101c
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x451d33
push 0x620ffc
call ebx
mov ebx, 8
cmp dword [esi + 0x60], ebx
jb 0x451d49
mov edx, dword [esi + 0x4c]
push edx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, 7
xor eax, eax
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], ebp
mov word [esi + 0x4c], ax
cmp dword [esi + 0x44], ebx
jb 0x451d6b
mov ecx, dword [esi + 0x30]
push ecx
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
xor edx, edx
mov dword [esi + 0x44], edi
mov dword [esi + 0x40], ebp
mov word [esi + 0x30], dx
cmp dword [esi + 0x28], ebx
pop ebx
jb 0x451d89
mov eax, dword [esi + 0x14]
push eax
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ecx, ecx
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], ebp
mov word [esi + 0x14], cx
mov esi, dword [esi + 0xc]
cmp esi, ebp
je 0x451dac
mov ecx, esi
call fcn.004519b0
push esi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop esi
pop ebp
add esp, 0xc
ret