Function at 0x416bb2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
mov ebx, dword [ebp + 8]
xor ecx, ecx
push esi
push edi
lea edi, [ebp - 0x30]
mov dword [ebp - 0x24], ecx
mov eax, dword [ebx + 0x428]
mov dword [ebp - 0x1c], eax
xor eax, eax
stosd dword es:[edi], eax
push 0x2000012c
push 2
mov dword [ebp - 0xc], ecx
stosd dword es:[edi], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp + 8], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
stosd dword es:[edi], eax
call fcn.00405678
pop ecx
pop ecx
lea ecx, [ebp - 0x24]
lea eax, [ebx + 0xb8]
push ecx
push eax
call fcn.0040d552
xor edi, edi
mov esi, eax
inc edi
test esi, esi
jns 0x416c25
push str.Engine_cannot_start_apply_because_it_is_busy_with_another_action.
push esi
call fcn.0044311f
pop ecx
pop ecx
jmp 0x416f61
lea eax, [ebx + 0x2c0]
push eax
lea esi, [ebx + 0xb8]
push esi
call fcn.0042bcc9
xor edx, edx
cmp dword [ebx + 0x460], edx
setne dl
cmp dword [ebx + 0x470], 0
je 0x416c4d
inc edx
mov eax, dword [ebx + 0xc8]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x70]
mov eax, dword [ebx + 0xc8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x6c]
push eax
push edi
push esi
call fcn.0040d72f
mov esi, eax
test esi, esi
jns 0x416c8b
push esi
push 0x247
push str.c:_agent_work13_s_src_burnenginecore.cpp
call fcn.004038f5
push str.UX_aborted_apply_begin.
jmp 0x416c18
cmp dword [ebx + 0x30], 3
jne 0x416cb3
xor eax, eax
mov dword [ebp - 4], edi
push eax
push 0x10
push eax
mov esi, 0x8007015e
push esi
push eax
push 5
push dword [ebx + 0xc8]
call fcn.0040d8e7
jmp 0x416f61
lea eax, [ebp - 0xc]
push eax
push 0
call fcn.0042bb17
mov esi, eax
test esi, esi
jns 0x416cce
push str.Another_per_user_setup_is_already_executing.
jmp 0x416c18
call fcn.0042bb0b
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0xf0], eax
lea eax, [ebx + 0x88]
push eax
call fcn.0042bcfa
mov esi, eax
test esi, esi
jns 0x416cf8
push str.Failed_to_set_initial_apply_variables.
jmp 0x416c18
xor ecx, ecx
cmp dword [ebx + 0x450], ecx
jne 0x416d2b
cmp dword [ebx + 0x460], ecx
jne 0x416d2b
cmp dword [ebx + 0x470], ecx
jne 0x416d2b
cmp dword [ebx + 0x480], ecx
jne 0x416d2b
push 0xa000017c
push 2
call fcn.00405678
jmp 0x416c1e
lea eax, [ebx + 0x49c]
cmp dword [eax], ecx
jne 0x416d64
push eax
lea eax, [ebx + 0x48]
push eax
lea eax, [ebx + 0xbc]
push eax
push dword [ebx + 0x148]
push dword [ebx + 0x110]
call fcn.0041994c
mov esi, eax
test esi, esi
jns 0x416d62
push str.Failed_to_cache_engine_to_working_directory.
jmp 0x416c18
xor ecx, ecx
cmp dword [ebx + 0x41c], ecx
je 0x416dc7
push dword [ebx + 0xf0]
push ebx
call fcn.0041746d
mov esi, eax
test esi, esi
jns 0x416d88
push str.Failed_to_elevate.
jmp 0x416c18
xor eax, eax
cmp dword [ebx + 0x3ec], eax
sete al
push eax
push dword [ebx + 0x494]
lea eax, [ebx + 0x88]
push dword [ebx + 0x410]
push eax
push dword [ebx + 0x4b0]
call fcn.0041cf73
mov esi, eax
test esi, esi
jns 0x416dc2
push str.Another_per_machine_setup_is_already_executing.
jmp 0x416c18
mov dword [ebp - 0x20], edi
xor ecx, ecx
cmp dword [ebx + 0x420], ecx
je 0x416df2
push ebx
call fcn.0042bb1c
mov esi, eax
test esi, esi
jns 0x416ded
push str.Failed_to_register_bundle.
push esi
call fcn.0044311f
pop ecx
pop ecx
jmp 0x416f50
mov dword [ebp - 0x18], edi
xor ecx, ecx
cmp dword [ebx + 0x460], ecx
je 0x416e97
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], ebx
push ecx
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 8]
push ecx
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x30]
push eax
push 0x41582c
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp + 8], eax
test eax, eax
jne 0x416e67
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x416e3e
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x416e45
mov esi, 0x80004005
push esi
push 0x289
push str.c:_agent_work13_s_src_burnenginecore.cpp
call fcn.004038f5
push str.Failed_to_create_cache_thread.
push esi
call fcn.0044311f
pop ecx
pop ecx
jmp 0x416f17
xor ecx, ecx
cmp dword [ebx + 0x3f0], ecx
jne 0x416e9a
push eax
call fcn.0041699e
mov esi, eax
test esi, esi
jns 0x416e84
push str.Failed_while_caching__aborting_execution.
jmp 0x416e5a
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
mov eax, ecx
mov dword [ebp + 8], eax
jmp 0x416e9a
mov eax, dword [ebp + 8]
cmp dword [ebx + 0x470], ecx
je 0x416ecc
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
push ebx
call fcn.0042b9c6
mov esi, eax
lea eax, [ebx + 0xb8]
push esi
push eax
call fcn.0040d6c0
mov eax, dword [ebp + 8]
test eax, eax
je 0x416edf
push eax
call fcn.0041699e
test esi, esi
js 0x416f17
mov esi, eax
test esi, esi
js 0x416f17
cmp dword [ebp - 8], 0
jne 0x416f17
cmp dword [ebp - 0x10], 0
jne 0x416f17
cmp dword [ebp - 4], 2
je 0x416f17
cmp dword [ebx + 0x480], 0
je 0x416f17
push dword [ebx + 0x4b0]
lea eax, [ebx + 0x410]
push eax
lea eax, [ebx + 0xb8]
push eax
call fcn.0042b99d
cmp dword [ebp - 0x18], 0
je 0x416f50
cmp dword [ebp - 0x1c], 0
jne 0x416f30
cmp dword [ebx + 0x42c], 0
jne 0x416f30
xor ecx, ecx
jmp 0x416f32
mov ecx, edi
test esi, esi
js 0x416f40
cmp dword [ebp - 8], 0
jne 0x416f40
xor eax, eax
jmp 0x416f42
mov eax, edi
push dword [ebp - 4]
push dword [ebp - 0x10]
push ecx
push eax
push ebx
call fcn.0042bd35
cmp dword [ebp - 0x20], 0
je 0x416f61
push dword [ebx + 0x4b0]
call fcn.0041d044
and dword [ebx + 0xf0], 0
call fcn.0042bd29
cmp dword [ebp - 0xc], 0
je 0x416f85
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], 0
je 0x416f97
lea eax, [ebx + 0xb8]
push eax
call fcn.0040d5f5
mov eax, dword [ebp + 8]
test eax, eax
je 0x416fa5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebx + 0xc8]
push dword [ebp - 4]
push esi
mov eax, dword [ecx]
push ecx
call dword [eax + 0xd8]
cmp eax, 0x66
jne 0x416fc2
mov dword [ebx + 0x18], edi
jmp 0x416fc5
mov edi, dword [ebx + 0x18]
push edi
call fcn.00413df9
push eax
push dword [ebp - 4]
call fcn.0041447e
push eax
push esi
push 0x2000018f
push 2
call fcn.00405678
add esp, 0x14
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8