Function at 0x404f00
Capabilities:
Create tcp socket
Create udp socket
Get local ipv4 addresses
Get socket information
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c459
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x55ca98]
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 - 0xec], edi
mov dword [ebp - 0xfc], edi
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x100], edi
mov dword [ebp - 0xf0], esi
mov dword [ebp - 0xe4], eax
mov dword [ebp - 4], 0
mov eax, dword [0x513a54]
xorps xmm0, xmm0
movups xmmword [ebp - 0x120], xmm0
mov edx, 0xf
mov dword [ebp - 0x118], eax
movq xmm0, qword [str.HTTP_streamer]
mov al, byte [0x513a58]
mov dword [ebp - 0x110], 0xd
mov dword [ebp - 0x10c], edx
movq qword [ebp - 0x120], xmm0
mov byte [ebp - 0x114], al
mov byte [ebp - 0x113], 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 - 0x120]
mov byte [ebp - 4], 6
cmp ecx, eax
je 0x404fde
push 0xd
push eax
call fcn.0040b510
mov edx, dword [ebp - 0x10c]
mov dword [edi + 0x1c], 0x8000
mov dword [edi + 0x20], 0
mov byte [edi + 0x24], 1
mov byte [ebp - 4], 4
cmp edx, 0x10
jb 0x40502a
lea ecx, [edx + 1]
mov edx, dword [ebp - 0x120]
mov eax, edx
cmp ecx, 0x1000
jb 0x405020
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40542e
push ecx
push edx
call fcn.0050948c
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
xorps xmm0, xmm0
movups xmmword [edi + 0x60], xmm0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0xf
mov byte [edi + 0x60], 0
mov dword [edi + 0x78], 0xffffffff
sub edi, 0xffffff80
mov dword [ebp - 0xe8], edi
push 0x40
mov byte [ebp - 4], 9
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.0050945c
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [edi], eax
mov edi, dword [ebp - 0xec]
mov dword [edi + 0x88], 0xffffffff
mov dword [edi + 0x8c], 0xffffffff
mov dword [edi + 0x90], 0
push 0x500000
mov byte [ebp - 4], 0xb
mov dword [edi + 0xa8], 0
call fcn.0050949a
mov dword [edi + 0x94], eax
mov dword [edi + 0x98], eax
mov dword [edi + 0x9c], eax
add eax, 0x500000
mov dword [edi + 0xa4], 0x500000
mov dword [edi + 0xa0], eax
xorps xmm0, xmm0
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
movups xmmword [edi + 0x814c], xmm0
mov dword [edi + 0x815c], 0
lea eax, [edi + 0x814c]
mov dword [eax + 0x14], 0xf
lea ecx, [eax + 0x18]
mov byte [eax], 0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
movups xmmword [eax + 0x30], xmm0
mov dword [ebp - 0x104], ecx
lea ecx, [eax + 0x30]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov dword [ebp - 0x108], ecx
lea ecx, [eax + 0x48]
movups xmmword [ecx], xmm0
mov dword [ebp - 0xf8], ecx
mov dword [ecx + 0x10], 0
add eax, 0x60
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov dword [ebp - 0xe8], eax
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
movups xmmword [edi + 0x81c8], xmm0
mov dword [edi + 0x81d8], 0
mov dword [edi + 0x81dc], 0xf
mov byte [edi + 0x81c8], 0
push dword [ebp - 0xe4]
lea eax, [ebp - 0x13]
mov byte [ebp - 4], 0x12
push eax
call fcn.00404220
add esp, 0x18
lea ecx, [ebp - 0xf1]
push ecx
lea ecx, [ebp - 0x13]
push ecx
push eax
lea ecx, [ebp - 0x98]
call fcn.00401f50
mov ecx, dword [ebp + 0x1c]
mov eax, closesocket
sub eax, ecx
mov byte [ebp - 4], 0x13
cmp eax, 1
jb 0x405b30
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
push 1
cmovae eax, dword [ebp + 0xc]
push 0x513a5c
push ecx
push eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp - 0x100]
lea ecx, [ebp - 0x80]
call fcn.00404e30
lea eax, [ebp - 0x98]
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x100]
lea ecx, [ebp - 0x68]
call fcn.00404ca0
lea eax, [ebp - 0x68]
lea ecx, [edi + 0x8134]
cmp ecx, eax
je 0x4052cc
call fcn.00406190
movups xmm0, xmmword [ebp - 0x68]
mov ecx, 0xf
mov byte [ebp - 0x68], 0
movups xmmword [edi + 0x8134], xmm0
movq xmm0, qword [ebp - 0x58]
movq qword [edi + 0x8144], xmm0
jmp 0x4052cf
mov ecx, dword [ebp - 0x54]
cmp ecx, 0x10
jb 0x405300
mov edx, dword [ebp - 0x68]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4052f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40542e
push ecx
push edx
call fcn.0050948c
add esp, 8
mov ecx, dword [ebp - 0x6c]
mov byte [ebp - 4], 0x13
cmp ecx, 0x10
jb 0x405338
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40532e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40542e
push ecx
push edx
call fcn.0050948c
add esp, 8
mov ecx, dword [ebp - 0x84]
mov byte [ebp - 4], 0x12
cmp ecx, 0x10
jb 0x405376
mov edx, dword [ebp - 0x98]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40536c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40542e
push ecx
push edx
call fcn.0050948c
add esp, 8
push dword [ebp + 0xcc]
lea ecx, [edi + 0x81c8]
push dword [ebp + 0xc8]
call fcn.0040b510
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
push esi
mov dword [edi + 0x78], eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, eax
mov dword [ebp - 0x40], 0
mov ecx, edx
mov dword [ebp - 0x3c], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x50], xmm0
lea eax, [ecx + 1]
mov dword [ebp - 0xe4], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4053c5
sub ecx, dword [ebp - 0xe4]
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.004027d0
lea eax, [ebp - 0x50]
lea ecx, [edi + 0x60]
cmp ecx, eax
je 0x405408
call fcn.00406190
movups xmm0, xmmword [ebp - 0x50]
mov ecx, 0xf
mov byte [ebp - 0x50], 0
movups xmmword [edi + 0x60], xmm0
movq xmm0, qword [ebp - 0x40]
movq qword [edi + 0x70], xmm0
jmp 0x40540b
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0x10
jb 0x40543e
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405434
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x405434
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0050948c
add esp, 8
mov al, byte [ebp + 0x40]
lea ecx, [edi + 0x814c]
mov byte [edi + 0x80b0], al
lea eax, [ebp + 0x4c]
cmp ecx, eax
je 0x405465
cmp dword [ebp + 0x60], 0x10
push dword [ebp + 0x5c]
cmovae eax, dword [ebp + 0x4c]
push eax
call fcn.0040b510
mov ecx, dword [ebp - 0x104]
lea eax, [ebp + 0x64]
cmp ecx, eax
je 0x405483
cmp dword [ebp + 0x78], 0x10
push dword [ebp + 0x74]
cmovae eax, dword [ebp + 0x64]
push eax
call fcn.0040b510
mov ecx, dword [ebp - 0x108]
lea eax, [ebp + 0x7c]
cmp ecx, eax
je 0x4054a7
cmp dword [ebp + 0x90], 0x10
push dword [ebp + 0x8c]
cmovae eax, dword [ebp + 0x7c]
push eax
call fcn.0040b510
mov ecx, dword [ebp - 0xf8]
lea eax, [ebp + 0x94]
cmp ecx, eax
je 0x4054d1
cmp dword [ebp + 0xa8], 0x10
push dword [ebp + 0xa4]
cmovae eax, dword [ebp + 0x94]
push eax
call fcn.0040b510
mov ecx, dword [ebp - 0xe8]
lea eax, [ebp + 0xac]
cmp ecx, eax
je 0x4054fb
cmp dword [ebp + 0xc0], 0x10
push dword [ebp + 0xbc]
cmovae eax, dword [ebp + 0xac]
push eax
call fcn.0040b510
mov eax, dword [ebp + 0xc4]
lea ecx, [edi + 0x80e0]
mov dword [edi + 0x81c4], eax
lea eax, [ebp + 0xd4]
push eax
call fcn.00406c70
lea eax, [ebp + 0xfc]
push eax
lea ecx, [edi + 0x8108]
call fcn.00406c70
mov eax, dword [ebp + 0xd0]
lea ecx, [ebp + 0x28]
cdq
push 0
push 0x513a60
mov dword [edi + 0x81e0], eax
mov dword [edi + 0x81e4], edx
call fcn.0040d770
cmp eax, 0xffffffff
je 0x4055ff
push 0x38
call fcn.0050945c
add esp, 4
mov dword [ebp - 0xe4], eax
mov byte [ebp - 4], 0x15
test eax, eax
je 0x4057c5
push 0
sub esp, 0x18
xorps xmm0, xmm0
mov edi, esp
mov ecx, edi
push 0x20
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
call fcn.0040b130
mov ecx, eax
mov dword [edi + 0x10], 0x1f
mov dword [edi], ecx
mov dword [edi + 0x14], 0x1f
movups xmm0, xmmword [str.audio_L16_rate44100_channels2]
movups xmmword [ecx], xmm0
movq xmm0, qword [0x5139d0]
movq qword [ecx + 0x10], xmm0
mov eax, dword [0x5139d8]
mov dword [ecx + 0x18], eax
mov ax, word [0x5139dc]
mov word [ecx + 0x1c], ax
mov al, byte [0x5139de]
mov byte [ecx + 0x1e], al
mov byte [ecx + 0x1f], 0
mov ecx, dword [ebp - 0xe4]
call fcn.00410150
mov eax, dword [ebp - 0xe4]
mov edi, dword [ebp - 0xec]
mov dword [eax], vtable.pcmCodec.0
jmp 0x4057c7
push 0
push 0x513a64
lea ecx, [ebp + 0x28]
call fcn.0040d770
cmp eax, 0xffffffff
je 0x405683
push 0x3c
call fcn.0050945c
mov edx, eax
add esp, 4
mov dword [ebp - 0xe8], edx
mov byte [ebp - 4], 0x16
test edx, edx
je 0x4057c5
push 0
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 9
mov dword [ecx + 0x14], 0xf
movq xmm0, qword [str.audio_wav]
movq qword [ecx], xmm0
mov al, byte [0x513a0c]
mov byte [ecx + 8], al
mov byte [ecx + 9], 0
mov ecx, edx
call fcn.00410150
mov eax, dword [ebp - 0xe8]
mov dword [eax], vtable.wavCodec.0
mov dword [eax + 0x38], 0
jmp 0x4057c7
push 0
push 0x513a68
lea ecx, [ebp + 0x28]
call fcn.0040d770
cmp eax, 0xffffffff
jne 0x405720
push 0
push 0x513a70
lea ecx, [ebp + 0x28]
call fcn.0040d770
cmp eax, 0xffffffff
jne 0x405720
push 0
push 0x513a80
lea ecx, [ebp + 0x28]
call fcn.0040d770
cmp eax, 0xffffffff
je 0x40571a
cmp dword [ebp + 0x3c], 0x10
lea ecx, [ebp - 0xe4]
push ecx
lea eax, [ebp + 0x28]
mov dword [ebp - 0xe4], 0xa0
cmovae eax, dword [ebp + 0x28]
push str.__:_:_d
push eax
call fcn.00401940
push 0x4c
call fcn.0050945c
add esp, 0x10
mov dword [ebp - 0xe8], eax
mov byte [ebp - 4], 0x18
test eax, eax
je 0x4057c5
push 0
push dword [ebp - 0xe4]
mov ecx, eax
call fcn.00410580
jmp 0x4057c7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
cmp dword [ebp + 0x3c], 0x10
lea ecx, [ebp - 0xe4]
push ecx
lea eax, [ebp + 0x28]
mov dword [ebp - 0xe4], 5
cmovae eax, dword [ebp + 0x28]
push str.__:_:_d
push eax
call fcn.00401940
push 0x44
call fcn.0050945c
mov edx, eax
add esp, 0x10
mov dword [ebp - 0xe8], edx
mov byte [ebp - 4], 0x17
test edx, edx
je 0x4057c5
mov edi, dword [ebp - 0xe4]
xorps xmm0, xmm0
push 0
sub esp, 0x18
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0xa
mov dword [ecx + 0x14], 0xf
movq xmm0, qword [str.audio_flac]
movq qword [ecx], xmm0
mov ax, word [0x513a3c]
mov word [ecx + 8], ax
mov byte [ecx + 0xa], 0
mov ecx, edx
call fcn.00410150
mov eax, dword [ebp - 0xe8]
mov dword [eax + 0x3c], edi
mov edi, dword [ebp - 0xec]
mov dword [eax], vtable.flacCodec.0
mov dword [eax + 0x38], 0
mov byte [eax + 0x40], 0
jmp 0x4057c7
xor eax, eax
mov ecx, dword [edi + 0x90]
mov dword [edi + 0x90], eax
mov byte [ebp - 4], 0x12
test ecx, ecx
je 0x4057e1
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [edi + 0x90]
mov eax, dword [ebp + 0x44]
mov esi, dword [ebp - 0xec]
mov dword [edi + 0x88], eax
mov eax, dword [ebp + 0x48]
mov dword [edi + 0x8c], eax
mov eax, dword [ecx]
mov edi, dword [eax + 0x10]
mov eax, dword [ebp - 0xec]
mov edx, dword [eax + 0x81c4]
xor eax, eax
sub edx, dword [esi + 0x81e0]
sbb eax, dword [esi + 0x81e4]
push eax
push edx
call edi
mov esi, dword [ebp - 0xf0]
mov ecx, eax
mov eax, dword [ebp + 0x44]
or eax, dword [ebp + 0x48]
mov edi, dword [ebp - 0xec]
jne 0x405844
mov dword [edi + 0x88], ecx
mov dword [edi + 0x8c], edx
mov eax, dword [edi + 0x88]
or eax, dword [edi + 0x8c]
jne 0x405866
mov dword [edi + 0x88], 0xffffffff
mov dword [edi + 0x8c], 0xffffffff
mov eax, 2
mov dword [ebp - 0x34], esi
mov word [ebp - 0x38], ax
mov dword [ebp - 0xe4], 0
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movzx ecx, word [0x55a018]
mov esi, eax
cdq
idiv ecx
add dx, word [0x55f17c]
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 + 0x78]
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x405920
nop word [eax + eax]
mov cx, word [0x55f17c]
test cx, cx
je 0x405bad
movzx edx, word [0x55a018]
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xf0], edx
cmp eax, edx
je 0x405bad
inc eax
inc esi
mov dword [ebp - 0xe4], eax
mov eax, esi
cdq
idiv dword [ebp - 0xf0]
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 + 0x78]
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x4058c0
lea eax, [ebp - 0xfc]
mov dword [ebp - 0xfc], 0x10
push eax
lea eax, [ebp - 0x38]
push eax
push dword [edi + 0x78]
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 + 0x7c], cx
mov eax, dword [0x55fc44]
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 - 0xf0], 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 [0x513ab0]
mov byte [ecx + 4], al
mov byte [ecx + 5], 0
push 0x85
sub esp, 0x18
mov byte [ebp - 4], 0x1b
mov esi, esp
mov ecx, esi
push 0x50
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.0040b130
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 [0x513ac8]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [0x513ad8]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [0x513ae8]
movups xmmword [ecx + 0x30], xmm0
movq xmm0, qword [0x513af8]
movq qword [ecx + 0x40], xmm0
mov eax, dword [0x513b00]
mov dword [ecx + 0x48], eax
mov byte [ecx + 0x4c], 0
push dword [0x55fc44]
mov byte [ebp - 4], 0x12
call edi
mov edi, dword [ebp - 0xec]
add esp, 0x40
push 1
push dword [edi + 0x78]
call dword [sym.imp.WS2_32.dll_listen]
test eax, eax
js 0x405b35
mov ecx, dword [ebp + 0x20]
cmp ecx, 0x10
jb 0x405a69
mov edx, dword [ebp + 0xc]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405a5f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x405aa1
push ecx
push edx
call fcn.0050948c
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 0x405ab1
mov edx, dword [ebp + 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405aa7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x405aa7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0050948c
add esp, 8
lea ecx, [ebp + 0x4c]
mov dword [ebp + 0x38], 0
mov dword [ebp + 0x3c], 0xf
mov byte [ebp + 0x28], 0
call fcn.00406870
mov ecx, dword [ebp + 0xf8]
test ecx, ecx
je 0x405af3
mov edx, dword [ecx]
lea eax, [ebp + 0xd4]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp + 0xf8], 0
mov ecx, dword [ebp + 0x120]
test ecx, ecx
je 0x405b11
mov esi, dword [ecx]
lea eax, [ebp + 0xfc]
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.005091c5
mov esp, ebp
pop ebp
ret 0x11c
call fcn.0040b100
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 - 0x98]
push eax
call fcn.00404c60
mov esi, eax
movzx eax, word [edi + 0x7c]
push eax
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 0x1c
push eax
call fcn.0040f270
push eax
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 0x1d
push str.listen_failed_on_port
push eax
call fcn.00402310
push 0x5137a8
push eax
lea eax, [ebp - 0xc8]
mov byte [ebp - 4], 0x1e
push eax
call fcn.004022a0
push esi
push eax
lea eax, [ebp - 0xe0]
mov byte [ebp - 4], 0x1f
push eax
call fcn.00402280
add esp, 0x2c
mov byte [ebp - 4], 0x20
jmp 0x405be4
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 - 0x98]
push eax
call fcn.00404c60
push eax
lea eax, [ebp - 0x80]
mov byte [ebp - 4], 0x19
push str.cant_bind_on_port
push eax
call fcn.00402310
add esp, 0xc
mov byte [ebp - 4], 0x1a
push eax
lea ecx, [ebp - 0x20]
call fcn.00405d70
push 0x552104
lea eax, [ebp - 0x20]
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
int3