Function at 0x20447510
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
lea ebp, [esp - 0x1ee0]
mov eax, 0x1ee0
call fcn.20479670
push 0xffffffffffffffff
push 0x204824e8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x204a31e0]
xor eax, ebp
mov dword [ebp + 0x1edc], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov eax, dword [0x204a55cc]
add eax, 0x3ab4
mov dword [ebp - 0x1c], eax
je 0x20447961
lea eax, [ebp + 0x1d98]
push eax
call fcn.20414c10
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov byte [ebp - 4], 1
push 0xb8
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_4026]
lea ecx, [ebp]
push ecx
call fcn.20426370
mov byte [ebp - 4], 2
mov eax, dword [ebx + 0x100]
mov dword [ebp + 0x1534], eax
mov byte [ebp - 0x11], 0
push 6
push 1
push 0x17
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
je 0x204475cc
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
mov al, 1
jmp 0x204475cf
mov al, byte [ebp - 0x11]
movzx edx, al
mov dword [ebp + 0x1538], edx
mov byte [ebp + 0x1d9c], 1
mov dword [ebp + 0x1dac], 0x40
movzx eax, byte [ebx + 0xc8]
mov dword [ebp + 0x1db4], eax
xor eax, eax
cmp dword [ebx + 0x70], 1
setne al
add eax, 1
mov dword [ebp + 0x1da8], eax
lea esi, [ebx + 0xd0]
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
jle 0x204476eb
push 0
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_2461]
mov edx, eax
lea ecx, [ebp + 0x1d98]
call fcn.204168b0
push 0x5c
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_5524]
mov edi, eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov byte [ebp - 4], 3
mov edx, dword [esi]
mov eax, dword [edx - 0xc]
sub eax, edi
sub eax, 1
push eax
lea eax, [ebp + 0x1ed4]
push eax
mov ecx, esi
call dword [sym.imp.MFC80U.DLL_Ordinal_5558]
mov byte [ebp - 4], 4
mov ecx, dword [eax]
push ecx
push 0x11c
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.MFC80U.DLL_Ordinal_2310]
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x1ed4]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
cmp eax, 0xff
jle 0x204476cd
push 0xff
lea ecx, [ebp + 0x1ed4]
push ecx
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_3990]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x1ed4]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea edx, [ebp + 0x1d98]
push edx
mov eax, dword [ebp - 0x14]
call fcn.20416820
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
jmp 0x204476fc
lea eax, [ebp + 0x1d98]
push eax
mov eax, 0x20485878
call fcn.20416820
lea esi, [ebp + 0x1d98]
call fcn.20417a70
lea esi, [ebx + 0xa6]
sub esp, 0x24
mov ecx, 8
mov edi, esp
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea ecx, [ebp + 0x1d98]
call fcn.20417730
mov eax, dword [ebp + 0x1df8]
xor edi, edi
cmp eax, edi
je 0x20447741
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
mov dword [ebp + 0x1df8], edi
mov dword [ebp + 0x1e00], edi
mov dword [ebp + 0x1dfc], edi
mov eax, dword [ebp + 0x1e0c]
cmp eax, edi
je 0x20447766
push eax
call sub.MFC80U.DLL_Ordinal_266
add esp, 4
mov dword [ebp + 0x1e0c], edi
mov dword [ebp + 0x1e14], edi
mov dword [ebp + 0x1e10], edi
lea esi, [ebp + 0x1d98]
call fcn.20417b70
mov al, byte [ebx + 0xc8]
cmp al, 6
je 0x2044778f
cmp al, 0x11
jne 0x20447890
mov word [ebp - 0x14], di
cmp dword [ebx + 0x70], 1
jne 0x2044780b
movzx eax, word [ebx + 0x8a]
sub eax, 2
je 0x204477db
sub eax, 0x15
jne 0x204477f7
lea ecx, [ebx + 0x84]
push ecx
lea esi, [ebp + 0x1eb8]
call fcn.20405ca0
mov dx, word [ebp + 0x1ec8]
mov word [ebp - 0x14], dx
mov ecx, dword [ebp - 0x14]
push ecx
lea eax, [ebp + 0x1d98]
call fcn.20416ae0
jmp 0x20447890
lea edi, [ebx + 0x84]
lea esi, [ebp + 0x1ed4]
call fcn.20405bd0
mov ax, word [ebp + 0x1ed8]
mov word [ebp - 0x14], ax
mov ecx, dword [ebp - 0x14]
push ecx
lea eax, [ebp + 0x1d98]
call fcn.20416ae0
jmp 0x20447890
movzx eax, word [ebx + 0xac]
sub eax, 2
je 0x2044783b
sub eax, 0x15
jne 0x20447859
lea eax, [ebx + 0xa6]
push eax
lea esi, [ebp + 0x1eb8]
call fcn.20405ca0
mov dx, word [ebp + 0x1ec8]
mov word [ebp - 0x14], dx
jmp 0x20447859
lea edi, [ebx + 0xa6]
lea esi, [ebp + 0x1ed4]
call fcn.20405bd0
mov ax, word [ebp + 0x1ed8]
mov word [ebp - 0x14], ax
xor edi, edi
mov eax, dword [ebp + 0x1dfc]
mov dword [ebp + 0x1ed4], eax
cmp eax, edi
jge 0x2044786e
jmp fcn.20477d24
lea edi, [eax + 1]
lea esi, [ebp + 0x1df4]
call fcn.20418a20
mov ecx, dword [ebp + 0x1df8]
mov dx, word [ebp - 0x14]
mov eax, dword [ebp + 0x1ed4]
mov word [ecx + eax*2], dx
sub esp, 0x120
mov ecx, esp
mov dword [ebp + 0x1ed4], esp
lea edx, [ebp + 0x1d98]
push edx
push ecx
call fcn.20414df0
mov byte [ebp - 4], 6
mov byte [ebp - 4], 2
lea esi, [ebp]
call fcn.20426d70
mov byte [ebp + 0x1d94], 1
mov byte [ebp - 4], 7
mov ecx, esi
call fcn.2042d9c0
cmp eax, 1
jne 0x2044792f
mov esi, dword [ebp - 0x1c]
lea eax, [esi + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp + 0x1d90]
push ecx
lea eax, [esi + 0x35c]
call fcn.204191e0
mov ecx, ebx
call fcn.2042d000
push eax
mov ecx, esi
call fcn.204639f0
mov byte [ebp - 4], 1
lea ecx, [ebp]
call fcn.204267b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1d98]
call fcn.204154b0
mov al, 1
jmp 0x20447963
mov dword [ebp - 4], 2
mov byte [ebp - 4], 1
lea ecx, [ebp]
call fcn.204267b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x1d98]
call fcn.204154b0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1edc]
xor ecx, ebp
call fcn.20478952
add ebp, 0x1ee0
mov esp, ebp
pop ebp
ret