Function at 0x180058ecc
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
xor r14d, r14d
lea rdx, [rax + 0x18]
mov ebx, r14d
mov dword [rsp + 0x88], ebx
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, r14d
mov qword [rsp + 0x20], r14
mov dword [rsp + 0x78], r14d
mov r12, rax
mov r13d, r14d
mov r15d, r14d
test rax, rax
je 0x1800591f5
cmp dword [rsp + 0x80], r14d
jle 0x1800591f5
mov rcx, qword [rax]
lea rdx, [0x1800d0e6c]
call fcn.18008b658
mov rbp, rax
test rax, rax
je 0x180058fa7
mov rdx, rax
lea ecx, [r14 + 0x40]
sub rdx, qword [r12]
sar rdx, 1
lea rdx, [rdx*2 + 2]
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x20], rax
mov rsi, rax
test rax, rax
je 0x180058fab
mov rdx, qword [r12]
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rdx + rdi*2], r14w
jne 0x180058f6e
mov rbx, rbp
mov rcx, rax
sub rbx, rdx
mov r8, rbx
sar r8, 1
add r8, r8
call fcn.18008c4c0
lea rcx, [rbx + 4]
sar rcx, 1
lea rax, [rbp + 4]
mov ecx, ecx
cmp rcx, rdi
sbb r13, r13
and r13, rax
jmp 0x180058fab
mov r13, qword [r12]
mov ebp, Ordinal_27
lea rdi, [0x1800bc690]
movzx ebx, r14w
lea eax, [rbp - 0x17]
cmp bx, bp
jae 0x18005908c
movzx ebp, bx
test rsi, rsi
je 0x180058fef
mov rdx, qword [rdi + rbp*8]
mov rcx, rsi
mov rdx, qword [rdx]
call fcn.180090484
test eax, eax
mov eax, 1
je 0x180058fef
mov r15d, r14d
jmp 0x18005907b
mov r15d, eax
test r13, r13
je 0x18005907b
cmp dword [rsp + 0x78], 0
jne 0x180059078
xor esi, esi
mov rdx, qword [rdi + rbp*8]
cmp r14w, word [rdx + 0x18]
jae 0x180059073
mov rdx, qword [rdx + 0x20]
mov rcx, r13
movzx eax, r14w
lea rax, [rax + rax*2]
mov rdx, qword [rdx + rax*8 + 8]
mov qword [rsp + 0x28], rax
call fcn.180090484
test eax, eax
mov ecx, esi
sete cl
mov dword [rsp + 0x78], ecx
test eax, eax
jne 0x180059066
mov rax, qword [rdi + rbp*8]
lea rdx, [r12 + 8]
mov ecx, dword [rsp + 0x80]
dec ecx
mov r8, qword [rax + 0x20]
mov rax, qword [rsp + 0x28]
call qword [r8 + rax*8]
mov ecx, dword [rsp + 0x78]
mov dword [rsp + 0x88], eax
mov eax, 1
add r14w, ax
test ecx, ecx
je 0x180059004
mov rsi, qword [rsp + 0x20]
xor r14d, r14d
add bx, ax
mov ebp, Ordinal_27
test r15d, r15d
je 0x180058fbe
test r15d, r15d
jne 0x1800590f4
mov rdx, rsi
lea rcx, str.ERROR_mimikatz_doLocal_____s__module_not_found___n
call fcn.180009ba4
lea r13d, [r15 + 1]
mov rdx, qword [rdi]
lea rcx, str._n_16s
mov rdx, qword [rdx]
call fcn.180009ba4
mov rax, qword [rdi]
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1800590d1
lea rcx, str.______s
call fcn.180009ba4
mov rax, qword [rdi]
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x1800590e6
lea rcx, str.____s_
call fcn.180009ba4
add rdi, 8
sub rbp, r13
jne 0x1800590a4
jmp 0x1800591cb
cmp dword [rsp + 0x78], r14d
jne 0x1800591d7
sub bx, ax
lea rcx, str.ERROR_mimikatz_doLocal_____s__command_of___s__module_not_found___n
movzx ebp, bx
mov rdx, r13
mov r8, qword [rdi + rbp*8]
mov r8, qword [r8]
call fcn.180009ba4
mov rdx, qword [rdi + rbp*8]
lea rcx, str._nModule_:_t_s
mov rdx, qword [rdx]
call fcn.180009ba4
mov rdx, qword [rdi + rbp*8]
mov rax, qword [rdx + 8]
test rax, rax
je 0x18005914e
mov rdx, rax
lea rcx, str._nFull_name_:_t_s
call fcn.180009ba4
mov rdx, qword [rdi + rbp*8]
mov rdx, qword [rdx + 0x10]
test rdx, rdx
je 0x180059163
lea rcx, str._nDescription_:_t_s
call fcn.180009ba4
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.180009ba4
mov rcx, qword [rdi + rbp*8]
xor r15d, r15d
cmp r15w, word [rcx + 0x18]
jae 0x1800591cb
lea r13d, [r15 + 1]
mov rdx, qword [rcx + 0x20]
lea rcx, str._n_16s
movzx eax, r14w
lea rbx, [rax + rax*2]
mov rdx, qword [rdx + rbx*8 + 8]
call fcn.180009ba4
mov rcx, qword [rdi + rbp*8]
mov rax, qword [rcx + 0x20]
mov rdx, qword [rax + rbx*8 + 0x10]
test rdx, rdx
je 0x1800591c0
lea rcx, str.______s
call fcn.180009ba4
mov rcx, qword [rdi + rbp*8]
add r14w, r13w
cmp r14w, word [rcx + 0x18]
jb 0x180059181
lea rcx, reloc.Cabinet.dll_FCICreate
call fcn.180009ba4
test rsi, rsi
je 0x1800591e5
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, dword [rsp + 0x88]
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