Function at 0x10016630
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

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 0x100dcec6
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x20
push esi
push edi
mov eax, dword [0x1010a080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x30], edi
sub esp, 0x18
mov dword [ebp - 4], 0
lea eax, [ebx + 0x10]
mov ecx, esp
push eax
call fcn.1000aab0
push ecx
push dword [ebx + 8]
mov ecx, edi
call fcn.10009ed0
mov al, byte [ebx + 0xc]
mov dword [edi], vtable.socketroom_t.0
mov dword [edi + 0xe8], 0
mov byte [edi + 0xec], al
mov byte [edi + 0xed], 0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xf8], 0
mov dword [edi + 0xfc], 0
mov byte [ebp - 4], 2
lea eax, [edi + 0x100]
mov dword [ebp - 0x14], eax
lea esi, [eax + 0x10]
mov dword [eax], 0
mov dword [eax + 4], 0x3e80
mov dword [eax + 8], 1
mov dword [eax + 0xc], 0x78
mov dword [ebp - 0x14], esi
mov dword [esi], 0
push 0x10
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.100daa1b
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
push dword [esi + 4]
push 0x10
call fcn.10002420
xorps xmm0, xmm0
movups xmmword [edi + 0x130], xmm0
mov dword [edi + 0x140], 9
mov dword [edi + 0x144], 0xf
movq xmm0, qword [str.localhost]
movq qword [edi + 0x130], xmm0
movzx eax, byte [0x10103d18]
mov byte [edi + 0x138], al
mov byte [edi + 0x139], 0
mov dword [edi + 0x148], 0x1f40
xorps xmm0, xmm0
movups xmmword [edi + 0x14c], xmm0
mov dword [edi + 0x15c], 0
mov dword [edi + 0x160], 0xf
mov byte [edi + 0x14c], 0
mov byte [ebp - 4], 7
push 0x308
mov word [edi + 0x164], 0x101
mov dword [edi + 4], 7
call fcn.100daa1b
mov edi, eax
add esp, 4
mov dword [ebp - 0x14], edi
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov esi, dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
mov byte [edi], 0
movups xmmword [edi + 0x18], xmm0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
movups xmmword [ebp - 0x2b], xmm0
mov byte [ebp - 0x2c], 0
movups xmm0, xmmword [ebp - 0x2c]
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
movups xmmword [edi + 0x30], xmm0
mov dword [edi + 0x4c], 0
mov word [ebp - 0x1b], 0
xorps xmm0, xmm0
mov byte [ebp - 0x19], 0
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x40], eax
lea eax, [edi + 0x50]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
movups xmmword [eax + 0xc], xmm0
push 2
movq qword [eax + 0x1c], xmm0
mov dword [eax + 0x24], 0
push eax
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
call esi
mov dword [edi + 0x80], 0
lea eax, [edi + 0x290]
mov dword [edi + 0x84], 0
xorps xmm0, xmm0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
movups xmmword [eax + 0xc], xmm0
push 2
movq qword [eax + 0x1c], xmm0
mov dword [eax + 0x24], 0
push eax
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
call esi
lea eax, [edi + 0x2c0]
xorps xmm0, xmm0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
movups xmmword [eax + 0xc], xmm0
push 2
movq qword [eax + 0x1c], xmm0
mov dword [eax + 0x24], 0
push eax
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
call esi
add esp, 0x18
mov dword [edi + 0x2f0], 0
mov dword [edi + 0x2f4], 0
mov dword [edi + 0x2f8], 0
mov dword [edi + 0x2fc], 0
mov dword [edi + 0x300], 0
mov dword [edi + 0x304], 0
call fcn.1006b1d8
mov esi, dword [ebp - 0x18]
mov dword [esi + 0xe4], edi
mov dword [edi + 0x84], esi
mov dword [edi + 0x4c], 0x10017da0
cmp byte [esi + 0xec], 0
je 0x100169cc
mov dword [esi + 0xe8], 1
jmp 0x100169df
push str.USE:_ffffff_connect_ADADADOR_ffffff_rec
push 0xffadadad
push esi
call fcn.1000a2c0
add esp, 0xc
mov ecx, dword [ebx + 0x24]
cmp ecx, 0xf
jbe 0x10016a15
mov edx, dword [ebx + 0x10]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10016a0b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10016a0b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100dad65
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x20