Function at 0x180006050
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2b0
mov rax, qword [0x180143ae0]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
mov ebx, dword [rsp + 0x40]
lea r12d, [rcx + 0xd]
mov r13, r8
mov r15, rdx
mov ebp, ecx
cmp ecx, r12d
jae case.0x1800060b5.17
lea r14d, [rcx - 4]
lea rdx, [0x180000000]
nop dword [rax]
cmp r14d, 0x11
ja case.0x1800060b5.8
mov ecx, dword [rdx + r14*4 + 0x6308]
add rcx, rdx
jmp rcx
cmp dword [rsp + 0x48], 0
je case.0x1800060b5.8
mov rcx, qword [r13 + 8]
call qword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
jne 0x1800062c3
jmp 0x1800062da
mov r9d, dword [rsp + 0x44]
lea r8, [rsp + 0x90]
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
call sub.IMM32.dll_ImmGetGuideLineW
lea rax, [rsp + 0x68]
mov rsi, 0xffffffffffffffff
inc rsi
cmp byte [rax + rsi], 0
jne 0x180006100
mov rdx, qword [r15 + 0x18]
mov rcx, qword [r15 + 0x10]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x18000614d
lea rax, [rcx + rsi]
mov qword [r15 + 0x10], rax
mov rax, r15
cmp rdx, 0x10
jb 0x180006130
mov rax, qword [r15]
lea rdi, [rax + rcx]
mov r8, rsi
mov rcx, rdi
lea rdx, [rsp + 0x68]
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rsi], 0
jmp 0x1800062c3
lea r9, [rsp + 0x68]
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
mov rcx, r15
call fcn.180001fa0
jmp 0x1800062c3
movzx eax, word [0x180132240]
mov word [rsp + 0x60], ax
movzx eax, byte [0x180132242]
mov byte [rsp + 0x62], al
jmp case.0x1800060b5.8
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x60]
mov rsi, 0xffffffffffffffff
nop dword [rax + rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x1800061a0
mov rdx, qword [r15 + 0x18]
mov rcx, qword [r15 + 0x10]
mov rax, rdx
sub rax, rcx
cmp rsi, rax
ja 0x1800061ed
lea rax, [rcx + rsi]
mov qword [r15 + 0x10], rax
mov rax, r15
cmp rdx, 0x10
jb 0x1800061d0
mov rax, qword [r15]
lea rdi, [rax + rcx]
mov r8, rsi
mov rcx, rdi
lea rdx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rsi], 0
jmp 0x1800062c3
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rdx, rsi
mov rcx, r15
call fcn.180001fa0
jmp 0x1800062c3
mov dword [rsp + 0x44], 0x104
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
jmp 0x1800062c3
lea rcx, [r13 + 0x18]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x1800062c3
movsd xmm0, qword [r13]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x30], 0
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x28], 0
xor r8d, r8d
xor ecx, ecx
movsd qword [rsp + 0x58], xmm0
mov dword [rsp + 0x20], 0x46
call fcn.1800c4fa0
jmp 0x1800062c3
mov ebx, 1
jmp case.0x1800060b5.8
xor eax, eax
lea rcx, [r13 + 0x18]
cmp dword [r13 + 0x10], eax
seta al
mov dword [rsp + 0x48], eax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1800062c3
mov dword [rsp + 0x40], 3
jmp case.0x1800060b5.8
movzx eax, word [0x180128bec]
mov word [rsp + 0x63], ax
movzx eax, byte [0x180128bee]
mov byte [rsp + 0x65], al
jmp case.0x1800060b5.8
mov r8d, 2
lea rdx, [0x180132244]
lea rcx, [rsp + 0x62]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
lea rdx, [0x180000000]
inc ebp
inc r14d
cmp ebp, r12d
jb 0x1800060a0
mov eax, ebx
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.1800c9c10
mov rbx, qword [rsp + 0x2f0]
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret