Function at 0x100b52c0
Capabilities:
Create thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014c219
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x938
mov eax, dword [0x1019a128]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x87c], esi
push str.ProductAgentApp::OnReadyToStart
lea ecx, [ebp - 0x878]
call fcn.1000ab60
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x110]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x8a0], 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x888]
mov dword [ebp - 0x89c], eax
mov dword [ebp - 0x898], 0
mov dword [ebp - 0x894], 0
mov dword [ebp - 0x890], 0
call fcn.1005e5a0
mov byte [ebp - 4], 1
sub esp, 0x20
mov eax, dword [ebp - 0x8a0]
mov edi, esp
mov edx, dword [ebp - 0x894]
mov esi, dword [ebp - 0x890]
mov ecx, dword [ebp - 0x1c]
mov dword [edi], eax
mov eax, dword [ebp - 0x89c]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x898]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x888]
mov dword [edi + 0xc], edx
mov edx, dword [ebp - 0x884]
mov dword [edi + 0x10], esi
mov dword [ebp - 0x890], 0
mov dword [ebp - 0x894], 0
mov dword [ebp - 0x898], 0
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], edx
call fcn.1008d960
push str.ProductAgentApp::OnReadyToStart
push str.INIT_BDNC
lea ecx, [ebp - 0x460]
mov byte [ebp - 4], 0
call fcn.1002f6c0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.100a5ad0
mov byte [ebp - 4], 3
cmp byte [ebp - 0x20], 0
je 0x100b5556
push str.ProductAgentApp::OnReadyToStart
mov edx, 4
lea ecx, [ebp - 0x948]
call fcn.1000aed0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 4
cmp byte [esi + 0x48], 0
je 0x100b5438
mov edx, str.failed_init_bdnc_instances_err
mov ecx, esi
call fcn.10020800
cmp byte [ebp - 0x20], 1
jne 0x100b581c
mov al, byte [esi + 0x48]
test al, al
je 0x100b5466
push dword [ebp - 0x48]
mov ecx, esi
call fcn.10026c90
mov al, byte [esi + 0x48]
test al, al
je 0x100b5466
mov edx, 0x10166bd0
mov ecx, esi
call fcn.100205a0
cmp byte [ebp - 0x20], 1
jne 0x100b581c
cmp dword [ebp - 0x2c], 0x10
lea edx, [ebp - 0x40]
cmovae edx, dword [ebp - 0x40]
cmp byte [esi + 0x48], 0
je 0x100b5488
mov ecx, esi
call fcn.10020800
lea ecx, [ebp - 0x948]
call fcn.1000ad70
mov edi, dword [ebp - 0x87c]
lea ecx, [ebp - 0x48]
call fcn.100ac8d0
lea ecx, [ebp - 0x460]
mov byte [ebp - 4], 0
call fcn.1000ac70
mov ecx, dword [edi + 0x108]
call fcn.100b3b80
mov edi, dword [edi + 0x108]
push 0xc
call fcn.101157fb
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
movq qword [esi + 4], xmm0
push 0
push 0
push 0
push 0
mov byte [ebp - 4], 7
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0xc
mov dword [esi], eax
call fcn.101157fb
add esp, 4
mov dword [ebp - 0x1c], eax
mov dword [eax], 0x1d4c0
mov dword [eax + 4], esi
mov dword [eax + 8], 0x100b34a0
lea ecx, [ebp - 0x884]
mov byte [ebp - 4], 8
push ecx
push 0
push eax
push 0x100b9d10
push 0
push 0
call fcn.101236ea
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x888], ecx
test ecx, ecx
je 0x100b580b
mov byte [ebp - 4], 7
cmp dword [esi + 8], 0
jne 0x100b5849
jmp 0x100b55ee
cmp byte [ebp - 0x24], 0
jne 0x100b55d7
cmp byte [ebp - 0x28], 0
je 0x100b5493
push str.ProductAgentApp::OnReadyToStart
mov edx, 4
lea ecx, [ebp - 0x948]
call fcn.1000aed0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 5
cmp byte [esi + 0x48], 0
je 0x100b5596
mov edx, str.failed_init_bdnc_instances_err
mov ecx, esi
call fcn.10020800
movsx eax, byte [ebp - 0x20]
test eax, eax
jne 0x100b581c
mov al, byte [esi + 0x48]
test al, al
je 0x100b55c6
push dword [ebp - 0x48]
mov ecx, esi
call fcn.10026c90
mov al, byte [esi + 0x48]
test al, al
je 0x100b55c6
mov edx, 0x10166bd0
mov ecx, esi
call fcn.100205a0
movsx eax, byte [ebp - 0x20]
test eax, eax
je 0x100b5470
jmp 0x100b581c
mov edi, dword [ebp - 0x87c]
lea eax, [ebp - 0x48]
push eax
lea ecx, [edi + 4]
call fcn.100a5730
jmp 0x100b5499
mov eax, dword [ebp - 0x884]
mov dword [esi + 4], ecx
lea ecx, [ebp - 0x18]
mov dword [esi + 8], eax
lea eax, [edi + 4]
mov byte [ebp - 4], 0
cmp eax, ecx
je 0x100b5613
mov ecx, dword [eax]
mov dword [eax], esi
test ecx, ecx
je 0x100b5619
push ecx
jmp 0x100b5614
push esi
call fcn.100b8d00
mov esi, dword [ebp - 0x87c]
mov ecx, dword [esi + 0x4c]
call fcn.100853c0
mov edi, dword [esi + 0x108]
lea ecx, [ebp - 0x460]
push str.ProductAgentApp::Helper::StartBootstrapManager
mov dword [ebp - 0x1c], edi
call fcn.1000ab60
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.100b4130
mov esi, dword [edi]
push 8
call fcn.101157fb
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x18]
mov ecx, dword [esi + 0x58]
add esp, 4
mov dword [eax + 4], ecx
mov dword [eax], vtable.ProductAgentApp::BootstrapManagerObserver.0
mov ecx, dword [edi]
add ecx, 0x38
cmp ecx, edx
je 0x100b567f
mov edx, dword [ecx]
mov dword [ecx], eax
test edx, edx
je 0x100b568a
push 8
push edx
jmp 0x100b5682
push 8
push eax
call fcn.101157ed
add esp, 8
push 0x10
call fcn.101157fb
add esp, 4
mov edi, eax
mov dword [ebp - 0x18], edi
xorps xmm0, xmm0
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
push 0
movups xmmword [edi], xmm0
call esi
push 0
push 0
push 0
push 0
mov dword [edi + 8], eax
call esi
mov ecx, dword [ebp - 0x1c]
mov dword [edi + 0xc], eax
lea eax, [ebp - 0x18]
mov ecx, dword [ecx]
add ecx, 0x34
cmp ecx, eax
je 0x100b57b1
mov eax, dword [ecx]
mov dword [ecx], edi
mov edi, eax
test edi, edi
je 0x100b5701
push dword [edi + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 0xc]
call esi
cmp dword [edi + 4], 0
jne 0x100b584e
push 0x10
push edi
call fcn.101157ed
add esp, 8
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
push dword [eax + 0x38]
mov ecx, dword [eax + 0x34]
push dword [eax + 0x4c]
call fcn.1002fe80
lea ecx, [ebp - 0x460]
mov byte [ebp - 4], 0
call fcn.1000ac70
push 8
call fcn.101157fb
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x890]
mov dword [ebp - 0x890], 0x493e0
mov ecx, esi
mov dword [ebp - 0x88c], 0
mov dword [ebp - 0x888], 0x5265c00
mov dword [ebp - 0x884], 0
movups xmm0, xmmword [ebp - 0x890]
push eax
movups xmmword [ebp - 0x890], xmm0
call fcn.100a1470
test al, al
je 0x100b57d0
mov eax, dword [ebp - 0x87c]
lea ecx, [ebp - 0x18]
add eax, 0x114
cmp eax, ecx
je 0x100b57d0
mov edi, dword [eax]
mov dword [eax], esi
test edi, edi
je 0x100b57e2
mov ecx, edi
call fcn.100a09c0
push 8
push edi
jmp 0x100b57da
push dword [edi + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [edi + 0xc]
call esi
cmp dword [edi + 4], 0
jne 0x100b584e
jmp 0x100b56f6
mov ecx, esi
call fcn.100a09c0
push 8
push esi
call fcn.101157ed
add esp, 8
lea ecx, [ebp - 0x878]
call fcn.1000ac70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101157bc
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 6
mov dword [ebp - 0x884], 0
call fcn.10113718
xorps xmm0, xmm0
mov dword [ebp - 0x884], 0
lea ecx, [ebp - 0x88c]
movq qword [ebp - 0x88c], xmm0
call fcn.10012090
push 0x10197aa0
mov eax, ecx
push eax
call fcn.101179f2
call fcn.10123552
call fcn.10123552
int3