Function at 0x418d70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
test ebx, ebx
push esi
push edi
jne 0x418de5
push str.We_werent_passed_in_a_control__we_got_nil.
push 0x57f9f8
push 0x8b0
push str.........CommonCommonRunView.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, [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 ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x418e0b
push ebx
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov eax, dword [ebx + 8]
test eax, eax
je 0x418e0b
mov edx, dword [ebx + 4]
cmp dword [edx + 0x28], 0
jle 0x418e0b
mov ecx, dword [0x5b4be0]
mov edx, dword [ecx + 0x20]
mov eax, dword [eax + edx*8]
test eax, eax
je 0x418e0b
push ebx
call eax
add esp, 4
mov esi, dword [ebx + 0x38]
test esi, esi
je 0x418fc5
push ebx
call fcn.0051dcd0
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x44]
mov dword [eax + 0x48], ecx
cmp byte [ebx + 0x48], 0
jne 0x418e3a
mov ecx, dword [ebx + 0x38]
mov edx, dword [ecx]
mov eax, dword [edx + 0xdc]
push 8
call eax
cmp byte [ebx + 0x49], 0
jne 0x418e4f
mov ecx, dword [ebx + 0x38]
mov edx, dword [ecx]
mov eax, dword [edx + 0xdc]
push 6
call eax
mov eax, dword [ebx + 0x60]
test eax, eax
je 0x418f37
mov edi, dword [eax + 0x90]
test edi, edi
je 0x418f37
push 0x18
call fcn.005662c8
add esp, 4
test eax, eax
je 0x418e81
mov esi, eax
call fcn.00410ba0
mov edi, eax
jmp 0x418e83
xor edi, edi
cmp byte [edi + 8], 0
je 0x418e9c
mov eax, dword [edi + 0xc]
test eax, eax
je 0x418f2d
mov ecx, dword [eax + 4]
mov dword [edi + 0xc], ecx
jmp 0x418ea0
mov byte [edi + 8], 1
mov eax, dword [edi + 0xc]
test eax, eax
je 0x418f2d
cmp byte [edi + 8], 0
je 0x418f2d
mov esi, dword [eax + 0xc]
call fcn.004b5e10
push eax
call fcn.0047a430
push eax
push esi
call fcn.004ff5b0
add esp, 0xc
test al, al
je 0x418e83
cmp dword [esi + 0x38], 0
je 0x418e83
mov ecx, dword [esi + 0x38]
mov edx, dword [ecx]
mov eax, dword [ebx + 0x38]
mov edx, dword [edx + 0x80]
push 1
push eax
call edx
test al, al
je 0x418e83
cmp byte [esi + 0x49], 0
jne 0x418f05
cmp byte [ebx + 0x49], 0
je 0x418f05
mov ecx, dword [ebx + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0xdc]
push 6
call edx
cmp byte [esi + 0x48], 0
jne 0x418e83
cmp byte [ebx + 0x48], 0
je 0x418e83
mov ecx, dword [ebx + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0xdc]
push 8
call edx
jmp 0x418e83
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
mov eax, dword [ebx + 0x68]
test eax, eax
push ecx
mov ecx, esp
mov dword [ecx], eax
je 0x418f46
add dword [eax], 1
mov ecx, dword [ebx + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x120]
call edx
mov eax, dword [ebx + 0x6c]
test eax, eax
push ecx
mov ecx, esp
mov dword [ecx], eax
je 0x418f62
add dword [eax], 1
mov ecx, dword [ebx + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x124]
call edx
mov eax, dword [ebx + 0x70]
test eax, eax
push ecx
mov ecx, esp
mov dword [ecx], eax
je 0x418f7e
add dword [eax], 1
mov ecx, dword [ebx + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x168]
call edx
mov eax, dword [ebx + 0x38]
mov cl, byte [ebx + 0x4a]
push 8
mov byte [eax + 0x51], cl
call fcn.005662c8
add esp, 4
test eax, eax
je 0x418fba
mov dword [eax], 0x57feb0
mov dword [eax + 4], ebx
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x418fbc
add ecx, 1
mov dword [ebx + 0xc], ecx
jmp 0x418fbc
xor eax, eax
mov esi, dword [ebx + 0x38]
push eax
call fcn.00486e90
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00566120
mov esp, ebp
pop ebp
ret