Function at 0x401750
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41e637
push eax
mov dword fs:[0], esp
sub esp, 0x88
push esi
lea eax, [esp + 0x6c]
push eax
push 0x4204fc
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
xor esi, esi
cmp eax, esi
jl 0x401c2b
push esi
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [esp + 4], esi
lea ecx, [esp + 4]
push ecx
push 0x421694
push 1
push esi
lea edx, [esp + 0x7c]
push edx
mov dword [esp + 0xa8], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jl 0x401c0c
mov eax, dword [esp + 4]
cmp eax, esi
je 0x401c0c
lea edx, [esp + 0x20]
push edx
push 0x800
push 1
lea edx, [esp + 0x34]
push edx
push 0x421684
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x3c], str.AddTask4
mov dword [esp + 0x40], str.CommitTasks3
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
cmp eax, esi
jl 0x401c0c
mov eax, dword [esp + 4]
mov edx, dword [eax]
lea ecx, [esp + 0x18]
push ecx
push 0x800
push 1
lea ecx, [esp + 0x38]
push ecx
push 0x421684
push eax
call dword [edx + 0x14]
cmp eax, esi
jge 0x40185c
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 4]
cmp eax, esi
mov dword [esp + 0x94], 0xffffffff
je 0x401843
mov edx, dword [eax]
push eax
call dword [edx + 8]
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
add esp, 0x94
ret
mov ecx, dword [esp + 0x9c]
mov eax, dword [ecx + 0x10]
cmp eax, esi
push ebx
push ebp
push edi
je 0x401ae0
mov ebp, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ebx, 8
jmp 0x401890
mov ecx, dword [esp + 0xa8]
jmp 0x401890
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
cmp edx, eax
ja 0x40189c
sub eax, edx
mov ecx, dword [ecx + 4]
mov eax, dword [ecx + eax*4]
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], esi
mov byte [esp + 0x4c], 0
call fcn.004015d0
push 0xffffffffffffffff
push 0x4204ca
mov byte [esp + 0xa8], 1
call fcn.004012f0
add esp, 8
cmp eax, esi
mov dword [esp + 0x20], eax
je 0x401b8f
mov eax, dword [esp + 0xac]
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0xa0], 2
jb 0x4018fd
mov eax, dword [eax + 4]
jmp 0x401900
add eax, 4
push eax
lea ecx, [esp + 0x1c]
call fcn.004013a0
push 0xffffffffffffffff
push 0x4204ca
mov byte [esp + 0xa8], 3
call fcn.004012f0
add esp, 8
cmp eax, esi
mov dword [esp + 0x14], eax
je 0x401b8f
cmp dword [esp + 0x54], 0x10
mov eax, dword [esp + 0x40]
mov byte [esp + 0xa0], 4
jae 0x401944
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x20]
call fcn.004013a0
push 0xffffffffffffffff
push 0x4204ca
mov byte [esp + 0xa8], 5
call fcn.004012f0
add esp, 8
cmp eax, esi
mov dword [esp + 0x28], eax
je 0x401b8f
push 0xb0
mov byte [esp + 0xa4], 6
call fcn.004186e2
add esp, 4
mov esi, eax
push 0x4204c8
mov word [esi], bx
call ebp
push 0x4204c8
mov dword [esi + 8], eax
mov word [esi + 0x10], bx
call ebp
mov edx, dword [esp + 0x20]
mov dword [esi + 0x18], eax
mov eax, 0x16
or ecx, 0xffffffff
mov word [esi + 0x30], ax
mov dword [esi + 0x38], ecx
mov word [esi + 0x40], ax
mov word [esi + 0x50], ax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x58], ecx
mov ecx, dword [esp + 0x14]
push 0x4204c8
mov word [esi + 0x20], bx
mov dword [esi + 0x28], edx
mov dword [esi + 0x48], 0
mov word [esi + 0x60], bx
mov dword [esi + 0x68], eax
mov word [esi + 0x70], bx
mov dword [esi + 0x78], ecx
mov word [esi + 0x80], bx
call ebp
push 0x4204c8
mov dword [esi + 0x88], eax
mov word [esi + 0x90], bx
call ebp
mov edx, dword [esp + 0x1c]
xor ecx, ecx
push ecx
push ecx
mov dword [esi + 0x98], eax
mov word [esi + 0xa0], bx
mov dword [esi + 0xa8], edx
mov eax, dword [esp + 0x18]
push ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x3c]
push 1
push 0x800
push 0x421684
push ecx
mov dword [esp + 0x78], esi
mov dword [esp + 0x80], 0xb
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
mov edx, dword [esi + 8]
push edx
mov dword [esp + 0x34], eax
call edi
mov eax, dword [esi + 0x18]
push eax
call edi
mov ecx, dword [esi + 0x88]
push ecx
call edi
mov edx, dword [esi + 0x98]
push edx
call edi
push esi
call fcn.004186e7
mov eax, dword [esp + 0x34]
add esp, 4
test eax, eax
jl 0x401b99
mov eax, dword [esp + 0x28]
push eax
call edi
mov ecx, dword [esp + 0x1c]
push ecx
call edi
mov edx, dword [esp + 0x14]
push edx
call edi
mov eax, dword [esp + 0x18]
push eax
call edi
mov ecx, dword [esp + 0x20]
push ecx
call edi
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa0], 0
call fcn.004015a0
mov esi, dword [esp + 0xa8]
mov ecx, esi
call fcn.004016f0
mov eax, dword [esi + 0x10]
xor esi, esi
test eax, eax
jne 0x401884
push 0x20
call fcn.004186e2
add esp, 4
push esi
push esi
lea ecx, [esp + 0x90]
push ecx
mov edi, eax
lea ecx, [esp + 0x74]
push ecx
mov word [edi], 0x16
mov dword [edi + 8], 1
mov word [edi + 0x10], 0x16
mov dword [edi + 0x18], esi
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
push 1
push 0x800
push 0x421684
push ecx
mov dword [esp + 0x88], edi
mov dword [esp + 0x90], 2
mov dword [esp + 0x94], esi
mov dword [esp + 0x8c], esi
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
push edi
mov ebx, eax
call fcn.004186e7
mov eax, dword [esp + 0x14]
add esp, 4
cmp eax, esi
je 0x401b68
mov dword [esp + 0x10], esi
mov edx, dword [eax]
push eax
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp ebx, esi
mov eax, dword [esp + 0x10]
mov dword [esp + 0xa0], 0xffffffff
jl 0x401c00
cmp eax, esi
je 0x401b8b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x401be7
push 0x8007000e
call fcn.004010c0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov edx, dword [esp + 0x28]
push edx
call edi
mov eax, dword [esp + 0x1c]
push eax
call edi
mov ecx, dword [esp + 0x14]
push ecx
call edi
mov edx, dword [esp + 0x18]
push edx
call edi
mov eax, dword [esp + 0x20]
push eax
call edi
lea ecx, [esp + 0x3c]
call fcn.004015a0
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esp + 0xa0], 0xffffffff
je 0x401be4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or eax, 0xffffffff
pop edi
pop ebp
pop ebx
pop esi
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
add esp, 0x94
ret
cmp eax, esi
je 0x401be4
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x401be4
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 4]
cmp eax, esi
mov dword [esp + 0x94], 0xffffffff
je 0x401c2b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x8c]
or eax, 0xffffffff
pop esi
mov dword fs:[0], ecx
add esp, 0x94
ret