Function at 0x6b90b2
Capabilities:
Connect socket
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [ebp + 8]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x148], eax
mov eax, dword [sym.imp.libssp_0.dll___stack_chk_guard]
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x134], 0xffffffff
mov dword [ebp - 0x120], 0xffffffff
mov dword [ebp - 0x130], 0xffffffff
lea eax, [ebp - 0x90]
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x12c], 0xffffffff
mov dword [ebp - 0x128], 2
mov dword [ebp - 0x124], 0x10
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], 0
lea eax, [ebp - 0x110]
mov dword [esp], eax
call sub.msvcrt.dll_memset
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], 0
lea eax, [ebp - 0x90]
mov dword [esp], eax
call sub.msvcrt.dll_memset
cmp dword [ebp - 0x144], 0
jne 0x6b918b
cmp dword [ebp - 0x13c], 1
je 0x6b9195
mov eax, 0xffffd8c1
jmp 0x6b9452
cmp dword [ebp - 0x148], 0
jne 0x6b91a8
mov eax, 0xffffffea
jmp 0x6b9452
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x128]
mov dword [esp], eax
call fcn.006b8e82
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0xffffffff
jne 0x6b9230
mov eax, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call eax
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0x273b
jne 0x6b921a
mov dword [ebp - 0x128], 0x17
mov dword [ebp - 0x124], 0x1c
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x128]
mov dword [esp], eax
call fcn.006b8e82
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0xffffffff
jne 0x6b9230
mov eax, dword [ebp - 0x114]
neg eax
jmp 0x6b9452
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x128]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_socket]
call eax
sub esp, 0xc
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0xffffffff
je 0x6b93d1
mov dword [ebp - 0x138], pe_nt_image_headers32
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x138]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x11c]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_getsockname]
call eax
sub esp, 0xc
cmp eax, 0xffffffff
je 0x6b93d4
mov eax, dword [ebp - 0x138]
cmp dword [ebp - 0x124], eax
jne 0x6b93be
mov edx, dword [ebp - 0x138]
mov eax, dword [ebp - 0x120]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x11c]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_connect]
call eax
sub esp, 0xc
cmp eax, 0xffffffff
je 0x6b93d7
mov dword [ebp - 0x138], pe_nt_image_headers32
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x138]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x118]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_accept]
call eax
sub esp, 0xc
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0xffffffff
je 0x6b93da
mov eax, dword [ebp - 0x138]
cmp dword [ebp - 0x124], eax
jne 0x6b93c1
mov eax, dword [ebp - 0x120]
lea edx, [ebp - 0x138]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x11c]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_getsockname]
call eax
sub esp, 0xc
cmp eax, 0xffffffff
je 0x6b93dd
mov eax, dword [ebp - 0x11c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x118]
mov dword [esp], eax
call fcn.006b8fbe
test eax, eax
je 0x6b93c4
mov eax, dword [ebp - 0x134]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_closesocket]
call eax
sub esp, 4
mov eax, dword [ebp - 0x148]
mov edx, dword [ebp - 0x120]
mov dword [eax], edx
mov eax, dword [ebp - 0x148]
lea edx, [eax + 4]
mov eax, dword [ebp - 0x130]
mov dword [edx], eax
mov eax, 0
jmp 0x6b9452
nop
jmp 0x6b93c5
nop
jmp 0x6b93c5
nop
mov dword [ebp - 0x12c], 0x2745
jmp 0x6b93de
nop
jmp 0x6b93de
nop
jmp 0x6b93de
nop
jmp 0x6b93de
nop
jmp 0x6b93de
nop
cmp dword [ebp - 0x12c], 0
jns 0x6b93f6
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov eax, dword [eax]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x134], 0xffffffff
je 0x6b9412
mov eax, dword [ebp - 0x134]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_closesocket]
call eax
sub esp, 4
cmp dword [ebp - 0x120], 0xffffffff
je 0x6b942e
mov eax, dword [ebp - 0x120]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_closesocket]
call eax
sub esp, 4
cmp dword [ebp - 0x130], 0xffffffff
je 0x6b944a
mov eax, dword [ebp - 0x130]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_closesocket]
call eax
sub esp, 4
mov eax, dword [ebp - 0x12c]
neg eax
mov ecx, dword [ebp - 0xc]
xor ecx, dword [sym.imp.libssp_0.dll___stack_chk_guard]
je 0x6b9462
call sub.libssp_0.dll___stack_chk_fail
leave
ret