Function at 0x48b689
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
cmp byte [edx + 4], 0
mov esi, dword [edx]
mov edi, ecx
mov dword [esp + 8], edx
je 0x48b7d0
push 0
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test eax, eax
je 0x48b7ee
mov ebx, eax
mov dword [esp + 0x14], esi
push 0xc
pop ecx
push 4
pop edx
call fcn.0048295c
mov esi, eax
xor eax, eax
inc eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
lock inc dword [esi]
jle 0x48ba4d
push 0x40
pop ecx
push 4
pop ebx
mov edx, ebx
call fcn.0048295c
xor ecx, ecx
inc ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
and dword [eax + 0x10], 0
mov byte [eax + 0x14], 0
mov dword [eax + 0x18], ebx
and dword [eax + 0x20], 0
and dword [eax + 0x1c], 0
and dword [eax + 0x25], 0
and dword [eax + 0x21], 0
mov dword [eax + 0x2c], ebx
and dword [eax + 0x34], 0
and dword [eax + 0x30], 0
and dword [eax + 0x39], 0
and dword [eax + 0x35], 0
lock inc dword [esi]
jle 0x48ba4d
lock inc dword [eax]
mov ecx, esi
mov esi, dword [esp + 0x14]
jle 0x48ba4d
xorps xmm0, xmm0
mov edx, ebx
test esi, esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
movaps xmmword [esp + 0x20], xmm0
je 0x48b786
cmp esi, 0x7ffffff
ja 0x48ba51
mov ebx, esi
shl ebx, 4
js 0x48ba51
push 4
pop ecx
mov edx, ebx
call fcn.004826eb
mov edx, eax
test eax, eax
je 0x48ba72
xor eax, eax
mov ebx, edx
mov ecx, edx
lea edx, [eax + 1]
cmp edx, esi
jae 0x48b7ae
movsd xmm0, qword [esp + 0x20]
movsd xmm1, qword [esp + 0x28]
inc eax
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
add ecx, 0x10
jmp 0x48b78c
test esi, esi
je 0x48b806
movsd xmm0, qword [esp + 0x20]
movsd xmm1, qword [esp + 0x28]
cmp esi, edx
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
ja 0x48b80c
jmp 0x48b86e
call fcn.00485961
lock inc dword [eax]
jle 0x48ba4d
mov ebx, eax
mov al, 2
xor ecx, ecx
mov dword [esp], eax
mov eax, ebx
jmp 0x48b8dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
and dword [edi + 4], 0
mov dword [edi + 8], eax
mov dword [edi], 2
jmp 0x48ba45
cmp esi, eax
jbe 0x48b845
mov edx, eax
mov eax, esi
mov dword [esp + 4], edx
shl eax, 4
test edx, edx
je 0x48b852
mov ecx, ebx
mov ebx, edx
mov edx, eax
shl ebx, 4
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
push ebx
push 4
call fcn.00407270
pop ecx
pop edx
mov ebx, eax
test eax, eax
jne 0x48b860
push 4
pop ecx
mov edx, dword [esp]
mov ebx, dword [esp + 0xc]
jmp 0x48b865
push 8
pop ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 4], eax
jmp 0x48b8a2
push 4
pop edx
mov ecx, ebx
mov ebx, edx
push eax
call fcn.00481bd8
pop eax
mov ecx, getpeername
call fcn.00408dd3
mov edx, dword [esp + 4]
cmp esi, 0x7ffffff
ja 0x48ba51
mov eax, esi
mov dword [esp + 4], edx
shl eax, 4
js 0x48ba51
push 8
pop ecx
mov edx, eax
mov dword [esp], eax
call fcn.004826eb
test eax, eax
mov dword [esp + 0x1c], eax
je 0x48ba6a
push 4
pop ecx
push 0x40
pop edx
call fcn.004826eb
test eax, eax
mov dword [esp + 0x38], eax
je 0x48ba62
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
and dword [esp + 0x4c], 0
and dword [esp + 0x48], 0
and dword [esp + 0x51], 0
and dword [esp + 0x4d], 0
mov dword [esp], 0
mov edx, dword [esp + 8]
movsd xmm1, qword [esp + 0x4d]
movsd xmm0, qword [esp + 0x48]
mov dword [esp + 0x18], eax
cmp byte [edx + 5], 0
movsd qword [esp + 0x5d], xmm1
movsd qword [esp + 0x58], xmm0
je 0x48b988
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x34], edi
call fcn.0047e140
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], edx
mov dword [esp + 8], ecx
push 8
pop ecx
mov edx, 0xc60
call fcn.004826eb
test eax, eax
je 0x48ba58
xor esi, esi
mov edi, eax
mov dword [esp + 0x3c], eax
cmp esi, 6
je 0x48b96c
lea ebx, [esi + 1]
push 0x208
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [edi + 0x208], esi
add edi, 0x210
mov esi, ebx
jmp 0x48b944
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
xorps xmm0, xmm0
xor eax, eax
movaps xmmword [esp + 0x20], xmm0
jmp 0x48b993
xor eax, eax
mov dword [esp + 8], 0x3b9aca00
inc eax
mov edx, dword [esp + 0x1c]
movsd xmm0, qword [esp + 0x20]
movsd xmm1, qword [esp + 0x28]
mov dword [edi + 0xc], edx
mov edx, dword [esp + 0x3c]
mov dword [edi + 0x10], esi
and dword [edi + 0x14], 0
mov dword [edi + 0x18], ecx
movsd qword [edi + 0x30], xmm0
movsd qword [edi + 0x38], xmm1
mov dword [edi + 0x40], edx
mov edx, ecx
push 6
pop ecx
mov esi, dword [esp + 0x38]
movsd xmm0, qword [esp + 0x58]
movsd xmm1, qword [esp + 0x5d]
mov dword [edi + 0x44], ecx
mov dword [edi + 0x48], ecx
xor ecx, ecx
and dword [edi + 0x70], 0
and dword [edi + 0x74], 0
mov byte [edi + 0x78], cl
mov dword [edi + 0x7c], esi
mov dword [edi + 0x80], 0x10
movsd qword [edi + 0x84], xmm0
movsd qword [edi + 0x89], xmm1
mov dword [edi], eax
mov eax, dword [esp + 4]
mov dword [edi + 4], ebx
mov esi, dword [esp + 0x40]
mov dword [edi + 8], eax
mov eax, dword [esp]
mov byte [edi + 0x1c], al
mov byte [edi + 0x20], cl
and dword [edi + 0x2c], 0
and dword [edi + 0x28], 0
mov byte [edi + 0x50], cl
mov ecx, dword [esp + 0x44]
mov dword [edi + 0x5c], esi
mov esi, dword [esp + 8]
mov dword [edi + 0x58], ecx
mov ecx, dword [esp + 0x18]
mov dword [edi + 0x60], esi
mov dword [edi + 0x68], edx
mov dword [edi + 0x6c], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
ud2
call fcn.00407310
ud2
push 8
pop ecx
mov edx, 0xc60
jmp 0x48ba77
push 4
pop ecx
push 0x40
pop edx
jmp 0x48ba77
push 8
pop ecx
mov edx, dword [esp]
jmp 0x48ba77
push 4
pop ecx
mov edx, ebx
call fcn.00493860
ud2