Function at 0x408c70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48abae
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x4ad100]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x24], esi
mov eax, dword [ebx + 8]
mov dword [ebp - 0x38], esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 0
mov dword [esi], vtable.boost::asio::detail::win_iocp_io_context.0
mov dword [esi + 0x14], 0
lea edi, [esi + 0x18]
mov dword [esi + 0x1c], 0
mov dword [edi], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 3
lea ecx, [esi + 0x38]
mov dword [esi + 0x34], 0
call fcn.004083f0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0xffffffff
mov dword [esi + 0x60], 0
push 0xffffffffffffffff
push 0
push 0
push 0xffffffffffffffff
mov byte [ebp - 4], 6
call dword [sym.imp.KERNEL32.DLL_CreateIoCompletionPort]
mov dword [esi + 0x14], eax
test eax, eax
jne 0x408ded
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ecx, dword [0x4adc10]
mov edi, eax
mov eax, dword [0x4adc14]
cmp ecx, 0x257edfd1
jne 0x408d8d
cmp eax, 0xb2ab117a
je 0x408d9c
cmp ecx, 0x257edfd0
jne 0x408da3
cmp eax, 0xb2ab117a
jne 0x408da3
test edi, edi
setne al
jmp 0x408db3
mov eax, dword [0x4adc08]
mov ecx, 0x4adc08
push edi
mov eax, dword [eax + 0x18]
call eax
movzx eax, al
add eax, 2
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0x4adc08
mov dword [ebp - 0x34], str.C:_vcpkginstalledx86_windowsinclude_boost_asiodetailimplwin_iocp_io_context.ipp
mov dword [ebp - 0x30], str.__thiscall_boost::asio::detail::win_iocp_io_context::win_iocp_io_context_class_boost::asio::execution_context__int_bool_
mov dword [ebp - 0x2c], 0x66
mov dword [ebp - 0x28], 0x1a
test al, 1
jne 0x408e90
lea edi, [esi + 0x18]
cmp byte [ebx + 0x10], 0
je 0x408e6e
lock inc dword [edi]
push 0xc
call fcn.00466056
mov edi, eax
add esp, 4
mov dword [ebp - 0x24], edi
mov byte [ebp - 4], 7
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
push 0x10
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.00466056
add esp, 4
mov dword [ebp - 0x3c], eax
xorps xmm0, xmm0
mov ecx, edi
movups xmmword [eax], xmm0
push 0
push eax
mov dword [eax], vtable.boost::asio::detail::win_thread::func_struct_boost::asio::detail::win_iocp_io_context::thread_function_.0
mov dword [eax + 0xc], esi
call fcn.004088e0
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x408e6b
push dword [eax + 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 0xc
push dword [ebp - 0x24]
call fcn.0046619b
add esp, 8
mov dword [esi + 0x60], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00466048
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
lea eax, [ebp - 0x34]
mov edx, str.iocp
push eax
lea ecx, [ebp - 0x20]
call fcn.00408310
int3