Function at 0x4030e4
Capabilities:
Accept command line arguments
Get common file path
Query environment variable

Disassembly:
mov eax, 0x409358
call fcn.00404828
sub esp, 0x12c
push ebx
push esi
mov esi, 0xfe
push edi
lea eax, [ebp - 0x138]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x138]
mov ecx, 0x40c868
push eax
call fcn.004010a7
lea eax, [ebp - 0x138]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x138]
mov ecx, 0x40c848
push eax
call fcn.004010a7
lea eax, [ebp - 0x138]
push esi
push eax
push str._TEMP_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
lea eax, [ebp - 0x138]
mov ecx, 0x40c830
push eax
call fcn.004010a7
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, eax
cmp byte [edi], 0x22
jne 0x40319f
push edi
xor ebx, ebx
xor esi, esi
call fcn.004043c0
test eax, eax
pop ecx
jbe 0x403195
mov al, byte [esi + edi + 1]
inc esi
cmp al, 0x22
je 0x403195
push edi
mov byte [ebp + esi - 0x139], al
call fcn.004043c0
cmp esi, eax
pop ecx
jb 0x40317a
and byte [ebp + esi - 0x139], 0
jmp 0x4031b0
lea eax, [ebp - 0x138]
push edi
push eax
call fcn.004042d0
pop ecx
xor ebx, ebx
pop ecx
lea eax, [ebp - 0x138]
mov ecx, 0x40c820
push eax
call fcn.004010a7
lea eax, [ebp - 0x138]
push eax
call fcn.004043c0
pop ecx
cmp byte [ebp + eax - 0x138], 0x5c
je 0x4031df
cmp eax, ebx
jbe 0x4031df
dec eax
jmp 0x4031ce
and byte [ebp + eax - 0x138], 0
lea eax, [ebp - 0x138]
push eax
mov ecx, 0x40c7f0
call fcn.004010a7
mov esi, 0x40c870
push 0x40c7f0
mov ecx, esi
call fcn.0040106a
lea eax, [ebp - 0x14]
push 0x40c1c8
push eax
mov ecx, esi
call fcn.004011a5
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.0040106a
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], ebx
je 0x403236
push dword [ebp - 0x14]
call fcn.00404449
pop ecx
lea eax, [ebp - 0x14]
push 0x40c1c4
push eax
mov ecx, esi
call fcn.004011a5
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.0040106a
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], ebx
je 0x403267
push dword [ebp - 0x14]
call fcn.00404449
pop ecx
mov esi, 0x40c850
push 0x40c870
mov ecx, esi
call fcn.0040106a
lea eax, [ebp - 0x14]
push str._svchost.exe
push eax
mov ecx, esi
call fcn.004011a5
push eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.0040106a
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], ebx
je 0x4032a9
push dword [ebp - 0x14]
call fcn.00404449
pop ecx
push ebx
lea ecx, [ebp - 0x1c]
call section..text
push 0x40c1b0
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 3
call section..text
lea ecx, [ebp - 0x1c]
mov edi, 0x40c860
push ecx
push eax
mov esi, 0x80000002
push edi
push esi
mov byte [ebp - 4], 4
call fcn.00401d0b
mov bl, al
add esp, 0x10
neg bl
sbb bl, bl
mov byte [ebp - 4], 3
inc bl
cmp dword [ebp - 0x14], 0
je 0x4032fe
push dword [ebp - 0x14]
call fcn.00404449
pop ecx
test bl, bl
je 0x40336e
push 0
call fcn.004048d0
push eax
call fcn.004048a8
call fcn.004048b2
lea ecx, [ebp - 0x38]
inc eax
push 0xa
push ecx
push eax
mov dword [0x40c7f8], eax
call fcn.00409096
add esp, 0x14
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x1c]
push eax
call fcn.004010a7
push 0x40c1b0
lea ecx, [ebp - 0x24]
call section..text
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
push ecx
push eax
push edi
push esi
call fcn.00401c87
add esp, 0x10
cmp dword [ebp - 0x24], 0
mov byte [ebp - 4], 3
je 0x403368
push dword [ebp - 0x24]
call fcn.00404449
pop ecx
and dword [ebp - 0x24], 0
jmp 0x40337c
push dword [ebp - 0x1c]
call fcn.00404ae5
pop ecx
mov dword [0x40c7f8], eax
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], 0
pop edi
pop esi
pop ebx
je 0x403392
push dword [ebp - 0x1c]
call fcn.00404449
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret