Function at 0x40cdd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ae3bf
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4f7600]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov esi, dword [ebp + 8]
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], 0
lea edi, [ebx + 0x14]
mov dword [ebx], vtable.boost::asio::detail::deadline_timer_service_struct_boost::asio::detail::chrono_time_traits_struct_std::chrono::steady_clock__struct_boost::asio::wait_traits_struct_std::chrono::steady_clock___.0
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.boost::asio::detail::timer_queue_struct_boost::asio::detail::chrono_time_traits_struct_std::chrono::steady_clock__struct_boost::asio::wait_traits_struct_std::chrono::steady_clock___.0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov esi, dword [esi]
lea eax, [ebp - 0x18]
push 0
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
call fcn.00407f70
add esp, 8
lea eax, [ebp - 0x18]
mov ecx, esi
push dword [esi + 0x18]
push 0x406640
push eax
call fcn.004192c0
mov esi, eax
mov dword [ebx + 0x2c], esi
lea eax, [esi + 0x38]
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x1c], 1
mov eax, dword [esi + 0x50]
mov dword [edi + 4], eax
mov dword [esi + 0x50], edi
cmp dword [esi + 0x30], 0
mov byte [ebp - 4], 2
jne 0x40cf3b
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
mov dword [esi + 0x30], eax
test eax, eax
jne 0x40cf15
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x4f7028
push eax
lea ecx, [ebp - 0x2c]
call fcn.0040e4a0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c], str.E:_repoyjscloudclinkClientOfCSP_agent_boost_1.85.0libs_asioinclude_boost_asio_detail_impl_win_iocp_io_context.ipp
mov dword [ebp - 0x38], str.void___thiscall_boost::asio::detail::win_iocp_io_context::do_add_timer_queue_class_boost::asio::detail::timer_queue_base__
mov dword [ebp - 0x34], 0x235
mov dword [ebp - 0x30], 0x1c
test al, 1
je 0x40cf15
cmp eax, 1
jne 0x40cfe7
cmp dword [ebp - 0x2c], 0
setne al
test al, al
jne 0x40cfe7
push 0
push 0
push 0
push 0x493e0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x4d2fa200
push eax
push dword [esi + 0x30]
mov dword [ebp - 0x14], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetWaitableTimer]
cmp dword [esi + 0x2c], 0
jne 0x40cfc7
push 0xc
call fcn.00489c69
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
mov byte [ebp - 4], 3
test edi, edi
je 0x40cfa4
push 0x10
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.00489c69
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40cf93
push 0x10000
push eax
mov ecx, edi
mov dword [eax], vtable.boost::asio::detail::win_thread::func_struct_boost::asio::detail::win_iocp_io_context::timer_thread_function_.0
mov dword [eax + 0xc], esi
call fcn.00422890
jmp 0x40cfa6
xor eax, eax
mov ecx, edi
push 0x10000
push eax
call fcn.00422890
jmp 0x40cfa6
xor edi, edi
mov ebx, dword [esi + 0x2c]
test ebx, ebx
je 0x40cfc1
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc
push ebx
call fcn.00489c99
add esp, 8
mov ebx, dword [ebp - 0x10]
mov dword [esi + 0x2c], edi
lea eax, [esi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, ebx
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
lea eax, [ebp - 0x3c]
push eax
push 0x4b40bc
lea eax, [ebp - 0x2c]
push eax
call fcn.004191b0
int3