Function at 0x10006da0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008fc30
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x100cb9b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x44], edi
test edi, edi
je 0x10006ddd
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
mov dword [ebp - 4], 0
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
call fcn.100046b0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x14], eax
push 0x38
mov byte [ebp - 4], 1
call fcn.1004b336
mov esi, eax
add esp, 4
mov dword [ebp - 0x3c], esi
test esi, esi
je 0x10006e6e
movups xmm0, xmmword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
lea ecx, [esi + 0x10]
movq xmm1, qword [ebp - 0x1c]
mov edx, 0xf
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 [ecx], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8RechargeWeb__AEXABV__basic_string_DU__char_traits_D_std__V__allocator_D_2__2__ZPAV3_ABV42__std__X__V_std__.0
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
movups xmmword [ecx + 8], xmm0
mov byte [ebp - 0x2c], 0
movq qword [ecx + 0x18], xmm1
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], ecx
jmp 0x10006e73
mov edx, dword [ebp - 0x18]
xor esi, esi
lea eax, [esi + 0x10]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 3
cmp edx, 0x10
jb 0x10006eb4
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10006ea7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10006fb3
push edx
push ecx
call fcn.1004b366
add esp, 8
lea eax, [esi + 0x10]
lea edx, [edi + 0x20]
test esi, esi
je 0x10006ebf
lock inc dword [esi + 4]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], esi
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 8]
inc eax
mov byte [ebp - 4], 4
cmp ecx, eax
ja 0x10006ee3
push 1
mov ecx, edx
call fcn.10010e70
mov ecx, dword [edi + 0x28]
lea edx, [edi + 0x20]
lea eax, [ecx - 1]
and dword [edx + 0xc], eax
mov ecx, dword [edx + 0x10]
add ecx, dword [edx + 0xc]
mov eax, dword [edx + 8]
dec eax
and ecx, eax
lea eax, [ecx*4]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x38], eax
cmp dword [eax + ecx], 0
jne 0x10006f24
push 0x28
call fcn.1004b336
mov ecx, dword [edi + 0x24]
add esp, 4
mov edx, dword [ebp - 0x38]
mov dword [edx + ecx], eax
lea edx, [edi + 0x20]
mov ecx, dword [edx + 4]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + ecx]
lea ecx, [esi + 0x10]
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_95950346f8d2833d3d9d157c71d33386___void___.0
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0x24], eax
inc dword [edx + 0x10]
cmp dword [edi + 0x18], 0
jne 0x10006f63
lea eax, [edi + 0x1c]
push eax
push 0
push edi
push 0x1000fb70
push 0
push 0
call fcn.1006b82e
add esp, 0x18
mov dword [edi + 0x18], eax
mov byte [ebp - 0x31], 1
jmp 0x10006f67
mov byte [ebp - 0x31], 0
test esi, esi
je 0x10006f8c
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x10006f8c
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x10006f8c
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [ebp - 0x31]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004b6e5
mov esp, ebp
pop ebp
ret 0xc
call fcn.1006b649
int3