Function at 0x10048710
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push esi
mov esi, dword [0x102eec30]
push edi
mov edi, ecx
cmp byte [edi], 0
mov byte [edi + 1], 0
jne 0x10048751
test esi, esi
je 0x100489a3
push str.Manager_workflow_is_already_stopped
push 0x1025b044
push 0x1025b044
push str.DeepLinkManager
push str.c3containerBL
push 0xa
jmp 0x10048996
test esi, esi
je 0x1004877d
push str.Stopping_manager_workflow
push 0x1025b044
push 0x1025b044
push str.DeepLinkManager
push str.c3containerBL
push 0x1e
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
mov ecx, edi
mov byte [edi], 0
call fcn.10049650
mov esi, dword [edi + 0x40]
test esi, esi
jne 0x100487f1
mov esi, dword [0x102eec44]
test esi, esi
je 0x100487c2
push str.NULL_OOBE_Event_t_object_passed_in_WaitforEvent
push 0x1025b044
push 0x1025b044
push str.OOBEEvents
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
jmp 0x10048806
mov eax, dword [0x102eec48]
test eax, eax
je 0x10048806
mov esi, dword [eax]
push str.NULL_OOBE_Event_t_object_passed_in_WaitforEvent
push str.OOBEEvents
push 0x1025b044
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x32
push eax
call dword [0x1024852c]
call esi
add esp, 0x14
jmp 0x10048806
push 0x1388
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov esi, dword [0x102eec30]
test esi, esi
je 0x10048838
push str.Destroying_manager_thread
push 0x1025b044
push 0x1025b044
push str.DeepLinkManager
push str.c3containerBL
push 0x1e
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
mov eax, dword [edi + 0x44]
test eax, eax
je 0x10048861
push 0xa
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10048861
push 0
push dword [edi + 0x44]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [edi + 0x44], 0
mov esi, dword [edi + 0x3c]
test esi, esi
jne 0x100488cb
mov esi, dword [0x102eec44]
test esi, esi
je 0x1004889c
push str.NULL_OOBE_Event_t_object_passed_in_DestroyEvent
push 0x1025b044
push 0x1025b044
push str.OOBEEvents
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
jmp 0x100488e9
mov eax, dword [0x102eec48]
test eax, eax
je 0x100488e9
mov esi, dword [eax]
push str.NULL_OOBE_Event_t_object_passed_in_DestroyEvent
push str.OOBEEvents
push 0x1025b044
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x32
push eax
call dword [0x1024852c]
call esi
add esp, 0x14
jmp 0x100488e9
mov eax, dword [esi]
test eax, eax
je 0x100488de
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 4
push esi
call fcn.101d02bd
add esp, 8
mov esi, dword [edi + 0x40]
test esi, esi
jne 0x10048953
mov esi, dword [0x102eec44]
test esi, esi
je 0x10048924
push str.NULL_OOBE_Event_t_object_passed_in_DestroyEvent
push 0x1025b044
push 0x1025b044
push str.OOBEEvents
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
jmp 0x10048971
mov eax, dword [0x102eec48]
test eax, eax
je 0x10048971
mov esi, dword [eax]
push str.NULL_OOBE_Event_t_object_passed_in_DestroyEvent
push str.OOBEEvents
push 0x1025b044
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x32
push eax
call dword [0x1024852c]
call esi
add esp, 0x14
jmp 0x10048971
mov eax, dword [esi]
test eax, eax
je 0x10048966
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], 0
push 4
push esi
call fcn.101d02bd
add esp, 8
mov esi, dword [0x102eec30]
test esi, esi
je 0x100489a3
push str.Manager_workflow_stopped
push 0x1025b044
push 0x1025b044
push str.DeepLinkManager
push str.c3containerBL
push 0x1e
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret