Function at 0x46c040
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8916
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x64a070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x54], eax
mov byte [eax], 0
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x48], xmm0
movups xmmword [ebp - 0x38], xmm0
test eax, eax
je 0x46c0b1
push str.ccim_UserAction
push eax
call esi
mov eax, dword [edi + 0x28]
mov dword [ebp - 0x50], 0
test eax, eax
je 0x46c0ca
push str.ccim_GetInformation
push eax
call esi
mov dword [ebp - 0x50], eax
mov ecx, dword [edi + 0x28]
xor ebx, ebx
test ecx, ecx
je 0x46c0dd
push str.ccim_startWorkflowWithMode
push ecx
call esi
mov ebx, eax
mov ecx, dword [edi + 0x28]
mov dword [ebp - 0x58], 0
test ecx, ecx
je 0x46c0f6
push str.ccim_endWorkflow
push ecx
call esi
mov dword [ebp - 0x58], eax
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x46c113
push str.hdimSetLoggerFnPtr
push ecx
call esi
test eax, eax
je 0x46c113
push fcn.00440ae0
call eax
add esp, 4
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0x46c2d0
push 1
push eax
call ebx
mov esi, eax
add esp, 8
test esi, esi
je 0x46c178
mov eax, fcn.00440ae0
test eax, eax
je 0x46c158
push esi
push str.Failed_to_start_workflow._Return_error_code:__d
push 0x5f8398
push 0x5f8398
push 0x606e48
push 0x5f8398
push 0x32
call fcn.00440ae0
add esp, 0x1c
push 0x646690
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], vtable.HDBSException.0
xorps xmm0, xmm0
mov dword [ebp - 0x14], esi
push eax
movq qword [ebp - 0x1c], xmm0
call fcn.0058f513
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
lea esi, [edi + 0x38]
mov dword [ebp - 4], 1
push esi
lea ecx, [ebp - 0x1c]
call fcn.005218d0
test al, al
jne 0x46c1d4
push 0x646690
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], vtable.HDBSException.0
xorps xmm0, xmm0
mov dword [ebp - 0x64], 1
push eax
movq qword [ebp - 0x6c], xmm0
call fcn.0058f513
cmp dword [esi + 0x14], 8
jb 0x46c1dc
mov esi, dword [esi]
lea eax, [ebp - 0x24]
mov dword [ebp - 0x48], esi
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x2c], str.checkConflictingProcess
push eax
mov dword [ebp - 0x24], 0
call dword [ebp - 0x50]
mov eax, dword [ebp - 0x24]
add esp, 8
test eax, eax
je 0x46c21f
push eax
lea ecx, [ebp - 0x78]
call fcn.00408810
mov ecx, 1
cmp dword [eax + 0x10], 0
sete al
test al, al
jne 0x46c222
mov bl, cl
jmp 0x46c224
mov ecx, dword [ebp - 0x5c]
xor bl, bl
test cl, 1
je 0x46c231
lea ecx, [ebp - 0x78]
call fcn.004087d0
mov eax, dword [ebp - 0x54]
test bl, bl
je 0x46c248
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x60]
mov byte [eax], 1
call fcn.004089c0
jmp 0x46c24b
mov byte [eax], 0
call dword [ebp - 0x58]
test eax, eax
je 0x46c27f
mov ecx, fcn.00440ae0
test ecx, ecx
je 0x46c27f
push eax
push str.Failed_to_end_workflow._Return_error_code:__d
push 0x5f8398
push 0x5f8398
push 0x606e48
push 0x5f8398
push 0x28
call fcn.00440ae0
add esp, 0x1c
mov dword [ebp - 4], 2
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x46c29b
mov ecx, esi
xor esi, esi
test ecx, ecx
je 0x46c29b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp byte [ebp - 0x14], 0
je 0x46c2a7
call dword [sym.imp.ole32.dll_CoUninitialize]
test esi, esi
je 0x46c2b1
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057608a
mov esp, ebp
pop ebp
ret 8