Function at 0x10054240
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 [0x10146014]
xor eax, ebp
mov dword [esp + 0x70], eax
mov al, byte [0x10147d9c]
mov byte [esp + 0x37], al
test al, 0x19
jne 0x10054524
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.1007bff0
mov dword [esp], edi
mov ecx, ebx
call fcn.10080cb0
sub esp, 4
mov edi, dword [esi + 0xc]
lea ecx, [edi + 4]
call fcn.100b8e00
mov eax, dword [edi + 0x10]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x1014e7e8]
bt edx, ecx
jb 0x1005450a
mov dword [edi + 0x10], 0
lea ecx, [esp + 0x6c]
call fcn.10080d20
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 0x1005458c
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 0x1005459a
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 0x10054375
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.1007bda0
sub esp, 4
mov ecx, ebx
call fcn.1007be40
mov dword [esp + 0x58], edi
lea ecx, [esi + 0x10c]
mov dword [esp], ebx
call fcn.1007bda0
sub esp, 4
mov ecx, ebx
call fcn.1007be40
mov eax, dword [esi + 0x70]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x1014e7e8]
bt edx, ecx
jb 0x10054517
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 + 0x1014e7e8]
bt edx, ecx
jb 0x100545f8
xor eax, eax
mov dword [esi + 0x74], eax
lea ecx, [esi + 0x168]
call fcn.100b2c90
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 0x10054443
mov ecx, edi
call fcn.100977b0
mov dword [esp], edi
call fcn.100c1c31
test ebx, ebx
je 0x10054456
mov ecx, ebx
call fcn.100977b0
mov dword [esp], ebx
call fcn.100c1c31
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x3c]
sub ecx, esi
mov ebx, dword [esp + 0x54]
jne 0x100544c3
test esi, esi
jne 0x100544b9
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x10054605
test ebx, ebx
jne 0x10054498
test byte [esp + 0x37], 0x19
jne 0x10054639
mov ecx, dword [esp + 0x70]
xor ecx, ebp
call fcn.100c2603
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.100443c0
mov dword [esp], ebx
call fcn.100c1c31
mov ebx, esi
test esi, esi
je 0x1005447a
jmp 0x10054498
mov dword [esp], esi
call fcn.100c1c31
jmp 0x1005446a
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.100a9960
add esi, 0x70
dec edi
jne 0x100544e1
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
add edi, 0xffffff90
mov ecx, edi
call fcn.100a97b0
cmp edi, esi
je 0x10054466
jmp 0x100544f6
mov dword [esp], eax
call fcn.1007e340
jmp 0x100542e1
mov dword [esp], eax
call fcn.1007e340
jmp 0x100543d0
lea edi, [esp + 0x58]
mov dword [esp], edi
call fcn.10084990
call fcn.100843e0
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], 0x10147d9c
mov dword [esp], 0x58
call fcn.100859c0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x50], str.TaskQueueImpl::UnregisterTaskQueue
mov dword [esp + 0x44], 0x10147d9c
jmp 0x10054281
mov ecx, dword [esp + 0x3c]
call fcn.10084100
jmp 0x1005430c
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 + 0x1014e7e8]
bt edx, ecx
jae 0x100545c9
mov dword [esp], eax
call fcn.1007e340
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 0x1005459e
mov eax, dword [esi + 0x38]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x30], eax
jmp 0x1005433f
mov dword [esp], eax
call fcn.1007e340
jmp 0x100543f4
cmp dword [esp + 0x30], eax
je 0x10054624
mov esi, dword [esp + 0x30]
add esi, 0xfffffff8
mov dword [esp], esi
call fcn.1011bdf0
mov dword [esp + 0x30], esi
cmp esi, dword [esp + 0x38]
jne 0x1005460b
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.100c1c31
mov ebx, dword [esp + 0x54]
jmp 0x10054476
mov eax, dword [esp + 0x44]
cmp byte [eax], 0
je 0x10054485
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.10086510
jmp 0x10054485