Function at 0x40d530
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x422a68
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x44d040]
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], 0x448310
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 0x40d5bd
mov ecx, dword [ebp - 0x258]
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x4241b8]
lea ecx, [ebp - 0x258]
call esi
mov dword [ebp - 0x254], edi
mov ecx, edi
test ecx, ecx
je 0x40d5e1
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 0x40d874
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.004100c0
cmp dword [ebp - 0x234], 7
lea eax, [ebp - 0x248]
cmova eax, dword [ebp - 0x248]
push eax
lea eax, [ebp - 0x218]
push 0x449324
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 [0x44dd10]
mov edi, eax
cmp edi, ecx
je 0x40d6b1
mov ecx, dword [0x44dd0c]
mov esi, dword [ecx + 4]
mov ecx, esi
call dword [0x4241b8]
mov ecx, 0x44dd0c
call esi
mov ecx, edi
mov dword [0x44dd10], ecx
cmp ecx, 0xffffffff
sete al
setne byte [0x44f08c]
mov byte [ebp - 0x249], al
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x234]
cmp ecx, 7
jbe 0x40d70e
mov edx, dword [ebp - 0x248]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d6fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d8c2
push ecx
push edx
call fcn.0040e733
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 0x40d874
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 0x40d760
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.00404e20
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.0040a480
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.0040daf0
xor esi, esi
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x26c]
call fcn.0040d930
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x21c]
cmp ecx, 7
jbe 0x40d859
mov edx, dword [ebp - 0x230]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40d84f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40d8c7
push ecx
push edx
call fcn.0040e733
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
jmp 0x40d879
mov esi, 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x254]
mov dword [ebp - 0x258], 0x448310
test ecx, ecx
je 0x40d8a5
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.0040e6ef
mov esp, ebp
pop ebp
ret
call fcn.00411d07
call fcn.00411d07
int3