Function at 0x140004660
Capabilities:
Hide graphical window

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xf0
mov rsi, qword [0x14002da90]
pxor xmm0, xmm0
xor ecx, ecx
lea rbx, str.ew::dashboard
mov r12, qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rax, qword [rsi]
movaps xmmword [rsp + 0xa0], xmm0
lea rbp, [rsp + 0xa0]
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xe0], xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
mov rax, qword [rax]
mov qword [rsp + 0xe0], rbx
mov qword [rsp + 0xb8], rax
lea rax, [0x140003e10]
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0xa0], 0x50
call r12
mov edx, 0xb
mov rdi, qword [sym.imp.USER32.dll_LoadIconW]
mov rcx, rax
call rdi
xor ecx, ecx
mov qword [rsp + 0xc0], rax
call r12
mov edx, 0xb
mov rcx, rax
call rdi
mov edx, 0x7f00
xor ecx, ecx
mov qword [rsp + 0xe8], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rbp
mov qword [rsp + 0xd8], 0
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xd0], 1
call qword [sym.imp.USER32.dll_RegisterClassExW]
xor r9d, r9d
test ax, ax
je 0x1400048f2
xor edx, edx
lea r8, [rsp + 0x60]
mov ecx, 0x30
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov rdi, qword [rsi]
mov r9d, 0x10a0000
xor ecx, ecx
mov qword [rsp + 0x58], 0
lea r8, str.e_Wings__v0.3.3_
mov rdx, rbx
mov rax, qword [rdi]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x6c]
sub eax, dword [rsp + 0x64]
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x68]
mov qword [rsp + 0x40], 0
sub eax, dword [rsp + 0x60]
mov dword [rsp + 0x30], eax
call qword [sym.imp.USER32.dll_CreateWindowExW]
xor edx, edx
mov qword [rdi + 0x58], rax
mov rax, qword [rsi]
mov rcx, qword [rax + 0x58]
call qword [sym.imp.USER32.dll_GetSystemMenu]
xor r8d, r8d
mov edx, 0xf010
mov rcx, rax
call qword [sym.imp.USER32.dll_DeleteMenu]
mov rax, qword [rsi]
mov edx, dword [rax + 8]
mov rcx, qword [rax + 0x58]
call qword [sym.imp.USER32.dll_ShowWindow]
call fcn.140009a10
test eax, eax
je 0x1400048e0
xor r9d, r9d
lea r8, [0x14002a646]
lea rdx, str.Failed_to_initialize_order_items_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov rax, qword [rsi]
lea rdi, [0x140003bc0]
movq xmm0, rdi
mov rcx, qword [rax + 0x10]
lea rax, [0x140003d10]
movq xmm1, rax
mov rbx, qword [rcx]
punpcklqdq xmm0, xmm1
movups xmmword [rcx + 0x68], xmm0
test rbx, rbx
jne 0x140004877
jmp 0x14000488b
mov rax, qword [rsi]
mov rcx, qword [rax + 0x10]
mov rdx, rbx
call fcn.14000eb67
mov rbx, qword [rbx + 0xb8]
test rbx, rbx
jne 0x140004870
mov rsi, qword [sym.imp.USER32.dll_GetMessageW]
mov rbp, qword [sym.imp.USER32.dll_TranslateMessage]
lea rbx, [rsp + 0x70]
mov rdi, qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x1400048ba
mov rcx, rbx
call rbp
mov rcx, rbx
call rdi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call rsi
test eax, eax
jne 0x1400048b0
add rsp, 0xf0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call fcn.140009630
test eax, eax
jne 0x140004822
jmp 0x14000483b
lea r8, [0x14002a646]
lea rdx, str.An_error_occured_while_loading_app__Please_try_again_
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov eax, 0xffffffff
jmp 0x1400048cb