Function at 0x180012a7c
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, 0x30
xor edi, edi
lea rdx, [rsp + 0x78]
mov ebx, edi
mov dword [rsp + 0x80], ebx
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, edi
mov qword [rsp + 0x88], rdi
mov r12d, edi
mov r14d, edi
mov r15, rax
mov r13d, edi
test rax, rax
je 0x180012d97
cmp dword [rsp + 0x78], edi
jle 0x180012d97
mov rcx, qword [rax]
lea rdx, [0x180080afc]
call fcn.18004efac
mov rbx, rax
test rax, rax
je 0x180012b48
mov rdx, rax
lea ecx, [rdi + 0x40]
sub rdx, qword [r15]
sar rdx, 1
lea rdx, [rdx*2 + 2]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rsi, rax
mov qword [rsp + 0x88], rax
test rax, rax
je 0x180012b4b
mov rdx, qword [r15]
mov r8, rbx
sub r8, rdx
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rdx + rcx*2], di
jne 0x180012b1d
lea rax, [r8 + 4]
sar rax, 1
mov eax, eax
cmp rax, rcx
jae 0x180012b38
lea r12, [rbx + 4]
sar r8, 1
mov rcx, rsi
add r8, r8
call fcn.18005bdd0
jmp 0x180012b4b
mov r12, qword [r15]
mov ebp, SQLAllocHandle
movzx ebx, di
xor ecx, ecx
lea eax, [rbp - 0x13]
lea rdi, [0x1800bd7a0]
cmp bx, bp
jae 0x180012c28
test rsi, rsi
je 0x180012b90
movzx edx, bx
mov rcx, rsi
mov rdx, qword [rdi + rdx*8]
mov rdx, qword [rdx]
call fcn.18004e25c
xor ecx, ecx
test eax, eax
lea eax, [rcx + 1]
je 0x180012b90
mov r14d, ecx
jmp 0x180012c1c
mov r14d, eax
test r12, r12
je 0x180012c1c
movzx ebp, cx
test r13d, r13d
jne 0x180012c17
movzx esi, bx
mov rdx, qword [rdi + rsi*8]
cmp bp, word [rdx + 0x18]
jae 0x180012c0f
mov rdx, qword [rdx + 0x20]
movzx eax, bp
mov rcx, r12
lea rax, [rax + rax*2]
mov qword [rsp + 0x20], rax
mov rdx, qword [rdx + rax*8 + 8]
call fcn.18004e25c
xor ecx, ecx
test eax, eax
mov r13d, ecx
sete r13b
test r13d, r13d
je 0x180012c02
mov rax, qword [rdi + rsi*8]
mov ecx, dword [rsp + 0x78]
lea rdx, [r15 + 8]
mov r8, qword [rax + 0x20]
mov rax, qword [rsp + 0x20]
dec ecx
call qword [r8 + rax*8]
xor ecx, ecx
mov dword [rsp + 0x80], eax
mov eax, 1
add bp, ax
test r13d, r13d
je 0x180012ba7
mov rsi, qword [rsp + 0x88]
mov ebp, SQLAllocHandle
add bx, ax
test r14d, r14d
je 0x180012b5f
test r14d, r14d
jne 0x180012c90
lea rcx, str.ERROR_mimikatz_doLocal_____s__module_not_found___n
mov rdx, rsi
call fcn.18000af2c
lea r13d, [r14 + 1]
mov rdx, qword [rdi]
lea rcx, str._n_16s
mov rdx, qword [rdx]
call fcn.18000af2c
mov rax, qword [rdi]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x180012c6a
lea rcx, str.______s
call fcn.18000af2c
mov rax, qword [rdi]
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x180012c82
lea rcx, str.____s_
call fcn.18000af2c
add rdi, 8
sub rbp, r13
jne 0x180012c40
jmp 0x180012d6d
test r13d, r13d
jne 0x180012d79
mov eax, 0xffff
lea rcx, str.ERROR_mimikatz_doLocal_____s__command_of___s__module_not_found___n
mov rdx, r12
add bx, ax
movzx ebp, bx
mov r8, qword [rdi + rbp*8]
mov r8, qword [r8]
call fcn.18000af2c
mov rdx, qword [rdi + rbp*8]
lea rcx, str._nModule_:_t_s
mov rdx, qword [rdx]
call fcn.18000af2c
mov rax, qword [rdi + rbp*8]
xor r12d, r12d
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x180012ce9
lea rcx, str._nFull_name_:_t_s
call fcn.18000af2c
mov rax, qword [rdi + rbp*8]
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x180012d02
lea rcx, str._nDescription_:_t_s
call fcn.18000af2c
lea rcx, [0x18006a3b8]
call fcn.18000af2c
mov rcx, qword [rdi + rbp*8]
movzx r14d, r12w
cmp r12w, word [rcx + 0x18]
jae 0x180012d6d
mov r13d, 1
mov rdx, qword [rcx + 0x20]
movzx eax, r14w
lea rcx, str._n_16s
lea rbx, [rax + rax*2]
mov rdx, qword [rdx + rbx*8 + 8]
call fcn.18000af2c
mov rax, qword [rdi + rbp*8]
mov rcx, qword [rax + 0x20]
mov rdx, qword [rcx + rbx*8 + 0x10]
test rdx, rdx
je 0x180012d5e
lea rcx, str.______s
call fcn.18000af2c
mov rcx, qword [rdi + rbp*8]
add r14w, r13w
cmp r14w, word [rcx + 0x18]
jb 0x180012d23
lea rcx, [0x18006a3b8]
call fcn.18000af2c
test rsi, rsi
je 0x180012d87
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, dword [rsp + 0x80]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret