Function at 0x481210
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 0x48129c
call esi
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
push 0x7f5028
push esi
lea ecx, [esp + 0x1c]
call fcn.0044c740
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 0x481296
cmp eax, 1
jne 0x4813ca
cmp dword [esp + 0x14], 0
setne al
test al, al
jne 0x4813ca
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 0x481312
call esi
mov edx, dword [ebx]
mov ecx, ebx
push 1
mov esi, eax
call dword [edx]
push 0x7f5028
push esi
lea ecx, [esp + 0x1c]
call fcn.0044c740
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 0x481312
cmp eax, 1
jne 0x4813de
cmp dword [esp + 0x14], 0
setne al
test al, al
jne 0x4813de
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0
push ebx
push 0x4820f0
push dword [esp + 0x48]
push 0
call fcn.006ebbfa
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x18
mov dword [ebp + 4], eax
test eax, eax
jne 0x4813b0
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 0x48135b
push edi
call esi
mov eax, dword [ebp + 8]
test eax, eax
je 0x481365
push eax
call esi
push 0x7f5028
push dword [esp + 0x38]
lea ecx, [esp + 0x1c]
call fcn.0044c740
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 0x4813b0
cmp eax, 1
jne 0x4813f2
cmp dword [esp + 0x14], 0
setne al
test al, al
jne 0x4813f2
test edi, edi
je 0x4813c0
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.0044f150
lea eax, [esp + 0x20]
push eax
push str.thread.exit_event
lea eax, [esp + 0x1c]
push eax
call fcn.0044f150
lea eax, [esp + 0x20]
push eax
push str.thread
lea eax, [esp + 0x1c]
push eax
call fcn.0044f150
int3