Function at 0x10008ef0
Capabilities:
Resolve dns

Disassembly:
push ebp
lea ebp, [esp - 0x254]
sub esp, 0x254
push 0xffffffffffffffff
push 0x100f2023
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10143964]
xor eax, ebp
mov dword [ebp + 0x250], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov eax, dword [0x1014a500]
mov edi, dword [ebp + 0x25c]
mov dword [ebp - 0x20], edi
test eax, eax
je 0x10009028
cmp dword [eax + 4], 6
jl 0x10009028
push 0
push 0
push 0x101008a0
push 0x90
push str.rtc::Candidate::resolve
push 6
lea ecx, [ebp + 0x100]
call fcn.10005670
mov dword [ebp + 0x248], eax
lea esi, [eax + 0x28]
mov dword [ebp - 4], 0
push str.Resolving_candidate__mode
push esi
call fcn.10006870
mov eax, str.lookup
test edi, edi
mov ecx, str.simple
cmovne ecx, eax
push ecx
push esi
call fcn.10006870
push 0x10100aa4
push esi
call fcn.10006870
lea eax, [ebx + 0x58]
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x10008fbb
mov eax, dword [eax]
push eax
push esi
call fcn.10006870
lea eax, [ebp - 0x14]
mov word [ebp - 0x14], 0x20
push eax
push esi
call fcn.10006870
lea eax, [ebx + 0x70]
add esp, 0x10
cmp dword [eax + 0x14], 0x10
jb 0x10008fe0
mov eax, dword [eax]
push eax
push esi
call fcn.10006870
mov edi, dword [0x1014a500]
add esp, 8
mov esi, dword [edi + 8]
cmp esi, dword [edi + 0xc]
je 0x10009013
mov ebx, dword [ebp + 0x248]
nop
mov ecx, dword [esi]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, dword [edi + 0xc]
jne 0x10009000
mov ebx, dword [ebp - 0x18]
lea ecx, [ebp + 0x100]
mov dword [ebp - 4], 0xffffffff
call fcn.10006040
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebx + 0x54]
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
mov eax, 0x400
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x3c], 0
cmp ecx, 1
jne 0x1000905e
mov dword [ebp - 0x38], 2
mov dword [ebp - 0x34], 0x11
jmp 0x10009070
test ecx, ecx
je 0x10009070
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 6
test edi, edi
mov dword [ebp - 0x1c], 0
mov ecx, 0x404
cmove eax, ecx
cmp dword [ebx + 0x84], 0x10
lea ecx, [ebx + 0x70]
mov dword [ebp - 0x40], eax
jb 0x10009092
mov ecx, dword [ecx]
cmp dword [ebx + 0x6c], 0x10
lea eax, [ebx + 0x58]
jb 0x1000909d
mov eax, dword [eax]
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x40]
push edx
push ecx
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x100092d4
mov edi, dword [ebp - 0x1c]
mov esi, dword [sym.imp.WS2_32.dll_getnameinfo]
nop
test edi, edi
je 0x100092cb
mov eax, dword [edi + 4]
cmp eax, 2
je 0x100090d9
cmp eax, 0x17
jne 0x1000930d
push 0xa
push 6
lea eax, [ebp + 0x248]
push eax
push 0x30
lea eax, [ebp + 0x218]
push eax
push dword [edi + 0x10]
push dword [edi + 0x18]
call esi
test eax, eax
jne 0x1000930d
lea ecx, [ebp + 0x248]
mov dword [ebp + 0x200], eax
mov dword [ebp - 4], 1
lea edx, [ecx + 1]
mov dword [ebp + 0x210], eax
mov dword [ebp + 0x214], 0xf
mov byte [ebp + 0x200], al
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009130
sub ecx, edx
lea eax, [ebp + 0x248]
push ecx
push eax
lea ecx, [ebp + 0x200]
call fcn.100075f0
mov byte [ebp - 4], 2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [ebp + 0x214], 0x10
lea esi, [ebp + 0x200]
mov ebx, eax
lea eax, [ebp - 0x20]
cmovae esi, dword [ebp + 0x200]
push 0xa
push eax
push esi
mov dword [ebx], 0
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
add esp, 0xc
cmp esi, dword [ebp - 0x20]
je 0x10009315
cmp dword [ebx], 0x22
je 0x1000931f
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp + 0x214]
mov byte [ebp - 4], 1
mov word [ebx + 0xd8], ax
cmp edx, 0x10
jb 0x100091de
mov ecx, dword [ebp + 0x200]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100091d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100091d4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100f01b2
add esp, 8
lea ecx, [ebp + 0x218]
mov dword [ebp - 4], 0xffffffff
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100091f0
sub ecx, edx
lea eax, [ebp + 0x218]
push ecx
lea esi, [ebx + 0xc0]
push eax
mov ecx, esi
call fcn.100075f0
xor eax, eax
cmp dword [edi + 4], 0x17
sete al
inc eax
mov dword [ebx + 0xbc], eax
mov eax, dword [0x1014a500]
test eax, eax
je 0x100092cb
cmp dword [eax + 4], 6
jl 0x100092cb
push 0
push 0
push 0x101008a0
push 0xb3
push str.rtc::Candidate::resolve
push 6
lea ecx, [ebp]
call fcn.10005670
mov ebx, eax
lea edi, [ebx + 0x28]
mov dword [ebp - 4], 4
push str.Resolved_candidate:
push edi
call fcn.10006870
add esp, 8
cmp dword [esi + 0x14], 0x10
jb 0x10009274
mov esi, dword [esi]
push esi
push edi
call fcn.10006870
lea eax, [ebp - 0x14]
mov word [ebp - 0x14], 0x20
push eax
push edi
call fcn.10006870
mov eax, dword [ebp - 0x18]
add esp, 0x10
mov ecx, edi
movzx eax, word [eax + 0xd8]
push eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_short_int_]
mov edi, dword [0x1014a500]
mov esi, dword [edi + 8]
cmp esi, dword [edi + 0xc]
je 0x100092c0
nop
mov ecx, dword [esi]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
cmp esi, dword [edi + 0xc]
jne 0x100092b0
lea ecx, [ebp]
call fcn.10006040
mov ebx, dword [ebp - 0x18]
push dword [ebp - 0x1c]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp dword [ebx + 0xbc], 0
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x250]
xor ecx, ebp
call fcn.100f06e3
lea esp, [ebp + 0x254]
pop ebp
ret 4
mov edi, dword [edi + 0x1c]
jmp 0x100090c0
push str.invalid_stoul_argument
call sub.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const__
push str.stoul_argument_out_of_range
call sub.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const__
int3