Function at 0x10012420
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003793f
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x10048140]
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.1000f270
add esp, 8
lea eax, [ebp - 0x18]
mov ecx, esi
push dword [esi + 0x18]
push 0x10007390
push eax
call fcn.10023230
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 0x10012553
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
mov dword [esi + 0x30], eax
test eax, eax
jne 0x1001252d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call fcn.10023a00
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], eax
test edi, edi
jne 0x100125ff
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 0x100125df
push 0xc
call fcn.100293e4
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
mov byte [ebp - 4], 3
test edi, edi
je 0x100125bc
push 0x10
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.100293e4
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100125ab
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.10026410
jmp 0x100125be
xor eax, eax
mov ecx, edi
push 0x10000
push eax
call fcn.10026410
jmp 0x100125be
xor edi, edi
mov ebx, dword [esi + 0x2c]
test ebx, ebx
je 0x100125d9
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc
push ebx
call fcn.10029419
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.100231e0
int3