Function at 0x4e0d70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55f4f4
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5df7e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov dword [ecx], vtable.asio::execution_context::service.0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], 0
mov dword [ebp - 4], 0
mov dword [ecx], vtable.asio::io_context::service.0
mov dword [ebp - 4], 1
mov dword [ecx], vtable.asio::detail::service_base_class_asio::detail::deadline_timer_service_struct_asio::detail::chrono_time_traits_struct_std::chrono::steady_clock__struct_asio::wait_traits_struct_std::chrono::steady_clock____.0
mov dword [ebp - 4], 2
lea esi, [ecx + 0x14]
mov dword [ecx], vtable.asio::detail::deadline_timer_service_struct_asio::detail::chrono_time_traits_struct_std::chrono::steady_clock__struct_asio::wait_traits_struct_std::chrono::steady_clock___.0
mov dword [ebp + 8], esi
mov dword [esi], vtable.asio::detail::timer_queue_base.0
mov dword [esi + 4], 0
mov byte [ebp - 4], 3
mov dword [esi], vtable.asio::detail::timer_queue_struct_asio::detail::chrono_time_traits_struct_std::chrono::steady_clock__struct_asio::wait_traits_struct_std::chrono::steady_clock___.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov byte [ebp - 4], 5
mov edi, dword [eax + 8]
mov dword [ecx + 0x2c], edi
lea eax, [edi + 0x38]
push eax
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x24], 1
mov byte [ebp - 4], 6
mov eax, dword [edi + 0x50]
mov dword [esi + 4], eax
mov dword [edi + 0x50], esi
cmp dword [edi + 0x30], 0
jne 0x4e0e9e
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerW]
mov dword [edi + 0x30], eax
test eax, eax
jne 0x4e0e78
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.004fecd0
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], eax
test esi, esi
jne 0x4e0f60
push 0
push 0
push 0
push 0x493e0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x4d2fa200
push eax
push dword [edi + 0x30]
mov dword [ebp - 0x1c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetWaitableTimer]
cmp dword [edi + 0x2c], 0
jne 0x4e0f34
push 0xc
call fcn.00511c4f
mov esi, eax
add esp, 4
mov dword [ebp + 8], esi
mov byte [ebp - 4], 7
test esi, esi
je 0x4e0f10
push 0x10
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.00511c4f
add esp, 4
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 8
test eax, eax
je 0x4e0efb
mov dword [eax], vtable.asio::detail::win_thread::func_base.0
mov byte [ebp - 4], 9
mov dword [eax], vtable.asio::detail::win_thread::func_struct_asio::detail::win_iocp_io_context::timer_thread_function_.0
mov dword [eax + 0xc], edi
mov byte [ebp - 4], 8
jmp 0x4e0efd
xor eax, eax
mov byte [ebp - 4], 7
mov ecx, esi
push 0x10000
push eax
call fcn.005060a0
jmp 0x4e0f12
xor esi, esi
mov byte [ebp - 4], 6
mov ebx, dword [edi + 0x2c]
test ebx, ebx
je 0x4e0f31
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc
push ebx
call fcn.00511c7f
add esp, 8
mov dword [edi + 0x2c], esi
mov byte [ebp - 4], 5
lea eax, [edi + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
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
push str.timer
lea eax, [ebp - 0x18]
push eax
call fcn.004fd610
int3