Function at 0x140005fb8
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push r15
sub rsp, 0x150
mov rax, qword [0x1400222a0]
xor rax, rsp
mov qword [rsp + 0x148], rax
mov rdi, rcx
lea r15, section..data
mov rcx, qword [section..data]
cmp rcx, r15
je 0x140006008
test byte [rcx + 0x1c], 4
je 0x140006008
mov r9, qword [rdi]
mov r9, qword [r9]
mov rcx, qword [rcx + 0x10]
call fcn.1400054bc
call qword [sym.imp.KERNEL32.dll_GetErrorMode]
nop dword [rax + rax]
or eax, 1
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
nop dword [rax + rax]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapSetInformation]
nop dword [rax + rax]
test eax, eax
jne 0x14000608c
mov rax, qword [section..data]
cmp rax, r15
je 0x14000608c
test byte [rax + 0x1c], 4
je 0x14000608c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx r9d, ax
or r9d, 0x80070000
test eax, eax
cmovle r9d, eax
mov rax, qword [section..data]
mov edx, 0xf
lea r8, [0x1400187f8]
mov rcx, qword [rax + 0x10]
call fcn.1400055bc
and dword [rsp + 0x30], 0
mov rcx, qword [rdi]
lea rdx, [rsp + 0x30]
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_shcore_obsolete_l1_1_0.dll_CommandLineToArgvW]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x38], rax
mov edx, 2
lea rcx, [rsp + 0x34]
call fcn.140008438
nop
and dword [rsp + 0x130], 0
lea r8, str.Main_Thread
mov edx, 0x20
lea rcx, [rsp + 0xf0]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_wcscpy_s]
nop dword [rax + rax]
and dword [rsp + 0x90], 0
lea r8, [0x1400184dc]
mov edx, 0x20
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_wcscpy_s]
nop dword [rax + rax]
and qword [rsp + 0x98], 0
mov word [rsp + 0xa0], 1
mov byte [rsp + 0xa2], 0
and dword [rsp + 0xa4], 0
and qword [rsp + 0xe0], 0
movaps xmm0, xmmword [rsp + 0xf0]
movaps xmmword [rsp + 0x50], xmm0
movaps xmm1, xmmword [rsp + 0x100]
movaps xmmword [rsp + 0x60], xmm1
movaps xmm0, xmmword [rsp + 0x110]
movaps xmmword [rsp + 0x70], xmm0
movaps xmm1, xmmword [rsp + 0x120]
movaps xmmword [rsp + 0x80], xmm1
mov r9d, dword [rsp + 0x130]
mov dword [rsp + 0x90], r9d
test r9d, r9d
jne 0x1400061de
mov r9d, 1
lock xadd dword [0x140022a3c], r9d
inc r9d
mov dword [rsp + 0x90], r9d
mov rcx, qword [section..data]
cmp rcx, r15
je 0x140006264
test byte [rcx + 0x1c], 0x10
je 0x14000625d
mov edx, 0x11
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 0x10]
call fcn.140009ecc
mov rbx, qword [rsp + 0x38]
mov r9d, dword [rsp + 0x90]
mov rcx, qword [section..data]
cmp rcx, r15
je 0x140006208
test byte [rcx + 0x1c], 0x10
je 0x140006208
mov edx, 0x12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rcx, qword [rcx + 0x10]
call fcn.140009e1c
mov dl, 1
lea rcx, [rsp + 0x50]
call fcn.14000a55c
mov edx, dword [rsp + 0x90]
lea rcx, [rsp + 0x40]
call fcn.14000a978
nop
mov rax, qword [rdi]
mov r8d, dword [rsp + 0x30]
mov rdx, rbx
mov rcx, qword [rax]
call fcn.140005974
nop
lea rcx, [rsp + 0x50]
call fcn.14000a7cc
nop
test dword [rsp + 0x34], 0xfffffffd
je 0x14000626b
call qword [sym.imp.api_ms_win_core_winrt_l1_1_0.dll_RoUninitialize]
nop dword [rax + rax]
jmp 0x140006278
mov rbx, qword [rsp + 0x38]
jmp 0x1400061e5
mov rbx, qword [rsp + 0x38]
jmp 0x140006208
call qword [sym.imp.ole32.dll_CoUninitialize]
nop dword [rax + rax]
nop
test rbx, rbx
je 0x14000628c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x148]
xor rcx, rsp
call fcn.1400142a0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop r15
ret
add rcx, 8
jmp 0x140005fb8