Function at 0x4b4fd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
mov eax, dword [0x5b00cc]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
push edi
jne 0x4b504a
push ebx
push str.mnuItem
push 0x97
push str.........Common_runcmm.cpp
lea eax, [ebx + 4]
call fcn.004f1f50
push eax
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, [esp + 0x44]
push 0x400
push eax
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea ecx, [esp + 0x30]
push ecx
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x4b504a
push ebx
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
push ebx
mov eax, esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
mov byte [0x5f49a3], 1
mov dword [0x5f49a4], ebx
call fcn.004fd8d0
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
add esp, 4
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, eax
test edi, edi
je 0x4b50c2
mov eax, dword [0x5f4894]
test eax, eax
je 0x4b50c2
lea ecx, [ecx]
cmp dword [eax + 0x68], edi
je 0x4b50a1
mov eax, dword [eax + 0x90]
test eax, eax
jne 0x4b5090
jmp 0x4b50c2
lea ecx, [esp + 0x1c]
push ecx
push edi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
push 3
push edx
push eax
push edi
call dword [sym.imp.USER32.dll_ChildWindowFromPointEx]
mov ebx, eax
test ebx, ebx
mov byte [esp + 0x13], 0
je 0x4b50d1
mov dword [esp + 0x18], ebx
jmp 0x4b5103
mov ecx, dword [0x5f49d0]
push 0
push ecx
push 0
push 0
push 1
push 1
push 0
push 0
push 0
push 0x57e81c
push 0x595a04
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [esp + 0x18], eax
mov byte [esp + 0x13], 1
mov edi, dword [esp + 0x18]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [esi + 0x2c]
mov eax, dword [edx + 0x58]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push 0
push edi
push 0
push ecx
push edx
push 0x182
push eax
call dword [sym.imp.USER32.dll_TrackPopupMenu]
test eax, eax
je 0x4b519b
mov ecx, dword [esi + 0x2c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esi + 0x2c]
test edi, edi
mov ebx, eax
mov dword [0x5f49a4], ebx
jne 0x4b5167
push 0xda
push str.........Common_runcmm.cpp
xor esi, esi
mov edx, 0x5803ec
lea ecx, [edi + 4]
call fcn.004f1fc0
add esp, 8
mov edi, dword [edi + 0x4c]
xor ecx, ecx
cmp edi, ecx
jne 0x4b5176
mov dword [esp + 0x14], ecx
jmp 0x4b519f
mov eax, dword [0x5f4894]
cmp eax, ecx
je 0x4b5170
nop
cmp dword [eax + 0x68], edi
je 0x4b5195
mov eax, dword [eax + 0x90]
cmp eax, ecx
jne 0x4b5180
mov dword [esp + 0x14], ecx
jmp 0x4b519f
mov dword [esp + 0x14], eax
jmp 0x4b519f
mov ebx, dword [esp + 0x24]
cmp byte [esp + 0x13], 0
je 0x4b51b1
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
test ebx, ebx
mov byte [0x5f49a3], 0
je 0x4b51e7
mov edx, dword [esp + 0x14]
push edx
push 0
push ebx
call fcn.0046fa30
add esp, 0xc
test al, al
je 0x4b51e7
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.00566120
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x42c]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.00566120
mov esp, ebp
pop ebp
ret