Function at 0x1005b430
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 0x10297c7e
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x10343c80]
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.10059050
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 0x1005b5ba
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x103447d0]
mov edi, eax
mov eax, dword [0x103447d4]
cmp ecx, 0x257edfd1
jne 0x1005b54d
cmp eax, 0xb2ab117a
je 0x1005b55c
cmp ecx, 0x257edfd0
jne 0x1005b563
cmp eax, 0xb2ab117a
jne 0x1005b563
test edi, edi
setne al
jmp 0x1005b573
mov eax, dword [0x103447c8]
mov ecx, 0x103447c8
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], 0x103447c8
mov dword [ebp - 0x34], str.C:_vcpkginstalledx86_windows_staticinclude_boost_asiodetailimplwin_iocp_io_context.ipp
mov dword [ebp - 0x30], str.win_iocp_io_context
mov dword [ebp - 0x2c], 0x66
mov dword [ebp - 0x28], 0x1a
test al, 1
je 0x1005b5b7
cmp eax, 1
jne 0x1005b65d
test edi, edi
jne 0x1005b65d
lea edi, [esi + 0x18]
cmp byte [ebx + 0x10], 0
je 0x1005b63b
lock inc dword [edi]
push 0xc
call fcn.1026afd9
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.1026afd9
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.100594c0
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x1005b638
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc
push dword [ebp - 0x24]
call fcn.1026afa8
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.1026af9a
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.10058f70
int3