Function at 0x414d00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8c90
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x5026c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
test edi, edi
je 0x414d38
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov ecx, dword [eax]
mov ebx, dword [eax + 8]
mov dword [ebp + 8], ecx
mov dword [ebp - 0x38], ecx
mov ecx, dword [eax + 4]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], eax
push 0x38
mov byte [ebp - 4], 1
call fcn.0043b6d2
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
test esi, esi
je 0x414dc0
mov ecx, dword [ebp + 8]
lea eax, [esi + 0x10]
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_obj_class_std::function_void____cdecl___void___.0
mov dword [eax], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__V___Binder_U_Unforced_std__P8SuperAppInstaller_super_app__AEXABV__shared_ptr_UFileInfo_super_app___2__ZPAV34_AAV52__2___V_std__X__V_std__.0
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0xc], ebx
xor ebx, ebx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x24], eax
jmp 0x414dc2
xor esi, esi
lea eax, [esi + 0x10]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], eax
test ebx, ebx
je 0x414df3
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x414df0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x414df0
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
lea eax, [esi + 0x10]
test esi, esi
je 0x414dfb
lock inc dword [esi + 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x28]
inc eax
mov byte [ebp - 4], 4
cmp ecx, eax
ja 0x414e1d
push 1
lea ecx, [edi + 0x20]
call fcn.0041acd0
mov ecx, dword [edi + 0x28]
lea eax, [ecx - 1]
and dword [edi + 0x2c], eax
mov ecx, dword [edi + 0x30]
add ecx, dword [edi + 0x2c]
mov eax, dword [edi + 0x28]
dec eax
and ecx, eax
lea eax, [ecx*4]
mov ecx, dword [edi + 0x24]
mov dword [ebp + 8], eax
cmp dword [ecx + eax], 0
jne 0x414e5a
push 0x28
call fcn.0043b6d2
mov ecx, dword [edi + 0x24]
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
mov eax, edx
mov ecx, dword [edi + 0x24]
mov eax, dword [ecx + eax]
lea ecx, [esi + 0x10]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_78f64b74333d95a990ea4a28a8b59a32___void___.0
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0x24], eax
inc dword [edi + 0x30]
cmp dword [edi + 0x18], 0
jne 0x414e99
lea eax, [edi + 0x1c]
push eax
push 0
push edi
push 0x418e00
push 0
push 0
call fcn.00477b56
add esp, 0x18
mov dword [edi + 0x18], eax
mov byte [ebp + 0xb], 1
jmp 0x414e9d
mov byte [ebp + 0xb], 0
test esi, esi
je 0x414ec2
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x414ec2
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x414ec2
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4