Function at 0x40e410
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e401f
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x537700]
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::time_traits_class_boost::posix_time::ptime__.0
mov dword [ebp - 4], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.boost::asio::detail::timer_queue_struct_boost::asio::time_traits_class_boost::posix_time::ptime__.0
mov dword [edi + 0xc], 0
mov dword [edi + 8], vtable.boost::asio::detail::timer_queue_struct_boost::asio::detail::forwarding_posix_time_traits_.0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 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.0040c4f0
add esp, 8
lea eax, [ebp - 0x18]
mov ecx, esi
push dword [esi + 0x18]
push 0x40bd20
push eax
call fcn.004241b0
mov esi, eax
mov dword [ebx + 0x34], 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 0x40e589
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
mov dword [esi + 0x30], eax
test eax, eax
jne 0x40e563
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x537028
push eax
lea ecx, [ebp - 0x2c]
call fcn.00402f30
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 0x40e563
cmp eax, 1
jne 0x40e635
cmp dword [ebp - 0x2c], 0
setne al
test al, al
jne 0x40e635
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 0x40e615
push 0xc
call fcn.004b80fd
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
mov byte [ebp - 4], 3
test edi, edi
je 0x40e5f2
push 0x10
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.004b80fd
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40e5e1
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.00429c70
jmp 0x40e5f4
xor eax, eax
mov ecx, edi
push 0x10000
push eax
call fcn.00429c70
jmp 0x40e5f4
xor edi, edi
mov ebx, dword [esi + 0x2c]
test ebx, ebx
je 0x40e60f
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc
push ebx
call fcn.004b812d
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 0x4ee72c
lea eax, [ebp - 0x2c]
push eax
call fcn.00404ed0
int3