Function at 0x4d69c0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ed8ce
mov eax, dword fs:[0]
push eax
sub esp, 0x1d4
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x1e0]
mov ecx, 0x75
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x66486c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004a748a
mov ecx, eax
call fcn.004a9037
mov ecx, eax
call fcn.004a7548
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.004a6e40
push eax
lea ecx, [ebp - 0x2c]
call fcn.004a5b58
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
call fcn.004a6067
mov dword [ebp - 0x1d0], eax
mov esi, esp
push 1
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x1d0]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x1d0]
mov eax, dword [edx + 8]
call eax
cmp esi, esp
call fcn.004a7520
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
call fcn.004a5ca2
push eax
lea ecx, [ebp - 0x44]
call fcn.004a5b58
mov byte [ebp - 4], 3
mov ecx, dword [ebp + 0xc]
call fcn.004a748a
mov ecx, eax
call fcn.004a50a4
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
push eax
call fcn.004a864b
add esp, 4
mov dword [ebp - 0x5c], eax
push 0
push str.M_SEARCH
lea ecx, [ebp - 0x2c]
call fcn.004a5eaa
test eax, eax
jne 0x4d7023
cmp dword [0x65f6e8], 0
jne 0x4d6ad5
mov eax, dword [str.platinum.core.devicehost]
push eax
call fcn.004a7b88
add esp, 4
mov dword [0x65f6e8], eax
cmp dword [0x65f6e8], 0
je 0x4d6b50
mov ecx, dword [0x65f6e8]
call fcn.004a9082
cmp eax, 0x190
jg 0x4d6b50
cmp dword [ebp - 0x5c], 0
je 0x4d6b06
mov ecx, dword [ebp - 0x5c]
call fcn.004a7ab1
mov dword [ebp - 0x1d0], eax
jmp 0x4d6b10
mov dword [ebp - 0x1d0], str.Unknown
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x20]
call fcn.004a8ecf
push eax
mov ecx, dword [ebp - 0x1d0]
push ecx
push str.Received_M_SEARCH_for__s_from__s:_d
push str.PLT_DeviceHost::OnSsdpPacket
mov edx, dword [0x65f774]
add edx, 0xc
push edx
push str.d:work_studio_backupmediaserversource_source_codeplatinum_src_0_6_3_683platinum_sourcecorepltdevicehost.cpp
push 0x190
mov eax, dword [0x65f6e8]
push eax
call fcn.004a5216
add esp, 0x24
xor eax, eax
jne 0x4d6ab9
mov eax, dword [ebp + 8]
push eax
push 0x12c
mov ecx, dword [str.platinum.core.devicehost]
push ecx
mov edx, dword [0x65f6e8]
push edx
call fcn.004a5978
add esp, 0x10
cmp dword [ebp - 0x50], 0x400
jbe 0x4d6b8d
cmp dword [ebp - 0x50], 0x76c
jne 0x4d6c4a
cmp dword [0x65f6e8], 0
jne 0x4d6ba9
mov eax, dword [str.platinum.core.devicehost]
push eax
call fcn.004a7b88
add esp, 4
mov dword [0x65f6e8], eax
cmp dword [0x65f6e8], 0
je 0x4d6bfe
mov ecx, dword [0x65f6e8]
call fcn.004a9082
cmp eax, 0x190
jg 0x4d6bfe
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x20]
call fcn.004a8ecf
push eax
push str.Ignoring_M_SEARCH_from__s:_d__invalid_source_port_
push str.PLT_DeviceHost::OnSsdpPacket
mov ecx, dword [0x65f774]
add ecx, 0x13
push ecx
push str.d:work_studio_backupmediaserversource_source_codeplatinum_src_0_6_3_683platinum_sourcecorepltdevicehost.cpp
push 0x190
mov edx, dword [0x65f6e8]
push edx
call fcn.004a5216
add esp, 0x20
xor eax, eax
jne 0x4d6b8d
mov dword [ebp - 0x1c8], 0xffffffff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.004a5f5e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004a5f5e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004a5f5e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004a5f5e
mov eax, dword [ebp - 0x1c8]
jmp 0x4d7066
cmp dword [ebp - 0x5c], 0
jne 0x4d6d03
cmp dword [0x65f6e8], 0
jne 0x4d6c70
mov eax, dword [str.platinum.core.devicehost]
push eax
call fcn.004a7b88
add esp, 4
mov dword [0x65f6e8], eax
cmp dword [0x65f6e8], 0
je 0x4d6cb7
mov ecx, dword [0x65f6e8]
call fcn.004a9082
cmp eax, 0x258
jg 0x4d6cb7
push str.____NULL_pointer_parameter
push str.PLT_DeviceHost::OnSsdpPacket
mov eax, dword [0x65f774]
add eax, 0x17
push eax
push str.d:work_studio_backupmediaserversource_source_codeplatinum_src_0_6_3_683platinum_sourcecorepltdevicehost.cpp
push 0x258
mov ecx, dword [0x65f6e8]
push ecx
call fcn.004a5216
add esp, 0x18
xor eax, eax
jne 0x4d6c54
mov dword [ebp - 0x1bc], 0xffffb1e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.004a5f5e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004a5f5e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004a5f5e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004a5f5e
mov eax, dword [ebp - 0x1bc]
jmp 0x4d7066
xor eax, eax
jne 0x4d6c4a
push 0
push 0x5fbdb4
lea ecx, [ebp - 0x38]
call fcn.004a5eaa
test eax, eax
jne 0x4d6d31
push 0
push str.HTTP_1.1
lea ecx, [ebp - 0x44]
call fcn.004a5eaa
test eax, eax
je 0x4d6d79
mov dword [ebp - 0x1b0], 0xffffffff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.004a5f5e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004a5f5e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004a5f5e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004a5f5e
mov eax, dword [ebp - 0x1b0]
jmp 0x4d7066
mov eax, dword [ebp + 8]
push eax
call fcn.004a608a
add esp, 4
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x4d6da1
push 1
push str._ssdp:discover_
mov ecx, dword [ebp - 0x68]
call fcn.004a5eaa
test eax, eax
je 0x4d6de9
mov dword [ebp - 0x1a4], 0xffffffff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.004a5f5e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004a5f5e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004a5f5e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004a5f5e
mov eax, dword [ebp - 0x1a4]
jmp 0x4d7066
lea eax, [ebp - 0x74]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004a6a1c
add esp, 8
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
je 0x4d6eca
cmp dword [0x65f6e8], 0
jne 0x4d6e22
mov eax, dword [str.platinum.core.devicehost]
push eax
call fcn.004a7b88
add esp, 4
mov dword [0x65f6e8], eax
cmp dword [0x65f6e8], 0
je 0x4d6e7f
mov ecx, dword [0x65f6e8]
call fcn.004a9082
cmp eax, 0x258
jg 0x4d6e7f
push str._PLT_UPnPMessageHelper::GetMX_request__mx__
mov eax, dword [ebp - 0x80]
push eax
call fcn.004a702a
add esp, 4
push eax
mov ecx, dword [ebp - 0x80]
push ecx
push str.NPT_CHECK_failed__result_d___s____s_
push str.PLT_DeviceHost::OnSsdpPacket
mov edx, dword [0x65f774]
add edx, 0x21
push edx
push str.d:work_studio_backupmediaserversource_source_codeplatinum_src_0_6_3_683platinum_sourcecorepltdevicehost.cpp
push 0x258
mov eax, dword [0x65f6e8]
push eax
call fcn.004a5216
add esp, 0x24
xor eax, eax
jne 0x4d6e06
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x198], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.004a5f5e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004a5f5e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004a5f5e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004a5f5e
mov eax, dword [ebp - 0x198]
jmp 0x4d7066
xor eax, eax
jne 0x4d6de9
cmp dword [ebp - 0x74], 0
jne 0x4d6ee2
fldz
fstp qword [ebp - 0x1d4]
jmp 0x4d6f26
cmp dword [ebp - 0x74], 0xa
jbe 0x4d6ef4
mov dword [ebp - 0x1d8], 0xa
jmp 0x4d6efd
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x1d8], eax
call fcn.004a7985
xor edx, edx
div dword [ebp - 0x1d8]
mov dword [ebp - 0x1e0], edx
mov dword [ebp - 0x1dc], 0
fild qword [ebp - 0x1e0]
fstp qword [ebp - 0x1d4]
sub esp, 8
fld qword [ebp - 0x1d4]
fstp qword [esp]
lea ecx, [ebp - 0x90]
call fcn.004a8344
push 0x30
call fcn.004a520c
add esp, 4
mov dword [ebp - 0x180], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x180], 0
je 0x4d6f8e
mov ecx, dword [ebp - 0x5c]
call fcn.004a8ecf
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004a748a
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
mov eax, dword [ebp - 0x14]
sub eax, 0xd8
push eax
mov ecx, dword [ebp - 0x180]
call fcn.004a8312
mov dword [ebp - 0x1d0], eax
jmp 0x4d6f98
mov dword [ebp - 0x1d0], 0
mov ecx, dword [ebp - 0x1d0]
mov dword [ebp - 0x18c], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x18c]
mov dword [ebp - 0x9c], edx
mov esi, esp
push 1
lea eax, [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x9c]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 8
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 8]
mov edx, dword [eax + 4]
call edx
cmp esi, esp
call fcn.004a7520
mov dword [ebp - 0x174], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.004a5f5e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004a5f5e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004a5f5e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004a5f5e
mov eax, dword [ebp - 0x174]
jmp 0x4d7066
mov dword [ebp - 0x168], 0xffffffff
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.004a5f5e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.004a5f5e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004a5f5e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004a5f5e
mov eax, dword [ebp - 0x168]
push edx
mov ecx, ebp
push eax
lea edx, [0x4d7098]
call fcn.004a8880
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1e0
cmp ebp, esp
call fcn.004a7520
mov esp, ebp
pop ebp
ret 8