Function at 0x557f30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
push 0x9c5e
mov eax, dword [0x1b851fc]
push eax
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 0
push 0x9c5f
mov ecx, dword [0x1b851fc]
push ecx
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 0
push 0x9c60
mov edx, dword [0x1b851fc]
push edx
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 0
push 0x9c67
mov eax, dword [0x1b851fc]
push eax
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 0
push 0x9c5d
mov ecx, dword [0x1b851fc]
push ecx
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 0
push 0x9c62
mov edx, dword [0x1b851fc]
push edx
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 0
push 0x9c63
mov eax, dword [0x1b851fc]
push eax
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 0
push 0x9c5c
mov ecx, dword [0x1b851fc]
push ecx
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 0
push 0x9c65
mov edx, dword [0x1b851fc]
push edx
call dword [sym.imp.USER32.dll_CheckMenuItem]
push 0x1b85228
mov eax, dword [0x1b851c0]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
cmp dword [0x1b8532c], 0
je 0x55800a
mov dword [ebp - 4], 0
jmp 0x558011
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
push 0x9cbc
mov eax, dword [0x1b851fc]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
cmp dword [0x1b8532c], 0
je 0x55815b
push 0
push 0x9c6e
mov ecx, dword [0x1b851fc]
push ecx
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 0
push 0x9c6d
mov edx, dword [0x1b851fc]
push edx
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 0
push 0x9c5e
mov eax, dword [0x1b851fc]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 0
push 0x9c5f
mov ecx, dword [0x1b851fc]
push ecx
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 0
push 0x9c60
mov edx, dword [0x1b851fc]
push edx
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 0
push 0x9c67
mov eax, dword [0x1b851fc]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 0
push 0x9c58
mov ecx, dword [0x1b851fc]
push ecx
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 0
push 0x9c74
mov edx, dword [0x1b851fc]
push edx
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 0
push 0x9c5d
mov eax, dword [0x1b851fc]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 0
push 0x9c62
mov ecx, dword [0x1b851fc]
push ecx
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 0
push 0x9c63
mov edx, dword [0x1b851fc]
push edx
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 0
push 0x9c5c
mov eax, dword [0x1b851fc]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 0
push 0x9c65
mov ecx, dword [0x1b851fc]
push ecx
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 5
mov edx, dword [0x1b851c0]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
mov eax, dword [0x1b851c4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x55827d
push 1
push 0x9c6e
mov ecx, dword [0x1b851fc]
push ecx
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 1
push 0x9c6d
mov edx, dword [0x1b851fc]
push edx
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 1
push 0x9c5e
mov eax, dword [0x1b851fc]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 1
push 0x9c5f
mov ecx, dword [0x1b851fc]
push ecx
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 1
push 0x9c60
mov edx, dword [0x1b851fc]
push edx
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 1
push 0x9c67
mov eax, dword [0x1b851fc]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 1
push 0x9c58
mov ecx, dword [0x1b851fc]
push ecx
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 1
push 0x9c74
mov edx, dword [0x1b851fc]
push edx
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 1
push 0x9c5d
mov eax, dword [0x1b851fc]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 1
push 0x9c62
mov ecx, dword [0x1b851fc]
push ecx
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 1
push 0x9c63
mov edx, dword [0x1b851fc]
push edx
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 1
push 0x9c5c
mov eax, dword [0x1b851fc]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 1
push 0x9c65
mov ecx, dword [0x1b851fc]
push ecx
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 0
mov edx, dword [0x1b851c0]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov eax, dword [0x1b851c4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x558798
call fcn.00554f10
test eax, eax
je 0x55828f
mov dword [ebp - 8], 0
jmp 0x558296
mov dword [ebp - 8], 1
mov ecx, dword [ebp - 8]
push ecx
push 0x9c64
mov edx, dword [0x1b851fc]
push edx
call dword [sym.imp.USER32.dll_EnableMenuItem]
call fcn.00554c70
test eax, eax
je 0x5582be
mov dword [ebp - 0xc], 0
jmp 0x5582c5
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
push eax
push 0x9c66
mov ecx, dword [0x1b851fc]
push ecx
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 1
mov edx, dword [0x1b851e4]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov eax, dword [0x1b851e8]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov ecx, dword [0x1b851ec]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov edx, dword [0x1b851f0]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov eax, dword [0x1b851f4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov ecx, dword [0x1b851f8]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push 0x9c74
mov edx, dword [0x1b851fc]
push edx
call dword [sym.imp.USER32.dll_EnableMenuItem]
mov eax, dword [0x1b85438]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 5
ja case.default.0x55835c
mov ecx, dword [ebp - 0x10]
jmp dword [ecx*4 + 0x55879c]
jmp 0x558720
push str.Values_to_place_a_light_with
mov edx, dword [0x1b851c4]
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 1
mov eax, dword [0x1b851c8]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov ecx, dword [0x1b851cc]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov edx, dword [0x1b851d0]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov eax, dword [0x1b851e0]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov ecx, dword [0x1b851d4]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov edx, dword [0x1b851d8]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
push 8
push 0x9c5d
mov eax, dword [0x1b851fc]
push eax
call dword [sym.imp.USER32.dll_CheckMenuItem]
jmp 0x558720
cmp dword [0x1b8543c], 0
jne 0x5584bb
push str.Select_a_light_to_edit...
mov ecx, dword [0x1b851c4]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0
mov edx, dword [0x1b851c8]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov eax, dword [0x1b851cc]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov ecx, dword [0x1b851d0]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov edx, dword [0x1b851e0]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov eax, dword [0x1b851d4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov ecx, dword [0x1b851d8]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov edx, dword [0x1b851e4]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov eax, dword [0x1b851e8]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov ecx, dword [0x1b851ec]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov edx, dword [0x1b851f0]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov eax, dword [0x1b851f4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov ecx, dword [0x1b851f8]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x558538
push str.Editing_a_light
mov edx, dword [0x1b851c4]
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 1
mov eax, dword [0x1b851c8]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov ecx, dword [0x1b851cc]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov edx, dword [0x1b851d0]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov eax, dword [0x1b851e0]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov ecx, dword [0x1b851d4]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov edx, dword [0x1b851d8]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0x9c74
mov eax, dword [0x1b851fc]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
push 8
push 0x9c62
mov ecx, dword [0x1b851fc]
push ecx
call dword [sym.imp.USER32.dll_CheckMenuItem]
jmp 0x558720
push str.Setting_ambient_light
mov edx, dword [0x1b851c4]
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 1
mov eax, dword [0x1b851c8]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov ecx, dword [0x1b851cc]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov edx, dword [0x1b851d0]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov eax, dword [0x1b851e0]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov ecx, dword [0x1b851d4]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov edx, dword [0x1b851d8]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0
push 0xf1
mov eax, dword [0x1b851d8]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 8
push 0x9c63
mov ecx, dword [0x1b851fc]
push ecx
call dword [sym.imp.USER32.dll_CheckMenuItem]
jmp 0x558720
push str.Changing_the_lights_under_lamposts
mov edx, dword [0x1b851c4]
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 1
mov eax, dword [0x1b851c8]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov ecx, dword [0x1b851cc]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov edx, dword [0x1b851d0]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov eax, dword [0x1b851e0]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov ecx, dword [0x1b851d4]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov edx, dword [0x1b851d8]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
push 8
push 0x9c5c
mov eax, dword [0x1b851fc]
push eax
call dword [sym.imp.USER32.dll_CheckMenuItem]
jmp 0x558720
push str.Set_the_sky_colour
mov ecx, dword [0x1b851c4]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 1
mov edx, dword [0x1b851c8]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov eax, dword [0x1b851cc]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov ecx, dword [0x1b851d0]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
mov edx, dword [0x1b851e0]
push edx
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov eax, dword [0x1b851d4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
mov ecx, dword [0x1b851d8]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0
push 0xf1
mov edx, dword [0x1b851d8]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 8
push 0x9c65
mov eax, dword [0x1b851fc]
push eax
call dword [sym.imp.USER32.dll_CheckMenuItem]
jmp 0x558720
mov ecx, 1
test ecx, ecx
je 0x558720
push 0x1a5
push str.C:devworkspaces_repo_clonesClean_UrbanChaosMuckyFoot_UrbanChaos_fallenLeditSourceledit.cpp
push str.ASSERT_TRIGGERED
call fcn.0049b8f0
add esp, 0xc
call fcn.005544e0
test eax, eax
je 0x55873d
push 8
push 0x9c60
mov edx, dword [0x1b851fc]
push edx
call dword [sym.imp.USER32.dll_CheckMenuItem]
call fcn.00554280
test eax, eax
je 0x558759
push 8
push 0x9c67
mov eax, dword [0x1b851fc]
push eax
call dword [sym.imp.USER32.dll_CheckMenuItem]
call fcn.00554940
test eax, eax
je 0x558778
push 8
push 0x9c5e
mov ecx, dword [0x1b851fc]
push ecx
call dword [sym.imp.USER32.dll_CheckMenuItem]
jmp 0x55878c
push 8
push 0x9c5f
mov edx, dword [0x1b851fc]
push edx
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov eax, dword [0x1b851fc]
push eax
call dword [sym.imp.USER32.dll_DrawMenuBar]
mov esp, ebp
pop ebp
ret