Function at 0x40cc10
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422078
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x44c040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x258], 0x4472f0
mov dword [ebp - 0x254], 0
mov dword [ebp - 4], 0
push str.__BrowseIIsPipe__
push 0
push 0
push 0
mov byte [ebp - 0x250], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x254]
mov edi, eax
cmp edi, ecx
je 0x40cc9d
mov ecx, dword [ebp - 0x258]
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x4231b8]
lea ecx, [ebp - 0x258]
call esi
mov dword [ebp - 0x254], edi
mov ecx, edi
test ecx, ecx
je 0x40ccc1
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, byte [ebp - 0x250]
cmp eax, 0xb7
mov edx, 1
cmove ecx, edx
mov byte [ebp - 0x250], cl
mov dword [ebp - 4], 1
cmp byte [ebp - 0x250], 0
jne 0x40cf54
push 0x11
xorps xmm0, xmm0
mov dword [ebp - 0x238], 0
push str.__BrowseIIsPipe__
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x234], 0
movups xmmword [ebp - 0x248], xmm0
call fcn.00401860
mov byte [ebp - 4], 3
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
call fcn.0040f780
cmp dword [ebp - 0x234], 7
lea eax, [ebp - 0x248]
cmova eax, dword [ebp - 0x248]
push eax
lea eax, [ebp - 0x218]
push 0x447edc
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x218]
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [0x44cd10]
mov edi, eax
cmp edi, ecx
je 0x40cd91
mov ecx, dword [0x44cd0c]
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x4231b8]
mov ecx, 0x44cd0c
call esi
mov ecx, edi
mov dword [0x44cd10], ecx
cmp ecx, 0xffffffff
sete al
setne byte [0x44e08c]
mov byte [ebp - 0x249], al
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x234]
cmp ecx, 7
jbe 0x40cdee
mov edx, dword [ebp - 0x248]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40cdde
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cfa2
push ecx
push edx
call fcn.0040ddf3
mov al, byte [ebp - 0x249]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], cx
test al, al
jne 0x40cf54
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x220], 0
mov ecx, edx
mov dword [ebp - 0x21c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x230], xmm0
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40ce40
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.00401860
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x230]
cmp dword [ebp - 0x21c], 7
mov edx, dword [ebp - 0x220]
cmova ecx, dword [ebp - 0x230]
push 9
push str._AppPools
push 0
call fcn.00404e40
add esp, 0xc
mov esi, eax
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
sete byte [ebp - 0x26c]
mov byte [ebp - 4], 6
cmp esi, 0xffffffff
lea ecx, [ebp - 0x268]
setne byte [ebp - 0x26b]
call fcn.00409b40
mov byte [ebp - 4], 7
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], 0
mov dword [ebp - 0x25c], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x26c]
call fcn.0040d1d0
xor esi, esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x26c]
call fcn.0040d010
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x40cf39
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40cf2f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cfa7
push ecx
push edx
call fcn.0040ddf3
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
jmp 0x40cf59
mov esi, 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x254]
mov dword [ebp - 0x258], 0x4472f0
test ecx, ecx
je 0x40cf85
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x254], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040ddb0
mov esp, ebp
pop ebp
ret
call fcn.004113c7
call fcn.004113c7
int3