Function at 0x4021c3
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov eax, dword [0x420040]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
xor eax, eax
push edi
push eax
push eax
push 1
push eax
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
push ecx
mov ecx, 0x4200a0
call fcn.00404355
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [esp + 0x24], 0
mov edi, eax
mov dword [esp + 0x1c], edi
je 0x402889
test edi, edi
je 0x402889
push 0xc
call fcn.00407669
mov ecx, dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [esp], str.mavinject
mov dword [eax + 4], ecx
lea ecx, [esp + 0x64]
mov dword [eax], vtable.appv::utility::scope_guard_func_impl_class_std::_Binder_struct_std::_Unforced__void_____stdcall___void____wchar_t_____.0
mov dword [eax + 8], edi
mov dword [esp + 0x48], eax
call fcn.004017e5
push dword [edi]
lea ecx, [esp + 0x4c]
call fcn.004017e5
lea edx, [esp + 0x60]
lea ecx, [esp + 0x48]
call fcn.00401714
lea ecx, [esp + 0x48]
mov bl, al
call fcn.00403499
lea ecx, [esp + 0x60]
call fcn.00403499
movzx ecx, bl
mov dword [esp + 0x20], ecx
cmp ecx, dword [esp + 0x24]
jl 0x402294
mov esi, 0x10000
jmp 0x4027c6
mov ecx, dword [edi + ecx*4]
lea edx, [esp + 0x38]
xor ebx, ebx
mov dword [esp + 0x38], ebx
call fcn.004028ab
mov esi, eax
test esi, esi
jne 0x402378
mov ecx, dword [esp + 0x38]
call fcn.00401a37
mov esi, dword [esp + 0x20]
mov byte [esp + 0x13], bl
mov dword [esp + 0x18], ebx
lea eax, [esi + 1]
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x24]
jge 0x402326
push str._HMODULE0x
lea ecx, [esp + 0x4c]
call fcn.004017e5
push dword [edi + esi*4 + 4]
lea ecx, [esp + 0x64]
call fcn.004017e5
cmp dword [esp + 0x5c], 7
lea ecx, [esp + 0x48]
push 3
cmova ecx, dword [esp + 0x4c]
lea eax, [esp + 0x64]
cmp dword [esp + 0x78], 7
pop ebx
push dword [esp + 0x58]
cmova eax, dword [esp + 0x64]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x40232a
mov byte [esp + 0x12], 1
jmp 0x402330
mov ebx, dword [esp + 0x28]
xor eax, eax
mov byte [esp + 0x12], al
test bl, 2
je 0x402341
lea ecx, [esp + 0x60]
and ebx, 0xfffffffd
call fcn.00403499
test bl, 1
je 0x402352
lea ecx, [esp + 0x48]
and ebx, 0xfffffffe
call fcn.00403499
cmp byte [esp + 0x12], 0
je 0x402384
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
mov dword [esp + 0x20], ecx
mov byte [esp + 0x13], 1
mov ecx, dword [edi + ecx*4]
call fcn.00402902
mov esi, eax
test esi, esi
je 0x402380
shl esi, 0x10
jmp 0x4027c6
mov esi, dword [esp + 0x20]
lea eax, [esi + 1]
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x24]
jge 0x4023e3
push str._INJECTRUNNING
lea ecx, [esp + 0x64]
call fcn.004017e5
push dword [edi + esi*4 + 4]
lea ecx, [esp + 0x4c]
or ebx, 4
call fcn.004017e5
or ebx, 8
lea ecx, [esp + 0x60]
cmp dword [esp + 0x74], 7
lea eax, [esp + 0x48]
cmova ecx, dword [esp + 0x60]
cmp dword [esp + 0x5c], 7
push ecx
cmova eax, dword [esp + 0x4c]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x4023e3
mov byte [esp + 0x12], 1
jmp 0x4023e9
xor eax, eax
mov byte [esp + 0x12], al
test bl, 8
je 0x4023fa
lea ecx, [esp + 0x48]
and ebx, 0xfffffff7
call fcn.00403499
test bl, 4
je 0x402408
lea ecx, [esp + 0x60]
call fcn.00403499
cmp byte [esp + 0x12], 0
lea edi, [esp + 0x94]
cmovne esi, dword [esp + 0x14]
xor eax, eax
stosd dword es:[edi], eax
xor edx, edx
mov ecx, edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x14], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
inc esi
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], 7
mov word [esp + 0x94], ax
mov dword [esp + 0x20], esi
cmp esi, dword [esp + 0x24]
jge 0x4024d9
mov edi, dword [esp + 0x1c]
cmp dword [esp + 0xa4], 0
mov ebx, dword [edi + esi*4]
jne 0x402491
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x28]
jne 0x40246c
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [esp + 0x9c]
call fcn.004034c4
mov ecx, dword [esp + 0x2c]
jmp 0x4024b2
test ecx, ecx
jne 0x4024cf
lea edx, [esp + 0x14]
mov ecx, ebx
call fcn.004028ab
mov esi, eax
test esi, esi
jne 0x4024c7
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
inc esi
mov dword [esp + 0x20], esi
cmp esi, dword [esp + 0x24]
jl 0x40245a
test ecx, ecx
je 0x4024d9
mov esi, dword [esp + 0x2c]
jmp 0x4024dc
shl esi, 0x10
jmp 0x4027ba
mov esi, 0x10000
jmp 0x4027ba
xor esi, esi
inc esi
xor ecx, ecx
mov ebx, ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ecx
cmp dword [esp + 0xa4], ecx
je 0x4025ed
xor eax, eax
lea edi, [esp + 0x48]
stosd dword es:[edi], eax
lea edx, [esp + 0x48]
push 7
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x98]
pop edi
mov dword [esp + 0x5c], edi
mov word [esp + 0x48], ax
call fcn.00402038
test al, al
je 0x402559
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x7c]
call fcn.004032da
lea eax, [esp + 0x78]
mov dword [esp + 0x90], esi
push eax
lea ecx, [esp + 0x64]
call fcn.00402937
lea ecx, [esp + 0x78]
call fcn.00403499
mov ebx, dword [esp + 0x64]
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x7c]
call fcn.004032da
lea eax, [esp + 0x78]
mov dword [esp + 0x90], esi
push eax
cmp ebx, dword [esp + 0x6c]
je 0x402596
mov ecx, ebx
call fcn.0040329f
mov eax, dword [esp + 0x90]
mov dword [ebx + 0x18], eax
add ebx, 0x1c
mov dword [esp + 0x64], ebx
jmp 0x4025a4
push ebx
lea ecx, [esp + 0x68]
call fcn.00403d8c
mov ebx, dword [esp + 0x64]
lea ecx, [esp + 0x78]
call fcn.00403499
mov eax, dword [esp + 0x5c]
cmp eax, edi
jbe 0x4026b8
mov ecx, dword [esp + 0x48]
lea eax, [eax*2 + 2]
mov edx, ecx
cmp eax, 0x1000
jb 0x4025e0
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
jbe 0x4025e0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x4026b8
xorps xmm0, xmm0
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x78]
push str.Modules
movups xmmword [esp + 0x4c], xmm0
call fcn.004017e5
push str.SOFTWAREMicrosoftAppVSubsystem
lea ecx, [esp + 0xb0]
call fcn.004017e5
push ecx
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.004057ae
lea ecx, [esp + 0xac]
call fcn.00403499
lea ecx, [esp + 0x78]
call fcn.00403499
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
sub eax, esi
push 0x18
cdq
pop ecx
idiv ecx
mov edi, eax
test edi, edi
je 0x4026a6
push esi
lea ecx, [esp + 0x7c]
call fcn.004032da
lea eax, [esp + 0x78]
mov dword [esp + 0x90], 1
push eax
lea ecx, [esp + 0x64]
call fcn.00402937
lea ecx, [esp + 0x78]
call fcn.00403499
add esi, 0x18
sub edi, 1
jne 0x40266e
mov ebx, dword [esp + 0x64]
lea ecx, [esp + 0x2c]
call fcn.00403128
lea ecx, [esp + 0x48]
call fcn.0040577a
cmp byte [esp + 0x12], 0
je 0x4026d3
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x60]
call fcn.00402127
mov esi, eax
jmp 0x4027b1
push dword [esp + 0x38]
xor eax, eax
push eax
push 0x438
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x4026fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
or esi, 0x20000
jmp 0x4027b1
push 0xc
call fcn.00407669
mov esi, dword [esp + 0x64]
xor edx, edx
pop ecx
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [eax], vtable.appv::utility::scope_guard_func_impl_class_std::_Binder_struct_std::_Unforced__int____stdcall___void____void____.0
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edx
cmp byte [esp + 0x13], dl
je 0x4027d6
cmp esi, ebx
je 0x40279d
cmp dword [esi + 0x14], 7
mov ecx, esi
mov eax, dword [esi + 0x18]
mov dword [esp + 0x14], eax
jbe 0x40274d
mov ecx, dword [esi]
test ecx, ecx
je 0x40276e
mov edx, ecx
lea eax, [edx + 2]
mov dword [esp + 0x1c], eax
mov ax, word [edx]
add edx, 2
cmp ax, word [esp + 0x28]
jne 0x40275a
sub edx, dword [esp + 0x1c]
sar edx, 1
inc edx
push ecx
lea eax, [esp + 0x4c]
push eax
call fcn.00401909
push dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, edi
push eax
call fcn.00406727
test eax, eax
je 0x40287f
add esi, 0x1c
push 0
pop edx
cmp esi, ebx
jne 0x40273c
xor edx, edx
mov esi, edx
lea ecx, [esp + 0x48]
call fcn.00402fa1
lea ecx, [esp + 0x40]
call fcn.004019bf
lea ecx, [esp + 0x60]
call fcn.0040296e
lea ecx, [esp + 0x94]
call fcn.00403499
lea ecx, [esp + 0x44]
call fcn.004019bf
mov eax, esi
jmp 0x402894
cmp esi, ebx
je 0x40279d
cmp dword [esi + 0x14], 7
mov ecx, esi
mov eax, dword [esi + 0x18]
mov dword [esp + 0x18], eax
jbe 0x4027eb
mov ecx, dword [esi]
test ecx, ecx
je 0x40280c
mov edx, ecx
lea eax, [edx + 2]
mov dword [esp + 0x1c], eax
mov ax, word [edx]
add edx, 2
cmp ax, word [esp + 0x28]
jne 0x4027f8
sub edx, dword [esp + 0x1c]
sar edx, 1
inc edx
push ecx
lea eax, [esp + 0x4c]
push eax
call fcn.00401909
test eax, eax
je 0x402827
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], eax
xor ecx, ecx
lea edx, [esp + 0x18]
test eax, eax
setne cl
xor eax, eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov ecx, edi
push eax
call fcn.00406519
test eax, eax
je 0x40287f
push dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x40]
mov ecx, edi
push eax
push dword [esp + 0x20]
call fcn.0040665a
test eax, eax
je 0x40287f
add esi, 0x1c
cmp esi, ebx
je 0x40279b
xor edx, edx
jmp 0x4027da
mov esi, 0x30000
jmp 0x40279f
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0x10000
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040765c
mov esp, ebp
pop ebp
ret 0x10