Function at 0x100e3510
Capabilities:
Check mutex on windows
Create thread

Disassembly:
mov eax, 0x1c1c
call fcn.100f0960
mov eax, dword [0x10143964]
xor eax, esp
mov dword [esp + 0x1c18], eax
push esi
mov esi, dword [esp + 0x1c24]
cmp dword [esi + 0x3c], 0
push edi
lea edi, [esi + 0x3c]
jne 0x100e355f
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edx, eax
test edx, edx
je 0x100e356f
mov ecx, edx
xor eax, eax
lock cmpxchg dword [edi], ecx
test eax, eax
je 0x100e355f
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x100e3575
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esi + 0x34], 0xffffffff
je 0x100e359b
push str.Candidates_gathering_already_started
push 0xd0
push str.X:jenkins_workspaceworkspacehybridclient_builder_productlibdatachanneldepslibjuice_src_agent.c
push 3
call fcn.100df840
add esp, 0x10
push dword [edi]
jmp 0x100e3881
mov eax, dword [esi + 0x10]
mov dword [esp + 8], eax
movzx eax, word [esi + 0x14]
mov word [esp + 0xc], ax
movzx eax, word [esi + 0x16]
mov word [esp + 0xe], ax
lea eax, [esp + 8]
push eax
call fcn.100ec980
add esp, 4
mov dword [esi + 0x34], eax
cmp eax, 0xffffffff
jne 0x100e3604
push str.UDP_socket_creation_for_agent_failed
push 0xdc
push str.X:jenkins_workspaceworkspacehybridclient_builder_productlibdatachanneldepslibjuice_src_agent.c
push 5
call fcn.100df840
add esp, 0x10
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x1c18]
xor ecx, esp
call fcn.100f06e3
add esp, 0x1c1c
ret
push ebx
push ebp
push 1
push esi
call fcn.100e2350
push 0x13
lea eax, [esp + 0x21c]
push eax
push dword [esi + 0x34]
call fcn.100ece40
mov ebp, eax
add esp, 0x14
test ebp, ebp
jns 0x100e3643
push str.Failed_to_gather_local_host_candidates
push 0xe5
push str.X:jenkins_workspaceworkspacehybridclient_builder_productlibdatachanneldepslibjuice_src_agent.c
push 4
call fcn.100df840
push 0
jmp 0x100e365c
jne 0x100e367a
push str.No_local_host_candidates_gathered
push 0xe8
push str.X:jenkins_workspaceworkspacehybridclient_builder_productlibdatachanneldepslibjuice_src_agent.c
push 3
call fcn.100df840
push ebp
push str.Adding__d_local_host_candidates
push 0xec
push str.X:jenkins_workspaceworkspacehybridclient_builder_productlibdatachanneldepslibjuice_src_agent.c
push 0
call fcn.100df840
add esp, 0x24
jmp 0x100e374f
cmp ebp, 0x13
jle 0x100e36a0
mov ebp, 0x13
push ebp
push str.Adding__d_local_host_candidates
push 0xec
push str.X:jenkins_workspaceworkspacehybridclient_builder_productlibdatachanneldepslibjuice_src_agent.c
push 0
call fcn.100df840
add esp, 0x14
jmp 0x100e36c2
push ebp
push str.Adding__d_local_host_candidates
push 0xec
push str.X:jenkins_workspaceworkspacehybridclient_builder_productlibdatachanneldepslibjuice_src_agent.c
push 0
call fcn.100df840
add esp, 0x14
test ebp, ebp
jle 0x100e374f
lea ebx, [esp + 0x210]
xor edi, edi
nop dword [eax + eax]
lea eax, [esp + 0x18]
push eax
push ebx
push 1
push 1
call fcn.100e0560
add esp, 0x10
test eax, eax
je 0x100e36f2
push str.Failed_to_create_host_candidate
push 0xf0
jmp 0x100e371a
cmp dword [esi + 0x29a8], 9
jge 0x100e3736
lea eax, [esi + 0x40]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.100e0120
add esp, 8
test eax, eax
je 0x100e3729
push str.Failed_to_add_candidate_to_local_description
push 0xf8
push str.X:jenkins_workspaceworkspacehybridclient_builder_productlibdatachanneldepslibjuice_src_agent.c
push 4
call fcn.100df840
add esp, 0x10
inc edi
add ebx, 0x88
cmp edi, ebp
jl 0x100e36d0
jmp 0x100e374f
push str.Local_description_already_has_the_maximum_number_of_host_candidates
push 0xf4
push str.X:jenkins_workspaceworkspacehybridclient_builder_productlibdatachanneldepslibjuice_src_agent.c
push 3
call fcn.100df840
add esp, 0x10
lea eax, [esi + 0x40]
push eax
call fcn.100e0c60
xor edi, edi
add esp, 4
cmp dword [esi + 0x29a8], edi
jle 0x100e37ed
lea ebx, [esi + 0x248]
nop
push 0x1000
lea eax, [esp + 0xc2c]
push eax
push ebx
call fcn.100e06d0
add esp, 0xc
test eax, eax
jns 0x100e37a5
push str.Failed_to_generate_SDP_for_local_candidate
push 0x105
push str.X:jenkins_workspaceworkspacehybridclient_builder_productlibdatachanneldepslibjuice_src_agent.c
push 4
call fcn.100df840
add esp, 0x10
jmp 0x100e37de
lea eax, [esp + 0xc28]
push eax
push str.Gathered_host_candidate:__s
push 0x109
push str.X:jenkins_workspaceworkspacehybridclient_builder_productlibdatachanneldepslibjuice_src_agent.c
push 1
call fcn.100df840
mov eax, dword [esi + 0x1c]
add esp, 0x14
test eax, eax
je 0x100e37de
push dword [esi + 0x28]
lea ecx, [esp + 0xc2c]
push ecx
push esi
call eax
add esp, 0xc
inc edi
add ebx, 0x1f8
cmp edi, dword [esi + 0x29a8]
jl 0x100e3770
cmp dword [esi + 0x30], 0
pop ebp
pop ebx
jne 0x100e3815
push str.Assuming_controlling_mode
push 0x110
push str.X:jenkins_workspaceworkspacehybridclient_builder_productlibdatachanneldepslibjuice_src_agent.c
push 1
call fcn.100df840
add esp, 0x10
mov dword [esi + 0x30], 2
push 0
push 0
push esi
push 0x100e6590
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x38], eax
test eax, eax
jne 0x100e3877
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x100e3877
push eax
push str.thread_create_for_agent_failed__error_d
push 0x115
push str.X:jenkins_workspaceworkspacehybridclient_builder_productlibdatachanneldepslibjuice_src_agent.c
push 5
call fcn.100df840
add esp, 0x14
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x1c18]
xor ecx, esp
call fcn.100f06e3
add esp, 0x1c1c
ret
push dword [esi + 0x3c]
mov byte [esi + 0xad21], 1
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [esp + 0x1c20]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.100f06e3
add esp, 0x1c1c
ret