Function at 0x415d50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
lea edx, [ebp - 0x18]
push edi
mov edi, 0x427c62
push esi
mov esi, 0x4160c2
push ebx
sub esp, 0xdc
mov dword [ebp - 0x8c], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x90], edi
mov ebx, 0xffffffff
mov dword [ebp - 0x88], esi
mov dword [ebp - 0xb0], eax
mov eax, 0x419bf0
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0xac]
mov dword [esp], eax
mov dword [ebp - 0x84], esp
call fcn.0041e460
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ecx]
mov dword [ebp - 0xa8], ebx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xb0]
mov dword [esp], eax
call fcn.00403bc0
mov edx, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xb0]
mov eax, edx
mov dword [edx], 0x42b4c8
add eax, 0xa4
mov dword [edx + 0x78], 0x42b4ec
add edx, 0xa8
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0xb0]
mov dword [eax + 0x14], 0
mov dword [eax + 4], 0
add edx, 0xc0
mov dword [eax + 8], 0
mov eax, dword [ebp - 0xb0]
add eax, 0xbc
mov dword [eax + 0x14], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 0xb0]
add eax, 0xd4
mov dword [ecx + 0xd4], eax
mov ecx, 5
mov dword [eax + 4], eax
mov dword [ebp - 0xa8], ecx
call sub.cygX11_6.dll_XSupportsLocale
test eax, eax
jne 0x415e80
call sub.cygwin1.dll___getreent
mov edx, str.X_server_does_not_support_locale_n
mov dword [esp + 4], edx
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov dword [esp], 0x42a922
mov eax, 5
mov dword [ebp - 0xa8], eax
call sub.cygX11_6.dll_XSetLocaleModifiers
test eax, eax
jne 0x415eb4
call sub.cygwin1.dll___getreent
mov edi, str.cannot_set_locale_modifiers_n
mov dword [esp + 4], edi
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov eax, dword [ebp - 0xb0]
xor ecx, ecx
xor esi, esi
mov edx, dword [ebp + 0xc]
xor ebx, ebx
mov edi, 5
mov dword [eax + 0xdc], ecx
mov dword [eax + 0xf0], edx
xor edx, edx
mov byte [eax + 0xe8], 0
mov dword [eax + 0x98], esi
mov dword [eax + 0x94], ebx
mov dword [eax + 0xe0], edx
mov dword [0x42c054], eax
mov dword [esp], eax
call fcn.00414550
mov dword [ebp - 0xa8], edi
mov ecx, dword [ebp - 0xb0]
mov dword [esp], ecx
call fcn.00414610
mov edx, dword [ebp - 0xb0]
mov esi, 0x44
mov eax, dword [edx + 0x44]
mov dword [esp + 4], esi
mov dword [esp], eax
call sub.cygX11_6.dll_XCreateFontCursor
mov ecx, dword [ebp - 0xb0]
mov ebx, 0x34
mov dword [ecx + 0x7c], eax
mov eax, dword [ecx + 0x44]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.cygX11_6.dll_XCreateFontCursor
mov edx, dword [ebp - 0xb0]
mov ecx, 0x4c
mov dword [edx + 0x80], eax
mov eax, dword [edx + 0x44]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.cygX11_6.dll_XCreateFontCursor
mov ecx, dword [ebp - 0xb0]
mov edx, 0x4e
mov dword [ecx + 0x84], eax
mov eax, dword [ecx + 0x44]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.cygX11_6.dll_XCreateFontCursor
mov edx, dword [ebp - 0xb0]
mov dword [edx + 0x88], eax
xor eax, eax
mov dword [ebp - 0xb8], eax
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx + 0x50]
mov ecx, dword [edx + 0x4c]
sub eax, ecx
sar eax, 2
imul eax, eax, 0xba2e8ba3
cmp eax, dword [ebp - 0xb8]
jbe 0x41604f
mov dword [esp], 0xdc
mov eax, 5
mov dword [ebp - 0xa8], eax
call fcn.0041b7c0
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xc0]
mov dword [esp + 4], eax
mov eax, 4
mov dword [esp + 8], ecx
mov dword [esp], edx
mov dword [ebp - 0xa8], eax
call fcn.00408ef0
mov eax, dword [ebp - 0xc0]
cmp byte [eax + 0x2d], 0
mov dword [ebp - 0xbc], eax
jne 0x4161c3
test eax, eax
jne 0x416217
inc dword [ebp - 0xb8]
mov edx, dword [ebp - 0xb0]
mov eax, dword [edx + 0x50]
mov ecx, dword [edx + 0x4c]
sub eax, ecx
sar eax, 2
imul eax, eax, 0xba2e8ba3
cmp eax, dword [ebp - 0xb8]
ja 0x415fbe
mov eax, edx
mov edx, dword [edx + 0xd4]
add eax, 0xd4
cmp edx, eax
jne 0x41623d
mov dword [esp], 0x42c058
mov eax, str.Blackbox::Blackbox:_no_managable_screens_found__aborting._n
mov edi, 5
mov dword [esp + 0xc], eax
mov eax, 1
mov dword [esp + 8], eax
mov eax, 0xd
mov dword [esp + 4], eax
mov dword [ebp - 0xa8], edi
call fcn.00416bd0
mov dword [ebp - 0xc8], eax
call sub.cygwin1.dll___getreent
mov edx, dword [ebp - 0xc8]
mov dword [esp + 4], edx
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov dword [esp], 3
call sub.cygwin1.dll_exit
add ebp, 0x18
mov eax, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xa4]
cmp eax, 1
mov dword [ebp - 0xb4], edx
je 0x416169
cmp eax, 2
je 0x4161b0
cmp eax, 3
je 0x416122
cmp eax, 4
je 0x416130
mov eax, dword [ebp - 0xb0]
mov edi, 0xffffffff
mov dword [esp], eax
xor eax, eax
mov dword [ebp - 0xa8], eax
call fcn.00402c00
mov dword [ebp - 0xa8], edi
mov edx, dword [ebp - 0xb4]
mov dword [esp], edx
call fcn.0041ea60
mov ecx, dword [ebp - 0xc0]
mov dword [esp], ecx
call fcn.0041b8c0
mov eax, dword [ebp - 0xb0]
add eax, 0xd4
mov dword [esp], eax
call fcn.004238b0
mov edx, dword [ebp - 0xb0]
add edx, 0xbc
mov eax, dword [edx + 8]
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, 2
mov dword [ebp - 0xa8], eax
call fcn.004260d0
mov edx, dword [ebp - 0xb0]
mov eax, dword [ebp - 0xb4]
add edx, 0xa4
mov dword [ebp - 0xd0], eax
mov eax, dword [edx + 8]
mov dword [esp], edx
mov dword [esp + 4], eax
mov eax, 1
mov dword [ebp - 0xa8], eax
call fcn.00426460
mov ecx, dword [ebp - 0xd0]
mov dword [ebp - 0xb4], ecx
jmp 0x4160f3
mov eax, dword [ebp - 0xcc]
mov dword [esp], eax
call fcn.0041b8c0
jmp 0x416130
mov dword [esp], 0xc
mov ecx, dword [ebp - 0xb0]
mov esi, 5
mov dword [ebp - 0xa8], esi
add ecx, 0xd4
mov dword [ebp - 0xc4], ecx
call fcn.0041b7c0
mov edx, dword [ebp - 0xc0]
mov ebx, 5
mov ecx, dword [ebp - 0xc4]
mov dword [eax + 8], edx
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [ebp - 0xa8], ebx
call fcn.0041c3e0
jmp 0x416026
mov dword [esp], eax
mov edi, 5
mov dword [ebp - 0xa8], edi
call fcn.00407bf0
mov edx, dword [ebp - 0xbc]
mov dword [esp], edx
call fcn.0041b8c0
jmp 0x416026
mov eax, dword [edx + 8]
xor esi, esi
mov ebx, 5
mov ecx, dword [ebp - 0xb0]
mov dword [ecx + 0xdc], eax
mov dword [esp + 4], esi
mov dword [esp], ecx
mov dword [ebp - 0xa8], ebx
call fcn.004145a0
mov edx, dword [ebp - 0xb0]
xor ecx, ecx
mov eax, dword [edx + 0x44]
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.cygX11_6.dll_XSynchronize
mov ecx, dword [ebp - 0xb0]
xor edx, edx
mov eax, dword [ecx + 0x44]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.cygX11_6.dll_XSync
mov eax, dword [ebp - 0xb0]
mov byte [eax + 0xe9], 0
mov dword [esp], 0x20
call fcn.0041b7c0
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0xcc]
add eax, 0x78
mov dword [esp + 8], eax
mov eax, 3
mov dword [esp + 4], edx
mov dword [esp], ecx
mov dword [ebp - 0xa8], eax
call fcn.0040a7e0
mov edx, dword [ebp - 0xb0]
xor eax, eax
mov ecx, dword [ebp - 0xcc]
mov dword [edx + 0xe4], ecx
mov dword [esp + 4], eax
mov eax, dword [edx + 0xe4]
mov dword [esp], eax
mov eax, 5
mov dword [ebp - 0xa8], eax
call fcn.0040a8e0
lea eax, [ebp - 0xac]
mov dword [esp], eax
call fcn.0041e500
add esp, 0xdc
pop ebx
pop esi
pop edi
pop ebp
ret