Function at 0x569180
Capabilities:
Get common file path
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0xe5d644]
mov dword [0x226d0a8], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x226d11c], eax
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x226d120], eax
push 0x7f
mov ecx, dword [0x226d0a8]
push ecx
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [0x226d124], eax
mov edx, dword [0x226d0a8]
mov dword [0x226d0c0], edx
mov eax, dword [str.Urban_Chaos_sewer_editor]
mov dword [0x226d0d4], eax
mov dword [0x226d0b4], 0x568ab0
mov dword [0x226d0b0], 0
mov dword [0x226d0ac], 0x30
mov dword [0x226d0b8], 0
mov dword [0x226d0bc], 0
mov dword [0x226d0d0], 0
mov ecx, dword [0x226d124]
mov dword [0x226d0c4], ecx
mov edx, dword [0x226d124]
mov dword [0x226d0d8], edx
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x226d0c8], eax
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [0x226d0cc], eax
push 0x226d0ac
call dword [sym.imp.USER32.dll_RegisterClassExA]
movzx eax, ax
test eax, eax
jne 0x569268
jmp 0x569725
push 0
mov ecx, dword [0x226d0a8]
push ecx
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0x10cf0000
mov edx, dword [str.Urban_Chaos_sewer_editor]
push edx
mov eax, dword [str.Urban_Chaos_sewer_editor]
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x226d10c], eax
cmp dword [0x226d10c], 0
jne 0x5692ca
mov ecx, dword [0x226d0a8]
push ecx
mov edx, dword [str.Urban_Chaos_sewer_editor]
push edx
call dword [sym.imp.USER32.dll_UnregisterClassA]
jmp 0x569725
mov eax, dword [0x226d0a8]
mov dword [0x226d0f0], eax
mov ecx, dword [str.Engine_window]
mov dword [0x226d104], ecx
mov dword [0x226d0e4], 0x568420
mov dword [0x226d0e0], 0
mov dword [0x226d0dc], 0x30
mov dword [0x226d0e8], 0
mov dword [0x226d0ec], 0
mov dword [0x226d100], 0
mov dword [0x226d0f4], 0
mov dword [0x226d108], 0
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [0x226d0f8], eax
push 2
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [0x226d0fc], eax
push 0x226d0dc
call dword [sym.imp.USER32.dll_RegisterClassExA]
movzx edx, ax
test edx, edx
jne 0x569366
jmp 0x569725
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0x280
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0x1e0
push 0
push 0
push 0x40c00000
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
push 0
mov ecx, dword [0x226d0a8]
push ecx
push 0
mov edx, dword [0x226d10c]
push edx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x14]
push ecx
push 0x32
push 0x15e
push 0x40c00000
push str.No_map_loaded
mov edx, dword [str.Engine_window]
push edx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x226d110], eax
push 0x8f
mov eax, dword [0x226d0a8]
push eax
call dword [sym.imp.USER32.dll_LoadMenuA]
mov dword [0x226d114], eax
mov ecx, dword [0x226d114]
push ecx
mov edx, dword [0x226d10c]
push edx
call dword [sym.imp.USER32.dll_SetMenu]
call fcn.00401b80
mov eax, dword [0x226d10c]
mov dword [0xe5d454], eax
mov dword [0xe5d674], 1
push 6
push 0x10
push 0x1e0
push 0x280
call fcn.00499850
add esp, 0x10
test eax, eax
je 0x56943c
jmp 0x569725
push 3
mov ecx, dword [0x226d10c]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x1d
push 0x11
push 0x7c
mov ecx, 0xe5d458
call fcn.0049a9d0
mov dword [0xe5d470], 3
mov edx, dword [0xe5d480]
push edx
mov eax, dword [0xe5d4b8]
mov ecx, dword [0xe5d4b8]
mov edx, dword [eax]
push ecx
mov eax, dword [edx + 0x20]
call eax
push 3
push 0xe5d484
push 1
mov ecx, dword [0xe5d4b8]
mov edx, dword [0xe5d4b8]
mov eax, dword [ecx]
push edx
mov ecx, dword [eax + 0x30]
call ecx
push 0x90
mov edx, dword [0x226d0a8]
push edx
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov dword [0x226d118], eax
push str.MSWHEEL_ROLLMSG
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [0x226d130], eax
push 0x226d240
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push str.data
push 0x226d3a0
call fcn.0041e320
add esp, 8
push 0x226d240
push str.data_sewers
push 0x226d608
call fcn.0041e320
add esp, 0xc
mov dword [0x226d348], 0x58
mov eax, dword [0x226d10c]
mov dword [0x226d34c], eax
mov dword [0x226d350], 0
mov dword [0x226d354], 0x722190
mov dword [0x226d358], 0
mov dword [0x226d35c], 0
mov dword [0x226d360], 0
mov dword [0x226d364], 0x226d4a8
mov dword [0x226d368], 0x104
mov dword [0x226d36c], 0
mov dword [0x226d370], 0
mov dword [0x226d374], 0x226d3a0
mov dword [0x226d378], 0x7221a8
mov dword [0x226d37c], 0x1804
xor ecx, ecx
mov word [0x226d380], cx
xor edx, edx
mov word [0x226d382], dx
mov dword [0x226d384], 0x7221b8
mov dword [0x226d388], 0
mov dword [0x226d38c], 0
mov dword [0x226d390], 0
mov dword [0x226d5b0], 0x58
mov eax, dword [0x226d10c]
mov dword [0x226d5b4], eax
mov dword [0x226d5b8], 0
mov dword [0x226d5bc], 0x725034
mov dword [0x226d5c0], 0
mov dword [0x226d5c4], 0
mov dword [0x226d5c8], 0
mov dword [0x226d5cc], 0x226d710
mov dword [0x226d5d0], 0x104
mov dword [0x226d5d4], 0
mov dword [0x226d5d8], 0
mov dword [0x226d5dc], 0x226d608
mov dword [0x226d5e0], 0x72504c
mov dword [0x226d5e4], 0x1804
xor ecx, ecx
mov word [0x226d5e8], cx
xor edx, edx
mov word [0x226d5ea], dx
mov dword [0x226d5ec], 0x725060
mov dword [0x226d5f0], 0
mov dword [0x226d5f4], 0
mov dword [0x226d5f8], 0
call fcn.00554fb0
call fcn.00566e60
mov eax, 1
test eax, eax
je 0x569720
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x5696cb
push 0
push 0
push 0x400
mov edx, dword [0x226d10c]
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
push 0
push 0
push 0
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x5696ea
cmp dword [ebp - 4], 0xffffffff
jne 0x5696ec
jmp 0x569720
lea ecx, [ebp - 0x30]
push ecx
mov edx, dword [0x226d118]
push edx
mov eax, dword [0x226d10c]
push eax
call dword [sym.imp.USER32.dll_TranslateAcceleratorA]
test eax, eax
jne 0x56971b
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x569692
call fcn.00554f40
mov esp, ebp
pop ebp
ret