Function at 0x140004c70
Capabilities:
Hide graphical window

Disassembly:
push rsi
sub rsp, 0x100
lea rcx, [rsp + 0xa8]
xor edx, edx
mov r8d, 0x50
call sub.msvcrt.dll_memset
mov rax, qword [0x1400367c0]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rsp + 0xc0], rax
lea rax, str.ew::dashboard
mov qword [rsp + 0xe8], rax
lea rax, [0x140005070]
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0xa8], 0x50
xor eax, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov edx, 0xb
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0xc8], rax
xor eax, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov edx, 0xb
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0xf0], rax
xor eax, eax
mov ecx, eax
mov edx, 0x7f00
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xe0], 0
mov dword [rsp + 0xb8], 0
mov dword [rsp + 0xbc], 0
mov eax, 1
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0xa8]
call qword [sym.imp.USER32.dll_RegisterClassExW]
cmp ax, 0
jne 0x140004d94
xor eax, eax
mov ecx, eax
lea rdx, str.An_error_occured_while_loading_app__Please_try_again_
lea r8, [0x1400335ba]
xor r9d, r9d
call qword [sym.imp.USER32.dll_MessageBoxW]
mov dword [rsp + 0xfc], 0xffffffff
jmp 0x140005052
mov ecx, 0x30
xor r9d, r9d
lea r8, [rsp + 0x98]
mov edx, r9d
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov r11d, dword [rsp + 0xa0]
sub r11d, dword [rsp + 0x98]
mov r10d, dword [rsp + 0xa4]
sub r10d, dword [rsp + 0x9c]
mov rax, qword [0x1400367c0]
mov rax, qword [rax]
mov rax, qword [rax]
xor ecx, ecx
lea rdx, str.ew::dashboard
lea r8, str.e_Wings__v0.3.1_
mov r9d, 0x10a0000
xor esi, esi
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x38], r10d
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, rax
mov rax, qword [0x1400367c0]
mov rax, qword [rax]
mov qword [rax + 0x58], rcx
mov rax, qword [0x1400367c0]
mov rax, qword [rax]
mov rcx, qword [rax + 0x58]
xor edx, edx
call qword [sym.imp.USER32.dll_GetSystemMenu]
mov rcx, rax
mov edx, 0xf010
xor r8d, r8d
call qword [sym.imp.USER32.dll_DeleteMenu]
mov rax, qword [0x1400367c0]
mov rax, qword [rax]
mov rcx, qword [rax + 0x58]
mov rax, qword [0x1400367c0]
mov rax, qword [rax]
mov edx, dword [rax + 8]
call qword [sym.imp.USER32.dll_ShowWindow]
call fcn.14000ccf0
cmp eax, 0
jne 0x140004ea7
call fcn.1400090c0
cmp eax, 0
je 0x140004ec2
xor eax, eax
mov ecx, eax
lea rdx, str.Failed_to_initialize_order_items_
lea r8, [0x1400335ba]
xor r9d, r9d
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rax, qword [0x1400367c0]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
lea rcx, [0x140005d20]
mov qword [rax + 0x60], rcx
mov rax, qword [0x1400367c0]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
lea rcx, [0x140005d60]
mov qword [rax + 0x68], rcx
mov rax, qword [0x1400367c0]
mov rax, qword [rax]
mov rax, qword [rax + 0x10]
mov rax, qword [rax]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
je 0x140005009
mov rax, qword [0x1400367c0]
mov rax, qword [rax]
mov rcx, qword [rax + 0x10]
mov rdx, qword [rsp + 0x90]
call fcn.140012390
cmp eax, 0
je 0x140004f45
jmp 0x140004f45
mov rax, qword [rsp + 0x90]
cmp word [rax + 0x80], 0
je 0x140004f8f
mov rax, qword [0x1400367c0]
mov rax, qword [rax]
mov rcx, qword [rax + 0x10]
mov rdx, qword [rsp + 0x90]
mov r8d, 1
call fcn.140011870
cmp eax, 0
je 0x140004f8a
jmp 0x140004f8a
jmp 0x140004f8f
mov rax, qword [0x1400367c0]
mov rax, qword [rax]
mov rcx, qword [rax + 0x10]
mov rdx, qword [rsp + 0x90]
call fcn.140011e30
cmp eax, 0
je 0x140004fbf
lea rcx, [0x14003362c]
call fcn.140005e20
mov rax, qword [0x1400367c0]
mov rax, qword [rax]
mov rcx, qword [rax + 0x10]
mov rdx, qword [rsp + 0x90]
call fcn.140014650
cmp eax, 0
je 0x140004fe8
jmp 0x140004fe8
jmp 0x140004fed
mov rax, qword [rsp + 0x90]
mov rax, qword [rax + 0xb8]
mov qword [rsp + 0x90], rax
jmp 0x140004f0d
jmp 0x14000500e
lea rcx, [rsp + 0x60]
xor eax, eax
mov edx, eax
xor r9d, r9d
mov r8d, r9d
call qword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0
je 0x140005047
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x14000500e
mov dword [rsp + 0xfc], 0
mov eax, dword [rsp + 0xfc]
add rsp, 0x100
pop rsi
ret