Function at 0x10038400
Capabilities:
Create thread

Disassembly:
mov eax, 0x1c1c
call fcn.10045a50
mov eax, dword [0x10080180]
xor eax, esp
mov dword [esp + 0x1c18], eax
push esi
mov esi, dword [esp + 0x1c24]
push str.Gathering_candidates
push 0xd7
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_src_agent.c
push 0
call fcn.10034290
add esp, 0x10
cmp dword [esi + 0xad18], 0
je 0x10038473
push str.Candidates_gathering_already_started
push 0xd9
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_src_agent.c
push 3
call fcn.10034290
add esp, 0x10
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1c18]
xor ecx, esp
call fcn.10044f75
add esp, 0x1c1c
ret
cmp dword [esi + 0x34], 0
jne 0x10038499
push str.Assuming_controlling_mode
push 0xde
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_src_agent.c
push 1
call fcn.10034290
add esp, 0x10
mov dword [esi + 0x34], 2
cmp dword [esi + 0x30], 1
je 0x100384d9
push 1
call fcn.10034720
push eax
push str.Changing_state_to__s
push 0x44c
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_src_agent.c
push 2
call fcn.10034290
mov eax, dword [esi + 0x1c]
add esp, 0x18
mov dword [esi + 0x30], 1
test eax, eax
je 0x100384d9
push dword [esi + 0x2c]
push 1
push esi
call eax
add esp, 0xc
mov eax, dword [esi + 0x14]
mov dword [esp + 4], eax
movzx eax, word [esi + 0x18]
mov word [esp + 8], ax
movzx eax, word [esi + 0x1a]
mov word [esp + 0xa], ax
lea eax, [esp + 4]
push eax
push esi
call fcn.1003b900
add esp, 8
test eax, eax
je 0x10038536
push str.Connection_creation_for_agent_failed
push 0xeb
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_src_agent.c
push 5
call fcn.10034290
add esp, 0x10
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x1c18]
xor ecx, esp
call fcn.10044f75
add esp, 0x1c1c
ret
push edi
push 0x13
lea eax, [esp + 0x20c]
push eax
push esi
call fcn.1003bd60
mov edi, eax
add esp, 0xc
test edi, edi
jns 0x1003856d
push str.Failed_to_gather_local_host_candidates
push 0xf2
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_src_agent.c
push 4
call fcn.10034290
add esp, 0x10
xor edi, edi
jmp 0x10038594
jne 0x1003858a
push str.No_local_host_candidates_gathered
push 0xf5
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_src_agent.c
push 3
call fcn.10034290
add esp, 0x10
jmp 0x10038594
mov eax, 0x13
cmp edi, eax
cmovg edi, eax
push ebx
push esi
call fcn.1003bda0
push edi
push str.Adding__d_local_host_candidates
push 0xfb
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_src_agent.c
push 0
call fcn.10034290
add esp, 0x18
xor ebx, ebx
test edi, edi
jle 0x1003864d
push ebp
lea ebp, [esp + 0x210]
lea eax, [esp + 0x18]
push eax
push ebp
push dword [esi + 0x29a0]
push 1
push 1
call fcn.10035180
add esp, 0x14
test eax, eax
je 0x100385ef
push str.Failed_to_create_host_candidate
push 0x100
jmp 0x10038617
cmp dword [esi + 0x29a0], 9
jge 0x10038633
lea eax, [esi + 0x38]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.10034e70
add esp, 8
test eax, eax
je 0x10038626
push str.Failed_to_add_candidate_to_local_description
push pe_nt_image_headers32
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_src_agent.c
push 4
call fcn.10034290
add esp, 0x10
inc ebx
add ebp, 0x88
cmp ebx, edi
jl 0x100385c7
jmp 0x1003864c
push str.Local_description_already_has_the_maximum_number_of_host_candidates
push 0x104
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_src_agent.c
push 3
call fcn.10034290
add esp, 0x10
pop ebp
lea eax, [esi + 0x38]
push eax
call fcn.100358c0
xor ebx, ebx
add esp, 4
cmp dword [esi + 0x29a0], ebx
jle 0x100386f6
lea edi, [esi + 0x240]
nop dword [eax]
cmp dword [edi], 1
jne 0x100386e3
push 0x1000
lea eax, [esp + 0xc28]
push eax
push edi
call fcn.10035300
add esp, 0xc
test eax, eax
jns 0x100386aa
push str.Failed_to_generate_SDP_for_local_candidate
push 0x119
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_src_agent.c
push 4
call fcn.10034290
add esp, 0x10
jmp 0x100386e3
lea eax, [esp + 0xc24]
push eax
push str.Gathered_host_candidate:__s
push 0x11d
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_src_agent.c
push 1
call fcn.10034290
mov eax, dword [esi + 0x20]
add esp, 0x14
test eax, eax
je 0x100386e3
push dword [esi + 0x2c]
lea ecx, [esp + 0xc28]
push ecx
push esi
call eax
add esp, 0xc
inc ebx
add edi, 0x1f8
cmp ebx, dword [esi + 0x29a0]
jl 0x10038670
cmp dword [esi + 0x30], 2
je 0x10038736
push 2
call fcn.10034720
push eax
push str.Changing_state_to__s
push 0x44c
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_src_agent.c
push 2
call fcn.10034290
mov eax, dword [esi + 0x1c]
add esp, 0x18
mov dword [esi + 0x30], 2
test eax, eax
je 0x10038736
push dword [esi + 0x2c]
push 2
push esi
call eax
add esp, 0xc
push esi
call fcn.1003bde0
push esi
call fcn.1003bd80
mov eax, dword [esi + 4]
add esp, 8
test eax, eax
je 0x10038759
push eax
call fcn.10034a40
add esp, 4
test al, al
je 0x100387c3
xor edi, edi
cmp dword [esi + 0x10], edi
jle 0x10038782
xor ebx, ebx
mov eax, dword [esi + 0xc]
mov eax, dword [ebx + eax]
test eax, eax
je 0x10038779
push eax
call fcn.10034a40
add esp, 4
test al, al
je 0x100387c3
inc edi
add ebx, 0x10
cmp edi, dword [esi + 0x10]
jl 0x10038762
push str.Resolving_servers_synchronously
push 0x132
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_src_agent.c
push 1
call fcn.10034290
push esi
call fcn.10039b50
add esp, 0x14
xor ecx, ecx
test eax, eax
setns cl
pop ebx
pop edi
pop esi
lea eax, [ecx - 1]
mov ecx, dword [esp + 0x1c18]
xor ecx, esp
call fcn.10044f75
add esp, 0x1c1c
ret
push str.Starting_resolver_thread_for_servers
push 0x129
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_src_agent.c
push 1
call fcn.10034290
add esp, 0x10
push 0
push 0
push esi
push 0x1003b640
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xad1c], eax
test eax, eax
jne 0x1003883f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1003883f
push eax
push str.Thread_creation_failed__error_d
push 0x12c
push str.C:UsersJesse_source_reposSNPJuiceout_buildx86_release_depsjuice_src_src_agent.c
push 5
call fcn.10034290
push esi
call fcn.1003b000
add esp, 0x18
or eax, 0xffffffff
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x1c18]
xor ecx, esp
call fcn.10044f75
add esp, 0x1c1c
ret
mov ecx, dword [esp + 0x1c24]
xor eax, eax
pop ebx
pop edi
mov byte [esi + 0xad20], 1
pop esi
xor ecx, esp
call fcn.10044f75
add esp, 0x1c1c
ret