Function at 0x557fa0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x5b00cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
push edi
xor edi, edi
mov esi, 0x57e81c
mov eax, ebx
mov dword [ebp - 0x414], ebx
mov dword [ebx], 0
call fcn.004ab970
mov eax, dword [ebx]
test eax, eax
je 0x557fdf
mov dword [eax + 0x10], 0x600
cmp dword [ebp + 8], edi
jne 0x558001
mov esi, dword [ebp + 0xc]
test esi, esi
push ebx
push ecx
mov eax, esp
mov dword [eax], esi
je 0x557ff4
add dword [esi], 1
call fcn.0046ee10
add esp, 8
jmp 0x55847e
push ecx
mov ebx, esp
mov dword [ebx], edi
mov edi, 1
mov esi, 0x580dcc
mov eax, ebx
mov byte [ebp - 0x409], 0
call fcn.004ab970
mov ebx, dword [ebx]
test ebx, ebx
je 0x55802b
mov dword [ebx + 0x10], 0x600
mov eax, dword [ebp + 0xc]
test eax, eax
push ecx
mov ecx, esp
mov dword [ecx], eax
je 0x558039
add dword [eax], edi
call fcn.00407730
add esp, 8
cmp eax, edi
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x408], edi
jl 0x558138
mov eax, dword [ebp - 0x408]
push eax
push ecx
mov ebx, esp
mov edi, 1
mov esi, 0x580dcc
mov eax, ebx
mov dword [ebx], 0
call fcn.004ab970
mov ebx, dword [ebx]
test ebx, ebx
je 0x558083
mov dword [ebx + 0x10], 0x600
mov eax, dword [ebp + 0xc]
test eax, eax
push ecx
mov ecx, esp
mov dword [ecx], eax
je 0x558091
add dword [eax], edi
lea ecx, [ebp - 0x418]
push ecx
call fcn.00407900
mov esi, dword [ebp - 0x418]
add esp, 0x10
test esi, esi
je 0x55818f
mov eax, dword [esi + 4]
add eax, 1
test eax, eax
je 0x5580d1
push 0x586224
push eax
call fcn.00567846
add esp, 8
test eax, eax
jne 0x5580d1
mov byte [ebp - 0x409], 1
test esi, esi
je 0x558114
cmp byte [0x5f49d5], 0
jne 0x5580f0
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [0x5f49d5], 1
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [esi], 0xffffffff
jne 0x558109
push esi
call fcn.0056646e
add esp, 4
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x408]
add eax, 1
cmp eax, dword [ebp - 0x410]
mov dword [ebp - 0x408], eax
jle 0x558055
cmp byte [ebp - 0x409], 0
jne 0x558199
push 0
push str.hasAlt
push 0x586
push str.........CommonWin32win32windows.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 edx, [ebp - 0x404]
push 0x400
push edx
call fcn.00567446
add esp, 0x24
push 0x111
push str.Runtime_Error
lea eax, [ebp - 0x404]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x558199
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, 0x57e81c
jmp 0x5580b8
mov ecx, dword [ebp - 0x410]
push ecx
push ecx
mov ebx, esp
mov edi, 1
mov esi, 0x580dcc
mov eax, ebx
mov dword [ebx], 0
call fcn.004ab970
mov eax, dword [ebx]
test eax, eax
je 0x5581c7
mov dword [eax + 0x10], 0x600
mov eax, dword [ebp + 0xc]
test eax, eax
push ecx
mov ecx, esp
mov dword [ecx], eax
je 0x5581d5
add dword [eax], edi
lea edx, [ebp - 0x408]
push edx
call fcn.00407900
mov ebx, dword [ebp - 0x408]
add esp, 0x10
test ebx, ebx
je 0x5581f8
cmp dword [ebx + 0xc], 0
jne 0x5582ad
mov esi, 0x580dcc
lea eax, [ebp - 0x408]
mov dword [ebp - 0x408], 0
call fcn.004ab970
mov edi, dword [ebp - 0x408]
test edi, edi
je 0x558223
mov dword [edi + 0x10], 0x600
cmp byte [0x5f49d5], 0
jne 0x55823e
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [0x5f49d5], 1
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test ebx, ebx
je 0x558254
mov esi, ebx
call fcn.004ab850
test edi, edi
mov dword [ebp - 0x408], edi
je 0x558261
add dword [edi], 1
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x5f3a18
call esi
test edi, edi
je 0x5582ad
cmp byte [0x5f49d5], 0
jne 0x55828d
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [0x5f49d5], 1
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [edi], 0xffffffff
jne 0x5582a6
push edi
call fcn.0056646e
add esp, 4
push 0x5f3a18
call esi
mov edi, 4
mov esi, str.Alt
lea eax, [ebp - 0x410]
mov dword [ebp - 0x410], 0
call fcn.004ab970
mov eax, dword [ebp - 0x410]
test eax, eax
je 0x5582dd
mov dword [eax + 0x10], 0x600
lea eax, [ebp - 0x408]
push eax
lea ecx, [ebp - 0x410]
push ecx
lea edx, [ebp - 0x418]
push edx
call fcn.004ac650
add esp, 0xc
cmp byte [0x5f49d5], 0
mov ebx, eax
jne 0x558317
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [0x5f49d5], 1
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebp - 0x414]
cmp edi, ebx
jne 0x55833b
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x5f3a18
call ebx
jmp 0x5583a0
mov esi, dword [edi]
test esi, esi
je 0x558384
cmp byte [0x5f49d5], 0
jne 0x55835c
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [0x5f49d5], 1
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test esi, esi
je 0x558379
add dword [esi], 0xffffffff
jne 0x558379
push esi
call fcn.0056646e
add esp, 4
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebx]
test eax, eax
mov dword [edi], eax
je 0x55838f
add dword [eax], 1
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0x418]
test esi, esi
je 0x5583ed
cmp byte [0x5f49d5], 0
jne 0x5583c5
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [0x5f49d5], 1
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x5f3a18
call edi
test esi, esi
je 0x5583e4
add dword [esi], 0xffffffff
jne 0x5583e4
push esi
call fcn.0056646e
add esp, 4
push 0x5f3a18
call ebx
jmp 0x5583f3
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp - 0x410]
test esi, esi
je 0x558434
cmp byte [0x5f49d5], 0
jne 0x558418
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [0x5f49d5], 1
push 0x5f3a18
call edi
add dword [esi], 0xffffffff
jne 0x55842d
push esi
call fcn.0056646e
add esp, 4
push 0x5f3a18
call ebx
mov esi, dword [ebp - 0x408]
test esi, esi
je 0x558475
cmp byte [0x5f49d5], 0
jne 0x558459
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [0x5f49d5], 1
push 0x5f3a18
call edi
add dword [esi], 0xffffffff
jne 0x55846e
push esi
call fcn.0056646e
add esp, 4
push 0x5f3a18
call ebx
mov ebx, dword [ebp - 0x414]
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x5584c1
cmp byte [0x5f49d5], 0
jne 0x55849d
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [0x5f49d5], 1
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
add dword [esi], 0xffffffff
jne 0x5584b6
push esi
call fcn.0056646e
add esp, 4
push 0x5f3a18
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.00566120
mov esp, ebp
pop ebp
ret