Function at 0x101293b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1c3c
call fcn.10315d90
mov eax, dword [0x103fbc90]
xor eax, ebp
mov dword [ebp - 4], eax
push str.Gathering_candidates
push 0xcf
push 0x103e0f90
push 0
call fcn.10126d90
add esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax + 0xad20], 0
je 0x1012940c
push str.Candidates_gathering_already_started
push 0xd1
push 0x103e1048
push 3
call fcn.10126d90
add esp, 0x10
xor eax, eax
jmp 0x10129896
push 8
push 0
lea ecx, [ebp - 0x1c38]
push ecx
call fcn.103170a0
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x1c38], eax
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 0x18]
mov word [ebp - 0x1c34], dx
mov eax, dword [ebp + 8]
mov cx, word [eax + 0x1a]
mov word [ebp - 0x1c32], cx
lea edx, [ebp - 0x1c38]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10132fc0
add esp, 8
test eax, eax
je 0x1012947f
push str.Connection_creation_for_agent_failed
push 0xdc
push 0x103e10e8
push 5
call fcn.10126d90
add esp, 0x10
or eax, 0xffffffff
jmp 0x10129896
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x34], 0
jne 0x101294ab
push 0x103e0e1c
push 0xe1
push 0x103e1188
push 1
call fcn.10126d90
add esp, 0x10
mov edx, dword [ebp + 8]
mov dword [edx + 0x34], 2
push 0x13
lea eax, [ebp - 0x1a1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10133410
add esp, 0xc
mov dword [ebp - 0x1c18], eax
cmp dword [ebp - 0x1c18], 0
jge 0x101294f4
push str.Failed_to_gather_local_host_candidates
push 0xe8
push 0x103e11e0
push 4
call fcn.10126d90
add esp, 0x10
mov dword [ebp - 0x1c18], 0
jmp 0x1012952b
cmp dword [ebp - 0x1c18], 0
jne 0x10129518
push str.No_local_host_candidates_gathered
push 0xeb
push 0x103e1278
push 3
call fcn.10126d90
add esp, 0x10
jmp 0x1012952b
cmp dword [ebp - 0x1c18], 0x13
jle 0x1012952b
mov dword [ebp - 0x1c18], 0x13
mov edx, dword [ebp + 8]
push edx
call fcn.10133340
add esp, 4
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.1012b940
add esp, 8
mov ecx, dword [ebp - 0x1c18]
push ecx
push str.Adding__d_local_host_candidates
push 0xf2
push 0x103e12f0
push 0
call fcn.10126d90
add esp, 0x14
mov dword [ebp - 0x1c1c], 0
jmp 0x10129580
mov edx, dword [ebp - 0x1c1c]
add edx, 1
mov dword [ebp - 0x1c1c], edx
mov eax, dword [ebp - 0x1c1c]
cmp eax, dword [ebp - 0x1c18]
jge 0x10129644
lea ecx, [ebp - 0x1c14]
push ecx
imul edx, dword [ebp - 0x1c1c], 0x88
lea eax, [ebp + edx - 0x1a1c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x29a0]
push edx
push 1
push 1
call fcn.10127ec0
add esp, 0x14
test eax, eax
je 0x101295e0
push str.Failed_to_create_host_candidate
push 0xf7
push 0x103e1370
push 4
call fcn.10126d90
add esp, 0x10
jmp 0x10129571
mov eax, dword [ebp + 8]
cmp dword [eax + 0x29a0], 9
jl 0x10129607
push str.Local_description_already_has_the_maximum_number_of_host_candidates
push 0xfb
push 0x103e1470
push 3
call fcn.10126d90
add esp, 0x10
jmp 0x10129644
mov ecx, dword [ebp + 8]
add ecx, 0x38
push ecx
lea edx, [ebp - 0x1c14]
push edx
call fcn.101280c0
add esp, 8
test eax, eax
je 0x1012963f
push 0x103e14c4
push 0xff
push 0x103e1530
push 4
call fcn.10126d90
add esp, 0x10
jmp 0x10129571
jmp 0x10129571
mov eax, dword [ebp + 8]
add eax, 0x38
push eax
call fcn.10128180
add esp, 4
mov dword [ebp - 0x1c20], 0
jmp 0x1012966e
mov ecx, dword [ebp - 0x1c20]
add ecx, 1
mov dword [ebp - 0x1c20], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c20]
cmp eax, dword [edx + 0xad00]
jge 0x101296a2
imul ecx, dword [ebp - 0x1c20], 0x158
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x59b0]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1012f7b0
add esp, 8
jmp 0x1012965f
mov dword [ebp - 0x1c24], 0
jmp 0x101296bd
mov edx, dword [ebp - 0x1c24]
add edx, 1
mov dword [ebp - 0x1c24], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c24]
cmp ecx, dword [eax + 0x29a0]
jge 0x10129771
imul edx, dword [ebp - 0x1c24], 0x1f8
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0x240]
mov dword [ebp - 0x1c3c], ecx
push 0x1000
lea edx, [ebp - 0x1004]
push edx
mov eax, dword [ebp - 0x1c3c]
push eax
call fcn.101285a0
add esp, 0xc
test eax, eax
jge 0x10129726
push 0x103e0f64
push 0x10c
push 0x103e15a8
push 4
call fcn.10126d90
add esp, 0x10
jmp 0x101296ae
lea ecx, [ebp - 0x1004]
push ecx
push str.Gathered_host_candidate:__s
push 0x110
push 0x103e1658
push 1
call fcn.10126d90
add esp, 0x14
mov edx, dword [ebp + 8]
cmp dword [edx + 0x20], 0
je 0x1012976c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x2c]
push ecx
lea edx, [ebp - 0x1004]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x20]
call edx
add esp, 0xc
jmp 0x101296ae
push 2
mov eax, dword [ebp + 8]
push eax
call fcn.1012b940
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
call fcn.10133370
add esp, 4
mov edx, dword [ebp + 8]
push edx
call fcn.101333a0
add esp, 4
mov eax, dword [ebp + 8]
push eax
call fcn.1012f840
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x10129866
push str.Starting_resolver_thread_for_servers
push 0x11c
push 0x103e1750
push 1
call fcn.10126d90
add esp, 0x10
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0x1012f8c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x1c28], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x1c28]
mov dword [eax + 0xad24], ecx
cmp dword [ebp - 0x1c28], 0
je 0x10129808
mov dword [ebp - 0x1c2c], 0
jmp 0x10129814
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1c2c], eax
mov edx, dword [ebp - 0x1c2c]
mov dword [ebp - 0x1c30], edx
cmp dword [ebp - 0x1c30], 0
je 0x1012985a
mov eax, dword [ebp - 0x1c30]
push eax
push 0x103e10c4
push 0x11f
push 0x103e17c0
push 5
call fcn.10126d90
add esp, 0x14
mov ecx, dword [ebp + 8]
push ecx
call fcn.1012f140
add esp, 4
or eax, 0xffffffff
jmp 0x10129896
mov edx, dword [ebp + 8]
mov byte [edx + 0xad28], 1
jmp 0x10129894
push str.Resolving_servers_synchronously
push 0x125
push 0x103e1830
push 1
call fcn.10126d90
add esp, 0x10
mov eax, dword [ebp + 8]
push eax
call fcn.101298b0
add esp, 4
test eax, eax
jge 0x10129894
or eax, 0xffffffff
jmp 0x10129896
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10314cf5
mov esp, ebp
pop ebp
ret