Function at 0x40c33b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x418]
push edi
mov dword [ebp - 0x1c], eax
xor eax, eax
xor ebx, ebx
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x2000012c
push 2
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp + 8], ebx
stosd dword es:[edi], eax
call fcn.00401566
pop ecx
pop ecx
lea ecx, [ebp - 0x24]
lea eax, [esi + 0xb8]
push ecx
push eax
call fcn.0040bb5e
mov edi, eax
cmp edi, ebx
jge 0x40c3ab
push str.Engine_cannot_start_apply_because_it_is_busy_with_another_action.
push edi
call fcn.0042fa86
pop ecx
pop ecx
jmp 0x40c70b
lea eax, [esi + 0x2b8]
push eax
lea edi, [esi + 0xb8]
push edi
call fcn.004211d5
mov eax, dword [esi + 0xc8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x68]
push eax
push 1
push edi
call fcn.0040bc36
mov edi, eax
cmp edi, ebx
jge 0x40c3f0
push edi
push 0x21c
push str.core.cpp
call fcn.0043294e
push str.UX_aborted_apply_begin.
jmp 0x40c39e
cmp dword [esi + 0x30], 3
jne 0x40c41a
push ebx
push 0x10
push ebx
mov edi, 0x8007015e
push edi
push ebx
push 5
push dword [esi + 0xc8]
mov dword [ebp + 8], 1
call fcn.0040b7cd
jmp 0x40c70b
lea eax, [ebp - 0xc]
push eax
push ebx
call fcn.00421206
mov edi, eax
cmp edi, ebx
jge 0x40c434
push str.Another_per_user_setup_is_already_executing.
jmp 0x40c39e
call fcn.0042118e
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xf0], eax
lea eax, [esi + 0x88]
push eax
call fcn.004211a6
mov edi, eax
cmp edi, ebx
jge 0x40c45e
push str.Failed_to_set_initial_apply_variables.
jmp 0x40c39e
cmp dword [esi + 0x440], ebx
jne 0x40c48f
cmp dword [esi + 0x450], ebx
jne 0x40c48f
cmp dword [esi + 0x460], ebx
jne 0x40c48f
cmp dword [esi + 0x470], ebx
jne 0x40c48f
push 0xa000017c
push 2
call fcn.00401566
jmp 0x40c3a4
lea eax, [esi + 0x490]
cmp dword [eax], ebx
jne 0x40c4c6
push eax
lea eax, [esi + 0x48]
push eax
lea eax, [esi + 0xbc]
push eax
push dword [esi + 0x140]
push dword [esi + 0x108]
call fcn.00418741
mov edi, eax
cmp edi, ebx
jge 0x40c4c6
push str.Failed_to_cache_engine_to_working_directory.
jmp 0x40c39e
cmp dword [esi + 0x40c], ebx
je 0x40c52b
push dword [esi + 0xf0]
push esi
call fcn.0040bce8
mov edi, eax
cmp edi, ebx
jge 0x40c4ea
push str.Failed_to_elevate.
jmp 0x40c39e
xor eax, eax
cmp dword [esi + 0x3dc], ebx
sete al
push eax
push dword [esi + 0x484]
lea eax, [esi + 0x88]
push dword [esi + 0x400]
push eax
push dword [esi + 0x4a4]
call fcn.0040e1b5
mov edi, eax
cmp edi, ebx
jge 0x40c524
push str.Another_per_machine_setup_is_already_executing.
jmp 0x40c39e
mov dword [ebp - 0x20], 1
cmp dword [esi + 0x410], ebx
je 0x40c558
push esi
call fcn.004217a0
mov edi, eax
cmp edi, ebx
jge 0x40c551
push str.Failed_to_register_bundle.
push edi
call fcn.0042fa86
pop ecx
pop ecx
jmp 0x40c6fb
mov dword [ebp - 0x18], 1
cmp dword [esi + 0x480], 3
jne 0x40c5aa
mov eax, dword [esi + 0x4bc]
cmp eax, 0xffffffff
je 0x40c5aa
push 4
lea ecx, [ebp + 0xc]
push ecx
push 0xf0000002
push eax
mov dword [ebp + 0xc], ebx
call fcn.00403382
mov edi, eax
cmp edi, ebx
jge 0x40c590
push str.Failed_to_send_completion_over_the_pipe.
jmp 0x40c62f
push str.Posted_message_to_parent_process_to_signal_that_the_parent_process_can_stop_waiting
push 2
call fcn.0042f6a2
pop ecx
pop ecx
lea eax, [esi + 0x4ac]
push eax
call fcn.00402872
cmp dword [esi + 0x450], ebx
je 0x40c648
lea eax, [ebp - 0x14]
push ebx
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 8]
push ebx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push 0x40c157
push ebx
push ebx
mov dword [ebp - 0x30], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp eax, ebx
jne 0x40c615
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x40c5f3
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
cmp edi, ebx
jl 0x40c5fe
mov edi, 0x80004005
push edi
push 0x26a
push str.core.cpp
call fcn.0043294e
push str.Failed_to_create_cache_thread.
jmp 0x40c62f
cmp dword [esi + 0x3e0], 1
je 0x40c648
push eax
call fcn.0040c1e0
mov edi, eax
cmp edi, ebx
jge 0x40c63c
push str.Failed_while_caching__aborting_execution.
push edi
call fcn.0042fa86
pop ecx
pop ecx
jmp 0x40c6c4
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], ebx
cmp dword [esi + 0x460], ebx
je 0x40c67c
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
push esi
call fcn.004236fb
mov edi, eax
push edi
lea eax, [esi + 0xb8]
push eax
call fcn.0040b854
cmp dword [ebp - 4], ebx
je 0x40c68f
push dword [ebp - 4]
call fcn.0040c1e0
cmp edi, ebx
jl 0x40c6c4
mov edi, eax
cmp edi, ebx
jl 0x40c6c4
cmp dword [ebp - 8], ebx
jne 0x40c6c4
cmp dword [ebp - 0x10], ebx
jne 0x40c6c4
cmp dword [ebp + 8], 2
je 0x40c6c4
cmp dword [esi + 0x470], ebx
je 0x40c6c4
push dword [esi + 0x4a4]
lea eax, [esi + 0x400]
push eax
lea eax, [esi + 0xb8]
push eax
call fcn.00421a08
cmp dword [ebp - 0x18], ebx
je 0x40c6fb
cmp dword [ebp - 0x1c], ebx
jne 0x40c6da
cmp dword [esi + 0x41c], ebx
jne 0x40c6da
xor ecx, ecx
jmp 0x40c6dd
xor ecx, ecx
inc ecx
cmp edi, ebx
jl 0x40c6ea
cmp dword [ebp - 8], ebx
jne 0x40c6ea
xor eax, eax
jmp 0x40c6ed
xor eax, eax
inc eax
push dword [ebp + 8]
push dword [ebp - 0x10]
push ecx
push eax
push esi
call fcn.00421943
cmp dword [ebp - 0x20], ebx
je 0x40c70b
push dword [esi + 0x4a4]
call fcn.0040e280
mov dword [esi + 0xf0], ebx
call fcn.0042119a
cmp dword [ebp - 0xc], ebx
je 0x40c72d
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x24], ebx
je 0x40c73e
lea eax, [esi + 0xb8]
push eax
call fcn.0040b82c
cmp dword [ebp - 4], ebx
je 0x40c74c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
mov eax, dword [esi + 0xc8]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0xd0]
cmp eax, 0x66
jne 0x40c76b
mov dword [esi + 0x18], 1
push dword [esi + 0x18]
call fcn.00411879
push eax
push dword [ebp + 8]
call fcn.00411a24
push eax
push edi
push 0x2000018f
push 2
call fcn.00401566
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8