Function at 0x40b600
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ca14
mov eax, dword fs:[0]
push eax
sub esp, 0x32c
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 dword [ebp - 0x248], ecx
xor eax, eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x268], eax
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.WS2_32.dll_recv]
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x110]
push 0x100
push eax
push edi
call esi
test eax, eax
jle 0x40b6bd
push eax
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x26c]
lea ecx, [ebp - 0x270]
call fcn.00402cb0
mov eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x270]
sub eax, ecx
cmp eax, 4
jbe 0x40b6a8
cmp dword [ecx - 4], 0xa0d0a0d
jne 0x40b702
push 0
push 0x100
lea eax, [ebp - 0x110]
push eax
push edi
call esi
test eax, eax
jg 0x40b673
mov byte [ebp - 0x231], 0
mov ecx, dword [ebp - 0x270]
test ecx, ecx
je 0x40d2c1
mov edx, dword [ebp - 0x268]
mov eax, ecx
sub edx, ecx
cmp edx, 0x1000
jb 0x40d2b7
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40d2b7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea eax, [ebp - 0x280]
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x254], eax
push 1
mov byte [ebp - 4], 1
call sub.MSVCP140.dll_private:_static_class_std::locale::_Locimp____cdecl_std::locale::_Init_bool_
add esp, 4
mov dword [ebp - 0x274], eax
push 0
lea ecx, [ebp - 0x12c]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::_Lockit::constructor_int_]
mov edi, dword [0x55f184]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::locale::id_std::collate_char_::id]
mov byte [ebp - 4], 3
mov dword [ebp - 0x258], edi
call dword [sym.imp.MSVCP140.dll_public:_unsigned_int___thiscall_std::locale::id::operator_unsigned_int_void_]
push eax
lea ecx, [ebp - 0x278]
call fcn.00409e50
mov esi, eax
test esi, esi
jne 0x40b7b5
test edi, edi
je 0x40b770
mov esi, edi
jmp 0x40b7b5
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x258]
push eax
call fcn.00409be0
add esp, 8
cmp eax, 0xffffffff
je 0x40d2e4
mov esi, dword [ebp - 0x258]
mov dword [ebp - 0x244], esi
push esi
mov byte [ebp - 4], 4
call fcn.0050bd39
mov eax, dword [esi]
add esp, 4
mov ecx, esi
call dword [eax + 4]
mov dword [0x55f184], esi
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
lea eax, [ebp - 0x278]
mov dword [ebp - 0x280], esi
push eax
call fcn.00404970
add esp, 4
mov dword [ebp - 0x27c], eax
push 1
push 0x513b5d
push str._s_s_
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 5
call fcn.00403a90
mov ecx, dword [ebp - 0x26c]
lea eax, [ebp - 0x270]
mov dword [ebp - 0x240], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x288]
mov byte [ebp - 4], 6
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x270]
sub ecx, eax
push ecx
push eax
lea ecx, [ebp - 0x1e8]
mov dword [ebp - 0x288], 0
movups xmmword [ebp - 0x1e8], xmm0
mov dword [ebp - 0x1d8], 0
mov dword [ebp - 0x1d4], 0
call fcn.004027d0
mov eax, dword [0x55fc44]
xorps xmm0, xmm0
cmp dword [ebp - 0x1d4], 0x10
mov eax, dword [eax]
mov edi, dword [eax + 8]
lea eax, [ebp - 0x1e8]
cmovae eax, dword [ebp - 0x1e8]
push eax
push str.HTTP_received___n_s
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x254], 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 0xd0
sub esp, 0x18
mov byte [ebp - 4], 8
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], 7
call edi
add esp, 0x40
lea eax, [ebp - 0x1d0]
lea ecx, [ebp - 0x240]
push eax
call fcn.00406fa0
push 0
push str._id
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 9
call fcn.0040d770
cmp eax, 0xffffffff
jne 0x40ba5d
mov eax, dword [0x55fc44]
xorps xmm0, xmm0
cmp dword [ebp - 0x1bc], 0x10
mov eax, dword [eax]
mov edi, dword [eax + 4]
lea eax, [ebp - 0x1d0]
cmovae eax, dword [ebp - 0x1d0]
push eax
push str.Incorrect_HTTP_request__cant_find_streamId__s
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x254], 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 0xd7
sub esp, 0x18
mov byte [ebp - 4], 0xa
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], 9
call edi
add esp, 0x40
mov byte [ebp - 0x231], 0
jmp 0x40d1d8
push 0xffffffffffffffff
add eax, 4
lea ecx, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x1a0]
push eax
call fcn.0040f210
push 0
push 0x513bac
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], 0xb
call fcn.0040d770
mov ecx, dword [ebp - 0x190]
cmp eax, ecx
ja 0x40bab5
cmp dword [ebp - 0x18c], 0x10
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x190], eax
cmovae ecx, dword [ebp - 0x1a0]
mov byte [ecx + eax], 0
jmp 0x40bac5
sub eax, ecx
lea ecx, [ebp - 0x1a0]
push 0
push eax
call fcn.0040b250
mov esi, dword [ebp - 0x248]
add esi, 0x8134
mov ecx, esi
mov edi, dword [esi + 0x14]
cmp edi, 0x10
jb 0x40badd
mov ecx, dword [esi]
push dword [esi + 0x10]
cmp dword [ebp - 0x18c], 0x10
lea eax, [ebp - 0x1a0]
push ecx
cmovae eax, dword [ebp - 0x1a0]
push dword [ebp - 0x190]
push eax
call fcn.004041b0
add esp, 0x10
test al, al
jne 0x40bc0d
mov eax, dword [0x55fc44]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x12c], eax
cmp edi, 0x10
jb 0x40bb23
mov esi, dword [esi]
cmp dword [ebp - 0x18c], 0x10
lea eax, [ebp - 0x1a0]
push esi
cmovae eax, dword [ebp - 0x1a0]
xorps xmm0, xmm0
push eax
push str.Wrong_client_request_expected__s_received__s
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x254], 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 0xe1
sub esp, 0x18
mov byte [ebp - 4], 0xc
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], 0xb
call dword [ebp - 0x12c]
add esp, 0x44
mov byte [ebp - 0x231], 0
jmp 0x40d183
push 0
push 0x513be0
lea ecx, [ebp - 0x1d0]
call fcn.0040d770
push 0
push str.HEAD
lea ecx, [ebp - 0x1d0]
mov dword [ebp - 0x244], eax
call fcn.0040d770
mov esi, dword [ebp - 0x248]
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x254], eax
mov eax, dword [esi + 0x88]
mov dword [ebp - 0x264], eax
mov eax, dword [esi + 0x8c]
mov dword [ebp - 0x258], eax
lea eax, [ebp - 0x158]
push eax
call fcn.00406fa0
mov eax, dword [ebp - 0x148]
mov byte [ebp - 4], 0xd
mov dword [ebp - 0x25c], eax
test eax, eax
je 0x40bf40
nop word [eax + eax]
mov edi, dword [ebp - 0x144]
lea esi, [ebp - 0x158]
cmp edi, 0x10
cmovae esi, dword [ebp - 0x158]
setae byte [ebp - 0x231]
test eax, eax
je 0x40bece
push eax
push 0x3a
push esi
call sub.VCRUNTIME140.dll_memchr
add esp, 0xc
test eax, eax
je 0x40bece
sub eax, esi
mov dword [ebp - 0x12c], eax
cmp eax, 0xffffffff
je 0x40bece
cmp byte [ebp - 0x231], 0
lea esi, [ebp - 0x158]
mov ecx, dword [ebp - 0x158]
mov edx, dword [ebp - 0x25c]
cmovne esi, ecx
nop word [eax + eax]
cmp edi, 0x10
lea eax, [ebp - 0x158]
cmovae eax, ecx
setae byte [ebp - 0x231]
add eax, edx
cmp esi, eax
je 0x40bd3d
movsx eax, byte [esi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [esi], al
add esp, 4
mov edi, dword [ebp - 0x144]
inc esi
mov edx, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x158]
jmp 0x40bd00
mov edi, dword [ebp - 0x12c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x170], xmm0
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0
lea esi, [edi + 1]
cmp edx, esi
jb 0x40d2e9
sub edx, esi
lea eax, [ebp - 0x158]
or ecx, 0xffffffff
cmp edx, 0xffffffff
cmovb ecx, edx
cmp byte [ebp - 0x231], 0
push ecx
cmovne eax, dword [ebp - 0x158]
lea ecx, [ebp - 0x170]
add eax, esi
push eax
call fcn.004027d0
or dword [ebp - 0x238], 0x200
push 0
push 0x5137ab
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x170]
push eax
lea eax, [ebp - 0x200]
push eax
call fcn.00404650
add esp, 0x14
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x148], edi
lea eax, [ebp - 0x158]
mov esi, dword [ebp - 0x248]
lea ecx, [ebp - 0x128]
cmovb edi, dword [ebp - 0x148]
xorps xmm0, xmm0
cmp dword [ebp - 0x144], 0x10
push edi
cmovae eax, dword [ebp - 0x158]
push eax
mov byte [ebp - 4], 0xf
movups xmmword [ebp - 0x128], xmm0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
call fcn.004027d0
or dword [ebp - 0x238], 0x400
push 0
push 0x5137ab
lea eax, [ebp - 0x284]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x188]
push eax
call fcn.00404650
add esp, 0x14
push eax
lea ecx, [esi + 0x80]
mov byte [ebp - 4], 0x11
call fcn.00406e00
mov esi, dword [ebp - 0x12c]
mov edi, eax
cmp edi, esi
je 0x40be9e
mov ecx, edi
call fcn.00406190
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x188]
call fcn.00406190
lea ecx, [ebp - 0x128]
call fcn.00406190
lea ecx, [ebp - 0x200]
call fcn.00406190
lea ecx, [ebp - 0x170]
mov byte [ebp - 4], 0xd
call fcn.00406190
lea eax, [ebp - 0x188]
push eax
lea ecx, [ebp - 0x240]
call fcn.00406fa0
mov esi, eax
lea eax, [ebp - 0x158]
cmp eax, esi
je 0x40bf1b
mov ecx, eax
call fcn.00406190
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x158], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x148], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
lea ecx, [ebp - 0x188]
call fcn.00406190
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x25c], eax
test eax, eax
jne 0x40bc90
mov esi, dword [ebp - 0x248]
mov ecx, dword [ebp - 0x144]
mov byte [ebp - 4], 0xb
cmp ecx, 0x10
jb 0x40bf80
mov edx, dword [ebp - 0x158]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bf76
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40bf76
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
push 0x40
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0
call fcn.0050945c
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x250], eax
cmp dword [esi + 0x8104], 0
mov byte [ebp - 4], 0x12
je 0x40c159
lea eax, [ebp - 0x130]
mov dword [ebp - 0x130], 0
push 0x40
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], eax
call fcn.0050945c
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x130], eax
push eax
mov eax, dword [esi + 0x80]
lea ecx, [ebp - 0x130]
mov byte [ebp - 4], 0x13
push dword [eax + 4]
call fcn.00402870
mov ecx, dword [ebp - 0x130]
mov dword [ecx + 4], eax
mov edi, dword [ebp - 0x130]
mov eax, dword [esi + 0x84]
mov dword [ebp - 0x12c], eax
mov edx, dword [edi + 4]
cmp byte [edx + 0xd], 0
jne 0x40c080
mov ecx, dword [edx]
cmp byte [ecx + 0xd], 0
jne 0x40c05c
nop dword [eax]
mov eax, dword [ecx]
mov edx, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x40c050
mov dword [edi], edx
mov edx, dword [ebp - 0x130]
mov ecx, dword [edx + 4]
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
jne 0x40c07b
mov ecx, eax
mov eax, dword [ecx + 8]
cmp byte [eax + 0xd], 0
je 0x40c070
mov dword [edx + 8], ecx
jmp 0x40c08b
mov dword [edi], edi
mov eax, dword [ebp - 0x130]
mov dword [eax + 8], eax
mov ecx, dword [esi + 0x8104]
mov byte [ebp - 4], 0x14
test ecx, ecx
je 0x40d2ee
mov eax, dword [ecx]
lea edx, [ebp - 0x130]
push edx
lea edx, [ebp - 0x240]
push edx
call dword [eax + 8]
mov eax, dword [ebp - 0x130]
mov edi, dword [ebp - 0x238]
or edi, 0x2000
push dword [eax + 4]
lea eax, [ebp - 0x130]
push eax
mov ecx, eax
call fcn.00402980
push 0x40
push dword [ebp - 0x130]
call fcn.0050948c
mov esi, dword [ebp - 0x250]
lea eax, [ebp - 0x250]
add esp, 8
mov ecx, eax
push dword [esi + 4]
push eax
call fcn.00402980
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov ecx, dword [ebp - 0x250]
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x250], eax
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x240]
mov dword [ebp - 0x23c], 0
push dword [ecx + 4]
mov ecx, eax
push eax
call fcn.00402980
push 0x40
push dword [ebp - 0x240]
call fcn.0050948c
mov esi, dword [ebp - 0x248]
add esp, 8
jmp 0x40c15f
mov edi, dword [ebp - 0x238]
mov eax, dword [str.200_OK]
xorps xmm0, xmm0
movups xmmword [ebp - 0x1b8], xmm0
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x1b8], eax
movzx eax, word [0x513bf0]
mov dword [ebp - 0x1a8], 6
mov dword [ebp - 0x1a4], 0xf
mov word [ebp - 0x1b4], ax
mov byte [ebp - 0x1b2], 0
movups xmmword [ebp - 0x128], xmm0
mov dword [esi + 0xac], 0
movq xmm0, qword [str.user_agent]
movzx eax, word [0x513bfc]
mov dword [ebp - 0x118], 0xa
mov dword [ebp - 0x114], 0xf
movq qword [ebp - 0x128], xmm0
mov word [ebp - 0x120], ax
mov byte [ebp - 0x11e], 0
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0x16
push eax
lea ecx, [esi + 0x80]
call fcn.00406e00
push 0
push str.sonos
mov ecx, eax
call fcn.0040d770
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 0x15
cmp ecx, 0x10
jb 0x40c257
mov edx, dword [ebp - 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c24d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40c24d
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 eax, dword [0x513c10]
lea ecx, [esi + 0x80]
xorps xmm0, xmm0
mov dword [ebp - 0x118], 0xc
movups xmmword [ebp - 0x128], xmm0
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x128]
movq xmm0, qword [str.icy_metadata]
push eax
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x114], 0xf
push eax
movq qword [ebp - 0x128], xmm0
mov byte [ebp - 0x11c], 0
call fcn.0040d700
lea ecx, [ebp - 0x128]
call fcn.00406190
mov eax, dword [ebp - 0x25c]
cmp eax, dword [esi + 0x80]
je 0x40c376
cmp byte [esi + 0x80b0], 0
je 0x40c376
lea eax, [ebp - 0x188]
mov dword [esi + 0x80b4], 0x8000
push 0x8000
push eax
mov dword [esi + 0x80b8], 0x8000
call fcn.0040f2e0
add esp, 8
mov esi, eax
push 0xb
xorps xmm0, xmm0
mov byte [ebp - 4], 0x17
push str.icy_metaint
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x118], 0
movups xmmword [ebp - 0x128], xmm0
mov dword [ebp - 0x114], 0
call fcn.004027d0
push esi
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [ebp - 0x250]
call fcn.00406e00
mov ecx, eax
call fcn.00406c00
lea ecx, [ebp - 0x128]
call fcn.00406190
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 0x15
call fcn.00406190
mov esi, dword [ebp - 0x248]
mov eax, dword [str.range]
lea ecx, [esi + 0x80]
xorps xmm0, xmm0
mov dword [ebp - 0x118], 5
movups xmmword [ebp - 0x128], xmm0
mov dword [ebp - 0x128], eax
mov al, byte [0x513c28]
mov byte [ebp - 0x124], al
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x114], 0xf
push eax
mov byte [ebp - 0x123], 0
call fcn.0040d700
lea ecx, [ebp - 0x128]
call fcn.00406190
mov eax, dword [ebp - 0x25c]
cmp eax, dword [esi + 0x80]
je 0x40c5b4
cmp dword [esi + 0xa8], 0
je 0x40c6eb
add eax, 0x28
mov dword [ebp - 0x238], 0
cmp dword [eax + 0x14], 0x10
jb 0x40c409
mov eax, dword [eax]
lea ecx, [ebp - 0x238]
push ecx
push str.bytes_zu
push eax
call fcn.00401940
add esp, 0xc
cmp dword [ebp - 0x238], 0
je 0x40c6eb
lea eax, [esi + 0x94]
mov ecx, eax
mov dword [ebp - 0x25c], eax
call fcn.0040f440
mov ecx, dword [esi + 0xa8]
sub ecx, eax
cmp dword [ebp - 0x238], ecx
jb 0x40c6eb
push 0x13
push str.206_Partial_Content
lea ecx, [ebp - 0x1b8]
call fcn.0040b510
cmp dword [ebp - 0x23c], 0xffffffff
jne 0x40c583
mov ecx, dword [ebp - 0x25c]
call fcn.0040f440
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0040f2e0
mov esi, eax
push dword [ebp - 0x238]
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 0x19
push eax
call fcn.0040f2e0
push eax
lea eax, [ebp - 0x140]
mov byte [ebp - 4], 0x1a
push 0x513c64
push eax
call fcn.00402310
push 0x513c60
push eax
lea eax, [ebp - 0x170]
mov byte [ebp - 4], 0x1b
push eax
call fcn.004022a0
push esi
push eax
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0x1c
push eax
call fcn.00402280
push 0x513c5c
push eax
lea eax, [ebp - 0x200]
mov byte [ebp - 4], 0x1d
push eax
call fcn.004022a0
add esp, 0x40
mov esi, eax
push str.Content_Range
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 0x1e
call fcn.00404c60
push esi
lea eax, [ebp - 0x188]
mov byte [ebp - 4], 0x1f
push eax
lea ecx, [ebp - 0x250]
call fcn.00406e00
mov ecx, eax
call fcn.00406c00
lea ecx, [ebp - 0x188]
call fcn.00406190
lea ecx, [ebp - 0x200]
call fcn.00406190
lea ecx, [ebp - 0x128]
call fcn.00406190
lea ecx, [ebp - 0x170]
call fcn.00406190
lea ecx, [ebp - 0x140]
call fcn.00406190
lea ecx, [ebp - 0x230]
call fcn.00406190
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 0x15
call fcn.00406190
mov esi, dword [ebp - 0x248]
mov ecx, dword [ebp - 0x25c]
xor edx, edx
mov eax, dword [ebp - 0x238]
div dword [ecx + 0x10]
mov eax, dword [ebp - 0x1b8]
add edx, dword [ecx]
mov dword [ecx + 4], edx
mov dword [esi + 0xac], 1
mov dword [ebp - 0x12c], eax
jmp 0x40c6eb
cmp dword [esi + 0xa8], 0
je 0x40c6eb
cmp dword [ebp - 0x23c], 0xffffffff
mov edx, dword [esi + 0x94]
mov dword [esi + 0x98], edx
mov dword [esi + 0xac], 1
je 0x40c5f4
mov dword [ebp - 0x264], 0xffffffff
mov dword [ebp - 0x258], getsockopt
mov eax, dword [0x55fc44]
mov ecx, dword [esi + 0x9c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x23c], eax
cmp ecx, edx
jb 0x40c612
sub ecx, edx
jmp 0x40c61a
sub ecx, edx
add ecx, dword [esi + 0xa4]
mov eax, dword [esi + 0xa8]
xorps xmm0, xmm0
sub eax, ecx
push eax
push str.re_opening_HTTP_stream_at__d
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x25c], 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 0x125
sub esp, 0x18
mov byte [ebp - 4], 0x20
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], 0x15
call dword [ebp - 0x23c]
add esp, 0x40
mov esi, dword [ebp - 0x244]
cmp esi, 0xffffffff
je 0x40c76b
cmp dword [ebp - 0x264], 0xfffffffd
jne 0x40c76b
cmp dword [ebp - 0x258], 0xffffffff
jne 0x40c76b
push 0x11
xorps xmm0, xmm0
mov dword [ebp - 0x118], 0
push str.Transfer_Encoding
lea ecx, [ebp - 0x128]
mov dword [ebp - 0x114], 0
movups xmmword [ebp - 0x128], xmm0
call fcn.004027d0
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0x21
push eax
lea ecx, [ebp - 0x250]
call fcn.00406e00
push 7
push str.chunked
mov ecx, eax
call fcn.0040b510
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x15
call fcn.00406190
lea ecx, [ebp - 0x2d0]
mov dword [ebp - 0x338], 0x513b44
mov dword [ebp - 0x328], 0x513b4c
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::constructor_void_]
push 0
lea eax, [ebp - 0x320]
mov byte [ebp - 4], 0x22
or edi, 0x800
lea ecx, [ebp - 0x338]
push eax
mov dword [ebp - 0x23c], edi
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char____]
mov eax, dword [ebp - 0x338]
mov dword [ebp - 4], 0x23
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x338]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x33c], eax
lea ecx, [ebp - 0x320]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void_]
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x2e8], 0
mov dword [ebp - 0x2e4], 0
cmp esi, 0xffffffff
mov byte [ebp - 4], 0x24
mov edx, str.HTTP_1.1
mov eax, str.HTTP_1.0
cmove edx, eax
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40c821
sub ecx, esi
mov eax, closesocket
mov esi, dword [ebp - 0x1a8]
sub eax, esi
cmp eax, ecx
jb 0x40d2f3
cmp dword [ebp - 0x1a4], 0x10
lea eax, [ebp - 0x1b8]
push esi
cmovae eax, dword [ebp - 0x12c]
push eax
push ecx
push edx
lea eax, [ebp - 0x1b8]
push eax
push dword [ebp - 0x254]
lea ecx, [ebp - 0x188]
call fcn.00404e30
or edi, 0x1000
mov dword [ebp - 0x238], edi
push 0x5136f4
lea eax, [ebp - 0x188]
mov byte [ebp - 4], 0x25
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004022a0
add esp, 0xc
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 0x26
jb 0x40c8a9
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0x328]
push eax
call fcn.00402eb0
add esp, 0xc
lea ecx, [ebp - 0x218]
call fcn.00406190
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 0x24
call fcn.00406190
mov eax, dword [ebp - 0x250]
mov esi, dword [eax]
cmp esi, eax
je 0x40cb68
mov edx, dword [esi + 0x20]
lea ecx, [esi + 0x10]
mov eax, closesocket
lea edi, [esi + 0x28]
sub eax, edx
cmp eax, 2
jb 0x40d2f3
cmp dword [ecx + 0x14], 0x10
mov eax, ecx
jb 0x40c907
mov eax, dword [ecx]
push 2
push 0x5137a8
push edx
push eax
push ecx
push dword [ebp - 0x244]
lea ecx, [ebp - 0x200]
call fcn.00404e30
or dword [ebp - 0x238], 0x10
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
mov byte [ebp - 4], 0x27
jb 0x40c938
mov edi, dword [edi]
push eax
push edi
lea ecx, [ebp - 0x200]
call fcn.0040b3b0
mov dword [ebp - 0x118], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x128], xmm0
mov dword [ebp - 0x114], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x128], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x118], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edi, dword [ebp - 0x238]
or edi, 8
push 2
push 0x5136f4
lea ecx, [ebp - 0x128]
mov byte [ebp - 4], 0x28
call fcn.0040b3b0
mov dword [ebp - 0x130], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x140], xmm0
mov dword [ebp - 0x12c], 0
or edi, 4
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x140], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x130], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 0x238], edi
cmp dword [ebp - 0x12c], 0x10
lea eax, [ebp - 0x140]
push dword [ebp - 0x130]
cmovae eax, dword [ebp - 0x140]
push eax
lea eax, [ebp - 0x328]
mov byte [ebp - 4], 0x29
push eax
call fcn.00402eb0
mov ecx, dword [ebp - 0x12c]
add esp, 0xc
mov byte [ebp - 4], 0x28
cmp ecx, 0x10
jb 0x40ca65
mov edx, dword [ebp - 0x140]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ca5b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bf70
push ecx
push edx
call fcn.0050948c
add esp, 8
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0xf
mov byte [ebp - 0x140], 0
mov byte [ebp - 4], 0x27
cmp ecx, 0x10
jb 0x40cabe
mov edx, dword [ebp - 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40cab4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bf70
push ecx
push edx
call fcn.0050948c
add esp, 8
mov ecx, dword [ebp - 0x1ec]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
mov byte [ebp - 4], 0x24
cmp ecx, 0x10
jb 0x40cb17
mov edx, dword [ebp - 0x200]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40cb0d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bf70
push ecx
push edx
call fcn.0050948c
add esp, 8
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x40cb44
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x40cb40
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x40cb40
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x40cb30
mov esi, eax
jmp 0x40cb5c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x40cb5c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x40cb50
cmp esi, dword [ebp - 0x250]
jne 0x40c8e4
mov ecx, dword [ebp - 0x258]
test ecx, ecx
jl 0x40cc31
mov eax, dword [ebp - 0x264]
jg 0x40cb86
test eax, eax
je 0x40cc31
push ecx
push eax
lea eax, [ebp - 0x12b]
push eax
call fcn.00404260
add esp, 0xc
lea ecx, [ebp - 0x231]
push ecx
lea ecx, [ebp - 0x12b]
push ecx
push eax
lea ecx, [ebp - 0x188]
call fcn.00401f50
or edi, 0x180
lea eax, [ebp - 0x188]
mov byte [ebp - 4], 0x2a
push eax
lea eax, [ebp - 0x230]
push str.Content_Length:
push eax
call fcn.00402310
push 0x5136f4
push eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 0x2b
push eax
call fcn.004022a0
add esp, 0x18
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
mov byte [ebp - 4], 0x2c
jb 0x40cbfb
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0x328]
push eax
call fcn.00402eb0
add esp, 0xc
lea ecx, [ebp - 0x218]
call fcn.00406190
lea ecx, [ebp - 0x230]
call fcn.00406190
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 0x24
call fcn.00406190
lea eax, [ebp - 0x328]
push str.Server:_spot_connect_r_n
push eax
call fcn.00402010
mov eax, dword [ebp - 0x248]
mov ecx, closesocket
add esp, 8
mov eax, dword [eax + 0x90]
add eax, 0x20
mov edx, dword [eax + 0x10]
sub ecx, edx
cmp ecx, 0xe
jb 0x40d2f8
cmp dword [eax + 0x14], 0x10
mov ecx, eax
jb 0x40cc71
mov ecx, dword [eax]
push edx
push ecx
push 0xe
push str.Content_Type:
push eax
push dword [ebp - 0x254]
lea ecx, [ebp - 0x188]
call fcn.00404e30
or edi, 0x40
push 2
push 0x5136f4
lea ecx, [ebp - 0x188]
mov byte [ebp - 4], 0x2d
call fcn.0040b3b0
mov dword [ebp - 0x160], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x170], xmm0
mov dword [ebp - 0x15c], 0
or edi, 0x20
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x170], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x160], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
cmp dword [ebp - 0x15c], 0x10
lea eax, [ebp - 0x170]
push dword [ebp - 0x160]
cmovae eax, dword [ebp - 0x170]
push eax
lea eax, [ebp - 0x328]
mov byte [ebp - 4], 0x2e
push eax
call fcn.00402eb0
mov ecx, dword [ebp - 0x15c]
add esp, 0xc
mov byte [ebp - 4], 0x2d
cmp ecx, 0x10
jb 0x40cd56
mov edx, dword [ebp - 0x170]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40cd4c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cda1
push ecx
push edx
call fcn.0050948c
add esp, 8
mov ecx, dword [ebp - 0x174]
mov dword [ebp - 0x160], 0
mov dword [ebp - 0x15c], 0xf
mov byte [ebp - 0x170], 0
mov byte [ebp - 4], 0x24
cmp ecx, 0x10
jb 0x40cdb1
mov edx, dword [ebp - 0x188]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40cda7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40cda7
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 eax, [ebp - 0x328]
push str.Connection:_close_r_n
push eax
call fcn.00402010
lea eax, [ebp - 0x328]
push 0x5136f4
push eax
call fcn.00402010
add esp, 0x10
lea eax, [ebp - 0x188]
lea ecx, [ebp - 0x338]
push eax
call fcn.0040eb40
mov esi, dword [eax + 0x10]
lea ecx, [ebp - 0x338]
lea eax, [ebp - 0x128]
mov byte [ebp - 4], 0x2f
push eax
call fcn.0040eb40
cmp dword [eax + 0x14], 0x10
jb 0x40ce09
mov eax, dword [eax]
push 0
push esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [ebp - 0x114]
cmp ecx, 0x10
jb 0x40ce4c
mov edx, dword [ebp - 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ce42
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ce97
push ecx
push edx
call fcn.0050948c
add esp, 8
mov ecx, dword [ebp - 0x174]
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0xf
mov byte [ebp - 0x128], 0
mov byte [ebp - 4], 0x24
cmp ecx, 0x10
jb 0x40cea7
mov edx, dword [ebp - 0x188]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40ce9d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40ce9d
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 eax, dword [0x55fc44]
mov eax, dword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x244], eax
mov ecx, dword [ebp - 0x2e4]
xorps xmm0, xmm0
mov eax, ecx
mov byte [ebp - 4], 0x30
or edi, 2
mov dword [ebp - 0x118], 0
and al, 0x22
mov dword [ebp - 0x114], 0xf
mov dword [ebp - 0x23c], edi
movq qword [ebp - 0x134], xmm0
mov dword [ebp - 0x12c], 0
movups xmmword [ebp - 0x128], xmm0
mov byte [ebp - 0x128], 0
cmp al, 2
je 0x40cf58
lea ecx, [ebp - 0x320]
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
test eax, eax
je 0x40cf52
lea ecx, [ebp - 0x320]
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pbase_void_const]
lea ecx, [ebp - 0x320]
mov edi, eax
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const]
mov esi, eax
lea ecx, [ebp - 0x320]
cmp esi, dword [ebp - 0x2e8]
cmovb esi, dword [ebp - 0x2e8]
sub esi, edi
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const]
jmp 0x40cf99
mov ecx, dword [ebp - 0x2e4]
test cl, 4
jne 0x40cf8d
lea ecx, [ebp - 0x320]
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const]
test eax, eax
je 0x40cf8d
lea ecx, [ebp - 0x320]
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const]
lea ecx, [ebp - 0x320]
mov edi, eax
call dword [sym.imp.MSVCP140.dll_protected:_char____thiscall_std::basic_streambuf_char__struct_std::char_traits_char__::egptr_void_const]
mov esi, eax
sub esi, edi
jmp 0x40cf99
mov edi, dword [ebp - 0x134]
mov esi, dword [ebp - 0x130]
test edi, edi
je 0x40cfaa
push esi
push edi
lea ecx, [ebp - 0x128]
call fcn.0040b510
mov dword [ebp - 4], 0x24
cmp dword [ebp - 0x114], 0x10
lea eax, [ebp - 0x128]
xorps xmm0, xmm0
cmovae eax, dword [ebp - 0x128]
push eax
push str.HTTP_response___n_s
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x12c], 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 0x136
sub esp, 0x18
mov byte [ebp - 4], 0x32
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], 0x31
call dword [ebp - 0x244]
mov ecx, dword [ebp - 0x114]
add esp, 0x40
cmp ecx, 0x10
jb 0x40d0ca
mov edx, dword [ebp - 0x128]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d0c0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40d0c0
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 eax, dword [ebp - 0x338]
cmp dword [ebp - 0x254], 0xffffffff
sete byte [ebp - 0x231]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x338]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x33c], eax
lea ecx, [ebp - 0x320]
call fcn.004061e0
lea ecx, [ebp - 0x318]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void_]
lea ecx, [ebp - 0x2d0]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::destructor_void_]
mov ecx, dword [ebp - 0x1a4]
cmp ecx, 0x10
jb 0x40d15c
mov edx, dword [ebp - 0x1b8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d152
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b6fc
push ecx
push edx
call fcn.0050948c
add esp, 8
mov eax, dword [ebp - 0x250]
push dword [eax + 4]
lea eax, [ebp - 0x250]
push eax
mov ecx, eax
call fcn.00402980
push 0x40
push dword [ebp - 0x250]
call fcn.0050948c
add esp, 8
mov ecx, dword [ebp - 0x18c]
cmp ecx, 0x10
jb 0x40d1bd
mov edx, dword [ebp - 0x1a0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d1b3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b6fc
push ecx
push edx
call fcn.0050948c
add esp, 8
mov dword [ebp - 0x190], 0
mov dword [ebp - 0x18c], 0xf
mov byte [ebp - 0x1a0], 0
mov ecx, dword [ebp - 0x1bc]
cmp ecx, 0x10
jb 0x40d212
mov edx, dword [ebp - 0x1d0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d208
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b6fc
push ecx
push edx
call fcn.0050948c
add esp, 8
mov ecx, dword [ebp - 0x1d4]
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1bc], 0xf
mov byte [ebp - 0x1d0], 0
cmp ecx, 0x10
jb 0x40d267
mov edx, dword [ebp - 0x1e8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40d25d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b6fc
push ecx
push edx
call fcn.0050948c
add esp, 8
lea ecx, [ebp - 0x284]
mov dword [ebp - 0x1d8], 0
mov dword [ebp - 0x1d4], 0xf
mov byte [ebp - 0x1e8], 0
call fcn.0040ada0
mov ecx, dword [ebp - 0x274]
test ecx, ecx
je 0x40b6c4
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x40b6c4
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
jmp 0x40b6c4
push edx
push ecx
call fcn.0050948c
add esp, 8
mov al, byte [ebp - 0x231]
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 4
call fcn.0040ad70
call fcn.0040b120
call sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
call fcn.0040b100
call fcn.0040b100
int3