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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xa0
mov dword [esp + 0x4c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [0x100db010]
xor eax, ebp
mov dword [esp + 0x98], eax
mov bl, byte [0x100dab24]
test bl, 0x19
jne 0x1005f9e8
xor esi, esi
mov eax, dword [edx + 0x58]
cmp byte [eax + 0x11d], 0
je 0x1005f99a
mov dword [esp + 0x48], esi
mov byte [esp + 0x33], bl
mov bl, byte [0x100dab24]
test bl, 0x19
jne 0x1005fa54
xor edi, edi
mov eax, dword [ebp + 0xc]
lea esi, [edx + 0x60]
cmp byte [edx + 0x64], 0
je 0x1005f3c3
mov ecx, dword [edx + 0x58]
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], edx
call fcn.10076cf0
sub esp, 0xc
mov edx, dword [ebp + 8]
test bl, 0x19
je 0x1005f3fc
cmp byte [edi], 0
je 0x1005f3fc
mov eax, dword [esp + 0x34]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x74], eax
movsd xmm0, qword [esp + 0x70]
movsd qword [esp + 8], xmm0
mov dword [esp], edi
mov dword [esp + 4], str.SequenceManager.QueueOnTaskCompleted
call fcn.1004bb40
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 0x58]
call fcn.10076d20
test al, al
mov ebx, dword [esp + 0x4c]
je 0x1005f424
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov ecx, esi
call fcn.1007b690
sub esp, 4
mov al, 1
mov dword [esp + 0x38], eax
jmp 0x1005f436
cmp dword [ebx + 0x58], 0
je 0x1005f505
mov dword [esp + 0x38], 0
mov eax, dword [ebp + 8]
cmp byte [eax + 0x64], 0
je 0x1005f6be
cmp dword [ebx + 0x58], 0
jne 0x1005f6be
mov al, byte [0x100dab24]
mov byte [esp + 0x34], al
test al, 0x19
jne 0x1005fb93
xor edx, edx
mov eax, dword [ebx + 0xbc8]
cmp eax, dword [ebx + 0xbcc]
mov dword [esp + 0x3c], edx
je 0x1005f51c
lea eax, [ebx + 0xbc8]
mov dword [esp + 0x78], eax
lea eax, [ebx + 0xbd4]
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0xbd4]
mov dword [esp + 0x70], eax
lea ecx, [esp + 0x70]
mov dword [eax + 4], ecx
mov dword [ebx + 0xbd4], ecx
mov dword [esp + 0x7c], 0
mov eax, dword [ebx + 0xbc8]
mov ecx, dword [ebx + 0xbcc]
sub ecx, eax
sar ecx, 2
xor esi, esi
cmp dword [ebx + 0xbdc], 1
mov ebx, 0
sbb ebx, ebx
or ebx, ecx
mov dword [esp + 0x80], ebx
cmp ecx, ebx
cmovae ecx, ebx
test ecx, ecx
je 0x1005f533
cmp dword [eax], 0
jne 0x1005f533
mov edx, 1
nop word cs:[eax + eax]
mov esi, edx
mov dword [esp + 0x7c], edx
cmp ecx, edx
je 0x1005f533
lea edx, [esi + 1]
cmp dword [eax + esi*4], 0
je 0x1005f4f0
jmp 0x1005f533
mov eax, dword [ebx + 0xbc8]
cmp eax, dword [ebx + 0xbcc]
jne 0x1005f40c
jmp 0x1005f42e
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
mov dword [esp + 0x80], 0
xor ebx, ebx
xor esi, esi
mov edx, dword [esp + 0x78]
test edx, edx
je 0x1005f67e
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov edi, eax
sub edi, ecx
sar edi, 2
cmp edi, ebx
cmovae edi, ebx
jmp 0x1005f57c
mov esi, dword [esp + 0x80]
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov edi, eax
sub edi, ecx
sar edi, 2
cmp edi, esi
cmovae edi, esi
mov esi, dword [esp + 0x7c]
cmp esi, edi
je 0x1005f5fc
mov ecx, dword [ecx + esi*4]
mov eax, dword [ebp + 8]
movups xmm0, xmmword [eax + 0x68]
mov eax, dword [ecx]
movups xmmword [esp], xmm0
call dword [eax + 8]
sub esp, 0x10
mov edx, dword [esp + 0x78]
test edx, edx
je 0x1005f67e
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x80]
lea ebx, [eax + 1]
mov dword [esp + 0x7c], ebx
mov esi, dword [edx]
mov ecx, dword [edx + 4]
sub ecx, esi
sar ecx, 2
cmp ecx, edi
cmovae ecx, edi
cmp ebx, ecx
jae 0x1005f560
cmp dword [esi + eax*4 + 4], 0
jne 0x1005f560
add eax, 2
nop word cs:[eax + eax]
nop dword [eax + eax]
mov dword [esp + 0x7c], eax
cmp ecx, eax
je 0x1005f560
mov esi, dword [edx]
cmp dword [esi + eax*4], 0
lea eax, [eax + 1]
je 0x1005f5e0
jmp 0x1005f560
lea edi, [edx + 4]
mov esi, dword [edx + 0x10]
cmp esi, dword [edx + 0xc]
jne 0x1005f64e
cmp ecx, eax
je 0x1005f620
nop dword [eax + eax]
cmp dword [ecx], 0
je 0x1005f620
add ecx, 4
cmp eax, ecx
jne 0x1005f610
mov edx, eax
jmp 0x1005f648
cmp ecx, eax
je 0x1005f62b
lea edx, [ecx + 4]
cmp edx, eax
jne 0x1005f637
mov edx, eax
jmp 0x1005f646
add edx, 4
cmp eax, edx
je 0x1005f644
mov esi, dword [edx]
test esi, esi
je 0x1005f630
mov dword [ecx], esi
add ecx, 4
jmp 0x1005f630
mov edx, dword [edi]
mov eax, ecx
cmp edx, eax
je 0x1005f64e
mov dword [edi], eax
cmp dword [esp + 0x78], 0
je 0x1005f67e
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [ecx], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
test byte [esp + 0x34], 0x19
mov eax, dword [esp + 0x3c]
je 0x1005f6ba
cmp byte [eax], 0
je 0x1005f6ba
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x74], ecx
movsd xmm0, qword [esp + 0x70]
movsd qword [esp + 8], xmm0
mov dword [esp], eax
mov dword [esp + 4], str.SequenceManager.DidProcessTaskTimeObservers
call fcn.1004bb40
mov ebx, dword [esp + 0x4c]
mov al, byte [0x100dab24]
mov byte [esp + 0x34], al
test al, 0x19
jne 0x1005fac0
mov dword [esp + 0x3c], 0
mov eax, dword [ebx + 0xbb0]
cmp eax, dword [ebx + 0xbb4]
je 0x1005f775
lea eax, [ebx + 0xbb0]
mov dword [esp + 0x78], eax
lea eax, [ebx + 0xbbc]
mov dword [esp + 0x74], eax
mov eax, dword [ebx + 0xbbc]
mov dword [esp + 0x70], eax
lea ecx, [esp + 0x70]
mov dword [eax + 4], ecx
mov dword [ebx + 0xbbc], ecx
mov dword [esp + 0x7c], 0
mov eax, dword [ebx + 0xbb0]
mov ecx, dword [ebx + 0xbb4]
sub ecx, eax
sar ecx, 2
xor esi, esi
cmp dword [ebx + 0xbc4], 1
mov ebx, 0
sbb ebx, ebx
or ebx, ecx
mov dword [esp + 0x80], ebx
cmp ecx, ebx
cmovae ecx, ebx
test ecx, ecx
je 0x1005f78c
cmp dword [eax], 0
jne 0x1005f78c
mov edx, 1
nop dword [eax]
mov esi, edx
mov dword [esp + 0x7c], edx
cmp ecx, edx
je 0x1005f78c
lea edx, [esi + 1]
cmp dword [eax + esi*4], 0
je 0x1005f760
jmp 0x1005f78c
xorps xmm0, xmm0
movaps xmmword [esp + 0x70], xmm0
mov dword [esp + 0x80], 0
xor ebx, ebx
xor esi, esi
mov edx, dword [esp + 0x78]
test edx, edx
je 0x1005f8be
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov edi, eax
sub edi, ecx
sar edi, 2
cmp edi, ebx
cmovae edi, ebx
jmp 0x1005f7cc
mov esi, dword [esp + 0x80]
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov edi, eax
sub edi, ecx
sar edi, 2
cmp edi, esi
cmovae edi, esi
mov esi, dword [esp + 0x7c]
cmp esi, edi
je 0x1005f838
mov ecx, dword [ecx + esi*4]
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
mov dword [esp], edx
call dword [eax + 4]
sub esp, 4
mov edx, dword [esp + 0x78]
test edx, edx
je 0x1005f8be
mov eax, dword [esp + 0x7c]
mov edi, dword [esp + 0x80]
lea ebx, [eax + 1]
mov dword [esp + 0x7c], ebx
mov esi, dword [edx]
mov ecx, dword [edx + 4]
sub ecx, esi
sar ecx, 2
cmp ecx, edi
cmovae ecx, edi
cmp ebx, ecx
jae 0x1005f7b0
cmp dword [esi + eax*4 + 4], 0
jne 0x1005f7b0
add eax, 2
nop dword [eax]
mov dword [esp + 0x7c], eax
cmp ecx, eax
je 0x1005f7b0
mov esi, dword [edx]
cmp dword [esi + eax*4], 0
lea eax, [eax + 1]
je 0x1005f820
jmp 0x1005f7b0
lea edi, [edx + 4]
mov esi, dword [edx + 0x10]
cmp esi, dword [edx + 0xc]
jne 0x1005f88e
cmp ecx, eax
je 0x1005f860
nop word [eax + eax]
cmp dword [ecx], 0
je 0x1005f860
add ecx, 4
cmp eax, ecx
jne 0x1005f850
mov edx, eax
jmp 0x1005f888
cmp ecx, eax
je 0x1005f86b
lea edx, [ecx + 4]
cmp edx, eax
jne 0x1005f877
mov edx, eax
jmp 0x1005f886
add edx, 4
cmp eax, edx
je 0x1005f884
mov esi, dword [edx]
test esi, esi
je 0x1005f870
mov dword [ecx], esi
add ecx, 4
jmp 0x1005f870
mov edx, dword [edi]
mov eax, ecx
cmp edx, eax
je 0x1005f88e
mov dword [edi], eax
cmp dword [esp + 0x78], 0
je 0x1005f8be
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [ecx], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
test byte [esp + 0x34], 0x19
mov eax, dword [esp + 0x3c]
je 0x1005f8fa
cmp byte [eax], 0
je 0x1005f8fa
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x74], ecx
movsd xmm0, qword [esp + 0x70]
movsd qword [esp + 8], xmm0
mov dword [esp], eax
mov dword [esp + 4], str.SequenceManager.DidProcessTaskObservers
call fcn.1004bb40
mov bl, byte [0x100dab24]
test bl, 0x19
jne 0x1005fb2c
xor edi, edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x58]
mov dword [esp], eax
call fcn.10076130
sub esp, 4
test bl, 0x19
je 0x1005f94e
cmp byte [edi], 0
je 0x1005f94e
mov eax, dword [esp + 0x34]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], esi
movsd xmm0, qword [esp + 0x70]
movsd qword [esp + 8], xmm0
mov dword [esp], edi
mov dword [esp + 4], str.SequenceManager.QueueNotifyDidProcessTask
call fcn.1004bb40
mov edx, dword [ebp + 8]
cmp byte [edx + 0x64], 0
sete al
mov ecx, dword [esp + 0x38]
xor cl, 1
or cl, al
mov bl, byte [esp + 0x33]
mov esi, dword [esp + 0x48]
jne 0x1005f99a
mov eax, dword [edx + 0x70]
sub eax, dword [edx + 0x68]
mov ecx, dword [edx + 0x74]
sbb ecx, dword [edx + 0x6c]
cmp eax, 0xc351
mov edx, ecx
sbb edx, 0
jl 0x1005f99a
mov edx, dword [esp + 0x4c]
cmp dword [edx + 0x58], 0
jne 0x1005f99a
test byte [0x100da26c], 0x19
jne 0x1005fbfc
test bl, 0x19
mov eax, dword [esp + 0x5c]
je 0x1005f9d0
cmp byte [esi], 0
je 0x1005f9d0
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x74], eax
movsd xmm0, qword [esp + 0x70]
movsd qword [esp + 8], xmm0
mov dword [esp], esi
mov dword [esp + 4], str.SequenceManagerImpl::NotifyDidProcessTaskObservers
call fcn.1004bb40
mov ecx, dword [esp + 0x98]
xor ecx, ebp
call fcn.10099c81
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
call fcn.10044900
mov esi, eax
lea edi, [esp + 0x70]
mov dword [esp], edi
call fcn.10045ca0
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
xorps xmm0, xmm0
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 8], str.SequenceManagerImpl::NotifyDidProcessTaskObservers
mov dword [esp + 4], 0x100dab24
mov dword [esp], 0x58
call fcn.1004ba10
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], edx
mov edx, dword [ebp + 8]
mov esi, 0x100dab24
jmp 0x1005f375
call fcn.10044900
mov esi, eax
lea edi, [esp + 0x70]
mov dword [esp], edi
call fcn.10045ca0
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
xorps xmm0, xmm0
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 8], str.SequenceManager.QueueOnTaskCompleted
mov dword [esp + 4], 0x100dab24
mov dword [esp], 0x58
call fcn.1004ba10
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edx
mov edx, dword [ebp + 8]
mov edi, 0x100dab24
jmp 0x1005f39e
call fcn.10044900
mov esi, eax
lea edi, [esp + 0x70]
mov dword [esp], edi
call fcn.10045ca0
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
xorps xmm0, xmm0
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 8], str.SequenceManager.DidProcessTaskObservers
mov dword [esp + 4], 0x100dab24
mov dword [esp], 0x58
call fcn.1004ba10
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], 0x100dab24
jmp 0x1005f6d7
call fcn.10044900
mov esi, eax
lea edi, [esp + 0x70]
mov dword [esp], edi
call fcn.10045ca0
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
xorps xmm0, xmm0
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 8], str.SequenceManager.QueueNotifyDidProcessTask
mov dword [esp + 4], 0x100dab24
mov dword [esp], 0x58
call fcn.1004ba10
mov dword [esp + 0x34], eax
mov esi, edx
mov edi, 0x100dab24
jmp 0x1005f90b
call fcn.10044900
mov esi, eax
lea edi, [esp + 0x70]
mov dword [esp], edi
call fcn.10045ca0
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
xorps xmm0, xmm0
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 8], str.SequenceManager.DidProcessTaskTimeObservers
mov dword [esp + 4], 0x100dab24
mov dword [esp], 0x58
call fcn.1004ba10
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], edx
mov edx, 0x100dab24
jmp 0x1005f460
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
lea ecx, [esp + 0x60]
call fcn.10042560
fstp xword [esp + 0x4c]
call fcn.10044900
mov esi, eax
lea edi, [esp + 0x68]
mov dword [esp], edi
call fcn.10045ca0
mov word [esp + 0x70], 0x401
mov dword [esp + 0x74], str.duration
fld xword [esp + 0x4c]
fstp qword [esp + 0x80]
lea eax, [esp + 0x70]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
xorps xmm0, xmm0
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x2c], 8
mov dword [esp + 0x1c], 0
mov dword [esp + 8], str.LongTask
mov dword [esp + 4], 0x100da26c
mov dword [esp], 0x49
call fcn.1004ba10
mov al, byte [esp + 0x70]
test al, al
je 0x1005fcbf
xor esi, esi
jmp 0x1005fc98
add esi, 1
movzx ecx, al
cmp esi, ecx
jae 0x1005fcbf
cmp byte [esp + esi + 0x71], 8
jne 0x1005fc8e
mov ecx, dword [esp + esi*8 + 0x80]
test ecx, ecx
je 0x1005fc8e
mov eax, dword [ecx]
mov dword [esp], 1
call dword [eax]
sub esp, 4
movzx eax, byte [esp + 0x70]
jmp 0x1005fc8e
mov bl, byte [esp + 0x33]
mov esi, dword [esp + 0x48]
jmp 0x1005f99a