Function at 0x1400c2000
Capabilities:
Allocate or change rwx memory
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x430]
sub rsp, 0x530
mov r15, rdx
mov rbx, rcx
movzx eax, word [rbx]
cmp ax, 0x20
je 0x1400c2034
cmp ax, 9
jne 0x1400c203a
add rbx, 2
jmp 0x1400c2025
mov edi, 0x2c
mov edx, edi
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov rsi, rax
test rax, rax
je 0x1400c2d91
cmp word [rax], 0
je 0x1400c2d91
add rsi, 2
mov edx, edi
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
xor r13d, r13d
test rax, rax
je 0x1400c2083
mov edx, edi
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov word [rax], r13w
movzx eax, word [rsi]
test ax, ax
je 0x1400c20db
mov rdx, rsi
nop
cmp ax, 0x20
je 0x1400c209c
cmp ax, 9
jne 0x1400c20a5
add rdx, 2
movzx eax, word [rdx]
jmp 0x1400c2090
mov rax, rdx
sub rax, rsi
cmp rax, 2
jb 0x1400c20db
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
lea r8, [r8 + 1]
cmp word [rdx + r8*2], r13w
jne 0x1400c20c0
lea r8, [r8*2 + 2]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], r13w
jne 0x1400c20e2
lea r9, [rsp + 0x58]
mov rdx, rbx
lea rcx, [0x140118bf0]
call fcn.14003ad90
test rax, rax
je 0x1400c2114
mov r8, rbx
lea rdx, str.Duplicate_function_definition.
jmp 0x1400c2d9b
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rbx + r8*2], r13w
jne 0x1400c2120
mov qword [rsp + 0x28], r13
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
xor r9d, r9d
mov rdx, rbx
lea rcx, [0x140118bf0]
call fcn.14003c6f0
mov qword [rsp + 0x78], rax
test rax, rax
je 0x1400c2da7
lea rcx, [0x14006db20]
mov qword [rax + 0x10], rcx
mov byte [rax + 0x79], 1
mov dword [rax + 0x24], r13d
mov rax, rsi
sub rax, r15
sar rax, 1
mov r14d, 0x4001
sub r14, rax
lea rdx, str._A_ScriptDir_
mov rcx, rsi
call fcn.1400bf820
mov r12d, 1
mov dword [rbp + 0x488], r12d
test rax, rax
je 0x1400c21eb
mov rcx, qword [0x1401197a8]
lea r8, [rbp - 0x70]
sub r8, rcx
nop dword [rax + rax]
movzx eax, word [rcx]
mov word [rcx + r8], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400c21b0
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r12d
xor r9d, r9d
lea r8, [rbp - 0x70]
lea rdx, str._A_ScriptDir_
mov rcx, rsi
call fcn.1400bfc70
lea rdx, str._A_AppData_
mov rcx, rsi
call fcn.1400bf820
test rax, rax
je 0x1400c2280
mov edx, 2
lea ecx, [rdx + 0x3f]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x1a]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x1400c223b
mov word [rbp + 0x1a0], r13w
mov rcx, r13
nop
movzx eax, word [rbp + rcx + 0x1a0]
mov word [rbp + rcx - 0x70], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400c2240
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r12d
xor r9d, r9d
lea r8, [rbp - 0x70]
lea rdx, str._A_AppData_
mov rcx, rsi
call fcn.1400bfc70
lea rdx, str._A_AppDataCommon_
mov rcx, rsi
call fcn.1400bf820
test rax, rax
je 0x1400c2310
mov edx, 2
lea ecx, [rdx + 0x3f]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__isctype]
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x23]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x1400c22cc
mov word [rbp + 0x1a0], r13w
mov rcx, r13
nop
movzx eax, word [rbp + rcx + 0x1a0]
mov word [rbp + rcx - 0x70], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400c22d0
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r12d
xor r9d, r9d
lea r8, [rbp - 0x70]
lea rdx, str._A_AppDataCommon_
mov rcx, rsi
call fcn.1400bfc70
lea rdx, str._A_AhkPath_
mov rcx, rsi
call fcn.1400bf820
test rax, rax
je 0x1400c2386
lea rcx, [rbp - 0x70]
call fcn.14005d290
mov eax, eax
test rax, rax
je 0x1400c235c
lea rdi, [rbp - 0x70]
lea rdi, [rdi + rax*2]
mov ebx, 0x103
sub rbx, rax
mov r8, rbx
lea rdx, str.AutoHotkey.exe
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov word [rdi + rbx*2], r13w
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r12d
xor r9d, r9d
lea r8, [rbp - 0x70]
lea rdx, str._A_AhkPath_
mov rcx, rsi
call fcn.1400bfc70
lea rdx, str._A_AhkDir_
mov rcx, rsi
call fcn.1400bf820
test rax, rax
je 0x1400c23cd
lea rcx, [rbp - 0x70]
call fcn.14005d290
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r12d
xor r9d, r9d
lea r8, [rbp - 0x70]
lea rdx, str._A_AhkDir_
mov rcx, rsi
call fcn.1400bfc70
lea rdx, str._A_DllDir_
mov rcx, rsi
call fcn.1400bf820
mov edi, 0x5c
test rax, rax
je 0x1400c2480
mov r8d, 0x104
lea rdx, [rbp + 0x1a0]
mov rcx, qword [0x140115790]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x1400c241d
mov r8d, 0x104
lea rdx, [rbp + 0x1a0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, edi
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov rbx, rax
lea rax, [rbp + 0x1a0]
sub rbx, rax
sar rbx, 1
mov r8, rbx
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
mov word [rbp + rbx*2 - 0x70], r13w
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r12d
xor r9d, r9d
lea r8, [rbp - 0x70]
lea rdx, str._A_DllDir_
mov rcx, rsi
call fcn.1400bfc70
lea rdx, str._A_DllPath_
mov rcx, rsi
call fcn.1400bf820
test rax, rax
je 0x1400c2511
mov r8d, 0x104
lea rdx, [rbp + 0x1a0]
mov rcx, qword [0x140115790]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, eax
test rax, rax
jne 0x1400c24ce
mov r8d, 0x104
lea rdx, [rbp + 0x1a0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, r13
movzx eax, word [rbp + rcx + 0x1a0]
mov word [rbp + rcx - 0x70], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1400c24d1
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r12d
xor r9d, r9d
lea r8, [rbp - 0x70]
lea rdx, str._A_DllPath_
mov rcx, rsi
call fcn.1400bfc70
mov edx, 0x25
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
je 0x1400c2533
mov r8, rsi
lea rdx, str.Reference_not_allowed_here__use__where_possible._Only__A_AhkPath___A_AhkDir___A_DllPath___A_DllDir___A_ScriptDir___A_AppData_Common___can_be_used_here.
jmp 0x1400c2d9b
mov ebx, 0x2c
mov edx, ebx
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
je 0x1400c2557
mov edx, ebx
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov word [rax], r13w
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8, [rbp + 0x480]
lea rdx, [rbp + 0x470]
lea rcx, str._s_A_Fa_f0_9__:_A_Fa_f0_9____s_
call fcn.140071530
test rax, rax
je 0x1400c283a
mov r9, 0xffffffffffffffff
nop dword [rax]
inc r9
cmp word [rsi + r9*2], r13w
jne 0x1400c2590
mov dword [rsp + 0x38], SafeArrayAllocDescriptor
lea rcx, [rbp + 0x3b0]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], r13d
mov r8, rsi
mov rdx, qword [rbp + 0x480]
mov rcx, rax
call fcn.1400db700
test eax, eax
js 0x1400c283a
movsxd rax, dword [rbp + 0x3b0]
lea rcx, [rsi + rax*2]
test rcx, rcx
je 0x1400c283a
mov qword [rbp + 0x480], 0x780030
mov edx, 0x3a
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
je 0x1400c2616
mov edx, 0x3a
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
lea rsi, [rax + 2]
mov edx, 0x3a
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
je 0x1400c2642
mov edx, 0x3a
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov rdi, rax
sub rdi, rsi
sar rdi, 1
jmp 0x1400c265c
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rsi + rax*2], r13w
jne 0x1400c2650
mov edi, eax
mov eax, edi
cdq
sub eax, edx
sar eax, 1
movsxd rbx, eax
lea rax, [rbx - 1]
cmp rax, 0xffff
ja 0x1400c282b
cmp qword [0x140117b60], r13
jne 0x1400c2694
call fcn.1400bbe90
mov qword [0x140117b60], rax
test rax, rax
je 0x1400c282b
mov rcx, qword [0x140117b58]
cmp rbx, qword [rcx + 0x10]
jbe 0x1400c26ba
call fcn.1400bbe90
mov rcx, qword [0x140117b58]
mov qword [rcx + 0x18], rax
test rax, rax
je 0x1400c282b
mov r12, qword [rcx + 8]
mov qword [rsp + 0x60], r12
mov qword [0x140117b50], r12
mov rax, rbx
and eax, 7
mov rdx, rbx
je 0x1400c26dc
sub rdx, rax
add rdx, 8
lea rax, [rdx + r12]
mov qword [rcx + 8], rax
sub qword [rcx + 0x10], rdx
test r12, r12
je 0x1400c282b
mov r9d, 0x40
mov r8d, 0x1000
mov rdx, rbx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x1400c271d
mov r8, rsi
lea rdx, str.Could_not_commit_memory_for_DllImport.
jmp 0x1400c2d9b
mov ebx, r13d
test edi, edi
jle 0x1400c276d
mov r14, rsi
nop word [rax + rax]
mov r8d, 2
mov rdx, r14
lea rcx, [rbp + 0x484]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
xor edx, edx
lea r8d, [rdx + 0x10]
lea rcx, [rbp + 0x480]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
mov ecx, ebx
shr rcx, 1
mov byte [rcx + r12], al
add ebx, 2
add r14, 4
cmp ebx, edi
jl 0x1400c2730
mov r12d, 1
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rsi + rax*2], r13w
jne 0x1400c2780
inc rax
lea rbx, [rsi + rax*2]
mov rdx, 0xffffffffffffffff
mov rcx, rbx
call fcn.1400bbd60
mov r14, rax
mov byte [rbp + 0x470], r13b
cmp word [rax], r13w
je 0x1400c27bf
mov rcx, rax
call fcn.140014e00
test eax, eax
jne 0x1400c27bf
mov r13d, r12d
cmp word [r14], 0
je 0x1400c28a8
mov edi, 0x2c
mov edx, edi
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
je 0x1400c280a
nop
mov edx, edi
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov rbx, rax
test rax, rax
je 0x1400c27f7
add rbx, 2
inc r13d
mov edx, edi
mov rcx, rbx
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
test rax, rax
jne 0x1400c27e0
cmp word [r14], 0
je 0x1400c28a8
cmp r13d, 1
jge 0x1400c28a8
lea rdx, str.Parameter_3_required
jmp 0x1400c2d98
mov r8, rsi
lea rdx, str.Out_of_memory.
jmp 0x1400c2d9b
mov rcx, rsi
call fcn.140025a40
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x1400c2773
mov edx, edi
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov rbx, rax
test rax, rax
je 0x1400c2881
mov word [rax], r13w
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x1400c287e
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov word [rbx], di
xor edx, edx
mov rcx, rsi
call fcn.14006bef0
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x1400c2773
mov r8, rsi
lea rdx, str.Call_to_nonexistent_function.
jmp 0x1400c2d9b
mov r9, qword [0x140117b60]
test r9, r9
jne 0x1400c28cc
call fcn.1400bbe90
mov r9, rax
mov qword [0x140117b60], rax
test rax, rax
je 0x1400c2ae4
mov r8, qword [0x140117b58]
cmp qword [r8 + 0x10], 0x10
jae 0x1400c28fa
call fcn.1400bbe90
mov r8, qword [0x140117b58]
mov qword [r8 + 0x18], rax
test rax, rax
je 0x1400c2ae4
mov r9, qword [0x140117b60]
mov r12, qword [r8 + 8]
mov qword [0x140117b50], r12
lea rax, [r12 + 0x10]
mov qword [r8 + 8], rax
add qword [r8 + 0x10], 0xfffffffffffffff0
test r12, r12
je 0x1400c2ae4
mov qword [r12], 0
mov qword [r12 + 8], 0
test r13b, 1
jne 0x1400c2944
mov dword [r12 + 8], 2
xor r15d, r15d
jmp 0x1400c29dc
movzx eax, word [rbx]
cmp ax, 0x20
je 0x1400c2953
cmp ax, 9
jne 0x1400c2959
add rbx, 2
jmp 0x1400c2944
mov qword [rsp + 0x68], rbx
xor r15d, r15d
mov qword [rsp + 0x70], r15
lea r8d, [r15 + 5]
lea rdx, str.CDecl
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
test eax, eax
jne 0x1400c29ac
add rbx, 0xa
movzx eax, word [rbx]
cmp ax, 0x20
je 0x1400c2991
cmp ax, 9
jne 0x1400c2997
add rbx, 2
jmp 0x1400c2982
mov qword [rsp + 0x68], rbx
test ax, ax
jne 0x1400c29ac
mov dword [r12 + 8], 2
jmp 0x1400c29cb
mov rdx, r12
lea rcx, [rsp + 0x68]
call fcn.14006b780
cmp dword [r12 + 8], r15d
je 0x1400c2d8a
mov byte [rbp + 0x470], 1
dec r13d
mov r9, qword [0x140117b60]
mov r8, qword [0x140117b58]
mov eax, r13d
cdq
sub eax, edx
sar eax, 1
movsxd rdi, eax
je 0x1400c2af7
mov rbx, rdi
shl rbx, 4
lea rcx, [rbx - 1]
cmp rcx, 0xffff
ja 0x1400c2a5c
test r9, r9
jne 0x1400c2a21
call fcn.1400bbe90
mov r9, rax
mov qword [0x140117b60], rax
mov r8, qword [0x140117b58]
test rax, rax
je 0x1400c2a5c
cmp rbx, qword [r8 + 0x10]
jbe 0x1400c2a43
call fcn.1400bbe90
mov r8, qword [0x140117b58]
mov qword [r8 + 0x18], rax
mov r9, qword [0x140117b60]
test rax, rax
je 0x1400c2a5c
mov rsi, qword [r8 + 8]
mov qword [0x140117b50], rsi
lea rax, [rsi + rbx]
mov qword [r8 + 8], rax
sub qword [r8 + 0x10], rbx
jmp 0x1400c2a5f
mov rsi, r15
mov qword [rsp + 0x40], rsi
mov rbx, rdi
shl rbx, 4
lea rax, [rbx - 1]
cmp rax, 0xffff
ja 0x1400c2ad2
test r9, r9
jne 0x1400c2a97
call fcn.1400bbe90
mov r9, rax
mov qword [0x140117b60], rax
mov r8, qword [0x140117b58]
test rax, rax
je 0x1400c2ad2
cmp rbx, qword [r8 + 0x10]
jbe 0x1400c2ab9
call fcn.1400bbe90
mov r8, qword [0x140117b58]
mov qword [r8 + 0x18], rax
mov r9, qword [0x140117b60]
test rax, rax
je 0x1400c2ad2
mov rcx, qword [r8 + 8]
mov qword [0x140117b50], rcx
lea rax, [rcx + rbx]
mov qword [r8 + 8], rax
sub qword [r8 + 0x10], rbx
jmp 0x1400c2ad5
mov rcx, r15
mov qword [rsp + 0x48], rcx
test rsi, rsi
je 0x1400c2ae4
test rcx, rcx
jne 0x1400c2b01
lea r8, [0x1400e0674]
lea rdx, str.Out_of_memory.
jmp 0x1400c2d9b
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x40], r15
lea edi, [rdi*8]
movsxd rbx, edi
lea rax, [rbx - 1]
cmp rax, 0xffff
ja 0x1400c2b6d
test r9, r9
jne 0x1400c2b34
call fcn.1400bbe90
mov qword [0x140117b60], rax
test rax, rax
je 0x1400c2b6d
mov r8, qword [0x140117b58]
cmp rbx, qword [r8 + 0x10]
jbe 0x1400c2b4f
call fcn.1400bbe90
mov r8, qword [0x140117b58]
mov qword [r8 + 0x18], rax
test rax, rax
je 0x1400c2b6d
mov rsi, qword [r8 + 8]
mov qword [rsp + 0x50], rsi
mov qword [0x140117b50], rsi
lea rax, [rsi + rbx]
mov qword [r8 + 8], rax
sub qword [r8 + 0x10], rbx
jmp 0x1400c2b75
mov rsi, r15
mov qword [rsp + 0x50], r15
test edi, edi
je 0x1400c2b93
test rsi, rsi
je 0x1400c2ae4
test edi, edi
je 0x1400c2b93
mov r8, rbx
xor edx, edx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memset
mov ebx, r15d
mov dword [rbp + 0x480], ebx
cmp r13d, 1
jle 0x1400c2d3a
mov qword [rbp - 0x78], r15
mov r15, rsi
mov rsi, qword [rsp + 0x40]
mov edx, 0x2c
mov rcx, r14
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov rdi, rax
xor eax, eax
mov word [rdi], ax
add rdi, 2
mov qword [rbp - 0x80], r14
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.14006b780
mov edx, dword [rsi + 8]
mov eax, edx
test edx, edx
je 0x1400c2d8a
sub eax, 1
je 0x1400c2c6f
sub eax, 5
je 0x1400c2c4c
sub eax, 1
je 0x1400c2c4c
cmp eax, 1
je 0x1400c2c33
cmp byte [rsi + 0xd], 0
je 0x1400c2c26
cmp edx, 5
jne 0x1400c2c26
mov rcx, rdi
call fcn.140025a40
test rax, rax
jne 0x1400c2c26
mov rcx, rdi
call fcn.14004f950
jmp 0x1400c2cea
mov rcx, rdi
call fcn.140025a40
jmp 0x1400c2cea
mov rcx, rdi
call fcn.140025a40
test rax, rax
jne 0x1400c2d8a
mov qword [rsi], rdi
jmp 0x1400c2ced
mov rcx, rdi
call fcn.140028e90
movsd qword [rsi], xmm0
cmp dword [rsi + 8], 6
jne 0x1400c2ced
cvtsd2ss xmm0, xmm0
movss dword [rsi], xmm0
jmp 0x1400c2ced
mov rcx, rdi
call fcn.140025a40
test rax, rax
jne 0x1400c2d8a
lea edx, [rax + 0x2c]
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov r14, rax
test rax, rax
je 0x1400c2c9a
xor eax, eax
mov word [r14], ax
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.1400dd1cc
mov rbx, rax
mov qword [rsp + 0x68], rax
xor eax, eax
mov qword [rbx + 8], rax
mov byte [rbx + 0x10], al
lea rax, vtable.CStringCharFromWChar.0
mov qword [rbx], rax
mov rdx, rbx
mov rcx, rdi
call fcn.1400bbf60
nop
mov qword [r15], rbx
test r14, r14
je 0x1400c2cdc
mov eax, 0x2c
mov word [r14], ax
mov rcx, qword [r15]
call fcn.140082170
mov ebx, dword [rbp + 0x480]
mov qword [rsi], rax
mov edx, 0x2c
mov rcx, rdi
call qword [sym.imp.VCRUNTIME140.dll_wcschr]
mov r14, rax
test rax, rax
je 0x1400c2d0d
xor eax, eax
mov word [r14], ax
add r14, 2
inc ebx
mov dword [rbp + 0x480], ebx
add rsi, 0x10
add r15, 8
mov eax, dword [rbp + 0x488]
add eax, 2
mov dword [rbp + 0x488], eax
cmp eax, r13d
jl 0x1400c2bb2
xor r15d, r15d
jmp 0x1400c2d41
mov rdi, qword [rbp + 0x470]
cmp byte [rbp + 0x470], 0
je 0x1400c2d53
test r13d, r13d
je 0x1400c2d53
mov word [rdi], r15w
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
mov qword [rcx + 0x28], rax
mov dword [rcx + 0x20], ebx
mov qword [rcx + 0x38], r12
mov rax, qword [rsp + 0x50]
mov qword [rcx + 0x48], rax
mov rax, qword [rsp + 0x40]
mov qword [rcx + 0x40], rax
mov rax, qword [rsp + 0x48]
mov qword [rcx + 0x18], rax
mov eax, 3
jmp 0x1400c2da7
mov eax, 4
jmp 0x1400c2da7
lea rdx, str.Parameter_2_required
mov r8, r15
lea rcx, [0x140118bf0]
call fcn.14004dc70
mov rbx, qword [rsp + 0x578]
add rsp, 0x530
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret