Function at 0x40453c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x90
mov dword [esp + 8], 0x30
mov dword [esp + 4], 0
lea eax, [ebp - 0x3c]
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov eax, dword [0x438044]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], str.ew::dashboard
mov dword [ebp - 0x34], 0x403c15
mov dword [ebp - 0x3c], 0x30
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call eax
sub esp, 4
mov dword [esp + 4], 0xb
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_LoadIconW]
call eax
sub esp, 8
mov dword [ebp - 0x24], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call eax
sub esp, 4
mov dword [esp + 4], 0xb
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_LoadIconW]
call eax
sub esp, 8
mov dword [ebp - 0x10], eax
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_LoadCursorW]
call eax
sub esp, 8
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 1
lea eax, [ebp - 0x3c]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_RegisterClassExW]
call eax
sub esp, 4
test ax, ax
jne 0x404653
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x42d524
mov dword [esp + 4], str.An_error_occured_while_loading_app__Please_try_again_
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_MessageBoxW]
call eax
sub esp, 0x10
mov eax, 0xffffffff
jmp 0x4048a6
mov dword [esp + 0xc], 0
lea eax, [ebp - 0x4c]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x30
mov eax, dword [sym.imp.USER32.dll_SystemParametersInfoW]
call eax
sub esp, 0x10
mov eax, dword [0x438044]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x48]
mov esi, ecx
sub esi, edx
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x4c]
sub ecx, edx
mov ebx, dword [0x438044]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x10a0000
mov dword [esp + 8], str.e_Wings__v0.2.6_
mov dword [esp + 4], str.ew::dashboard
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_CreateWindowExW]
call eax
sub esp, 0x30
mov dword [ebx + 0x2c], eax
mov eax, dword [0x438044]
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_GetSystemMenu]
call eax
sub esp, 8
mov dword [esp + 8], 0
mov dword [esp + 4], 0xf010
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_DeleteMenu]
call eax
sub esp, 0xc
mov eax, dword [0x438044]
mov edx, dword [eax + 4]
mov eax, dword [0x438044]
mov eax, dword [eax + 0x2c]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_ShowWindow]
call eax
sub esp, 8
call fcn.0040a4ca
test eax, eax
jne 0x404767
call fcn.0040a019
test eax, eax
je 0x404790
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x42d524
mov dword [esp + 4], str.Failed_to_initialize_order_items_
mov dword [esp], 0
mov eax, dword [sym.imp.USER32.dll_MessageBoxW]
call eax
sub esp, 0x10
mov eax, dword [0x438044]
mov eax, dword [eax + 8]
mov dword [eax + 0x38], 0x403a68
mov eax, dword [0x438044]
mov eax, dword [eax + 8]
mov dword [eax + 0x3c], 0x403938
mov eax, dword [0x438044]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
jmp 0x404849
mov eax, dword [0x438044]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0040de9a
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x2c]
test ax, ax
je 0x404802
mov eax, dword [0x438044]
mov eax, dword [eax + 8]
mov dword [esp + 8], 1
mov edx, dword [ebp - 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0040dd34
mov eax, dword [0x438044]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0040d93d
test eax, eax
je 0x404829
mov dword [esp], 0x42d798
call fcn.00403878
mov eax, dword [0x438044]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0040f9e3
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4047c0
jmp 0x404875
lea eax, [ebp - 0x68]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_TranslateMessage]
call eax
sub esp, 4
lea eax, [ebp - 0x68]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_DispatchMessageW]
call eax
sub esp, 4
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
lea eax, [ebp - 0x68]
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_GetMessageW]
call eax
sub esp, 0x10
test eax, eax
jne 0x404855
mov eax, 0
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret