Function at 0x492e60
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x38
mov edi, ecx
mov dword [ebp - 0x414], eax
call fcn.005662c8
xor esi, esi
add esp, 4
cmp eax, esi
je 0x492ea1
push eax
call fcn.0047af50
mov ebx, eax
mov dword [ebp - 0x40c], ebx
jmp 0x492ea9
mov dword [ebp - 0x40c], esi
mov ebx, esi
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx]
push esi
push esi
push esi
push edx
lea ecx, [ebx + 0x2c]
push ecx
lea edx, [ebx + 0x30]
push edx
lea ecx, [ebx + 0x28]
push ecx
lea eax, [ebx + 0x14]
lea edx, [ebx + 0x1c]
lea ecx, [ebx + 0x18]
push eax
call fcn.00493780
add esp, 0x20
test al, al
je 0x49310e
mov eax, dword [edi + 0x38]
cmp eax, esi
je 0x4930d7
cmp dword [eax + 0x10], esi
mov dword [ebp - 0x408], eax
je 0x4930bb
jmp 0x492f00
mov esi, dword [ebp - 0x408]
add esi, 0x14
lea ecx, [ebx + 0x14]
mov eax, esi
call fcn.004acb80
test eax, eax
jne 0x4930a0
cmp byte [0x5f49d5], al
mov dword [ebp - 0x410], eax
jne 0x492f3b
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [0x5f49d5], 1
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, 0x4d
lea ebx, [ebp - 0x410]
call fcn.004ab8c0
mov ebx, dword [ebp - 0x410]
test ebx, ebx
je 0x492f78
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
push edx
add eax, 1
push str.Duplicate_name_found_while_trying_to_build_class_events.__Matched_names_are:
push eax
call fcn.00566500
add esp, 0xc
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x492f8e
mov dword [ebx + 0x10], 0x600
push esi
lea ecx, [ebp - 0x410]
push ecx
lea edx, [ebp - 0x418]
push edx
call fcn.004ac650
mov eax, dword [eax]
add esp, 0xc
test eax, eax
je 0x492fb3
mov eax, dword [eax + 4]
add eax, 1
jmp 0x492fb8
mov eax, 0x57e81c
push eax
push str.tail__name___h__name
push 0x12d8
push str.........Commonplugin.cpp
push str.Failed_Assertion
push 4
push str.Runtime_Error__d:__s_nPress_OK_to_Continue_nPress_Cancel_to_Quit._n_nPlease_report_what_caused_this_error_nalong_with_the_information_below._n_n_s:__d_nFailure_Condition:__s_n_s
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea ecx, [ebp - 0x404]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
je 0x4930cf
mov edi, dword [ebp - 0x418]
test edi, edi
je 0x493057
cmp byte [0x5f49d5], 0
jne 0x49302f
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [0x5f49d5], 1
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test edi, edi
je 0x49304c
add dword [edi], 0xffffffff
jne 0x49304c
push edi
call fcn.0056646e
add esp, 4
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
je 0x49309a
cmp byte [0x5f49d5], 0
jne 0x493076
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [0x5f49d5], 1
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [ebx], 0xffffffff
jne 0x49308f
push ebx
call fcn.0056646e
add esp, 4
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [ebp - 0x40c]
mov edx, dword [ebp - 0x408]
mov eax, dword [edx + 0x10]
cmp dword [eax + 0x10], 0
mov dword [ebp - 0x408], eax
jne 0x492f00
xor esi, esi
mov eax, dword [ebp - 0x408]
mov dword [eax + 0x10], ebx
mov eax, dword [eax + 0x20]
add eax, 1
mov dword [ebx + 0x20], eax
jmp 0x493102
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov dword [edi + 0x38], ebx
mov dword [ebx + 0x20], esi
mov ecx, dword [edi + 0x18]
cmp ecx, esi
je 0x493102
mov eax, dword [ecx + 0x38]
cmp eax, esi
je 0x4930fb
jmp 0x4930f0
add dword [ebx + 0x20], 1
mov eax, dword [eax + 0x10]
cmp eax, esi
jne 0x4930f0
mov ecx, dword [ecx + 0x18]
cmp ecx, esi
jne 0x4930e4
mov ecx, dword [ebp - 0x414]
mov dword [ebx + 0x10], esi
mov dword [ecx + 4], ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00566120
mov esp, ebp
pop ebp
ret