Function at 0x59c7a0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7451a0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x857060]
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 + 0x30]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x28], 0
movups xmmword [ebp - 0x48], xmm0
movups xmmword [ebp - 0x38], xmm0
test eax, eax
je 0x59c80a
push str.ccim_UserAction
push eax
call esi
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x50], 0
test eax, eax
je 0x59c823
push str.ccim_GetInformation
push eax
call esi
mov dword [ebp - 0x50], eax
mov ecx, dword [edi + 0x30]
xor ebx, ebx
test ecx, ecx
je 0x59c836
push str.ccim_startWorkflowWithMode
push ecx
call esi
mov ebx, eax
mov ecx, dword [edi + 0x30]
mov dword [ebp - 0x58], 0
test ecx, ecx
je 0x59c84f
push str.ccim_endWorkflow
push ecx
call esi
mov dword [ebp - 0x58], eax
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x59c86c
push str.hdimSetLoggerFnPtr
push ecx
call esi
test eax, eax
je 0x59c86c
push fcn.0056c500
call eax
add esp, 4
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0x59ca40
push 1
push eax
call ebx
mov esi, eax
add esp, 8
test esi, esi
jne 0x59c9e3
xorps xmm0, xmm0
mov dword [ebp - 0x14], eax
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], al
mov dword [ebp - 0x1c], eax
lea esi, [edi + 0x4c]
mov dword [ebp - 4], 1
push esi
lea ecx, [ebp - 0x1c]
call fcn.00654dc0
test al, al
je 0x59ca1d
cmp dword [esi + 0x14], 8
jb 0x59c8bf
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 esi, dword [ebp - 0x24]
add esp, 8
test esi, esi
je 0x59c92b
mov ecx, esi
mov dword [ebp - 0x68], 0
xor eax, eax
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x59c900
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x78]
call fcn.00426d40
cmp dword [ebp - 0x68], 0
mov eax, 1
mov esi, dword [ebp - 0x24]
je 0x59c92e
mov bl, al
jmp 0x59c930
mov eax, dword [ebp - 0x5c]
xor bl, bl
test al, 1
je 0x59c93f
lea ecx, [ebp - 0x78]
call fcn.00426ce0
mov esi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x54]
test bl, bl
je 0x59c96b
mov edx, esi
mov byte [eax], 1
lea edi, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x59c950
mov ecx, dword [ebp - 0x60]
sub edx, edi
sar edx, 1
push edx
push esi
call fcn.00426d40
jmp 0x59c96e
mov byte [eax], 0
call dword [ebp - 0x58]
test eax, eax
je 0x59c999
push eax
push str.Failed_to_end_workflow._Return_error_code:__d
push 0x799430
push 0x799430
push str.WorkFlowHelper
push 0x799430
push 0x28
call fcn.0056c500
add esp, 0x1c
mov dword [ebp - 4], 2
mov esi, dword [ebp - 0x18]
test esi, esi
je 0x59c9af
mov eax, dword [esi]
push esi
call dword [eax + 8]
xor esi, esi
cmp byte [ebp - 0x14], 0
je 0x59c9bb
call dword [sym.imp.ole32.dll_CoUninitialize]
test esi, esi
je 0x59c9c5
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.006d0965
mov esp, ebp
pop ebp
ret 8
push esi
push str.Failed_to_start_workflow._Return_error_code:__d
push 0x799430
push 0x799430
push str.WorkFlowHelper
push 0x799430
push 0x32
call fcn.0056c500
add esp, 0x1c
lea ecx, [ebp - 0x20]
push esi
call fcn.0056bed0
push 0x853bc4
mov eax, ecx
push eax
call fcn.006e8e84
push 1
lea ecx, [ebp - 0x70]
call fcn.0056bed0
push 0x853bc4
mov eax, ecx
push eax
call fcn.006e8e84
int3