Function at 0x499fd0
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 0x49a2b4
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.004cfec0
mov dword [esp], edi
mov ecx, ebx
call fcn.004daaf0
sub esp, 4
mov edi, dword [esi + 0xc]
lea ecx, [edi + 4]
call fcn.005099e0
mov eax, dword [edi + 0x10]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x5fc3d8]
bt edx, ecx
jb 0x49a29a
mov dword [edi + 0x10], 0
lea ecx, [esp + 0x6c]
call fcn.004dab60
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 0x49a31c
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 0x49a32a
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 0x49a105
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.004cf960
sub esp, 4
mov ecx, ebx
call fcn.004cfa00
mov dword [esp + 0x58], edi
lea ecx, [esi + 0x10c]
mov dword [esp], ebx
call fcn.004cf960
sub esp, 4
mov ecx, ebx
call fcn.004cfa00
mov eax, dword [esi + 0x70]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x5fc3d8]
bt edx, ecx
jb 0x49a2a7
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 + 0x5fc3d8]
bt edx, ecx
jb 0x49a388
xor eax, eax
mov dword [esi + 0x74], eax
lea ecx, [esi + 0x168]
call fcn.004ff7e0
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 0x49a1d3
mov ecx, edi
call fcn.004e4540
mov dword [esp], edi
call fcn.0050d60e
test ebx, ebx
je 0x49a1e6
mov ecx, ebx
call fcn.004e4540
mov dword [esp], ebx
call fcn.0050d60e
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
sub ecx, esi
mov ebx, dword [esp + 0x54]
jne 0x49a253
test esi, esi
jne 0x49a249
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x49a395
test ebx, ebx
jne 0x49a228
test byte [esp + 0x37], 0x19
jne 0x49a3c9
mov ecx, dword [esp + 0x70]
xor ecx, ebp
call fcn.0050dc12
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.0047c590
mov dword [esp], ebx
call fcn.0050d60e
mov ebx, esi
test esi, esi
je 0x49a20a
jmp 0x49a228
mov dword [esp], esi
call fcn.0050d60e
jmp 0x49a1fa
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.004f7f90
add esi, 0x70
dec edi
jne 0x49a271
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
add edi, 0xffffff90
mov ecx, edi
call fcn.004f7de0
cmp edi, esi
je 0x49a1f6
jmp 0x49a286
mov dword [esp], eax
call fcn.004d11c0
jmp 0x49a071
mov dword [esp], eax
call fcn.004d11c0
jmp 0x49a160
lea edi, [esp + 0x58]
mov dword [esp], edi
call fcn.004e0380
call fcn.004dfb40
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.004e1330
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x50], str.TaskQueueImpl::UnregisterTaskQueue
mov dword [esp + 0x44], 0x5f4c18
jmp 0x49a011
mov ecx, dword [esp + 0x3c]
call fcn.004dfaf0
jmp 0x49a09c
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 + 0x5fc3d8]
bt edx, ecx
jae 0x49a359
mov dword [esp], eax
call fcn.004d11c0
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 0x49a32e
mov eax, dword [esi + 0x38]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x30], eax
jmp 0x49a0cf
mov dword [esp], eax
call fcn.004d11c0
jmp 0x49a184
cmp dword [esp + 0x30], eax
je 0x49a3b4
mov esi, dword [esp + 0x30]
add esi, 0xfffffff8
mov dword [esp], esi
call fcn.0057ae00
mov dword [esp + 0x30], esi
cmp esi, dword [esp + 0x38]
jne 0x49a39b
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.0050d60e
mov ebx, dword [esp + 0x54]
jmp 0x49a206
mov eax, dword [esp + 0x44]
cmp byte [eax], 0
je 0x49a215
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.004e1e80
jmp 0x49a215