Function at 0x465dc9
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push edi
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x20], edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edi
cmp ebx, edi
je 0x466060
cmp dword [ebp - 0x18], edi
jle 0x466060
push esi
push 0x4c0a8c
push dword [ebx]
call dword [sym.imp.msvcrt.dll_wcsstr]
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x465e6b
sub eax, dword [ebx]
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 8], eax
test eax, eax
je 0x465e70
mov edx, dword [ebx]
mov eax, edx
lea ecx, [eax + 2]
mov bx, word [eax]
inc eax
inc eax
test bx, bx
jne 0x465e37
sub eax, ecx
mov ecx, esi
sub ecx, edx
lea ebx, [ecx + 4]
sar eax, 1
sar ebx, 1
cmp ebx, eax
jae 0x465e58
add esi, 4
mov dword [ebp - 0xc], esi
sar ecx, 1
add ecx, ecx
push ecx
push edx
push dword [ebp - 8]
call sub.msvcrt.dll_memcpy
add esp, 0xc
jmp 0x465e70
mov eax, dword [ebx]
mov dword [ebp - 0xc], eax
and dword [ebp - 4], edi
cmp word [ebp - 4], 0x19
jae 0x465f1f
cmp dword [ebp - 8], 0
je 0x465ea6
movzx eax, word [ebp - 4]
mov eax, dword [eax*4 + 0x4fc250]
push dword [eax]
push dword [ebp - 8]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x465ea6
and dword [ebp - 0x10], 0
jmp 0x465f12
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 1
je 0x465f12
and dword [ebp - 0x14], 0
test edi, edi
jne 0x465f12
movzx ebx, word [ebp - 4]
lea ebx, [ebx*4 + 0x4fc250]
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x14]
cmp cx, word [eax + 0xc]
jae 0x465f12
mov eax, dword [eax + 0x10]
movzx esi, cx
imul esi, esi, 0xc
push dword [eax + esi + 4]
push dword [ebp - 0xc]
call dword [sym.imp.msvcrt.dll__wcsicmp]
mov edi, eax
neg edi
sbb edi, edi
inc edi
pop ecx
pop ecx
je 0x465f0b
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov eax, dword [eax + 0x10]
add ecx, 4
push ecx
mov ecx, dword [ebp - 0x18]
dec ecx
push ecx
call dword [eax + esi]
pop ecx
pop ecx
mov dword [ebp - 0x20], eax
inc dword [ebp - 0x14]
test edi, edi
je 0x465ec6
inc dword [ebp - 4]
cmp dword [ebp - 0x10], 0
je 0x465e73
cmp dword [ebp - 0x10], 0
jne 0x465f83
push dword [ebp - 8]
push str.ERROR_mimikatz_doLocal_____s__module_not_found___n
call fcn.00409709
pop ecx
pop ecx
push 0x19
mov esi, 0x4fc250
pop edi
mov eax, dword [esi]
push dword [eax]
push str._n_16s
call fcn.00409709
mov eax, dword [esi]
mov eax, dword [eax + 4]
pop ecx
pop ecx
test eax, eax
je 0x465f62
push eax
push str.______s
call fcn.00409709
pop ecx
pop ecx
mov eax, dword [esi]
mov eax, dword [eax + 8]
test eax, eax
je 0x465f78
push eax
push str.____s_
call fcn.00409709
pop ecx
pop ecx
add esi, 4
dec edi
jne 0x465f3c
jmp 0x46603e
test edi, edi
jne 0x466049
add dword [ebp - 4], 0xffff
movzx esi, word [ebp - 4]
lea esi, [esi*4 + 0x4fc250]
mov eax, dword [esi]
push dword [eax]
push dword [ebp - 0xc]
push str.ERROR_mimikatz_doLocal_____s__command_of___s__module_not_found___n
call fcn.00409709
mov eax, dword [esi]
push dword [eax]
push str._nModule_:_t_s
call fcn.00409709
mov eax, dword [esi]
mov eax, dword [eax + 4]
add esp, 0x14
test eax, eax
je 0x465fd5
push eax
push str._nFull_name_:_t_s
call fcn.00409709
pop ecx
pop ecx
mov eax, dword [esi]
mov eax, dword [eax + 8]
test eax, eax
je 0x465feb
push eax
push str._nDescription_:_t_s
call fcn.00409709
pop ecx
pop ecx
push 0x49ed98
call fcn.00409709
mov eax, dword [esi]
pop ecx
xor ecx, ecx
xor ebx, ebx
cmp cx, word [eax + 0xc]
jae 0x46603e
mov eax, dword [eax + 0x10]
movzx edi, bx
imul edi, edi, 0xc
push dword [eax + edi + 4]
push str._n_16s
call fcn.00409709
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
mov edi, dword [eax + edi + 8]
pop ecx
pop ecx
test edi, edi
je 0x466035
push edi
push str.______s
call fcn.00409709
pop ecx
pop ecx
mov eax, dword [esi]
inc ebx
cmp bx, word [eax + 0xc]
jb 0x466002
push 0x49ed98
call fcn.00409709
pop ecx
cmp dword [ebp - 8], 0
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
je 0x46605a
push dword [ebp - 8]
call esi
push dword [ebp - 0x1c]
call esi
pop esi
mov eax, dword [ebp - 0x20]
pop edi
pop ebx
leave
ret