Function at 0x409f50
Capabilities:
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552a73
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x62aabc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x198], edi
mov dword [ebp - 0x174], edi
mov eax, dword [ebp + 0x24]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x170], edi
mov dword [ebp - 0x15c], eax
mov dword [ebp - 4], 0
mov eax, dword [0x559a48]
xorps xmm0, xmm0
movups xmmword [ebp - 0x1b0], xmm0
mov edx, 0xf
mov dword [ebp - 0x1a8], eax
movq xmm0, qword [str.HTTP_streamer]
mov al, byte [0x559a4c]
mov dword [ebp - 0x1a0], 0xd
mov dword [ebp - 0x19c], edx
movq qword [ebp - 0x1b0], xmm0
mov byte [ebp - 0x1a4], al
mov byte [ebp - 0x1a3], 0
lea ecx, [edi + 4]
mov dword [edi], vtable.bell::Task.0
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], edx
mov byte [ecx], 0
lea eax, [ebp - 0x1b0]
mov byte [ebp - 4], 6
cmp ecx, eax
je 0x40a028
push 0xd
push eax
call fcn.00410d70
mov edx, dword [ebp - 0x19c]
mov dword [edi + 0x1c], 0x8000
mov dword [edi + 0x20], 0
mov byte [edi + 0x24], 1
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x40a074
lea ecx, [edx + 1]
mov edx, dword [ebp - 0x1b0]
mov eax, edx
cmp ecx, 0x1000
jb 0x40a06a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a471
push ecx
push edx
call fcn.0054f9fc
add esp, 8
lea eax, [edi + 0x30]
mov dword [edi], vtable.HTTPstreamer.0
push 2
push eax
mov byte [edi + 0x2c], 0
call sub.MSVCP140.dll__Mtx_init_in_situ
add esp, 8
xorps xmm0, xmm0
movups xmmword [edi + 0x60], xmm0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0xf
mov byte [edi + 0x60], 0
movups xmmword [edi + 0x78], xmm0
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0xf
mov byte [edi + 0x78], 0
mov dword [edi + 0x90], 0xffffffff
mov dword [edi + 0x98], 0xffffffff
mov dword [edi + 0x9c], 0xffffffff
mov dword [edi + 0xa0], 0
mov dword [edi + 0xa4], 0
mov al, byte [ebp + 0x40]
mov byte [edi + 0x80ac], al
mov eax, dword [ebp + 0x4c]
mov dword [edi + 0x80b0], eax
movups xmmword [edi + 0x80c4], xmm0
mov dword [edi + 0x80d4], 0
mov dword [edi + 0x80d8], 0xf
mov byte [edi + 0x80c4], 0
mov dword [edi + 0x8104], 0
mov dword [edi + 0x812c], 0
mov dword [edi + 0x8130], 1
movups xmmword [edi + 0x8134], xmm0
mov dword [edi + 0x8144], 0
mov dword [edi + 0x8148], 0xf
mov byte [edi + 0x8134], 0
add edi, 0x814c
mov byte [ebp - 4], 0x10
lea eax, [ebp + 0x50]
mov dword [ebp - 0x160], edi
push eax
mov ecx, edi
call fcn.00409bc0
lea eax, [ebp + 0x68]
mov byte [ebp - 4], 0x11
lea ecx, [edi + 0x18]
push eax
call fcn.00409bc0
lea eax, [ebp + 0x80]
mov byte [ebp - 4], 0x12
lea ecx, [edi + 0x30]
push eax
call fcn.00409bc0
lea eax, [ebp + 0x98]
mov byte [ebp - 4], 0x13
lea ecx, [edi + 0x48]
push eax
call fcn.00409bc0
lea eax, [ebp + 0xb0]
mov byte [ebp - 4], 0x14
lea ecx, [edi + 0x60]
push eax
call fcn.00409bc0
mov eax, dword [ebp + 0xc8]
mov dword [edi + 0x78], eax
mov eax, dword [ebp + 0xcc]
mov dword [edi + 0x7c], eax
mov eax, dword [ebp + 0xd0]
mov dword [edi + 0x80], eax
mov edi, dword [ebp - 0x198]
xorps xmm0, xmm0
push dword [ebp + 0xd8]
lea ecx, [edi + 0x81d0]
mov byte [ebp - 4], 0x15
push dword [ebp + 0xd4]
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.004076f0
push dword [ebp - 0x15c]
lea eax, [ebp - 0x13]
mov byte [ebp - 4], 0x16
push eax
mov dword [edi + 0x81f0], 0
mov dword [edi + 0x81f4], 0
mov dword [edi + 0x81f8], 0
mov dword [edi + 0x81fc], 0
call fcn.00409230
add esp, 8
lea ecx, [ebp - 0x169]
push ecx
lea ecx, [ebp - 0x13]
push ecx
push eax
lea ecx, [ebp - 0x98]
call fcn.00406e10
mov ecx, dword [ebp + 0x1c]
mov eax, closesocket
sub eax, ecx
mov byte [ebp - 4], 0x17
cmp eax, 1
jb 0x40b375
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
push 1
cmovae eax, dword [ebp + 0xc]
push 0x559a50
push ecx
push eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp - 0x170]
lea ecx, [ebp - 0xb0]
call fcn.00409e40
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0x18
push eax
lea eax, [ebp - 0xb0]
push eax
push dword [ebp - 0x170]
lea ecx, [ebp - 0xe0]
call fcn.00409cb0
lea eax, [ebp - 0xe0]
lea ecx, [edi + 0x8134]
cmp ecx, eax
je 0x40a317
call fcn.0040b9a0
movups xmm0, xmmword [ebp - 0xe0]
mov ecx, 0xf
mov byte [ebp - 0xe0], 0
movups xmmword [edi + 0x8134], xmm0
movq xmm0, qword [ebp - 0xd0]
movq qword [edi + 0x8144], xmm0
jmp 0x40a31d
mov ecx, dword [ebp - 0xcc]
cmp ecx, 0x10
jb 0x40a351
mov edx, dword [ebp - 0xe0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a347
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a471
push ecx
push edx
call fcn.0054f9fc
add esp, 8
mov ecx, dword [ebp - 0x9c]
mov byte [ebp - 4], 0x17
cmp ecx, 0x10
jb 0x40a38f
mov edx, dword [ebp - 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a385
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a471
push ecx
push edx
call fcn.0054f9fc
add esp, 8
mov ecx, dword [ebp - 0x84]
mov byte [ebp - 4], 0x16
cmp ecx, 0x10
jb 0x40a3cd
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a3c3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a471
push ecx
push edx
call fcn.0054f9fc
add esp, 8
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
push esi
mov dword [edi + 0x90], eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, eax
mov dword [ebp - 0x70], 0
mov ecx, edx
mov dword [ebp - 0x6c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x80], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0x15c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a408
sub ecx, dword [ebp - 0x15c]
push ecx
push edx
lea ecx, [ebp - 0x80]
call fcn.004076f0
lea eax, [ebp - 0x80]
lea ecx, [edi + 0x60]
cmp ecx, eax
je 0x40a44b
call fcn.0040b9a0
movups xmm0, xmmword [ebp - 0x80]
mov ecx, 0xf
mov byte [ebp - 0x80], 0
movups xmmword [edi + 0x60], xmm0
movq xmm0, qword [ebp - 0x70]
movq qword [edi + 0x70], xmm0
jmp 0x40a44e
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0x10
jb 0x40a481
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a477
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40a477
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0054f9fc
add esp, 8
lea eax, [ebp + 0xe0]
push eax
lea ecx, [edi + 0x80e0]
call fcn.0040c440
lea eax, [ebp + 0x108]
push eax
lea ecx, [edi + 0x8108]
call fcn.0040c440
cmp dword [ebp + 0x4c], 2
mov eax, dword [ebp + 0xdc]
cdq
mov dword [edi + 0x80b4], 0
mov dword [edi + 0x81e8], eax
mov dword [edi + 0x81ec], edx
jne 0x40a544
cmp byte [ebp + 0x40], 0
jne 0x40a544
push 0x24
call fcn.0054f9cc
add esp, 4
mov dword [ebp - 0x15c], eax
test eax, eax
je 0x40a52a
mov dword [eax + 0x14], 0x20000
mov dword [eax + 0x18], 0
mov byte [ebp - 4], 0x1a
mov dword [eax], vtable.fileBuffer.0
mov dword [eax + 0x20], 0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_tmpfile]
mov ecx, dword [ebp - 0x15c]
push 0x20000
mov dword [ecx + 0x1c], eax
call fcn.0054fa0a
mov ecx, dword [ebp - 0x15c]
add esp, 4
mov dword [ecx + 0x10], eax
mov eax, ecx
jmp 0x40a52c
xor eax, eax
mov ecx, dword [edi + 0xa4]
mov byte [ebp - 4], 0x16
mov dword [edi + 0xa4], eax
test ecx, ecx
je 0x40a5b4
mov eax, dword [ecx]
jmp 0x40a5b0
push 0x28
call fcn.0054f9cc
add esp, 4
mov dword [ebp - 0x15c], eax
test eax, eax
je 0x40a596
mov dword [eax + 0x14], 0x800000
mov dword [eax + 0x18], 0
push 0x800000
mov byte [ebp - 4], 0x1c
mov dword [eax], vtable.ringBuffer.0
call fcn.0054fa0a
mov ecx, dword [ebp - 0x15c]
add esp, 4
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], eax
add eax, 0x800000
mov dword [ecx + 0x24], eax
jmp 0x40a598
xor ecx, ecx
mov edx, dword [edi + 0xa4]
mov byte [ebp - 4], 0x16
mov dword [edi + 0xa4], ecx
test edx, edx
je 0x40a5b4
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax]
cmp dword [ebp + 0x3c], 0x10
lea ecx, [ebp + 0x28]
mov eax, dword [ebp + 0x38]
cmovae ecx, dword [ebp + 0x28]
mov dword [ebp - 0x194], 0xac44
mov word [ebp - 0x190], 0x202
mov dword [ebp - 0x18c], 5
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x184], 0xe0
mov byte [ebp - 0x180], 0
mov dword [ebp - 0x17c], 0xa0
mov dword [ebp - 0x178], 0xa0
mov dword [ebp - 0x160], ecx
cmp eax, 3
jb 0x40a677
add eax, 0xfffffffe
add eax, ecx
mov dword [ebp - 0x15c], eax
sub eax, ecx
push eax
push 0x70
push ecx
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x40a677
movzx eax, byte [ecx]
cmp al, 0x70
jne 0x40a653
movzx eax, byte [ecx + 1]
cmp al, 0x63
jne 0x40a653
movzx eax, byte [ecx + 2]
cmp al, 0x6d
jne 0x40a653
xor eax, eax
jmp 0x40a658
sbb eax, eax
or eax, 1
test eax, eax
je 0x40a6aa
mov eax, dword [ebp - 0x15c]
inc ecx
sub eax, ecx
push eax
push 0x70
push ecx
call sub.VCRUNTIME140.dll_memchr
mov ecx, eax
add esp, 0xc
test ecx, ecx
jne 0x40a638
cmp dword [ebp + 0x3c], 0x10
lea eax, [ebp + 0x28]
push 3
cmovae eax, dword [ebp + 0x28]
push 0x559a58
push 0
push dword [ebp + 0x38]
push eax
call fcn.00409140
add esp, 0x14
cmp eax, 0xffffffff
je 0x40a6c3
push 0
sub esp, 0x20
mov eax, esp
push 5
jmp 0x40a96c
sub ecx, dword [ebp - 0x160]
cmp ecx, 0xffffffff
je 0x40a677
push 0
sub esp, 0x20
mov eax, esp
push 6
jmp 0x40a96c
cmp dword [ebp + 0x3c], 0x10
lea eax, [ebp + 0x28]
push 4
cmovae eax, dword [ebp + 0x28]
push 0x559a5c
push 0
push dword [ebp + 0x38]
push eax
call fcn.00409140
add esp, 0x14
cmp eax, 0xffffffff
jne 0x40a943
cmp dword [ebp + 0x3c], 0x10
lea eax, [ebp + 0x28]
push 3
cmovae eax, dword [ebp + 0x28]
push 0x559a64
push 0
push dword [ebp + 0x38]
push eax
call fcn.00409140
add esp, 0x14
cmp eax, 0xffffffff
jne 0x40a943
cmp dword [ebp + 0x3c], 0x10
lea eax, [ebp + 0x28]
push 4
cmovae eax, dword [ebp + 0x28]
push str.opus
push 0
push dword [ebp + 0x38]
push eax
call fcn.00409140
add esp, 0x14
cmp eax, 0xffffffff
lea eax, [ebp + 0x28]
je 0x40a768
cmp dword [ebp + 0x3c], 0x10
lea ecx, [ebp - 0x188]
push ecx
cmovae eax, dword [ebp + 0x28]
push str.__:_:_d
push eax
call fcn.00406800
add esp, 0xc
push 0
sub esp, 0x20
mov eax, esp
push 3
jmp 0x40a96c
cmp dword [ebp + 0x3c], 0x10
push 6
cmovae eax, dword [ebp + 0x28]
push str.vorbis
push 0
push dword [ebp + 0x38]
push eax
call fcn.00409140
add esp, 0x14
cmp eax, 0xffffffff
lea eax, [ebp + 0x28]
je 0x40a806
cmp dword [ebp + 0x3c], 0x10
lea ecx, [ebp - 0x17c]
push ecx
cmovae eax, dword [ebp + 0x28]
push str.__:_:_d
push eax
call fcn.00406800
movups xmm0, xmmword [ebp - 0x194]
add esp, 0xc
push 0
sub esp, 0x20
mov eax, esp
push 2
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x184]
movups xmmword [eax + 0x10], xmm0
lea eax, [ebp - 0x160]
push eax
call fcn.004175b0
add esp, 0x2c
mov edx, dword [eax]
mov dword [eax], 0
mov ecx, dword [edi + 0xa0]
mov dword [edi + 0xa0], edx
test ecx, ecx
je 0x40a7f6
mov eax, dword [ecx]
push 1
call dword [eax + 8]
lea ecx, [ebp - 0x160]
call fcn.0040bb90
jmp 0x40a9c0
cmp dword [ebp + 0x3c], 0x10
push 3
cmovae eax, dword [ebp + 0x28]
push 0x559a84
push 0
push dword [ebp + 0x38]
push eax
call fcn.00409140
add esp, 0x14
cmp eax, 0xffffffff
lea eax, [ebp + 0x28]
je 0x40a8a4
cmp dword [ebp + 0x3c], 0x10
lea ecx, [ebp - 0x178]
push ecx
cmovae eax, dword [ebp + 0x28]
push str.__:_:_d
push eax
call fcn.00406800
movups xmm0, xmmword [ebp - 0x194]
add esp, 0xc
push 0
sub esp, 0x20
mov eax, esp
push 1
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x184]
movups xmmword [eax + 0x10], xmm0
lea eax, [ebp - 0x160]
push eax
call fcn.004175b0
add esp, 0x2c
mov edx, dword [eax]
mov dword [eax], 0
mov ecx, dword [edi + 0xa0]
mov dword [edi + 0xa0], edx
test ecx, ecx
je 0x40a894
mov eax, dword [ecx]
push 1
call dword [eax + 8]
lea ecx, [ebp - 0x160]
call fcn.0040bb90
jmp 0x40a9c0
cmp dword [ebp + 0x3c], 0x10
push 3
cmovae eax, dword [ebp + 0x28]
push 0x559a88
push 0
push dword [ebp + 0x38]
push eax
call fcn.00409140
add esp, 0x14
cmp eax, 0xffffffff
je 0x40b37a
cmp dword [ebp + 0x3c], 0x10
lea ecx, [ebp - 0x184]
push ecx
lea eax, [ebp + 0x28]
cmovae eax, dword [ebp + 0x28]
push str.__:_:_d
push eax
call fcn.00406800
movups xmm0, xmmword [ebp - 0x194]
add esp, 0xc
push 0
sub esp, 0x20
mov eax, esp
push 0
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x184]
movups xmmword [eax + 0x10], xmm0
lea eax, [ebp - 0x160]
push eax
call fcn.004175b0
add esp, 0x2c
mov edx, dword [eax]
mov dword [eax], 0
mov ecx, dword [edi + 0xa0]
mov dword [edi + 0xa0], edx
test ecx, ecx
je 0x40a936
mov eax, dword [ecx]
push 1
call dword [eax + 8]
lea ecx, [ebp - 0x160]
call fcn.0040bb90
jmp 0x40a9c0
cmp dword [ebp + 0x3c], 0x10
lea ecx, [ebp - 0x18c]
push ecx
lea eax, [ebp + 0x28]
cmovae eax, dword [ebp + 0x28]
push str.__:_:_d
push eax
call fcn.00406800
add esp, 0xc
push 0
sub esp, 0x20
mov eax, esp
push 4
movups xmm0, xmmword [ebp - 0x194]
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x184]
movups xmmword [eax + 0x10], xmm0
lea eax, [ebp - 0x160]
push eax
call fcn.004175b0
add esp, 0x2c
mov edx, dword [eax]
mov dword [eax], 0
mov ecx, dword [edi + 0xa0]
mov dword [edi + 0xa0], edx
test ecx, ecx
je 0x40a9af
mov eax, dword [ecx]
push 1
call dword [eax + 8]
mov ecx, dword [ebp - 0x160]
test ecx, ecx
je 0x40a9c0
mov eax, dword [ecx]
push 1
call dword [eax + 8]
mov edx, dword [edi + 0x81c4]
xor eax, eax
add edx, dword [edi + 0x81e8]
mov ecx, dword [edi + 0xa0]
adc eax, dword [edi + 0x81ec]
mov dword [ebp - 0x15c], eax
push dword [ebp - 0x15c]
mov eax, dword [ecx]
push edx
mov dword [ebp - 0x160], edx
mov eax, dword [eax + 0x14]
call eax
mov ecx, eax
or eax, edx
jne 0x40aa04
push str.cant_initialize_codec
jmp 0x40b37f
mov eax, dword [ebp + 0x44]
or eax, dword [ebp + 0x48]
jne 0x40aa5e
test edx, edx
jg 0x40aa45
jl 0x40aa16
test ecx, ecx
jae 0x40aa45
mov eax, dword [ebp - 0x160]
or eax, dword [ebp - 0x15c]
je 0x40aa45
mov eax, edx
cdq
xor eax, edx
xor ecx, edx
sub ecx, edx
sbb eax, edx
mov edx, eax
call fcn.0054fb90
mulsd xmm0, qword [0x55a2d0]
call fcn.0054fa90
jmp 0x40aa80
mov eax, edx
cdq
xor eax, edx
xor ecx, edx
sub ecx, edx
sbb eax, edx
mov edx, eax
call fcn.0054fb90
call fcn.0054fa90
jmp 0x40aa80
mov eax, dword [ebp + 0x44]
cmp eax, 0xfffffffe
jne 0x40aa7d
cmp dword [ebp + 0x48], 0xffffffff
jne 0x40aa7d
test edx, edx
jl 0x40aa76
jg 0x40aa82
test ecx, ecx
jne 0x40aa82
or ecx, 0xffffffff
or edx, ecx
jmp 0x40aa82
mov edx, dword [ebp + 0x48]
mov ecx, eax
mov dword [edi + 0x98], ecx
mov eax, 2
mov dword [edi + 0x9c], edx
mov dword [ebp - 0x34], esi
mov word [ebp - 0x38], ax
mov dword [ebp - 0x15c], 0
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movzx ecx, word [0x626064]
mov esi, eax
cdq
idiv ecx
add dx, word [0x62cf5c]
movzx eax, dx
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x36], ax
lea eax, [ebp - 0x38]
push 0x10
push eax
push dword [edi + 0x90]
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x40ab53
nop dword [eax]
nop word [eax + eax]
mov cx, word [0x62cf5c]
test cx, cx
je 0x40acc0
movzx edx, word [0x626064]
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x160], edx
cmp eax, edx
je 0x40acc0
inc eax
inc esi
mov dword [ebp - 0x15c], eax
mov eax, esi
cdq
idiv dword [ebp - 0x160]
add dx, cx
movzx eax, dx
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x36], ax
lea eax, [ebp - 0x38]
push 0x10
push eax
push dword [edi + 0x90]
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x40aaf0
lea eax, [ebp - 0x174]
mov dword [ebp - 0x174], 0x10
push eax
lea eax, [ebp - 0x38]
push eax
push dword [edi + 0x90]
call dword [sym.imp.WS2_32.dll_getsockname]
push dword [ebp - 0x36]
call dword [sym.imp.WS2_32.dll_ntohs]
mov cx, ax
xorps xmm0, xmm0
mov word [edi + 0x94], cx
mov eax, dword [0x62da44]
mov eax, dword [eax]
mov edi, dword [eax + 8]
movzx eax, cx
push eax
push str.Bound_to_port__u
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x160], esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 5
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.cspot]
mov dword [ecx], eax
mov al, byte [0x559ac8]
mov byte [ecx + 4], al
mov byte [ecx + 5], 0
push 0xbd
sub esp, 0x18
mov byte [ebp - 4], 0x1f
mov esi, esp
mov ecx, esi
push 0x50
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.00410930
mov dword [esi + 0x10], 0x4c
mov ecx, eax
mov dword [esi], ecx
mov dword [esi + 0x14], 0x4f
movups xmm0, xmmword [str.D:UsersphiliDropboxDevelopmentSpotConnect_spotupnp_srcHTTPstreamer.cpp]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x559ae0]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x559af0]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [0x559b00]
movups xmmword [ecx + 0x30], xmm0
movq xmm0, qword [0x559b10]
movq qword [ecx + 0x40], xmm0
mov eax, dword [0x559b18]
mov dword [ecx + 0x48], eax
mov byte [ecx + 0x4c], 0
push dword [0x62da44]
mov byte [ebp - 4], 0x16
call edi
mov edi, dword [ebp - 0x198]
lea edx, [ebp - 0x158]
add esp, 0x40
mov ecx, dword [edi + 0xa0]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
call eax
mov esi, eax
movzx eax, word [edi + 0x94]
push eax
lea eax, [ebp - 0x13]
mov byte [ebp - 4], 0x20
push eax
call fcn.00409230
add esp, 8
lea ecx, [ebp - 0x169]
push ecx
lea ecx, [ebp - 0x13]
push ecx
push eax
lea ecx, [ebp - 0x140]
call fcn.00406e10
mov edx, dword [edi + 0x70]
lea eax, [edi + 0x60]
mov ecx, closesocket
mov byte [ebp - 4], 0x21
sub ecx, edx
cmp ecx, 7
jb 0x40b39b
jmp 0x40ad0b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
push dword [eax]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
add esp, 4
lea ecx, [ebp - 0x158]
push eax
call fcn.00409c70
push eax
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 0x1d
push str.cant_bind_on_port
push eax
call fcn.004071d0
add esp, 0xc
push eax
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0x1e
call fcn.0040b530
jmp 0x40b38a
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x40ad15
mov ecx, dword [eax]
push edx
push ecx
push 7
push str.http:__
push eax
push dword [ebp - 0x170]
lea ecx, [ebp - 0xc8]
call fcn.00409e40
push 1
push 0x559730
lea ecx, [ebp - 0xc8]
mov byte [ebp - 4], 0x22
call fcn.00410c10
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xb0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xa0], xmm0
mov dword [eax + 0x10], 0
lea ecx, [ebp - 0x110]
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 0x23
push eax
push dword [ebp - 0x170]
call fcn.00409cb0
push 9
push 0x559b28
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 0x24
call fcn.00410c10
xorps xmm0, xmm0
mov dword [ebp - 0x58], 0
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x54], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x68], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x58], xmm0
mov dword [eax + 0x10], 0
lea ecx, [ebp - 0x68]
mov dword [eax + 0x14], 0xf
push 1
mov byte [eax], 0
push 0x559958
mov byte [ebp - 4], 0x25
call fcn.00410c10
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x98], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x88], xmm0
mov dword [eax + 0x10], 0
lea ecx, [ebp - 0xf8]
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x98]
push esi
push eax
push dword [ebp - 0x170]
mov byte [ebp - 4], 0x26
call fcn.00409cb0
push 4
push str._id
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 0x27
call fcn.00410c10
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x3c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x50], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x40], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [edi + 0x8134]
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 0x28
jb 0x40ae98
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.00410c10
lea esi, [edi + 0x78]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x128], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x164], xmm0
movq qword [ebp - 0x118], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x128]
cmp esi, eax
je 0x40af0c
mov ecx, esi
call fcn.0040b9a0
movups xmm0, xmmword [ebp - 0x24]
mov ecx, 0xf
mov byte [ebp - 0x128], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x164]
movq qword [esi + 0x10], xmm0
jmp 0x40af12
mov ecx, dword [ebp - 0x114]
cmp ecx, 0x10
jb 0x40af46
mov edx, dword [ebp - 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40af3c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b1cb
push ecx
push edx
call fcn.0054f9fc
add esp, 8
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 0x27
cmp ecx, 0x10
jb 0x40af7e
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40af74
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b1cb
push ecx
push edx
call fcn.0054f9fc
add esp, 8
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
mov byte [ebp - 4], 0x26
cmp ecx, 0x10
jb 0x40afce
mov edx, dword [ebp - 0xf8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40afc4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b1cb
push ecx
push edx
call fcn.0054f9fc
add esp, 8
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0xf
mov byte [ebp - 0xf8], 0
mov byte [ebp - 4], 0x25
cmp ecx, 0x10
jb 0x40b027
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b01d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b1cb
push ecx
push edx
call fcn.0054f9fc
add esp, 8
mov ecx, dword [ebp - 0x54]
mov byte [ebp - 4], 0x24
cmp ecx, 0x10
jb 0x40b05f
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b055
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b1cb
push ecx
push edx
call fcn.0054f9fc
add esp, 8
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
mov byte [ebp - 4], 0x23
cmp ecx, 0x10
jb 0x40b0af
mov edx, dword [ebp - 0x110]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b0a5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b1cb
push ecx
push edx
call fcn.0054f9fc
add esp, 8
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xfc], 0xf
mov byte [ebp - 0x110], 0
mov byte [ebp - 4], 0x22
cmp ecx, 0x10
jb 0x40b108
mov edx, dword [ebp - 0xb0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b0fe
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b1cb
push ecx
push edx
call fcn.0054f9fc
add esp, 8
mov ecx, dword [ebp - 0xb4]
mov byte [ebp - 4], 0x21
cmp ecx, 0x10
jb 0x40b146
mov edx, dword [ebp - 0xc8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b13c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b1cb
push ecx
push edx
call fcn.0054f9fc
add esp, 8
mov ecx, dword [ebp - 0x12c]
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0xf
mov byte [ebp - 0xc8], 0
mov byte [ebp - 4], 0x20
cmp ecx, 0x10
jb 0x40b19b
mov edx, dword [ebp - 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b191
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b1cb
push ecx
push edx
call fcn.0054f9fc
add esp, 8
mov ecx, dword [ebp - 0x144]
mov byte [ebp - 4], 0x16
cmp ecx, 0x10
jb 0x40b1db
mov edx, dword [ebp - 0x158]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b1d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b1d1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0054f9fc
add esp, 8
push 1
push dword [edi + 0x90]
call dword [sym.imp.WS2_32.dll_listen]
test eax, eax
jns 0x40b27e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
push dword [eax]
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_strerror]
add esp, 4
lea ecx, [ebp - 0x158]
push eax
call fcn.00409c70
mov esi, eax
movzx eax, word [edi + 0x94]
push eax
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 0x29
push eax
call fcn.004150e0
push eax
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 0x2a
push str.listen_failed_on_port
push eax
call fcn.004071d0
push 0x5597e4
push eax
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0x2b
push eax
call fcn.00407160
push esi
push eax
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0x2c
push eax
call fcn.00407140
add esp, 0x2c
push eax
lea ecx, [ebp - 0x168]
mov byte [ebp - 4], 0x2d
call fcn.0040b530
jmp 0x40b38a
mov ecx, dword [ebp + 0x20]
cmp ecx, 0x10
jb 0x40b2ae
mov edx, dword [ebp + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b2a4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b2e6
push ecx
push edx
call fcn.0054f9fc
add esp, 8
mov ecx, dword [ebp + 0x3c]
mov dword [ebp + 0x1c], 0
mov dword [ebp + 0x20], 0xf
mov byte [ebp + 0xc], 0
cmp ecx, 0x10
jb 0x40b2f6
mov edx, dword [ebp + 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b2ec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b2ec
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0054f9fc
add esp, 8
lea ecx, [ebp + 0x50]
mov dword [ebp + 0x38], 0
mov dword [ebp + 0x3c], 0xf
mov byte [ebp + 0x28], 0
call fcn.0040c0c0
mov ecx, dword [ebp + 0x104]
test ecx, ecx
je 0x40b338
mov edx, dword [ecx]
lea eax, [ebp + 0xe0]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp + 0x104], 0
mov ecx, dword [ebp + 0x12c]
test ecx, ecx
je 0x40b356
mov esi, dword [ecx]
lea eax, [ebp + 0x108]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054f742
mov esp, ebp
pop ebp
ret 0x128
call fcn.00410900
push str.unknown_codec
lea ecx, [ebp - 0x168]
call fcn.0040b580
push 0x61dba8
lea eax, [ebp - 0x168]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
call fcn.00410900
int3