Function at 0x1003e090
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007c0bf
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x10098140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebp + 8]
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x10], 0
mov dword [ebp - 4], 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 [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 byte [ebp - 4], 1
mov ecx, dword [ecx]
call fcn.10025780
mov esi, eax
mov dword [ebx + 0x2c], esi
lea eax, [esi + 0x38]
push eax
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 0x20], 1
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x50]
mov dword [edi + 4], eax
mov dword [esi + 0x50], edi
cmp dword [esi + 0x30], 0
jne 0x1003e1d1
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
mov dword [esi + 0x30], eax
test eax, eax
jne 0x1003e1ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x10098c30
push eax
lea ecx, [ebp - 0x30]
call fcn.100023e0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], str.D:ProgrammsLibrares_boost_boost_asiodetailimplwin_iocp_io_context.ipp
mov dword [ebp - 0x3c], str.do_add_timer_queue
mov dword [ebp - 0x38], 0x236
mov dword [ebp - 0x34], 0x1c
test al, 1
je 0x1003e1ab
cmp eax, 1
jne 0x1003e25c
cmp dword [ebp - 0x30], 0
setne al
test al, al
jne 0x1003e25c
push 0
push 0
push 0
push 0x493e0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x4d2fa200
push eax
push dword [esi + 0x30]
mov dword [ebp - 0x18], 0xffffffff
call dword [sym.imp.KERNEL32.dll_SetWaitableTimer]
cmp dword [esi + 0x2c], 0
jne 0x1003e23c
push 0xc
call fcn.1004ff59
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
mov byte [ebp - 4], 3
push 0x10
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.1004ff59
add esp, 4
mov dword [ebp - 0x18], 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
push 0x10000
push eax
mov dword [eax + 0xc], esi
call fcn.1000c950
mov ebx, dword [esi + 0x2c]
test ebx, ebx
je 0x1003e236
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc
push ebx
call fcn.100502a8
add esp, 8
mov ebx, dword [ebp - 0x14]
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 - 0x40]
mov edx, str.timer
push eax
lea ecx, [ebp - 0x30]
call fcn.10002e60
int3