Function at 0x451350
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 0x70689e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x7c2580]
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], 0x7b3b00
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.00450af0
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 0x4514da
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x7c30f8]
mov edi, eax
mov eax, dword [0x7c30fc]
cmp ecx, 0x257edfd1
jne 0x45146d
cmp eax, 0xb2ab117a
je 0x45147c
cmp ecx, 0x257edfd0
jne 0x451483
cmp eax, 0xb2ab117a
jne 0x451483
test edi, edi
setne al
jmp 0x451493
mov eax, dword [0x7c30f0]
mov ecx, 0x7c30f0
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], 0x7c30f0
mov dword [ebp - 0x34], str.F:_vcpkg_2024.05.24installedx86_windows_staticinclude_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
je 0x4514d7
cmp eax, 1
jne 0x45157d
test edi, edi
jne 0x45157d
lea edi, [esi + 0x18]
cmp byte [ebx + 0x10], 0
je 0x45155b
lock inc dword [edi]
push 0xc
call fcn.006d684e
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.006d684e
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], 0x7b3a84
mov dword [eax + 0xc], esi
call fcn.00450f80
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x451558
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc
push dword [ebp - 0x24]
call fcn.006d6ad4
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.006d66cb
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.00450a90
int3