Function at 0x489e20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xe0
mov esi, ecx
mov eax, dword [0x591128]
xor eax, ebp
mov dword [esp + 0xd8], eax
call fcn.0048a240
test al, al
jne 0x489e72
lea edi, [esp + 0x70]
push str.Validate__
push 0x250
push str..._.._base_task_sequence_manager_sequence_manager_impl.cc
push edi
call fcn.00424910
add esp, 0x10
mov ecx, edi
call fcn.00424980
mov ecx, edi
call fcn.00424990
mov al, byte [0x590c6c]
mov byte [esp + 0xb], al
test al, 0x19
jne 0x48a167
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0xc], 0xffffffff
lea ecx, [esi + 0x44]
call fcn.004b9be0
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
mov dword [esp + 0x64], 0xffffffff
mov dword [esp + 0x60], 0xffffffff
mov ecx, dword [esi + 0x20]
mov eax, dword [ecx]
call dword [eax + 0x38]
lea edi, [esp + 0x50]
mov ecx, edi
push eax
call fcn.004bfb90
mov ecx, esi
push edi
call fcn.004899d0
cmp byte [esp + 0x58], 0
je 0x489f13
lea eax, [esp + 0x70]
lea ecx, [esp + 0x50]
push eax
call fcn.004bfbb0
mov eax, dword [esp + 0x70]
cmp eax, dword [esi + 0xc00]
mov eax, dword [esp + 0x74]
sbb eax, dword [esi + 0xc04]
jl 0x489f13
mov byte [esi + 0xbf8], 1
lea eax, [esi + 0xa90]
mov dword [esp + 0x20], eax
lea eax, [esi + 0x5c]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x20]
push dword [ebp + 8]
call fcn.004b9ee0
mov ebx, eax
test byte [0x590c78], 0x19
jne 0x489fdc
xor edi, edi
test ebx, ebx
je 0x48a108
mov ecx, ebx
call fcn.004c0610
test al, al
jne 0x489f24
mov ecx, ebx
call fcn.004c0020
cmp byte [eax + 0x45], 0
jne 0x48a052
cmp dword [esi + 0x58], 0
jle 0x48a052
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0xc0], xmm0
movdqa xmmword [esp + 0xb0], xmm0
movdqa xmmword [esp + 0xa0], xmm0
movdqa xmmword [esp + 0x90], xmm0
movdqa xmmword [esp + 0x80], xmm0
movdqa xmmword [esp + 0x70], xmm0
mov ecx, ebx
lea edi, [esp + 0x70]
push edi
call fcn.004c0480
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0xc8], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0xcc], eax
mov ecx, dword [esp + 0x1c]
push edi
call fcn.0048e000
mov ecx, edi
call fcn.004bfd50
jmp 0x489f24
mov ecx, esi
push 0
push ebx
lea edi, [esp + 0x78]
push edi
call fcn.0048a330
sub esp, 0x2c
mov dword [esp + 0x28], edi
movdqa xmm0, xmmword [0x54c2a0]
movdqu xmmword [esp + 0x14], xmm0
mov dword [esp + 0x10], esi
mov dword [esp + 0x24], str.snapshot
mov dword [esp + 0xc], 0
mov dword [esp + 8], str.SequenceManager
mov dword [esp + 4], 0x590c78
mov dword [esp], 0x4f
call fcn.0048a250
add esp, 0x2c
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x70], 0
test ecx, ecx
je 0x489f3f
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x489f3f
mov ecx, dword [ebx + 0x1c]
call fcn.004bd0a0
mov ecx, dword [esi + 0xc68]
cmp byte [ecx + 0x10], al
jb 0x48a1c0
lea edi, [esi + 0xc30]
lea eax, [esp + 0x28]
mov ecx, esi
push dword [ebx + 0x1c]
push eax
call fcn.0048a4a0
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x24], eax
mov ecx, ebx
lea ebx, [esp + 0x70]
push ebx
call fcn.004c0480
lea eax, [esp + 0x24]
mov ecx, edi
lea edx, [esp + 0x28]
push edx
push eax
push ebx
call fcn.0048a390
mov ecx, ebx
call fcn.004bfd50
mov ecx, dword [esi + 0xc40]
add ecx, dword [esi + 0xc44]
mov eax, ecx
shr eax, 2
mov edx, 0x24924925
mul edx
mov eax, dword [esi + 0xc34]
lea edi, [edx + edx*8]
lea edi, [edi + edi*2]
add edi, edx
sub ecx, edi
mov ebx, dword [eax + edx*4]
lea ecx, [ecx + ecx*8]
shl ecx, 4
add ecx, ebx
xor edi, edi
cmp dword [esi + 0xc38], eax
cmovne edi, ecx
cmp ebx, edi
jne 0x48a0f5
mov edi, 0xfc0
add edi, dword [eax + edx*4 - 4]
add edi, 0xffffff70
mov ecx, esi
lea eax, [esp + 0x50]
push eax
push edi
call fcn.0048a680
test byte [esp + 0xb], 0x19
mov ecx, dword [esp + 0x18]
je 0x48a14d
cmp byte [ecx], 0
je 0x48a14d
mov eax, dword [esp + 0x10]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x74], eax
sub esp, 0x10
movq xmm0, qword [esp + 0x80]
movq qword [esp + 8], xmm0
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00449700
add esp, 0x10
mov ecx, dword [esp + 0xd8]
xor ecx, ebp
call fcn.0050f421
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
sub esp, 0x24
pxor xmm0, xmm0
movdqu xmmword [esp + 0xc], xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 8], str.SequenceManagerImpl::SelectNextTask
mov dword [esp + 4], 0x590c6c
mov dword [esp], 0x58
mov dword [esp + 0x38], str.SequenceManagerImpl::SelectNextTask
mov dword [esp + 0x3c], 0x590c6c
call fcn.00407790
add esp, 0x24
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
jmp 0x489ea3
movaps xmm0, xmmword [0x53bf20]
movups xmmword [esp + 0x70], xmm0
test byte [0x590c6c], 0x19
jne 0x48a1e3
lea ecx, [esp + 0x70]
call fcn.0046b37c
jmp 0x48a108
sub esp, 0x24
xorps xmm0, xmm0
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 8], str.SequenceManager.YieldToNative
mov dword [esp + 4], 0x590c6c
mov dword [esp], 0x58
call fcn.00407790
add esp, 0x24
mov dword [esp + 0x70], 0x590c6c
mov dword [esp + 0x74], str.SequenceManager.YieldToNative
mov dword [esp + 0x7c], edx
mov dword [esp + 0x78], eax
jmp 0x48a1d5