Function at 0x407487
Capabilities:
Accept command line arguments

Disassembly:
push 0x34
mov eax, 0x463d11
call fcn.0043e9a8
mov esi, ecx
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [eax]
and dword [ebp - 4], 0
push str.in_InsertMyselfToRunOnce__s___s_
call fcn.00408586
add esp, 0xc
push 0x46d750
lea ecx, [ebp - 0x24]
call fcn.004042e3
xor ebx, ebx
inc ebx
push 0x46d74c
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.004042e3
add esi, 0x24
push esi
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 2
call fcn.004030b0
lea ecx, [ebp - 0x24]
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 3
call fcn.004030b0
add esp, 0x18
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.004014ff
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.004014ff
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], 7
call fcn.004014ff
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, 0x46d748
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x20], eax
call fcn.004042e3
push 0x46c790
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.004042e3
push str._nospawn
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 9
call fcn.00403107
lea ecx, [ebp - 0x18]
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 0xa
call fcn.004030b0
add esp, 0x18
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xb
call fcn.004038af
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.004014ff
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.004014ff
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.004014ff
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 7
call fcn.004014ff
lea ecx, [ebp + 0xc]
call fcn.0040297a
cmp dword [ebp - 0x1c], ebx
jle 0x4076ad
mov dword [ebp - 0x18], 2
push esi
lea ecx, [ebp - 0x28]
call fcn.004042e3
mov eax, dword [ebp - 0x20]
lea edi, [eax + ebx*4]
push dword [edi]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xc
call fcn.004042a2
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.0040297a
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004030b0
mov eax, dword [eax]
add esp, 0xc
push 0
push eax
lea ecx, [ebp + 0xc]
call fcn.004020e2
mov ecx, dword [ebp - 0x38]
cmp eax, 0xffffffff
sete byte [ebp - 0xd]
add ecx, 0xfffffff0
call fcn.004014ff
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.004014ff
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
mov byte [ebp - 4], 7
call fcn.004014ff
cmp byte [ebp - 0xd], 0
je 0x407687
push esi
lea ecx, [ebp - 0x40]
call fcn.004042e3
push eax
push dword [edi]
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0xe
call fcn.0040316b
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xf
call fcn.004038af
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.004014ff
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
mov byte [ebp - 4], 7
call fcn.004014ff
jmp 0x4076a0
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jge 0x4076a0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + ebx*4 + 4]
cmp word [eax], 0x2f
je 0x4076a0
inc ebx
inc dword [ebp - 0x18]
inc ebx
inc dword [ebp - 0x18]
cmp ebx, dword [ebp - 0x1c]
jl 0x4075ca
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.004038af
push 0x20
lea ecx, [ebp - 0x14]
call fcn.004029a2
call fcn.00406e38
test al, al
je 0x407721
push str.SymSilent
lea ecx, [ebp + 8]
call fcn.004042a2
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
mov byte [ebp - 4], 0x10
call fcn.00409581
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
mov bl, al
call fcn.004014ff
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004014ff
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004014ff
mov al, bl
call fcn.0043ea80
ret 8
lea eax, [ebp - 0x40]
push eax
call fcn.00402ed3
lea ecx, [ebp - 0x14]
push ecx
push eax
mov byte [ebp - 4], 0x11
call fcn.00409581
mov ecx, dword [ebp - 0x40]
add esp, 0xc
jmp 0x4076f7