Function at 0x603250
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xdc
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xc]
test eax, eax
je 0x60328d
mov eax, dword [eax + 0x3c]
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x6033ac
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xc], 0
cmp byte [ebx], 0
jne 0x6032ac
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov edx, dword [eax]
mov dword [esp + 4], 0xa1a627
mov dword [esp], eax
call dword [edx + 0x28]
test eax, eax
je 0x6032b1
mov dword [ebp - 0x7c], esi
jmp 0x6032ba
mov ebx, esi
mov dword [ebp - 0x7c], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
mov edx, dword [eax]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [edx + 0x28]
mov esi, dword [ebp + 8]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x6032ea
mov eax, dword [esi]
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], esi
call dword [eax + 0x10]
jmp 0x603d07
inc dword [eax + 0x54]
mov ecx, dword [ebp + 8]
mov dword [esp], ecx
call fcn.006031d8
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call fcn.006100b8
mov dword [esi + 0x4e88], 0
lea ebx, [ebp - 0x5c]
jmp 0x603325
mov eax, dword [ebp + 8]
inc dword [eax + 0x4e88]
mov dword [esp], ebx
call fcn.00610090
test eax, eax
jne 0x60331c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x4e88]
shl eax, 3
mov dword [esp], eax
call fcn.008f478c
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x4e8c], eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call fcn.006100a6
mov esi, dword [ebp + 8]
cmp dword [esi + 0x4e88], 0
je 0x60339f
mov ebx, 0
lea edi, [ebp - 0x5c]
mov dword [esp], edi
call fcn.00610090
lea edx, [ebx*8]
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x4e8c]
mov dword [ecx + edx], eax
mov eax, dword [esi + 0x4e8c]
mov dword [eax + edx + 4], 0
inc ebx
cmp dword [esi + 0x4e88], ebx
ja 0x60336d
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call fcn.0060f852
jmp 0x6033af
mov dword [ebp - 0x7c], esi
cmp dword [ebp - 0x7c], 0
je 0x603432
mov eax, dword [ebp - 0x7c]
cmp byte [eax], 0
je 0x603432
mov edx, dword [ebp + 8]
cmp dword [edx + 0x4e88], 0
je 0x60341b
mov dword [ebp - 0x80], 0
mov edi, 0
mov esi, edx
mov eax, dword [esi + 0x4e8c]
mov ebx, dword [eax + edi*8]
test ebx, ebx
je 0x603cb2
mov dword [esp], ebx
call fcn.00610126
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x7c]
mov dword [esp], ecx
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x603cb2
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x80], edi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x4e88], edi
ja 0x60346a
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [eax + 0x10]
jmp 0x603d07
mov esi, dword [ebp + 8]
cmp dword [esi + 0x4e88], 1
je 0x603452
mov eax, dword [esi]
mov edx, dword [ebp + 0xc]
mov dword [esp + 4], edx
mov dword [esp], esi
call dword [eax + 8]
jmp 0x603d07
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x4e8c]
mov eax, dword [eax]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x80], 0
mov esi, dword [ebp + 0x18]
cmp byte [esi], 0
je 0x603cc4
mov ebx, esi
mov dword [esp + 8], 0xb
mov dword [esp + 4], 0xa1a711
mov dword [esp], ebx
call sub.msvcrt.dll__strnicmp
test eax, eax
je 0x60349f
inc ebx
cmp byte [ebx], 0
jne 0x603478
jmp 0x603cc4
add ebx, 0xb
mov dword [esp], ebx
call fcn.00620640
mov dword [ebp - 0x7c], eax
mov byte [ebp - 0x9a], 0xff
mov byte [ebp - 0x99], 0xff
mov word [ebp - 0x94], 1
mov word [ebp - 0x9c], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x84], 0
jmp 0x6036c5
mov edi, str.RTP_AVP_TCP
mov ecx, 0xc
mov esi, dword [ebp - 0x7c]
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb al
cmp dl, al
je 0x603690
mov edi, str.RAW_RAW_UDP
mov ecx, 0xc
mov esi, dword [ebp - 0x7c]
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb al
cmp dl, al
je 0x60353f
mov edi, str.MP2T_H2221_UDP
mov ecx, 0xf
mov esi, dword [ebp - 0x7c]
repe cmpsb byte [esi], byte es:[edi]
seta dl
setb al
cmp dl, al
jne 0x60355f
mov eax, dword [ebp - 0x7c]
mov dword [esp], eax
call fcn.00620600
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x84], 2
jmp 0x60369a
mov dword [esp + 8], 0xc
mov dword [esp + 4], 0xa1a744
mov edx, dword [ebp - 0x7c]
mov dword [esp], edx
call sub.msvcrt.dll__strnicmp
test eax, eax
jne 0x6035ae
cmp dword [ebp - 0x8c], 0
je 0x603595
mov ecx, dword [ebp - 0x8c]
mov dword [esp], ecx
call fcn.008f4768
mov eax, dword [ebp - 0x7c]
add eax, 0xc
mov dword [esp], eax
call fcn.00620600
mov dword [ebp - 0x8c], eax
jmp 0x60369a
lea esi, [ebp - 0x34]
mov dword [esp + 8], esi
mov dword [esp + 4], str.ttl_u
mov eax, dword [ebp - 0x7c]
mov dword [esp], eax
call sub.msvcrt.dll_sscanf
cmp eax, 1
je 0x60369a
lea edx, [ebp - 0x26]
mov dword [esp + 0xc], edx
lea ecx, [ebp - 0x24]
mov dword [esp + 8], ecx
mov dword [esp + 4], str.client_port_hu__hu
mov esi, dword [ebp - 0x7c]
mov dword [esp], esi
call sub.msvcrt.dll_sscanf
cmp eax, 2
jne 0x603611
mov eax, dword [ebp - 0x24]
mov word [ebp - 0x9c], ax
mov dx, word [ebp - 0x26]
mov word [ebp - 0x94], dx
jmp 0x60369a
lea ecx, [ebp - 0x24]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0xa1a76b
mov esi, dword [ebp - 0x7c]
mov dword [esp], esi
call sub.msvcrt.dll_sscanf
cmp eax, 1
jne 0x603656
mov eax, dword [ebp - 0x24]
mov word [ebp - 0x9c], ax
mov word [ebp - 0x94], 0
cmp dword [ebp - 0x84], 2
je 0x60369a
inc eax
mov word [ebp - 0x94], ax
jmp 0x60369a
lea edx, [ebp - 0x3c]
mov dword [esp + 0xc], edx
lea ecx, [ebp - 0x38]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0xa1a77b
mov esi, dword [ebp - 0x7c]
mov dword [esp], esi
call sub.msvcrt.dll_sscanf
cmp eax, 2
jne 0x60369a
mov al, byte [ebp - 0x38]
mov byte [ebp - 0x99], al
mov dl, byte [ebp - 0x3c]
mov byte [ebp - 0x9a], dl
jmp 0x60369a
mov dword [ebp - 0x84], 1
mov edi, dword [ebp - 0x7c]
mov al, 0
mov ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea ebx, [ebx + ecx - 1]
mov al, byte [ebx]
cmp al, 0x3b
jne 0x6036b9
inc ebx
mov al, byte [ebx]
cmp al, 0x3b
je 0x6036b2
test al, al
je 0x6036e5
cmp al, 0xd
je 0x6036e5
cmp al, 0xa
je 0x6036e5
mov ecx, dword [ebp - 0x7c]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0xa1a78d
mov dword [esp], ebx
call sub.msvcrt.dll_sscanf
cmp eax, 1
je 0x6034f0
cmp dword [ebp - 0x7c], 0
je 0x6036f6
mov esi, dword [ebp - 0x7c]
mov dword [esp], esi
call fcn.008f4768
cmp dword [ebp - 0x84], 1
jne 0x60370a
cmp byte [ebp - 0x99], 0xff
jne 0x603735
jmp 0x603715
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x10]
cmp dword [eax + 0x14], edx
je 0x603735
mov ecx, dword [ebp + 8]
mov cl, byte [ecx + 0x4e84]
mov byte [ebp - 0x99], cl
inc ecx
mov byte [ebp - 0x9a], cl
mov dword [ebp - 0x84], 1
mov esi, dword [ebp + 8]
add byte [esi + 0x4e84], 2
movzx eax, word [ebp - 0x9c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x1c]
mov dword [esp], eax
call fcn.00625c9e
movzx eax, word [ebp - 0x94]
mov dword [esp + 4], eax
lea eax, [ebp - 0x1e]
mov dword [esp], eax
call fcn.00625c9e
fldz
fst qword [ebp - 0x48]
fstp qword [ebp - 0x50]
lea eax, [ebp - 0x50]
mov dword [esp + 8], eax
lea eax, [ebp - 0x48]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x18]
mov dword [esp], eax
call fcn.0060a57d
test eax, eax
jne 0x6037c0
mov edx, dword [ebp + 0x18]
cmp byte [edx], 0
je 0x6037bc
mov ebx, edx
mov dword [esp + 8], 0xa
mov dword [esp + 4], str.x_playNow:
mov dword [esp], ebx
call sub.msvcrt.dll__strnicmp
test eax, eax
je 0x6037c4
inc ebx
cmp byte [ebx], 0
jne 0x60379a
mov al, 0
jmp 0x6037c6
mov al, 1
jmp 0x6037c6
mov al, 1
movzx eax, al
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x4e68], eax
cmp dword [ebp - 0x84], 1
jne 0x6037e6
mov esi, dword [ecx + 0x14]
mov dword [ebp - 0x94], esi
jmp 0x6037f0
mov dword [ebp - 0x94], 0xffffffff
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x19], 0xff
cmp dword [ebp - 0x8c], 0
je 0x603812
mov eax, dword [ebp - 0x8c]
mov dword [esp], eax
call fcn.008f4768
mov dword [esp + 4], 0
lea esi, [ebp - 0x20]
mov dword [esp], esi
call fcn.00625c9e
mov dword [esp + 4], 0
lea ebx, [ebp - 0x22]
mov dword [esp], ebx
call fcn.00625c9e
mov dword [ebp - 0x30], 0x10
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
lea eax, [ebp - 0x6c]
mov dword [esp + 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov dword [esp], eax
call sub.WS2_32.dll_getsockname
sub esp, 0xc
mov ecx, dword [0xc12d80]
mov dword [ebp - 0x88], ecx
mov eax, dword [0xc12d84]
mov dword [ebp - 0x8c], eax
movzx edi, byte [ebp - 0x9a]
movzx edx, byte [ebp - 0x99]
mov dword [ebp - 0x7c], edx
mov ecx, dword [ebp - 0x90]
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x80]
lea edx, [ecx*8]
mov ecx, dword [ebp + 8]
add edx, dword [ecx + 0x4e8c]
add edx, 4
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], esi
mov edx, ecx
add edx, 0x4e60
mov dword [esp + 0x28], edx
lea edx, [ebp - 0x19]
mov dword [esp + 0x24], edx
lea edx, [ebp - 0x2c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], edi
mov esi, dword [ebp - 0x7c]
mov dword [esp + 0x18], esi
mov edx, dword [ebp - 0x94]
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x1e]
mov dword [esp + 0x10], edx
lea edx, [ebp - 0x1c]
mov dword [esp + 0xc], edx
mov edx, dword [ecx + 0x1c]
mov dword [esp + 8], edx
mov edx, dword [ecx + 8]
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x90]
mov dword [esp], ecx
call dword [eax + 0x2c]
mov esi, dword [ebp - 0x88]
mov dword [0xc12d80], esi
mov eax, dword [ebp - 0x8c]
mov dword [0xc12d84], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call fcn.00623c12
mov dword [esp], eax
call fcn.00620600
mov ebx, eax
mov eax, dword [ebp - 0x68]
mov dword [esp], eax
call fcn.00623c12
mov dword [esp], eax
call fcn.00620600
mov esi, eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x4e60], 0
je 0x603aa4
cmp dword [ebp - 0x84], 1
je 0x603a10
cmp dword [ebp - 0x84], 2
je 0x603a27
cmp dword [ebp - 0x84], 0
jne 0x603c6c
mov ecx, dword [edx + 8]
mov dword [ebp - 0x7c], ecx
movzx eax, byte [ebp - 0x19]
mov dword [ebp - 0x80], eax
movzx eax, word [ebp - 0x22]
mov dword [esp], eax
call sub.WS2_32.dll_ntohs
sub esp, 4
mov edi, eax
movzx eax, word [ebp - 0x20]
mov dword [esp], eax
call sub.WS2_32.dll_ntohs
sub esp, 4
mov word [ebp - 0x84], ax
call fcn.00601b01
mov edx, dword [ebp - 0x7c]
mov dword [esp + 0x28], edx
mov ecx, dword [ebp - 0x80]
mov dword [esp + 0x24], ecx
movzx edi, di
mov dword [esp + 0x20], edi
movzx edx, word [ebp - 0x84]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.RTSP_1.0_200_OK_r_nCSeq:__s_r_n_sTransport:_RTP_AVP_multicast_destination_s_source_s_port_d__d_ttl_d_r_nSession:__08X_r_n_r_n
mov dword [esp + 4], 0x2710
mov eax, dword [ebp + 8]
add eax, 0x2750
mov dword [esp], eax
call sub.msvcrt.dll__snprintf
jmp 0x603c6c
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [eax + 0x14]
jmp 0x603c6c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x7c], eax
movzx edx, byte [ebp - 0x19]
mov dword [ebp - 0x80], edx
movzx eax, word [ebp - 0x20]
mov dword [esp], eax
call sub.WS2_32.dll_ntohs
sub esp, 4
mov edi, eax
call fcn.00601b01
mov ecx, dword [ebp - 0x7c]
mov dword [esp + 0x28], ecx
mov edx, dword [ebp - 0x80]
mov dword [esp + 0x24], edx
movzx edi, di
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebx
mov ecx, dword [ebp - 0x98]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.RTSP_1.0_200_OK_r_nCSeq:__s_r_n_sTransport:__s_multicast_destination_s_source_s_port_d_ttl_d_r_nSession:__08X_r_n_r_n
mov dword [esp + 4], 0x2710
mov eax, dword [ebp + 8]
add eax, 0x2750
mov dword [esp], eax
call sub.msvcrt.dll__snprintf
jmp 0x603c6c
cmp dword [ebp - 0x84], 1
je 0x603b8f
cmp dword [ebp - 0x84], 2
je 0x603be7
cmp dword [ebp - 0x84], 0
jne 0x603c6c
mov edx, dword [ebp + 8]
mov edx, dword [edx + 8]
mov dword [ebp - 0x7c], edx
movzx eax, word [ebp - 0x22]
mov dword [esp], eax
call sub.WS2_32.dll_ntohs
sub esp, 4
mov edi, eax
movzx eax, word [ebp - 0x20]
mov dword [esp], eax
call sub.WS2_32.dll_ntohs
sub esp, 4
mov word [ebp - 0x80], ax
movzx eax, word [ebp - 0x1e]
mov dword [esp], eax
call sub.WS2_32.dll_ntohs
sub esp, 4
mov word [ebp - 0x84], ax
movzx eax, word [ebp - 0x1c]
mov dword [esp], eax
call sub.WS2_32.dll_ntohs
sub esp, 4
mov word [ebp - 0x88], ax
call fcn.00601b01
mov edx, eax
mov ecx, dword [ebp - 0x7c]
mov dword [esp + 0x2c], ecx
movzx edi, di
mov dword [esp + 0x28], edi
movzx eax, word [ebp - 0x80]
mov dword [esp + 0x24], eax
movzx eax, word [ebp - 0x84]
mov dword [esp + 0x20], eax
movzx eax, word [ebp - 0x88]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], edx
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.RTSP_1.0_200_OK_r_nCSeq:__s_r_n_sTransport:_RTP_AVP_unicast_destination_s_source_s_client_port_d__d_server_port_d__d_r_nSession:__08X_r_n_r_n
mov dword [esp + 4], 0x2710
mov eax, dword [ebp + 8]
add eax, 0x2750
mov dword [esp], eax
call sub.msvcrt.dll__snprintf
jmp 0x603c6c
mov edx, dword [ebp + 8]
mov edx, dword [edx + 8]
mov dword [ebp - 0x80], edx
call fcn.00601b01
mov ecx, dword [ebp - 0x80]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], edi
mov edx, dword [ebp - 0x7c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], str.RTSP_1.0_200_OK_r_nCSeq:__s_r_n_sTransport:_RTP_AVP_TCP_unicast_destination_s_source_s_interleaved_d__d_r_nSession:__08X_r_n_r_n
mov dword [esp + 4], 0x2710
mov eax, dword [ebp + 8]
add eax, 0x2750
mov dword [esp], eax
call sub.msvcrt.dll__snprintf
jmp 0x603c6c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x7c], eax
movzx eax, word [ebp - 0x20]
mov dword [esp], eax
call sub.WS2_32.dll_ntohs
sub esp, 4
mov edi, eax
movzx eax, word [ebp - 0x1c]
mov dword [esp], eax
call sub.WS2_32.dll_ntohs
sub esp, 4
mov word [ebp - 0x80], ax
call fcn.00601b01
mov edx, dword [ebp - 0x7c]
mov dword [esp + 0x28], edx
movzx edi, di
mov dword [esp + 0x24], edi
movzx edx, word [ebp - 0x80]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebx
mov ecx, dword [ebp - 0x98]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.RTSP_1.0_200_OK_r_nCSeq:__s_r_n_sTransport:__s_unicast_destination_s_source_s_client_port_d_server_port_d_r_nSession:__08X_r_n_r_n
mov dword [esp + 4], 0x2710
mov eax, dword [ebp + 8]
add eax, 0x2750
mov dword [esp], eax
call sub.msvcrt.dll__snprintf
test ebx, ebx
je 0x603c78
mov dword [esp], ebx
call fcn.008f4768
test esi, esi
je 0x603c84
mov dword [esp], esi
call fcn.008f4768
cmp dword [ebp - 0x98], 0
je 0x603d07
mov edx, dword [ebp - 0x98]
mov dword [esp], edx
call fcn.008f4768
jmp 0x603d07
inc edi
cmp dword [esi + 0x4e88], edi
ja 0x6033d7
jmp 0x60341b
mov byte [ebp - 0x9a], 0xff
mov byte [ebp - 0x99], 0xff
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x98], 0
mov word [ebp - 0x9c], 0
mov word [ebp - 0x94], 1
jmp 0x60370a
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret