Function at 0x429c70
Capabilities:
Create thread

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
push 0
push 0
push 1
push 0
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, dword [esp + 0x34]
mov edi, eax
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 4], edi
test edi, edi
jne 0x429cfc
call esi
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
push 0x537028
push esi
lea ecx, [esp + 0x1c]
call fcn.00402f30
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_detail_impl_win_thread.ipp
mov dword [esp + 0x24], str.void___thiscall_boost::asio::detail::win_thread::start_thread_class_boost::asio::detail::win_thread::func_base__unsigned_int_
mov dword [esp + 0x28], 0x4c
mov dword [esp + 0x2c], 0x1a
test al, 1
je 0x429cf6
cmp eax, 1
jne 0x429e2a
cmp dword [esp + 0x14], 0
setne al
test al, al
jne 0x429e2a
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp + 8], eax
mov dword [ebx + 8], eax
cmp dword [ebp + 8], 0
jne 0x429d72
call esi
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
push 0x537028
push esi
lea ecx, [esp + 0x1c]
call fcn.00402f30
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_detail_impl_win_thread.ipp
mov dword [esp + 0x24], str.void___thiscall_boost::asio::detail::win_thread::start_thread_class_boost::asio::detail::win_thread::func_base__unsigned_int_
mov dword [esp + 0x28], 0x56
mov dword [esp + 0x2c], 0x1a
test al, 1
je 0x429d72
cmp eax, 1
jne 0x429e3e
cmp dword [esp + 0x14], 0
setne al
test al, al
jne 0x429e3e
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0
push ebx
push 0x42ab20
push dword [esp + 0x48]
push 0
call fcn.004c3dcf
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x18
mov dword [ebp + 4], eax
test eax, eax
jne 0x429e10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov dword [esp + 0x38], eax
call dword [edx]
test edi, edi
je 0x429dbb
push edi
call esi
mov eax, dword [ebp + 8]
test eax, eax
je 0x429dc5
push eax
call esi
push 0x537028
push dword [esp + 0x38]
lea ecx, [esp + 0x1c]
call fcn.00402f30
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_detail_impl_win_thread.ipp
mov dword [esp + 0x24], str.void___thiscall_boost::asio::detail::win_thread::start_thread_class_boost::asio::detail::win_thread::func_base__unsigned_int_
mov dword [esp + 0x28], 0x66
mov dword [esp + 0x2c], 0x1a
test al, 1
je 0x429e10
cmp eax, 1
jne 0x429e52
cmp dword [esp + 0x14], 0
setne al
test al, al
jne 0x429e52
test edi, edi
je 0x429e20
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
lea eax, [esp + 0x20]
push eax
push str.thread.entry_event
lea eax, [esp + 0x1c]
push eax
call fcn.00404ed0
lea eax, [esp + 0x20]
push eax
push str.thread.exit_event
lea eax, [esp + 0x1c]
push eax
call fcn.00404ed0
lea eax, [esp + 0x20]
push eax
push str.thread
lea eax, [esp + 0x1c]
push eax
call fcn.00404ed0
int3