Function at 0x4e0c10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
test ebx, ebx
push esi
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 0x424], ebx
jne 0x4e0c90
push 0
push 0x5839a4
push 0x273
push str.........CommonRunSystem.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 eax, [ebp - 0x408]
push 0x400
push eax
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea ecx, [ebp - 0x408]
push ecx
push 0
call esi
cmp eax, 2
jne 0x4e0c90
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
test edi, edi
jne 0x4e0ce8
push edi
push 0x5980d0
push 0x274
push str.........CommonRunSystem.cpp
lea eax, [edi + 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 - 0x408]
push 0x400
push edx
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea eax, [ebp - 0x408]
push eax
push edi
call esi
cmp eax, 2
jne 0x4e0ce8
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp byte [0x5e3068], 0
je 0x4e0da0
push 0
push 0x5f56e4
push 0
push 0x1008
mov byte [0x5e3068], 0
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 2
call esi
push 0x1b
mov dword [ebp - 0x40c], eax
call esi
mov ecx, dword [ebp - 0x40c]
movzx edx, cl
mov dword [0x5faae0], edx
movzx edx, ch
shr ecx, 0x10
movzx ecx, cl
mov dword [0x5faadc], edx
movzx edx, al
mov dword [0x5faad8], ecx
movzx ecx, ah
shr eax, 0x10
mov dword [0x5faad4], edx
movzx edx, al
push 0x7f00
push 0
mov dword [0x5faad0], ecx
mov dword [0x5faacc], edx
mov dword [0x5faac8], 0x10
mov dword [0x5faac4], 0xe
mov dword [0x5faac0], 0xd
mov dword [0x5faabc], 0xb
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [0x5faab8], eax
cmp byte [0x5f56e4], 0
je 0x4e0f62
mov eax, dword [edi + 8]
mov esi, dword [edi]
mov ecx, eax
sub ecx, esi
cmp esi, eax
mov dword [ebp - 0x428], ecx
jge 0x4e0f73
mov eax, esi
sub eax, dword [edi]
mov dword [ebp - 0x40c], eax
je 0x4e0e4c
fild dword [ebp - 0x428]
fidiv dword [ebp - 0x40c]
fldz
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4e0e4a
mov edx, dword [0x5faad4]
sub edx, dword [0x5faae0]
mov eax, dword [0x5faad0]
mov dword [ebp - 0x40c], edx
fild dword [ebp - 0x40c]
sub eax, dword [0x5faadc]
mov ecx, dword [0x5faacc]
mov dword [ebp - 0x40c], eax
fdiv st(1)
sub ecx, dword [0x5faad8]
fiadd dword [0x5faae0]
fild dword [ebp - 0x40c]
mov dword [ebp - 0x40c], ecx
fdiv st(2)
fiadd dword [0x5faadc]
fild dword [ebp - 0x40c]
fdivrp st(3)
fild dword [0x5faad8]
faddp st(3)
jmp 0x4e0e62
fstp st(0)
fild dword [0x5faae0]
fild dword [0x5faadc]
fild dword [0x5faad8]
fxch st(2)
fxch st(1)
fnstcw word [ebp - 0x40a]
xor ecx, ecx
movzx eax, word [ebp - 0x40a]
fxch st(2)
or eax, 0xc00
mov dword [ebp - 0x410], eax
fldcw word [ebp - 0x410]
fistp dword [ebp - 0x410]
movzx edx, byte [ebp - 0x410]
mov ch, dl
fldcw word [ebp - 0x40a]
fnstcw word [ebp - 0x40a]
fxch st(1)
movzx eax, word [ebp - 0x40a]
or eax, 0xc00
mov dword [ebp - 0x410], eax
fldcw word [ebp - 0x410]
fistp dword [ebp - 0x410]
movzx edx, byte [ebp - 0x410]
mov cl, dl
fldcw word [ebp - 0x40a]
fnstcw word [ebp - 0x40a]
shl ecx, 8
movzx eax, word [ebp - 0x40a]
or eax, 0xc00
mov dword [ebp - 0x410], eax
fldcw word [ebp - 0x410]
fistp dword [ebp - 0x410]
mov al, byte [ebp - 0x410]
movzx edx, al
or ecx, edx
fldcw word [ebp - 0x40a]
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi + 4]
push ecx
mov ebx, eax
lea eax, [esi + 1]
push eax
push edx
mov dword [ebp - 0x410], eax
push esi
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [ebp - 0x424]
push ebx
lea ecx, [ebp - 0x438]
push ecx
push edx
call dword [sym.imp.USER32.dll_FillRect]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [ebp - 0x410]
cmp esi, dword [edi + 8]
jl 0x4e0dc4
mov ebx, dword [ebp - 0x424]
jmp 0x4e0f73
push 2
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push eax
push edi
push ebx
call dword [sym.imp.USER32.dll_FillRect]
push 0
push ebx
call dword [sym.imp.GDI32.dll_SetTextAlign]
mov dword [ebp - 0x410], eax
xor eax, eax
cmp byte [ebp + 8], al
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x414], eax
je 0x4e0fa9
mov esi, dword [0x5faac0]
mov ecx, dword [0x5faabc]
jmp 0x4e0fb5
mov esi, dword [0x5faac8]
mov ecx, dword [0x5faac4]
mov eax, dword [edi + 8]
sub eax, esi
sub eax, 2
mov dword [ebp - 0x420], eax
add eax, esi
mov dword [ebp - 0x418], eax
mov eax, dword [edi + 4]
add eax, 2
mov dword [ebp - 0x41c], eax
add eax, ecx
cmp byte [ebp + 0xc], 0
mov dword [ebp - 0x414], eax
jne 0x4e1040
cmp byte [ebp + 0x10], 0
jne 0x4e0ff1
cmp byte [ebp + 0x14], 0
je 0x4e1006
push 0x100
push 1
lea edx, [ebp - 0x420]
push edx
push ebx
call dword [sym.imp.USER32.dll_DrawFrameControl]
push 0
mov eax, 0xfffffffe
sub eax, esi
push eax
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
cmp byte [ebp + 8], 0
jne 0x4e10e3
cmp byte [ebp + 0x10], 0
jne 0x4e104d
cmp byte [ebp + 0x14], 0
je 0x4e10af
push 2
push 1
lea edx, [ebp - 0x420]
push edx
jmp 0x4e106e
push 0
push 1
lea ecx, [ebp - 0x420]
push ecx
jmp 0x4e0fff
cmp byte [ebp + 0x14], 0
je 0x4e1060
push 2
push 1
lea edx, [ebp - 0x420]
push edx
jmp 0x4e106e
push 0x102
push 1
lea eax, [ebp - 0x420]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawFrameControl]
push 0
neg esi
push esi
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.USER32.dll_OffsetRect]
cmp byte [ebp + 0x10], 0
je 0x4e109a
push 1
push 1
lea edx, [ebp - 0x420]
push edx
jmp 0x4e10a8
push 0x101
push 1
lea eax, [ebp - 0x420]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawFrameControl]
mov ecx, dword [0x5faac4]
mov edx, dword [0x5faac8]
mov eax, dword [0x5faab8]
push 3
push 0
push 0
add ecx, 0xffffffff
push ecx
mov ecx, dword [edi + 4]
add edx, 0xffffffff
push edx
mov edx, dword [edi]
push eax
add ecx, 2
push ecx
add edx, 2
push edx
push ebx
call dword [sym.imp.USER32.dll_DrawIconEx]
mov eax, dword [ebp - 0x410]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextAlign]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00566120
mov esp, ebp
pop ebp
ret