Function at 0x100fa790
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1021290f
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x10282800]
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.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], 0
mov dword [edi + 4], 0
mov dword [edi], 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 [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.100f5330
add esp, 8
lea eax, [ebp - 0x18]
mov ecx, esi
push dword [esi + 0x18]
push 0x100f0cd0
push eax
call fcn.10115bf0
mov esi, eax
mov dword [ebx + 0x2c], esi
lea eax, [esi + 0x38]
push eax
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x24], 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 0x100fa8c3
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
mov dword [esi + 0x30], eax
test eax, eax
jne 0x100fa89d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.100e0d20
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], eax
test edi, edi
jne 0x100fa96f
push 0
push 0
push 0
push 0x493e0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x4d2fa200
push eax
push dword [esi + 0x30]
mov dword [ebp - 0x1c], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetWaitableTimer]
cmp dword [esi + 0x2c], 0
jne 0x100fa94f
push 0xc
call fcn.101e3738
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
mov byte [ebp - 4], 3
test edi, edi
je 0x100fa92c
push 0x10
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.101e3738
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100fa91b
push 0x10000
push eax
mov ecx, edi
mov dword [eax], vtable.asio::detail::win_thread::func_struct_asio::detail::win_iocp_io_context::timer_thread_function_.0
mov dword [eax + 0xc], esi
call fcn.101343c0
jmp 0x100fa92e
xor eax, eax
mov ecx, edi
push 0x10000
push eax
call fcn.101343c0
jmp 0x100fa92e
xor edi, edi
mov ebx, dword [esi + 0x2c]
test ebx, ebx
je 0x100fa949
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc
push ebx
call fcn.101e3768
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
push str.timer
lea eax, [ebp - 0x18]
push eax
call fcn.100dfa60
int3