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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44731e
mov eax, dword fs:[0]
push eax
sub esp, 0x5f8
push ebx
push esi
push edi
mov eax, dword [0x458008]
xor eax, esp
push eax
lea eax, [esp + 0x608]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
xor edx, edx
lea ebx, [edi + 4]
mov dword [esp + 0x10], edx
push ebx
mov dword [esp + 0x60], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [esp + 0x610], 0
cmp dword [0x45b934], 1
jne 0x41c125
cmp dword [0x45b940], 3
jg 0x41c125
cmp byte [edi + 0x50], 0
jne 0x41c125
push 3
push 0x2c4
push str.threading_sequenced_worker_pool.cc
lea ecx, [esp + 0x400]
call fcn.0040c820
mov edx, 1
mov byte [esp + 0x610], 1
mov dword [esp + 0x10], edx
lea ecx, [eax + 8]
mov edx, str.Check_failed:_thread_being_created_.
call fcn.00406de0
mov dword [esp + 0x610], 0
mov eax, dword [esp + 0x10]
test al, 1
je 0x41c14b
and eax, 0xfffffffe
lea ecx, [esp + 0x3f4]
mov dword [esp + 0x10], eax
call fcn.0040ca70
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x38]
mov byte [edi + 0x50], 0
mov eax, dword [edx + 0x44]
mov dword [esp + 0x6c], eax
call fcn.0041da40
push eax
lea edx, [esp + 0x70]
mov byte [esp + 0x614], 2
lea ecx, [esp + 0x74]
call fcn.0041da50
add esp, 4
push eax
lea ecx, [edi + 0x48]
mov byte [esp + 0x614], 3
call fcn.0041ddc0
push eax
add eax, 0x10
push eax
push ecx
lea eax, [esp + 0xf0]
push eax
lea ecx, [edi + 0x48]
call fcn.0041de60
mov byte [esp + 0x610], 2
lea eax, [esp + 0x78]
mov ecx, dword [esp + 0x78]
cmp ecx, eax
je 0x41c1ce
lea edx, [esp + 0x78]
mov eax, ecx
cmp dword [ecx], edx
je 0x41c1ca
mov eax, dword [eax]
lea edx, [esp + 0x78]
cmp dword [eax], edx
jne 0x41c1c0
mov dword [eax], ecx
jmp 0x41c1dd
mov ecx, dword [esp + 0x74]
test ecx, ecx
je 0x41c1dd
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov byte [esp + 0x610], 0
lea eax, [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
je 0x41c20e
lea edx, [esp + 0x3c]
mov eax, ecx
cmp dword [ecx], edx
je 0x41c20a
jmp 0x41c200
mov eax, dword [eax]
lea edx, [esp + 0x3c]
cmp dword [eax], edx
jne 0x41c200
mov dword [eax], ecx
jmp 0x41c21d
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x41c21d
mov eax, dword [ecx]
push 1
call dword [eax + 4]
cmp dword [0x45b934], 1
jne 0x41c271
cmp dword [0x45b940], 3
jg 0x41c271
cmp byte [esp + 0xe8], 0
jne 0x41c271
push 3
push 0x2c9
push str.threading_sequenced_worker_pool.cc
lea ecx, [esp + 0x350]
call fcn.0040c820
mov byte [esp + 0x610], 4
lea ecx, [eax + 8]
mov edx, dword [esp + 0x10]
or edx, 2
mov dword [esp + 0x10], edx
mov edx, str.Check_failed:_result.second.
call fcn.00406de0
mov dword [esp + 0x610], 0
mov eax, dword [esp + 0x10]
test al, 2
je 0x41c297
and eax, 0xfffffffd
lea ecx, [esp + 0x344]
mov dword [esp + 0x10], eax
call fcn.0040ca70
lea eax, [esp + 0xb8]
mov dword [esp + 0xf8], eax
mov ecx, edi
call fcn.0041cc50
xorps xmm0, xmm0
mov dword [esp + 0x7c], 0
movlpd qword [esp + 0x84], xmm0
movlpd qword [esp + 0x8c], xmm0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
movlpd qword [esp + 0x9c], xmm0
mov dword [esp + 0xa4], 2
mov dword [esp + 0xa8], str.Unknown
mov dword [esp + 0xac], str.Unknown
mov dword [esp + 0xb0], 0xffffffff
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0x610], 5
mov eax, dword [esp + 0x10]
mov dword [esp + 0xbc], 0
test al, 0x20
je 0x41c35b
and eax, 0xffffffdf
lea ecx, [esp + 0x4a4]
mov dword [esp + 0x10], eax
call fcn.0040ca70
xorps xmm0, xmm0
movlpd qword [esp + 0xc4], xmm0
movlpd qword [esp + 0xdc], xmm0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
lea eax, [esp + 0x1c]
mov byte [esp + 0x610], 0xa
push eax
lea eax, [esp + 0xe0]
mov ecx, edi
push eax
lea eax, [esp + 0x84]
push eax
call fcn.0041ced0
test eax, eax
jne 0x41c90f
mov eax, dword [0x45cc48]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x41c3d4
mov ecx, str.task
call fcn.004211c0
mov dword [esp + 0x14], eax
mov dword [0x45cc48], eax
cmp byte [eax], 0
je 0x41c45d
mov eax, dword [esp + 0x98]
xor ecx, ecx
cdq
mov edi, eax
mov eax, dword [esp + 0x18]
cdq
or ecx, eax
or edi, edx
mov dword [esp + 0x28], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call fcn.004130f0
lea ecx, [esp + 0x12c]
push ecx
mov ecx, eax
call fcn.00412e50
push 6
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push ecx
push 0
push 0
push 0
push 0
mov dword [esp + 0xe8], eax
lea eax, [esp + 0xe4]
push eax
push esi
push edi
push dword [esp + 0x4c]
mov dword [esp + 0xf4], ecx
push str.SequencedWorkerPool::PostTask
push dword [esp + 0x40]
push 0x66
push ecx
call fcn.00422f70
add esp, 4
mov ecx, eax
call fcn.004217b0
mov edi, dword [esp + 0x18]
mov esi, dword [0x45cc44]
test esi, esi
jne 0x41c479
mov ecx, str.task
call fcn.004211c0
mov esi, eax
mov dword [0x45cc44], esi
mov dword [esp + 0x40], 0
mov byte [esp + 0x610], 0xb
cmp byte [esi], 0
je 0x41c4d0
mov eax, dword [esp + 0xa8]
mov edx, esi
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x58]
push eax
push ecx
lea eax, [esp + 0x68]
push eax
sub esp, 0x14
call fcn.0041da80
lea eax, [esp + 0x64]
mov dword [esp + 0x64], esi
add esp, 0x20
mov dword [esp + 0x48], str.SequencedWorkerPool::ThreadLoop
mov dword [esp + 0x40], eax
cmp dword [esp + 0x94], 0
je 0x41c4fb
movzx eax, byte [0x45c5fd]
push eax
lea eax, [esp + 0x98]
push eax
push ecx
lea eax, [esp + 0x108]
push eax
lea ecx, [edi + 0x74]
call fcn.0041dcc0
cmp dword [esp + 0xa4], 0
je 0x41c508
inc dword [edi + 0x58]
mov ecx, edi
call fcn.0041d1a0
mov dword [esp + 0x28], eax
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
mov dword [esp + 0xf8], ebx
call eax
mov byte [esp + 0x610], 0xc
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [edi + 0x94]
test ecx, ecx
je 0x41c541
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x1c]
mov esi, eax
cmp eax, dword [esp + 0x20]
je 0x41c58c
lea ecx, [ecx]
mov edi, dword [esi]
test edi, edi
je 0x41c57b
push 0xffffffffffffffff
add edi, 4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
dec eax
setne al
test al, al
jne 0x41c57b
test edi, edi
je 0x41c57b
lea ecx, [edi - 4]
test ecx, ecx
je 0x41c57b
mov eax, dword [ecx]
push 1
call dword [eax]
add esi, 8
cmp esi, dword [esp + 0x20]
jne 0x41c550
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x41c5a4
push eax
mov ecx, edi
call fcn.0041d220
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x94]
mov dword [ecx + 0x50], eax
mov eax, dword [esp + 0xa4]
mov dword [ecx + 0x54], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x34], eax
mov eax, dword [0x45c2c8]
test eax, eax
je 0x41c5d2
call eax
mov esi, eax
jmp 0x41c62f
cmp dword [0x45c2d0], 2
jle 0x41c62d
mov eax, dword [fcn.00412d90]
cmp eax, 0x4130d0
jne 0x41c5f6
lea ecx, [esp + 0x11c]
push ecx
call eax
add esp, 4
jmp 0x41c60e
call dword [sym.imp.WINMM.dll_timeGetTime]
push 0
push eax
lea ecx, [esp + 0x10c]
call fcn.00412d50
add esp, 8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push 0
push 0x3e8
push eax
push ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ecx
call fcn.00442840
mov esi, eax
jmp 0x41c62f
xor esi, esi
push dword [esp + 0xb8]
call dword [esp + 0xc0]
mov eax, dword [0x45c2c8]
add esp, 4
test eax, eax
je 0x41c64f
call eax
mov edi, eax
jmp 0x41c6ac
cmp dword [0x45c2d0], 2
jle 0x41c6aa
mov eax, dword [fcn.00412d90]
cmp eax, 0x4130d0
jne 0x41c673
lea ecx, [esp + 0x10c]
push ecx
call eax
add esp, 4
jmp 0x41c68b
call dword [sym.imp.WINMM.dll_timeGetTime]
push 0
push eax
lea ecx, [esp + 0x12c]
call fcn.00412d50
add esp, 8
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push 0
push 0x3e8
push eax
push ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], ecx
call fcn.00442840
mov edi, eax
jmp 0x41c6ac
xor edi, edi
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x30], eax
test eax, eax
je 0x41c721
call fcn.0040f270
mov dword [esp + 0x2c], eax
test eax, eax
je 0x41c721
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x28], eax
test esi, esi
je 0x41c712
mov ecx, dword [esp + 0x8c]
lea eax, [esp + 0x84]
or ecx, dword [esp + 0x90]
je 0x41c6ef
lea eax, [esp + 0x8c]
push 0
push 0x3e8
push dword [eax + 4]
push dword [eax]
call fcn.00442840
mov ecx, esi
sub ecx, eax
test edi, edi
je 0x41c70e
mov eax, edi
sub eax, esi
jmp 0x41c712
mov eax, dword [esp + 0x28]
push eax
push ecx
push dword [esp + 0x38]
mov ecx, dword [esp + 0x38]
call fcn.0040f6f0
mov dword [esp + 0xec], 0
mov dword [esp + 0x610], 0xd
mov eax, dword [esp + 0x10]
mov dword [esp + 0xf0], 0
test al, 0x40
je 0x41c75d
and eax, 0xffffffbf
lea ecx, [esp + 0x554]
mov dword [esp + 0x10], eax
call fcn.0040ca70
mov byte [esp + 0x610], 0x11
mov esi, dword [esp + 0xb8]
mov dword [esp + 0xb8], 0
test esi, esi
je 0x41c7a0
push 0xffffffffffffffff
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
dec eax
setne al
test al, al
jne 0x41c7a0
test esi, esi
je 0x41c7a0
lea ecx, [esi - 4]
test ecx, ecx
je 0x41c7a0
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp + 8]
push ebx
mov dword [esp + 0xc0], 0
mov byte [esp + 0x614], 0xb
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x7c]
push eax
call fcn.0041d0a0
mov byte [esp + 0x610], 0xa
mov eax, dword [esp + 0x40]
test eax, eax
je 0x41c85d
mov eax, dword [eax]
cmp byte [eax], 0
je 0x41c85d
call fcn.00422f70
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
mov edi, dword [ecx + 4]
mov dword [esp + 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call fcn.004130f0
lea ecx, [esp + 0x114]
push ecx
mov ecx, eax
call fcn.00412e50
push 0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push ecx
push 0
push 0
push 0
push 0
mov dword [esp + 0xf0], eax
lea eax, [esp + 0xec]
push eax
push esi
push 0
push 0
push edi
push dword [esp + 0x58]
mov dword [esp + 0x104], ecx
mov ecx, dword [esp + 0x60]
push 0x45
call fcn.004217b0
mov edi, dword [esp + 0x14]
mov byte [esp + 0x610], 9
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41c8c3
mov esi, eax
cmp eax, edi
je 0x41c8ba
mov eax, dword [esp + 0x14]
jmp 0x41c880
mov edi, dword [esi]
test edi, edi
je 0x41c8af
push 0xffffffffffffffff
add edi, 4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
dec eax
setne al
test al, al
jne 0x41c8ab
test edi, edi
je 0x41c8ab
lea ecx, [edi - 4]
test ecx, ecx
je 0x41c8ab
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esp + 0x14]
add esi, 8
cmp esi, eax
jne 0x41c880
mov eax, dword [esp + 0x1c]
push eax
call fcn.00426468
add esp, 4
mov edi, dword [esp + 0x18]
mov byte [esp + 0x610], 0
mov esi, dword [esp + 0xb8]
test esi, esi
je 0x41c2a5
push 0xffffffffffffffff
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
dec eax
jne 0x41c2a5
test esi, esi
je 0x41c2a5
lea ecx, [esi - 4]
test ecx, ecx
je 0x41c2a5
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x41c2a5
cmp dword [edi + 0x88], 2
jne 0x41ca94
dec eax
je 0x41c9cd
dec eax
je 0x41c99d
cmp dword [0x45b934], 1
jne 0x41c96a
cmp dword [0x45b940], 3
jg 0x41c96a
push 3
push 0x30f
push str.threading_sequenced_worker_pool.cc
lea ecx, [esp + 0x1f0]
call fcn.0040c820
mov byte [esp + 0x610], 0x15
lea ecx, [eax + 8]
or dword [esp + 0x10], 8
mov edx, str.Check_failed:_false.
call fcn.00406de0
mov dword [esp + 0x610], 0xa
mov eax, dword [esp + 0x10]
test al, 8
je 0x41c990
and eax, 0xfffffff7
lea ecx, [esp + 0x1e4]
mov dword [esp + 0x10], eax
call fcn.0040ca70
mov edi, dword [esp + 0x20]
mov dword [esp + 0x14], edi
jmp 0x41c861
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [esp + 0x34]
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.0041e3c0
mov edi, dword [esp + 0x24]
add esp, 8
mov dword [esp + 0x14], edi
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x41c861
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], esi
cmp dword [esp + 0x1c], esi
je 0x41ca54
sub esp, 8
mov dword [esp + 0x13c], 4
lea ecx, [esp + 0x144]
call fcn.00409220
mov dword [esp + 0x1d8], str.threading_sequenced_worker_pool.cc
mov dword [esp + 0x1dc], 0x30a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x1e0], eax
push 0x30a
push str.threading_sequenced_worker_pool.cc
lea ecx, [esp + 0x13c]
mov byte [esp + 0x618], 0x13
call fcn.0040cd70
mov byte [esp + 0x610], 0x14
lea ecx, [esp + 0x13c]
or dword [esp + 0x10], 4
mov edx, str.Check_failed:_delete_these_outside_lock.empty__.
call fcn.00406de0
mov dword [esp + 0x610], 0xa
mov eax, dword [esp + 0x10]
test al, 4
je 0x41ca7a
and eax, 0xfffffffb
lea ecx, [esp + 0x134]
mov dword [esp + 0x10], eax
call fcn.0040ca70
mov dword [edi + 0x88], 3
mov ecx, dword [edi + 0x90]
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x41c85d
cmp byte [edi + 0x80], 0
je 0x41caa7
cmp dword [edi + 0x70], 0
je 0x41cb66
inc dword [edi + 0x54]
dec eax
je 0x41cb4e
dec eax
je 0x41cb2e
cmp dword [0x45b934], 1
jne 0x41caf8
cmp dword [0x45b940], 3
jg 0x41caf8
push 3
push 0x327
push str.threading_sequenced_worker_pool.cc
lea ecx, [esp + 0x2a0]
call fcn.0040c820
mov byte [esp + 0x610], 0x16
lea ecx, [eax + 8]
or dword [esp + 0x10], 0x10
mov edx, str.Check_failed:_false.
call fcn.00406de0
mov dword [esp + 0x610], 0xa
mov eax, dword [esp + 0x10]
test al, 0x10
je 0x41cb56
and eax, 0xffffffef
lea ecx, [esp + 0x294]
mov dword [esp + 0x10], eax
call fcn.0040ca70
dec dword [edi + 0x54]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x14], edi
jmp 0x41c861
mov ecx, dword [edi + 0x1c]
lea edx, [esp + 0xdc]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
dec dword [edi + 0x54]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x14], edi
jmp 0x41c861
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
call dword [eax + 4]
dec dword [edi + 0x54]
mov edi, dword [esp + 0x20]
mov dword [esp + 0x14], edi
jmp 0x41c861
mov byte [esp + 0x610], 9
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x41cb8f
push dword [esp + 0x34]
mov edx, dword [esp + 0x24]
push ecx
mov ecx, esi
call fcn.0041e3c0
push esi
call fcn.00426468
add esp, 0xc
mov byte [esp + 0x610], 0
mov esi, dword [esp + 0xb8]
test esi, esi
je 0x41cbc7
push 0xffffffffffffffff
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
dec eax
setne al
test al, al
jne 0x41cbc7
test esi, esi
je 0x41cbc7
lea ecx, [esi - 4]
test ecx, ecx
je 0x41cbc7
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esp + 0x610], 0xffffffff
push dword [esp + 0x5c]
mov eax, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call eax
mov ecx, dword [edi + 0x1c]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [edi + 0x94]
test ecx, ecx
je 0x41cbf4
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi + 0x20]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, dword [esp + 0x608]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4