Function at 0x10178280
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1048
call fcn.1000120d
mov eax, dword [0x10266634]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x103c], ebx
mov esi, dword [ebx + 0xc]
call fcn.10001b8b
test eax, eax
jne 0x101782c3
pop esi
mov eax, 0xfffffffb
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100014c9
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x444], 0
jge 0x101782d6
mov dword [ebx + 0x444], 0x186a0
test byte [esi + 0x22b8], 4
je 0x101782e9
mov dword [esi + 0x234], 0x10
push 0x4000
call sub.avutil_56.dll_av_malloc
add esp, 4
mov dword [ebp - 0x1040], eax
test eax, eax
jne 0x1017831a
call fcn.100011c7
pop esi
mov eax, 0xfffffff4
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100014c9
mov esp, ebp
pop ebp
ret
push 0x3fff
push eax
push dword [ebx + 0x10]
call sym.avformat_58.dll_avio_read
mov ecx, eax
add esp, 0xc
test ecx, ecx
jg 0x10178359
push dword [ebp - 0x1040]
call sub.avutil_56.dll_av_free
add esp, 4
call fcn.100011c7
pop esi
mov eax, 0xbebbb1b7
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100014c9
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x1040]
push edi
mov byte [ecx + eax], 0
push dword [ebp - 0x1040]
push ebx
call fcn.10001be5
mov edi, eax
lea eax, [ebp - 0x1040]
push eax
call fcn.101e0e4b
add esp, 0xc
test edi, edi
jne 0x101784ff
xor ebx, ebx
cmp dword [esi + 8], ebx
jle 0x101784e1
nop dword [eax]
nop dword [eax + eax]
test byte [esi + 0x22b8], 4
mov eax, dword [esi + 0xc]
mov edi, dword [eax + ebx*4]
mov dword [ebp - 0x1048], edi
jne 0x101784c2
push esi
call fcn.1017c3e0
add esp, 4
mov dword [ebp - 0x1044], eax
lea eax, [ebp - 0x38]
push 2
push 0
push 0
push 0x32
push eax
push 0x80
lea eax, [edi + 0x1018]
push eax
call dword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x10178520
mov ecx, dword [esi + 0x22b8]
mov eax, ecx
mov edx, dword [edi + 0x1014]
and ecx, 1
shr eax, 3
and eax, 1
push eax
push ecx
push dword [edi + 0x10a8]
lea eax, [ebp - 0x38]
push edx
push str._localport_dttl_dconnect_dwrite_to_source_d
push edx
push eax
push 0
push 0x1023eb68
lea eax, [ebp - 0x1038]
push 0x1000
push eax
call fcn.10001983
push dword [edi + 0x109c]
lea eax, [ebp - 0x1038]
push dword [edi + 0x1098]
push 0x1023f968
push 0x1000
push eax
call fcn.10178ba0
add esp, 0x40
lea eax, [ebp - 0x1038]
push dword [edi + 0x10a4]
push dword [edi + 0x10a0]
push 0x1023f984
push 0x1000
push eax
call fcn.10178ba0
mov eax, dword [ebp - 0x103c]
lea ecx, [ebp - 0x1044]
push 0
push dword [eax + 0x550]
push dword [eax + 0x544]
add eax, 0x4a0
push ecx
push eax
push 1
lea eax, [ebp - 0x1038]
push eax
push edi
call fcn.10001ab9
mov edi, eax
lea eax, [ebp - 0x1044]
push eax
call sub.avutil_56.dll_av_dict_free
add esp, 0x38
test edi, edi
js 0x101784f4
mov edi, dword [ebp - 0x1048]
push edi
push dword [ebp - 0x103c]
call fcn.100016ea
mov edi, eax
add esp, 8
test edi, edi
jne 0x101784f9
inc ebx
cmp ebx, dword [esi + 8]
jl 0x101783a0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100014c9
mov esp, ebp
pop ebp
ret
mov edi, 0xbebbb1b7
mov ebx, dword [ebp - 0x103c]
push ebx
call fcn.10001bae
add esp, 4
call fcn.100011c7
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100014c9
mov esp, ebp
pop ebp
ret
push eax
call fcn.100011f9
mov ebx, dword [ebp - 0x103c]
push eax
push str.getnameinfo:__s_n
push 0x10
push ebx
call sub.avutil_56.dll_av_log
lea eax, [ebp - 0x1044]
mov edi, 0xfffffffb
push eax
call sub.avutil_56.dll_av_dict_free
add esp, 0x18
jmp 0x101784ff