Function at 0x4b91f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x5f4c10], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
jne 0x4b9289
test edi, edi
mov dword [0x5f4c10], edi
mov eax, edi
je 0x4b9231
mov edi, edi
mov ecx, dword [eax + 0x3c]
test ecx, ecx
jne 0x4b924f
mov eax, dword [eax + 0xb8]
test eax, eax
jne 0x4b9220
xor esi, esi
push 0x5d5
push str.........Common_runctl.cpp
mov edx, 0x595e0c
lea ecx, [esi + 4]
call fcn.004f1fc0
add esp, 8
jmp 0x4b9289
call fcn.0051d0d0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x41c], ecx
lea ecx, [ebp - 0x41c]
mov dword [ebp - 0x418], edx
mov edx, dword [eax + 0x68]
push ecx
push edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x418]
mov dword [ebp + 0xc], eax
mov dword [ebp + 0x10], ecx
mov eax, dword [0x5f4c14]
test eax, eax
jne 0x4b930c
call fcn.004719f0
mov esi, eax
call fcn.00479330
test eax, eax
mov dword [0x5f4c14], eax
jne 0x4b930c
push eax
push str.sDisplay
push 0x5e0
push str.........Common_runctl.cpp
mov eax, 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 edx, [ebp - 0x40c]
push 0x400
push edx
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea eax, [ebp - 0x40c]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x4b9303
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [0x5f4c14]
test eax, eax
je 0x4b9319
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x4b9319
add ecx, 1
mov dword [eax + 0xc], ecx
mov esi, dword [edi + 0x3c]
test esi, esi
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jne 0x4b9337
mov esi, dword [edi + 0xb4]
test esi, esi
je 0x4b9374
mov esi, dword [esi + 0x5c]
test esi, esi
je 0x4b9374
mov eax, dword [esi + 0x68]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x410], edx
lea edx, [ebp - 0x414]
push edx
push eax
mov dword [ebp - 0x414], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x414]
mov edx, dword [ebp - 0x410]
sub ecx, dword [0x60d7b0]
sub edx, dword [0x60d7ac]
mov eax, dword [0x5f4c14]
mov esi, dword [edi + 8]
test esi, esi
je 0x4b93a6
mov ebx, dword [edi + 4]
cmp dword [ebx + 0x28], 0
jle 0x4b93a6
mov ebx, dword [0x5b2b08]
mov ebx, dword [ebx + 0x20]
mov esi, dword [esi + ebx*8]
test esi, esi
je 0x4b93a6
push edx
push ecx
push eax
push edi
call esi
mov esi, eax
mov eax, dword [0x5f4c14]
add esp, 0x10
jmp 0x4b93a8
xor esi, esi
test eax, eax
je 0x4b93c4
mov ecx, dword [eax + 0xc]
test ecx, ecx
jle 0x4b93c4
add ecx, 0xffffffff
mov dword [eax + 0xc], ecx
jne 0x4b93c4
push eax
call fcn.004ff480
add esp, 4
test esi, esi
jne 0x4b9463
call fcn.0050ba10
push eax
call fcn.0047a430
add esp, 4
push eax
push edi
call fcn.004ff5b0
add esp, 8
test al, al
je 0x4b9463
mov eax, dword [edi + 0xb4]
test eax, eax
je 0x4b9417
push esi
push eax
call fcn.004b9c30
mov esi, eax
add esp, 8
test esi, esi
je 0x4b9417
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ecx
push edx
push esi
call fcn.004b9490
add esp, 0xc
mov bl, al
jmp 0x4b9438
push 0
push edi
call fcn.0050b8c0
mov ecx, dword [ebp + 0xc]
mov esi, eax
mov eax, dword [ebp + 0x10]
push eax
push ecx
push esi
call fcn.004b91f0
add esp, 0x14
test esi, esi
mov bl, al
je 0x4b9477
mov eax, dword [esi + 0xc]
test eax, eax
jle 0x4b9477
add eax, 0xffffffff
mov dword [esi + 0xc], eax
jne 0x4b9477
push esi
call fcn.004ff480
add esp, 4
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00566120
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push eax
push 0
call fcn.004b9490
add esp, 0xc
mov bl, al
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00566120
mov esp, ebp
pop ebp
ret