Function at 0x140008df0
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov esi, r9d
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rbp - 0x39]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r8, rax
lea rdx, [rbp - 0x39]
lea rcx, [0x14005f108]
call fcn.140002540
test eax, eax
jne 0x140008e41
mov eax, 1
jmp 0x1400090f7
mov qword [rsp + 0xd0], rdi
mov qword [rsp + 0xd8], r14
call qword [sym.imp.COMCTL32.dll_InitCommonControls]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
lea rcx, [0x1400081d0]
call fcn.140035320
mov ecx, 1
call fcn.140035388
xor edx, edx
mov qword [0x1401750c0], rbx
mov dword [0x1401750cc], 1
mov byte [0x1401750d0], 1
lea ecx, [rdx + 5]
call fcn.140007530
xor edi, edi
mov dword [rbp - 0x29], 0x50
mov ecx, edi
mov dword [rbp - 0x19], edi
xorps xmm0, xmm0
mov dword [rbp - 0x25], InitCommonControls
test eax, eax
movdqa xmmword [rbp - 9], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x17], xmm0
sete cl
movdqa xmmword [rbp + 7], xmm1
mov dword [0x1401750c8], ecx
lea r14, [0x140007780]
mov rcx, rbx
mov qword [rbp - 0x21], r14
lea rdx, [0x14005fcb0]
mov qword [rbp - 0x11], rbx
mov dword [rbp - 0x15], 0x1e
call qword [sym.imp.USER32.dll_LoadIconW]
lea rdx, [0x14005fcb0]
mov rcx, rbx
mov qword [rbp - 9], rax
call qword [sym.imp.USER32.dll_LoadIconW]
mov edx, 0x7f00
xor ecx, ecx
mov qword [rbp + 0x1f], rax
call qword [sym.imp.USER32.dll_LoadCursorW]
lea rcx, [rbp - 0x29]
mov qword [rbp + 7], InitCommonControls
mov qword [rbp - 1], rax
lea rax, [0x14005fcc0]
mov qword [rbp + 0x17], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x140008f46
call qword [sym.imp.KERNEL32.dll_GetLastError]
xorps xmm0, xmm0
mov qword [rbp - 0x19], rdi
xorps xmm1, xmm1
movdqa xmmword [rbp - 9], xmm0
lea rax, [0x140005d00]
movdqa xmmword [rbp + 7], xmm1
mov edx, 0x7f00
movdqa xmmword [rbp + 0x17], xmm0
xor ecx, ecx
mov qword [rbp - 0x21], rax
mov dword [rbp - 0x29], 0x50
mov dword [rbp - 0x25], 8
mov qword [rbp - 0x11], rbx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rbp - 1], rax
lea rcx, [rbp - 0x29]
lea rax, str.ClusterWindowClass
mov qword [rbp + 0x17], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x140008fad
call qword [sym.imp.KERNEL32.dll_GetLastError]
xorps xmm0, xmm0
mov qword [rbp - 0x19], rdi
xorps xmm1, xmm1
movdqa xmmword [rbp - 9], xmm0
lea rax, [0x1400069e0]
movdqa xmmword [rbp + 7], xmm1
mov edx, 0x7f00
movdqa xmmword [rbp + 0x17], xmm0
xor ecx, ecx
mov qword [rbp - 0x21], rax
mov dword [rbp - 0x29], 0x50
mov dword [rbp - 0x25], 0xa
mov qword [rbp - 0x11], rbx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov qword [rbp - 1], rax
lea rcx, [rbp - 0x29]
lea rax, str.GraphWindowClass
mov qword [rbp + 0x17], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
test ax, ax
jne 0x140009014
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9, r14
mov qword [rsp + 0x20], rdi
xor r8d, r8d
lea rdx, str.MAIN
mov rcx, rbx
call qword [sym.imp.USER32.dll_CreateDialogParamW]
mov r14, qword [rsp + 0xd8]
mov rdi, rax
test rax, rax
jne 0x14000904d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [rdi + 1]
jmp 0x1400090ef
mov edx, esi
mov rcx, rdi
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rdi
call qword [sym.imp.USER32.dll_UpdateWindow]
lea rdx, str.ACCELERATORS
mov rcx, rbx
call qword [sym.imp.USER32.dll_LoadAcceleratorsW]
xor r9d, r9d
lea rcx, [rbp + 0x27]
xor r8d, r8d
xor edx, edx
mov rbx, rax
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x1400090ed
nop word [rax + rax]
cmp dword [rbp + 0x2f], 0x1a
je 0x1400090d7
mov rcx, qword [0x140175118]
lea r8, [rbp + 0x27]
mov rdx, rbx
call qword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x1400090d7
mov rcx, qword [0x140175118]
lea rdx, [rbp + 0x27]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x1400090d7
lea rcx, [rbp + 0x27]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x27]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
lea rcx, [rbp + 0x27]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140009090
xor eax, eax
mov rdi, qword [rsp + 0xd0]
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rbp