Function at 0x10084370
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1034adfa
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x2ec
mov eax, dword [0x103fbc90]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x268], ecx
call fcn.10065830
test eax, eax
je 0x100843d0
call fcn.10065830
mov dword [ebp - 0x2a4], eax
push 6
mov ecx, dword [ebp - 0x2a4]
call fcn.100783d0
movzx eax, al
test eax, eax
jne 0x100843d5
jmp 0x100844f9
push 0
push 0
push 0x1035b0a6
push 0x90
push 0x1035b148
push 6
lea ecx, [ebp - 0x264]
call fcn.10070940
mov dword [ebp - 0x2a8], eax
mov ecx, dword [ebp - 0x2a8]
mov dword [ebp - 0x2ac], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2ac]
call fcn.1006e8c0
mov dword [ebp - 0x2b0], eax
push str.Resolving_candidate__mode
mov ecx, dword [ebp - 0x2b0]
call fcn.1005ec90
mov dword [ebp - 0x2b8], eax
cmp dword [ebp + 8], 0
jne 0x10084447
mov dword [ebp - 0x278], str.simple
jmp 0x10084451
mov dword [ebp - 0x278], str.lookup
mov edx, dword [ebp - 0x278]
mov dword [ebp - 0x2b4], edx
lea eax, [ebp - 0x2b4]
push eax
mov ecx, dword [ebp - 0x2b8]
call fcn.1005ecf0
mov dword [ebp - 0x2bc], eax
push 0x1035b18c
mov ecx, dword [ebp - 0x2bc]
call fcn.1005ec90
mov dword [ebp - 0x2f4], eax
mov ecx, dword [ebp - 0x268]
add ecx, 0x58
push ecx
mov ecx, dword [ebp - 0x2f4]
call fcn.10086200
mov dword [ebp - 0x2f0], eax
push 0x20
mov ecx, dword [ebp - 0x2f0]
call fcn.10088900
mov dword [ebp - 0x2ec], eax
mov edx, dword [ebp - 0x268]
add edx, 0x70
push edx
mov ecx, dword [ebp - 0x2ec]
call fcn.10086200
mov dword [ebp - 0x2e8], eax
mov eax, dword [ebp - 0x2e8]
push eax
call fcn.10065830
mov ecx, eax
call fcn.100732a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.10072330
xor ecx, ecx
mov dword [ebp - 0x2a0], ecx
mov dword [ebp - 0x29c], ecx
mov dword [ebp - 0x298], ecx
mov dword [ebp - 0x294], ecx
mov dword [ebp - 0x290], ecx
mov dword [ebp - 0x28c], ecx
mov dword [ebp - 0x288], ecx
mov dword [ebp - 0x284], ecx
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x2a0], 0x400
mov edx, dword [ebp - 0x268]
cmp dword [edx + 0x54], 1
jne 0x10084561
mov dword [ebp - 0x298], 2
mov dword [ebp - 0x294], 0x11
jmp 0x10084581
mov eax, dword [ebp - 0x268]
cmp dword [eax + 0x54], 0
je 0x10084581
mov dword [ebp - 0x298], 1
mov dword [ebp - 0x294], 6
cmp dword [ebp + 8], 0
jne 0x10084596
mov ecx, dword [ebp - 0x2a0]
or ecx, 4
mov dword [ebp - 0x2a0], ecx
mov dword [ebp - 0x274], 0
mov ecx, dword [ebp - 0x268]
add ecx, 0x70
call fcn.1004e7c0
mov dword [ebp - 0x2f8], eax
mov ecx, dword [ebp - 0x268]
add ecx, 0x58
call fcn.1004e7c0
mov dword [ebp - 0x2c0], eax
lea edx, [ebp - 0x274]
push edx
lea eax, [ebp - 0x2a0]
push eax
mov ecx, dword [ebp - 0x2f8]
push ecx
mov edx, dword [ebp - 0x2c0]
push edx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x10084848
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x26c], eax
jmp 0x1008460f
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x26c], edx
cmp dword [ebp - 0x26c], 0
je 0x1008483b
mov eax, dword [ebp - 0x26c]
cmp dword [eax + 4], 2
je 0x10084638
mov ecx, dword [ebp - 0x26c]
cmp dword [ecx + 4], 0x17
jne 0x10084836
push 0xa
push 6
lea edx, [ebp - 0x1c]
push edx
push 0x30
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x26c]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
jne 0x10084836
mov dword [ebp - 4], 1
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x64]
call fcn.1004ea80
mov dword [ebp - 0x2fc], eax
mov byte [ebp - 4], 2
push 0xa
push 0
lea eax, [ebp - 0x64]
push eax
call fcn.1008ca90
add esp, 0xc
mov dword [ebp - 0x2c4], eax
mov ecx, dword [ebp - 0x268]
mov dx, word [ebp - 0x2c4]
mov word [ecx + 0xd8], dx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.1004e8e0
jmp 0x100846d0
mov dword [ebp - 4], 0xffffffff
jmp 0x100846eb
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x268]
add ecx, 0xc0
call fcn.100727d0
mov ecx, dword [ebp - 0x26c]
cmp dword [ecx + 4], 0x17
jne 0x10084718
mov dword [ebp - 0x27c], 2
jmp 0x10084722
mov dword [ebp - 0x27c], 1
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x27c]
mov dword [edx + 0xbc], eax
call fcn.10065830
test eax, eax
je 0x1008475c
call fcn.10065830
mov dword [ebp - 0x2c8], eax
push 6
mov ecx, dword [ebp - 0x2c8]
call fcn.100783d0
movzx ecx, al
test ecx, ecx
jne 0x10084761
jmp 0x10084834
push 0
push 0
push 0x1035b0a7
push 0xb3
push str.rtc::Candidate::resolve
push 6
lea ecx, [ebp - 0x164]
call fcn.10070940
mov dword [ebp - 0x2cc], eax
mov edx, dword [ebp - 0x2cc]
mov dword [ebp - 0x2d0], edx
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x2d0]
call fcn.1006e8c0
mov dword [ebp - 0x2d4], eax
push str.Resolved_candidate:
mov ecx, dword [ebp - 0x2d4]
call fcn.1005ec90
mov dword [ebp - 0x2d8], eax
mov eax, dword [ebp - 0x268]
add eax, 0xc0
push eax
mov ecx, dword [ebp - 0x2d8]
call fcn.10086200
mov dword [ebp - 0x2dc], eax
push 0x20
mov ecx, dword [ebp - 0x2dc]
call fcn.10088900
mov dword [ebp - 0x2e0], eax
mov ecx, dword [ebp - 0x268]
add ecx, 0xd8
push ecx
mov ecx, dword [ebp - 0x2e0]
call fcn.10085eb0
mov dword [ebp - 0x2e4], eax
mov edx, dword [ebp - 0x2e4]
push edx
call fcn.10065830
mov ecx, eax
call fcn.100732a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x164]
call fcn.10072330
jmp 0x1008483b
jmp 0x10084600
mov eax, dword [ebp - 0x274]
push eax
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov ecx, dword [ebp - 0x268]
cmp dword [ecx + 0xbc], 0
je 0x10084863
mov dword [ebp - 0x280], 1
jmp 0x1008486d
mov dword [ebp - 0x280], 0
mov al, byte [ebp - 0x280]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10314cf5
mov esp, ebp
pop ebp
ret 4