Function at 0x417348
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 8]
xor ecx, ecx
push esi
push edi
lea edi, [ebp - 0x34]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebx + 0x438]
mov esi, ecx
mov dword [ebp - 0x20], eax
xor eax, eax
stosd dword es:[edi], eax
push 0x2000012c
push 2
mov dword [ebp - 0x10], ecx
stosd dword es:[edi], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], ecx
stosd dword es:[edi], eax
call fcn.00405721
pop ecx
pop ecx
lea ecx, [ebp - 0x28]
lea eax, [ebx + 0xb8]
push ecx
push eax
call fcn.0040d9e9
mov edi, eax
test edi, edi
jns 0x4173ba
push str.Engine_cannot_start_apply_because_it_is_busy_with_another_action.
push edi
call fcn.0044466b
pop ecx
pop ecx
jmp 0x41770c
lea eax, [ebx + 0x2c8]
push eax
lea edi, [ebx + 0xb8]
push edi
call fcn.0042cdf8
xor edx, edx
cmp dword [ebx + 0x470], edx
setne dl
cmp dword [ebx + 0x480], esi
je 0x4173e1
inc edx
mov eax, dword [ebx + 0xc8]
push edx
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x70]
mov ecx, esi
call dword [0x4503dc]
call esi
mov eax, dword [ebx + 0xc8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x6c]
mov ecx, esi
call dword [0x4503dc]
call esi
push eax
xor esi, esi
inc esi
push esi
push edi
call fcn.0040dbc6
mov edi, eax
test edi, edi
jns 0x417444
push edi
push 0x247
push str.c:_agent_work18_swix_src_burnenginecore.cpp
call fcn.00403953
push str.UX_aborted_apply_begin.
push edi
call fcn.0044466b
pop ecx
pop ecx
mov esi, dword [ebp - 4]
jmp 0x41770c
cmp dword [ebx + 0x30], 3
jne 0x417469
xor eax, eax
mov dword [ebp - 8], esi
push eax
push 0x10
push eax
mov edi, 0x8007015e
push edi
push eax
push 5
push dword [ebx + 0xc8]
call fcn.0040dd92
jmp 0x41743c
lea eax, [ebp - 0x10]
push eax
push 0
call fcn.0042cc37
mov edi, eax
test edi, edi
jns 0x417481
push str.Another_per_user_setup_is_already_executing.
jmp 0x417434
call fcn.0042cc2b
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0xf0], eax
lea eax, [ebx + 0x88]
push eax
call fcn.0042ce29
mov edi, eax
test edi, edi
jns 0x4174a8
push str.Failed_to_set_initial_apply_variables.
jmp 0x417434
xor ecx, ecx
cmp dword [ebx + 0x460], ecx
jne 0x4174db
cmp dword [ebx + 0x470], ecx
jne 0x4174db
cmp dword [ebx + 0x480], ecx
jne 0x4174db
cmp dword [ebx + 0x490], ecx
jne 0x4174db
push 0xa000017c
push 2
call fcn.00405721
jmp 0x41743a
lea eax, [ebx + 0x4ac]
cmp dword [eax], ecx
jne 0x417514
push eax
lea eax, [ebx + 0x48]
push eax
lea eax, [ebx + 0xbc]
push eax
push dword [ebx + 0x148]
push dword [ebx + 0x110]
call fcn.0041a19a
mov edi, eax
test edi, edi
jns 0x417512
push str.Failed_to_cache_engine_to_working_directory.
jmp 0x417434
xor ecx, ecx
cmp dword [ebx + 0x42c], ecx
je 0x417577
push dword [ebx + 0xf0]
push ebx
call fcn.00417c58
mov edi, eax
test edi, edi
jns 0x417538
push str.Failed_to_elevate.
jmp 0x417434
xor eax, eax
cmp dword [ebx + 0x3fc], eax
sete al
push eax
push dword [ebx + 0x4a4]
lea eax, [ebx + 0x88]
push dword [ebx + 0x420]
push eax
push dword [ebx + 0x4c0]
call fcn.0041d828
mov edi, eax
test edi, edi
jns 0x417572
push str.Another_per_machine_setup_is_already_executing.
jmp 0x417434
mov dword [ebp - 0x24], esi
xor ecx, ecx
cmp dword [ebx + 0x430], ecx
je 0x4175a5
push ebx
call fcn.0042cc3c
mov edi, eax
test edi, edi
jns 0x4175a0
push str.Failed_to_register_bundle.
push edi
call fcn.0044466b
mov esi, dword [ebp - 4]
pop ecx
pop ecx
jmp 0x4176fb
mov dword [ebp - 0x1c], esi
xor ecx, ecx
cmp dword [ebx + 0x470], ecx
je 0x417643
lea eax, [ebp - 0x18]
mov dword [ebp - 0x34], ebx
push ecx
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0xc]
push ecx
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
push eax
push 0x415f40
push ecx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
jne 0x417619
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jle 0x4175f0
movzx edi, di
or edi, 0x80070000
test edi, edi
js 0x4175f7
mov edi, 0x80004005
push edi
push 0x289
push str.c:_agent_work18_swix_src_burnenginecore.cpp
call fcn.00403953
push str.Failed_to_create_cache_thread.
push edi
call fcn.0044466b
pop ecx
pop ecx
jmp 0x4176c0
xor ecx, ecx
cmp dword [ebx + 0x400], ecx
jne 0x417646
push esi
call fcn.00417132
mov edi, eax
test edi, edi
jns 0x417636
push str.Failed_while_caching__aborting_execution.
jmp 0x41760c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
mov esi, ecx
jmp 0x417646
mov esi, dword [ebp - 4]
cmp dword [ebx + 0x480], ecx
je 0x417678
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push esi
push ebx
call fcn.0042cacf
mov edi, eax
lea eax, [ebx + 0xb8]
push edi
push eax
call fcn.0040db57
test esi, esi
je 0x417688
push esi
call fcn.00417132
test edi, edi
js 0x4176c0
mov edi, eax
test edi, edi
js 0x4176c0
cmp dword [ebp - 0xc], 0
jne 0x4176c0
cmp dword [ebp - 0x14], 0
jne 0x4176c0
cmp dword [ebp - 8], 2
je 0x4176c0
cmp dword [ebx + 0x490], 0
je 0x4176c0
push dword [ebx + 0x4c0]
lea eax, [ebx + 0x420]
push eax
lea eax, [ebx + 0xb8]
push eax
call fcn.0042caa6
cmp dword [ebp - 0x1c], 0
je 0x4176fb
cmp dword [ebp - 0x20], 0
jne 0x4176dc
cmp dword [ebx + 0x43c], 0
jne 0x4176dc
xor eax, eax
xor ecx, ecx
inc eax
jmp 0x4176e1
xor eax, eax
inc eax
mov ecx, eax
test edi, edi
js 0x4176ed
cmp dword [ebp - 0xc], 0
jne 0x4176ed
xor eax, eax
push dword [ebp - 8]
push dword [ebp - 0x14]
push ecx
push eax
push ebx
call fcn.0042ce64
cmp dword [ebp - 0x24], 0
je 0x41770c
push dword [ebx + 0x4c0]
call fcn.0041d8f9
and dword [ebx + 0xf0], 0
call fcn.0042ce58
cmp dword [ebp - 0x10], 0
je 0x417730
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x28], 0
je 0x417742
lea eax, [ebx + 0xb8]
push eax
call fcn.0040da8c
test esi, esi
je 0x41774d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebx + 0xc8]
push dword [ebp - 8]
push edi
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0xd8]
mov ecx, esi
call dword [0x4503dc]
call esi
cmp eax, 0x66
jne 0x417777
xor eax, eax
inc eax
mov dword [ebx + 0x18], eax
jmp 0x41777a
mov eax, dword [ebx + 0x18]
push eax
call fcn.004144bf
push eax
push dword [ebp - 8]
call fcn.00414b7f
push eax
push edi
push 0x2000018f
push 2
call fcn.00405721
add esp, 0x14
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 8