Function at 0x1600ecb60
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x310
movaps xmmword [rax - 0x48], xmm6
mov rax, qword [0x160270bd8]
xor rax, rsp
mov qword [rsp + 0x2f0], rax
mov rax, qword [rsp + 0x380]
xor edi, edi
mov qword [rsp + 0xd0], rax
mov rsi, r9
mov rax, qword [rsp + 0x388]
mov ebx, edx
mov qword [rsp + 0xc0], rax
mov r15, rcx
mov rax, qword [rsp + 0x398]
mov r14d, edi
mov qword [rsp + 0xc8], rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movups xmm0, xmmword [0x1601fdad0]
mov dword [rsp + 0xb0], eax
lea rcx, [rsp + 0xf4]
mov eax, dword [0x1601fdae0]
xor edx, edx
mov r8d, 0x1f4
movaps xmmword [rsp + 0xe0], xmm0
mov dword [rsp + 0xf0], eax
call sub.msvcrt.dll_memset
cmp qword [0x160274c20], rdi
mov ebp, edi
mov r12d, edi
je 0x1600ece6b
test r15, r15
je 0x1600ece6b
or dword [r15 + 4], ebx
lea ebx, [rdi + 1]
test rsi, rsi
je 0x1600ecc9f
or rdi, 0xffffffffffffffff
inc rdi
cmp byte [rsi + rdi], bpl
jne 0x1600ecc35
add edi, ebx
mov r13d, edi
lea rbx, [rdi*2]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov r14, rax
test rax, rax
je 0x1600ecc98
mov r9, rsi
lea r8, [0x1601f9764]
mov edx, r13d
mov rcx, rax
call fcn.160059e34
test eax, eax
jns 0x1600ecc8c
lea ecx, [rdi - 1]
xor edi, edi
mov word [r14 + rcx*2], di
jmp 0x1600ecc8e
xor edi, edi
mov r13, r14
mov ebx, 1
jmp 0x1600ecca2
mov r13, rbp
xor edi, edi
jmp 0x1600ecc91
mov r13, rdi
mov rax, qword [rsp + 0xc0]
test rax, rax
je 0x1600ecd03
mov rcx, rax
call fcn.1600ebbf8
test rax, rax
je 0x1600eccfb
mov rcx, rax
lea rdx, [rsp + 0xe0]
mov rax, qword [0x160274c50]
mov r8d, 0x104
call qword [case.0x16003fc5a.0]
mov edx, 0x5c
lea rcx, [rsp + 0xe0]
call qword [sym.imp.msvcrt.dll_wcsrchr]
mov rbp, rax
test rax, rax
je 0x1600eccfb
add rbp, 2
jmp 0x1600ecd03
lea rbp, [rsp + 0xe0]
mov r8d, 0x65000000
cmp dword [r15], r8d
je 0x1600ecd13
cmp dword [r15], edi
jne 0x1600ecd3a
mov ecx, dword [0x160274c18]
bt ecx, 0x13
jae 0x1600ecd32
cmp dword [r15], r8d
mov eax, 0x6b000000
mov edx, 0x2000000
cmovne eax, edx
mov dword [r15], eax
bt ecx, 0x12
cmovb r12d, ebx
mov rax, qword [0x160274c20]
mov rbx, qword [rax]
call fcn.1600eb630
movaps xmm6, xmm0
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
mov edi, eax
call fcn.1600ebe30
mov rsi, rax
call fcn.1600ebde8
mov ecx, dword [rsp + 0x3a0]
lea r8, [0x1601d5658]
mov r9d, dword [r15]
movsd qword [rsp + 0x98], xmm6
mov dword [rsp + 0x90], ecx
mov rcx, qword [rsp + 0xc8]
mov qword [rsp + 0x88], rcx
mov ecx, dword [rsp + 0x390]
mov dword [rsp + 0x80], ecx
lea rcx, str._unknown_
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x70], rcx
mov ecx, dword [0x160274c2c]
mov qword [rsp + 0x68], r13
mov dword [rsp + 0x60], edi
xor edi, edi
mov dword [rsp + 0x58], ecx
mov rcx, qword [r15 + 8]
mov qword [rsp + 0x50], rcx
mov ecx, dword [r15 + 4]
lea edx, [rdi + 0x11]
mov dword [rsp + 0x48], ecx
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0x40], rcx
mov ecx, dword [rsp + 0x370]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], ecx
mov rcx, qword [0x160274c20]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
mov rax, qword [rbx + 0x28]
call qword [case.0x16003fc5a.0]
mov ebx, eax
test r14, r14
je 0x1600ece2d
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
cmp ebx, 4
jne 0x1600ece40
call fcn.1600ec0a0
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_ExitProcess]
test r12d, r12d
je 0x1600ece5a
xor r9d, r9d
xor r8d, r8d
mov ecx, 0xc0000025
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_RaiseException]
mov ecx, dword [rsp + 0xb0]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov eax, ebx
jmp 0x1600ece6d
xor eax, eax
mov rcx, qword [rsp + 0x2f0]
xor rcx, rsp
call fcn.16006e590
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret