Function at 0x10019e90
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [ebp + 0x10], 0
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
jne 0x10019ecb
test esi, esi
jne 0x10019ecb
push str.pvecAddressesOut___nullptr__pSingleOutput___nullptr
push 0x326
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier1_netadr.cpp
call fcn.10024040
add esp, 0xc
test al, al
jne 0x10019ec2
int3
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 8]
cmp byte [edi], 0
je 0x10019ec2
call fcn.10025930
test al, al
je 0x10019ee9
push str.about_to_perform_blocking_dns_call_from_the_main_thread.__consider_refactoring._n
call fcn.100247c0
add esp, 4
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
cmp eax, 4
ja case.default.0x10019f0e
jmp dword [eax*4 + 0x1001a0e4]
mov dword [ebp - 0x20], 2
jmp 0x10019f66
mov dword [ebp - 0x20], 0x17
jmp 0x10019f66
mov dword [ebp - 0x20], 0x17
mov dword [ebp - 0x24], 0xc00
jmp 0x10019f66
mov dword [ebp - 0x24], 0x400
jmp 0x10019f66
mov dword [ebp - 0x24], 0x900
jmp 0x10019f66
push eax
push str.BResolveHostString___unexpected_DNS_lookup_flag__d_n
push 0x34b
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier1_netadr.cpp
call fcn.10024050
add esp, 0x10
test al, al
jne 0x10019f66
int3
mov ebx, dword [sym.imp.WS2_32.dll_getaddrinfo]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
push 0
push edi
call ebx
cmp eax, 0x273f
jne 0x10019fa5
cmp dword [ebp - 0x20], 0x17
jne 0x10019ec2
lea eax, [ebp - 4]
mov dword [ebp - 0x20], 2
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push 0
push edi
call ebx
test eax, eax
jne 0x10019ec2
mov edi, dword [ebp - 4]
test edi, edi
je 0x10019ec2
test esi, esi
je 0x10019fdc
push eax
push dword [edi + 0x10]
mov ecx, esi
push dword [edi + 0x18]
call fcn.1001a5e0
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0x10]
mov esi, 3
push 1
mov ecx, ebx
call fcn.1001a4a0
imul ecx, dword [ebx + 0xc], 0x16
xor edx, edx
mov eax, dword [ebx]
mov dword [ecx + eax - 0x16], edx
mov dword [ecx + eax - 0x12], edx
mov dword [ecx + eax - 0xe], edx
mov dword [ecx + eax - 0xa], edx
mov dword [ecx + eax - 6], edx
mov word [ecx + eax - 2], si
xor eax, eax
imul esi, dword [ebx + 0xc], 0x16
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x10]
add esi, dword [ebx]
mov dword [esi - 0x16], eax
mov dword [esi - 0x12], eax
mov dword [esi - 0xe], eax
mov dword [esi - 0xa], eax
mov dword [esi - 6], eax
mov eax, 3
mov word [esi - 2], ax
test ecx, ecx
je 0x1001a0a3
cmp edx, 2
jb 0x1001a0a3
movzx eax, word [ecx]
sub eax, 2
je 0x1001a084
sub eax, 0x15
jne 0x1001a0bf
cmp edx, 0x1c
jae 0x1001a05b
push 0x1005d374
push 0x2c4
jmp 0x1001a0ad
mov eax, 4
mov word [esi - 2], ax
mov eax, dword [ecx + 8]
mov dword [esi - 0x16], eax
mov eax, dword [ecx + 0xc]
mov dword [esi - 0x12], eax
mov eax, dword [ecx + 0x10]
mov dword [esi - 0xe], eax
mov eax, dword [ecx + 0x14]
mov dword [esi - 0xa], eax
mov eax, dword [ecx + 0x18]
mov dword [esi - 6], eax
jmp 0x1001a0bf
cmp edx, 0x10
jae 0x1001a095
push 0x1005d374
push 0x2b4
jmp 0x1001a0ad
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [esi - 0x16], eax
jmp 0x1001a0bf
push 0x1005d374
push 0x2ab
push str.c:_buildslave_steam_rel_client_hotfix_win32_build_src_tier1_netadr.cpp
call fcn.10024040
add esp, 0xc
test al, al
jne 0x1001a0bf
int3
mov edi, dword [edi + 0x1c]
mov esi, 3
test edi, edi
jne 0x10019fe4
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret