Function at 0x420130
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8c60
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4da734]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x4c], esi
test esi, esi
je 0x420171
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x18]
mov dword [ebp - 4], 0
test eax, eax
jne 0x4201a5
lea eax, [esi + 0x1c]
push eax
push 0
push esi
push 0x428220
push 0
push 0
call fcn.00470d9b
add esp, 0x18
mov dword [esi + 0x18], eax
test eax, eax
jne 0x4201a5
xor bl, bl
jmp 0x420319
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x30]
push edi
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
call fcn.004210d0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
push 0x38
mov byte [ebp - 4], 1
call fcn.0045ed2f
add esp, 4
mov dword [ebp - 0x20], eax
test eax, eax
je 0x420251
mov dword [eax + 4], 1
lea ebx, [eax + 0x10]
mov dword [eax + 8], 1
mov dword [eax], vtable.std::_Ref_count_obj_class_std::function_void____cdecl___void___.0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x34]
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebx], vtable.._AV___Func_impl_no_alloc_V___Binder_U_Unforced_std__P8WechatHelper__AEXV__vector_UWechatUserInfo__V__allocator_UWechatUserInfo___std___2__ZPAV3_AAV42__std__X__V_std__.0
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
lea ecx, [ebp - 0x44]
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], edi
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebx + 0x24], ebx
call fcn.00429520
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x14]
jmp 0x420253
xor ebx, ebx
xorps xmm0, xmm0
lea edi, [ebx + 0x10]
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x30]
call fcn.00429520
test ebx, ebx
je 0x420274
lock inc dword [ebx + 4]
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], ebx
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x28]
inc eax
mov byte [ebp - 4], 4
cmp ecx, eax
ja 0x420296
push 1
lea ecx, [esi + 0x20]
call fcn.00429190
mov ecx, dword [esi + 0x28]
lea eax, [ecx - 1]
and dword [esi + 0x2c], eax
mov ecx, dword [esi + 0x30]
add ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x28]
dec eax
and ecx, eax
lea eax, [ecx*4]
mov ecx, dword [esi + 0x24]
mov dword [ebp - 0x20], eax
cmp dword [ecx + eax], 0
jne 0x4202d5
push 0x28
call fcn.0045ed2f
mov edx, dword [ebp - 0x20]
mov ecx, eax
mov eax, dword [esi + 0x24]
add esp, 4
mov dword [edx + eax], ecx
mov eax, edx
mov ecx, dword [esi + 0x24]
mov eax, dword [ecx + eax]
lea ecx, [ebx + 0x10]
mov byte [ebp - 0x19], 1
mov dword [eax], vtable.std::_Func_impl_no_alloc_class__lambda_806f02f5641e77864f0dd09d66579a5c___void___.0
mov dword [eax + 4], ecx
mov dword [eax + 8], ebx
mov dword [eax + 0x24], eax
inc dword [esi + 0x30]
test ebx, ebx
je 0x420316
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x420316
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], edi
dec edi
jne 0x420316
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
mov bl, byte [ebp - 0x19]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045f015
mov esp, ebp
pop ebp
ret 0xc