Function at 0x40c67c
Capabilities:
Hide graphical window

Disassembly:
push rbx
push rsi
push rdi
push r14
sub rsp, 0x128
mov qword [rsp + 0xe0], 0xfffffffffffffffe
mov rax, qword [0x0041f048]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov esi, r9d
mov rdi, rcx
mov ebx, 0x64
mov r9d, ebx
lea r8, [0x00421240]
lea edx, [rbx + 3]
call qword [sym.imp.USER32.dll_LoadStringW]
mov r9d, ebx
lea r14, [0x00421390]
mov r8, r14
lea edx, [rbx + 9]
mov rcx, rdi
call qword [sym.imp.USER32.dll_LoadStringW]
mov dword [rsp + 0x60], 0x50
mov dword [rsp + 0x64], 3
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x74], 0
mov qword [rsp + 0x78], rdi
lea edx, [rbx + 7]
mov rcx, rdi
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rsp + 0x80], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], 6
mov qword [rsp + 0x98], 0x6d
mov qword [rsp + 0xa0], r14
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_RegisterClassExW]
lea rcx, [rsp + 0xe8]
call fcn.00404df4
nop
mov r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [0x004201d8]
call fcn.0040ce24
nop
cmp qword [rsp + 0x108], 0x10
jb 0x40c797
mov rcx, qword [rsp + 0xf0]
call fcn.0040e510
mov r9d, 0x400
lea rbx, [0x00421460]
mov r8, rbx
mov edx, 0x68
mov rcx, rdi
call qword [sym.imp.USER32.dll_LoadStringA]
test eax, eax
je 0x40c854
mov qword [rsp + 0x108], 0xf
mov qword [rsp + 0x100], 0
mov byte [rsp + 0xf0], 0
mov rcx, rbx
call fcn.0040def0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0xe8]
call fcn.0040cf70
nop
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x60]
call fcn.00409284
nop
mov r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [0x004201d8]
call fcn.0040ce24
nop
cmp qword [rsp + 0x80], 0x10
jb 0x40c83c
mov rcx, qword [rsp + 0x68]
call fcn.0040e510
nop
cmp qword [rsp + 0x108], 0x10
jb 0x40c854
mov rcx, qword [rsp + 0xf0]
call fcn.0040e510
lea rcx, [rsp + 0x60]
call fcn.00401044
cmp qword [rax + 0x20], 0x10
jb 0x40c86b
mov rcx, qword [rax + 8]
jmp 0x40c86f
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x00421230], rax
cmp qword [rsp + 0x80], 0x10
jb 0x40c891
mov rcx, qword [rsp + 0x68]
call fcn.0040e510
lea rcx, [rsp + 0x60]
call fcn.0040787c
cmp qword [rax + 0x20], 0x10
jb 0x40c8a8
mov rcx, qword [rax + 8]
jmp 0x40c8ac
lea rcx, [rax + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x00421458], rax
cmp qword [rsp + 0x80], 0x10
jb 0x40c8ce
mov rcx, qword [rsp + 0x68]
call fcn.0040e510
mov qword [0x00421238], rdi
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9d, 0x80000080
lea r8, [0x00421240]
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rbx, rax
mov edx, esi
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.00408edc
lea rcx, [rsp + 0x60]
call fcn.00408114
nop
cmp qword [rax + 0x20], 0x10
jb 0x40c961
mov rdx, qword [rax + 8]
jmp 0x40c965
lea rdx, [rax + 8]
mov rcx, qword [0x00421458]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r8d, r8d
mov rdx, qword [0x00421388]
xor ecx, ecx
call rax
nop
cmp qword [rsp + 0x80], 0x10
jb 0x40c996
mov rcx, qword [rsp + 0x68]
call fcn.0040e510
mov edx, 0x6d
mov rcx, rdi
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
mov rbx, rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x40ca14
lea r8, [rsp + 0xb0]
mov rdx, rbx
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x40c9fa
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xb0]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x40c9c1
mov eax, dword [rsp + 0xc0]
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.0040d7c0
add rsp, 0x128
pop r14
pop rdi
pop rsi
pop rbx
ret