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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x78
mov esi, ecx
mov eax, dword [0x5f3024]
xor eax, ebp
mov dword [esp + 0x70], eax
mov al, byte [0x5f4c18]
mov byte [esp + 0x37], al
test al, 0x19
jne 0x49a1d4
xor eax, eax
dec eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], eax
lea ebx, [esp + 0x6c]
mov byte [ebx], 0xff
lea edi, [esp + 0x58]
mov dword [esp], edi
mov dword [esp + 0xc], 0x12d
mov dword [esp + 8], str....._base_task_sequence_manager_task_queue_impl.cc
mov dword [esp + 4], str.UnregisterTaskQueue
call fcn.004cfde0
mov dword [esp], edi
mov ecx, ebx
call fcn.004daa10
sub esp, 4
mov edi, dword [esi + 0xc]
lea ecx, [edi + 4]
call fcn.00509900
mov eax, dword [edi + 0x10]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x5fc3c8]
bt edx, ecx
jb 0x49a1ba
mov dword [edi + 0x10], 0
lea ecx, [esp + 0x6c]
call fcn.004daa80
lea eax, [esi + 0x10]
mov dword [esp + 0x3c], eax
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
sub esp, 4
test al, al
je 0x49a23c
mov byte [esi + 0x32], 1
mov eax, dword [esi + 0x18]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x38]
lea edi, [esi + 0x38]
xor ebx, ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x28], ebx
xorps xmm0, xmm0
movups xmmword [esi + 0x18], xmm0
mov ecx, dword [esi + 0x3c]
cmp eax, ecx
mov dword [esp + 0x30], eax
jne 0x49a24a
mov dword [esp + 0x38], eax
mov dword [edi + 4], ebx
mov dword [edi], ebx
mov dword [edi + 8], ebx
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
sub esp, 4
mov ebx, dword [esi + 0x70]
test ebx, ebx
je 0x49a025
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [section..00cfg]
mov dword [esp], esi
mov ecx, ebx
call edi
sub esp, 4
xor edi, edi
mov dword [esp + 0x58], edi
lea ecx, [esi + 0x108]
lea ebx, [esp + 0x58]
mov dword [esp], ebx
call fcn.004cf880
sub esp, 4
mov ecx, ebx
call fcn.004cf920
mov dword [esp + 0x58], edi
lea ecx, [esi + 0x10c]
mov dword [esp], ebx
call fcn.004cf880
sub esp, 4
mov ecx, ebx
call fcn.004cf920
mov eax, dword [esi + 0x70]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x5fc3c8]
bt edx, ecx
jb 0x49a1c7
mov dword [esi + 0x70], 0
mov eax, dword [esi + 0x74]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x5fc3c8]
bt edx, ecx
jb 0x49a2a8
xor eax, eax
mov dword [esi + 0x74], eax
lea ecx, [esi + 0x168]
call fcn.004ff700
mov eax, dword [esi + 0x84]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0x88]
mov dword [esp + 0x40], eax
xorps xmm0, xmm0
movups xmmword [esi + 0x84], xmm0
mov edi, dword [esi + 0x78]
mov ebx, dword [esi + 0x7c]
xor eax, eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x78], eax
test edi, edi
je 0x49a0f3
mov ecx, edi
call fcn.004e4460
mov dword [esp], edi
call fcn.0050d52e
test ebx, ebx
je 0x49a106
mov ecx, ebx
call fcn.004e4460
mov dword [esp], ebx
call fcn.0050d52e
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
sub ecx, esi
mov ebx, dword [esp + 0x54]
jne 0x49a173
test esi, esi
jne 0x49a169
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x49a2b5
test ebx, ebx
jne 0x49a148
test byte [esp + 0x37], 0x19
jne 0x49a2e9
mov ecx, dword [esp + 0x70]
xor ecx, ebp
call fcn.0050db32
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [ebx + 0x10]
mov dword [ebx + 0x10], 0
mov ecx, ebx
call fcn.0047c410
mov dword [esp], ebx
call fcn.0050d52e
mov ebx, esi
test esi, esi
je 0x49a12a
jmp 0x49a148
mov dword [esp], esi
call fcn.0050d52e
jmp 0x49a11a
mov edx, 0x92492493
mov eax, ecx
imul edx
add edx, ecx
mov eax, edx
shr eax, 0x1f
sar edx, 6
add edx, eax
xor edi, edi
inc edi
cmp edx, 2
cmovae edi, edx
mov ecx, esi
call fcn.004f7eb0
add esi, 0x70
dec edi
jne 0x49a191
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
add edi, 0xffffff90
mov ecx, edi
call fcn.004f7d00
cmp edi, esi
je 0x49a116
jmp 0x49a1a6
mov dword [esp], eax
call fcn.004d10e0
jmp 0x499f91
mov dword [esp], eax
call fcn.004d10e0
jmp 0x49a080
lea edi, [esp + 0x58]
mov dword [esp], edi
call fcn.004e02a0
call fcn.004dfa60
xor ecx, ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
xorps xmm0, xmm0
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 8], str.TaskQueueImpl::UnregisterTaskQueue
mov dword [esp + 4], 0x5f4c18
mov dword [esp], 0x58
call fcn.004e1250
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x50], str.TaskQueueImpl::UnregisterTaskQueue
mov dword [esp + 0x44], 0x5f4c18
jmp 0x499f31
mov ecx, dword [esp + 0x3c]
call fcn.004dfa10
jmp 0x499fbc
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
mov eax, dword [eax + 4]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x5fc3c8]
bt edx, ecx
jae 0x49a279
mov dword [esp], eax
call fcn.004d10e0
mov eax, dword [esp + 0x38]
mov dword [eax + 4], 0
mov eax, dword [esp + 0x30]
add eax, 8
mov dword [esp + 0x30], eax
cmp eax, dword [esp + 0x40]
jne 0x49a24e
mov eax, dword [esi + 0x38]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x30], eax
jmp 0x499fef
mov dword [esp], eax
call fcn.004d10e0
jmp 0x49a0a4
cmp dword [esp + 0x30], eax
je 0x49a2d4
mov esi, dword [esp + 0x30]
add esi, 0xfffffff8
mov dword [esp], esi
call fcn.0057ad20
mov dword [esp + 0x30], esi
cmp esi, dword [esp + 0x38]
jne 0x49a2bb
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.0050d52e
mov ebx, dword [esp + 0x54]
jmp 0x49a126
mov eax, dword [esp + 0x44]
cmp byte [eax], 0
je 0x49a135
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x5c], eax
movsd xmm0, qword [esp + 0x58]
movsd qword [esp + 8], xmm0
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.004e1da0
jmp 0x49a135