Function at 0x4382e6
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 0x43857d
cmp dword [ebp - 0x18], edi
jle 0x43857d
push esi
push 0x4685dc
push dword [ebx]
call dword [sym.imp.msvcrt.dll_wcsstr]
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x438388
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 0x43838d
mov edx, dword [ebx]
mov eax, edx
lea ecx, [eax + 2]
mov bx, word [eax]
inc eax
inc eax
test bx, bx
jne 0x438354
sub eax, ecx
mov ecx, esi
sub ecx, edx
lea ebx, [ecx + 4]
sar eax, 1
sar ebx, 1
cmp ebx, eax
jae 0x438375
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 0x43838d
mov eax, dword [ebx]
mov dword [ebp - 0xc], eax
and dword [ebp - 4], edi
cmp word [ebp - 4], 0x14
jae 0x43843c
cmp dword [ebp - 8], 0
je 0x4383c3
movzx eax, word [ebp - 4]
mov eax, dword [eax*4 + 0x485ce8]
push dword [eax]
push dword [ebp - 8]
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x4383c3
and dword [ebp - 0x10], 0
jmp 0x43842f
cmp dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 1
je 0x43842f
and dword [ebp - 0x14], 0
test edi, edi
jne 0x43842f
movzx ebx, word [ebp - 4]
lea ebx, [ebx*4 + 0x485ce8]
mov eax, dword [ebx]
mov ecx, dword [ebp - 0x14]
cmp cx, word [eax + 0xc]
jae 0x43842f
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 0x438428
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 0x4383e3
inc dword [ebp - 4]
cmp dword [ebp - 0x10], 0
je 0x438390
cmp dword [ebp - 0x10], 0
jne 0x4384a0
push dword [ebp - 8]
push str.ERROR_mimikatz_doLocal_____s__module_not_found___n
call fcn.00407017
pop ecx
pop ecx
push 0x14
mov esi, 0x485ce8
pop edi
mov eax, dword [esi]
push dword [eax]
push str._n_16s
call fcn.00407017
mov eax, dword [esi]
mov eax, dword [eax + 4]
pop ecx
pop ecx
test eax, eax
je 0x43847f
push eax
push str.______s
call fcn.00407017
pop ecx
pop ecx
mov eax, dword [esi]
mov eax, dword [eax + 8]
test eax, eax
je 0x438495
push eax
push str.____s_
call fcn.00407017
pop ecx
pop ecx
add esi, 4
dec edi
jne 0x438459
jmp 0x43855b
test edi, edi
jne 0x438566
add dword [ebp - 4], 0xffff
movzx esi, word [ebp - 4]
lea esi, [esi*4 + 0x485ce8]
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.00407017
mov eax, dword [esi]
push dword [eax]
push str._nModule_:_t_s
call fcn.00407017
mov eax, dword [esi]
mov eax, dword [eax + 4]
add esp, 0x14
test eax, eax
je 0x4384f2
push eax
push str._nFull_name_:_t_s
call fcn.00407017
pop ecx
pop ecx
mov eax, dword [esi]
mov eax, dword [eax + 8]
test eax, eax
je 0x438508
push eax
push str._nDescription_:_t_s
call fcn.00407017
pop ecx
pop ecx
push 0x45d6e4
call fcn.00407017
mov eax, dword [esi]
pop ecx
xor ecx, ecx
xor ebx, ebx
cmp cx, word [eax + 0xc]
jae 0x43855b
mov eax, dword [eax + 0x10]
movzx edi, bx
imul edi, edi, 0xc
push dword [eax + edi + 4]
push str._n_16s
call fcn.00407017
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
mov edi, dword [eax + edi + 8]
pop ecx
pop ecx
test edi, edi
je 0x438552
push edi
push str.______s
call fcn.00407017
pop ecx
pop ecx
mov eax, dword [esi]
inc ebx
cmp bx, word [eax + 0xc]
jb 0x43851f
push 0x45d6e4
call fcn.00407017
pop ecx
cmp dword [ebp - 8], 0
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
je 0x438577
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