Function at 0x401c80
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ae41
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x43c00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
push esi
push str.Command_line:__ls
push 0x1e
push str.GetSendParam
call fcn.00408e10
add esp, 0x10
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 2
xor ebx, ebx
cmp dword [ebp - 0x14], ebx
jle 0x401e4a
mov esi, dword [edi + ebx*4]
call fcn.004015f0
test eax, eax
je 0x401f8a
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
push esi
call fcn.00404100
test al, al
jne 0x401d4c
test esi, esi
jne 0x401d2e
xor eax, eax
jmp 0x401d42
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401d33
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x1c]
call fcn.00404550
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x1c]
cmp dword [esi - 0xc], 0
jl 0x401e24
push str.send
push esi
call fcn.0040dc85
add esp, 8
test eax, eax
je 0x401e24
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x401e24
mov eax, dword [ebp - 0x14]
dec eax
cmp ebx, eax
jge 0x401e24
push dword [edi + ebx*4 + 4]
lea ecx, [ebp - 0x18]
call fcn.00403e60
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00403c60
mov byte [ebp - 4], 6
mov ecx, 0x4351c0
mov eax, dword [eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401dda
test dx, dx
je 0x401dd6
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401dda
add eax, 4
add ecx, 4
test dx, dx
jne 0x401db4
xor edi, edi
jmp 0x401ddf
sbb edi, edi
or edi, 1
mov byte [ebp - 4], 5
or eax, 0xffffffff
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x401dfe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x401e5e
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x401e21
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x10]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x401e40
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
inc ebx
cmp ebx, dword [ebp - 0x14]
jl 0x401cf8
call fcn.004015f0
mov ecx, eax
test ecx, ecx
je 0x401f6c
jmp 0x401f2b
push 0x4351d0
push 0x4351c8
lea ecx, [ebp - 0x18]
call fcn.00403d70
mov ecx, eax
call fcn.00403d70
mov eax, dword [eax]
mov ecx, dword [eax - 0x10]
lea edi, [eax - 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
mov ecx, eax
lea eax, [edi + 0xc]
jl 0x401e9b
cmp ecx, dword [edi]
jne 0x401e9b
lock inc dword [eax]
jmp 0x401eca
mov eax, dword [ecx]
lea ebx, [edi + 4]
push 2
push dword [ebx]
call dword [eax]
mov edi, eax
test edi, edi
je 0x401f85
mov eax, dword [ebx]
lea ecx, [edi + 0x10]
mov dword [edi + 4], eax
mov eax, dword [ebx]
inc eax
lea edx, [eax + eax]
push edx
push dword [ebp - 0x28]
call fcn.004011c0
add esp, 8
lea eax, [edi + 0x10]
mov edi, dword [ebp - 0x20]
mov dword [edi], eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x24], 1
mov byte [ebp - 4], 4
or ebx, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x401efe
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x401f17
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
jmp 0x401f53
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ebx, dword [ebp - 0x20]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 2
mov dword [ebp - 0x24], 1
mov dword [ebp - 4], 0
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, ebx
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
push 0xcd
mov edx, str.ATL::CSimpleStringT_wchar_t_0_::CSimpleStringT
mov ecx, str.c:program_files__x86_microsoft_visual_studio2017_buildtools_vc_toolsmsvc14.16.27023_atlmfcinclude_atlsimpstr.h
call fcn.00405890
call fcn.004048c0
push 0x80004005
push 0xcd
mov edx, str.ATL::CSimpleStringT_wchar_t_0_::CSimpleStringT
mov ecx, str.c:program_files__x86_microsoft_visual_studio2017_buildtools_vc_toolsmsvc14.16.27023_atlmfcinclude_atlsimpstr.h
call fcn.00405890
int3