Function at 0x10083060
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x24
push edi
xor edi, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
cmp esi, edi
je 0x10083e7a
cmp dword [esi + 0x8804], 0xc0dedbad
jne 0x10083e7a
push ebx
push ebp
lea esp, [esp]
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebp
cmp dword [esi + 0x86e4], ebx
je 0x100830dd
mov eax, dword [esi + 0x86ec]
push eax
push esi
push str.Pipe_broke:_handle__p__url___s_n
push esi
call fcn.10084450
add esp, 0x10
cmp dword [esi + 0xc], 0x11
jge 0x100830cf
lea eax, [ebx + 2]
mov ecx, esi
call fcn.10081800
or ebp, 0xffffffff
xor edi, edi
mov dword [esi + 0x86e4], ebx
mov dword [esi + 8], ebx
jmp 0x10083de4
cmp dword [esi + 8], ebx
lea ebp, [esi + 8]
jne 0x100830f6
mov eax, dword [esi + 0xc]
cmp eax, 2
jle 0x100830f6
cmp eax, 0x10
jl 0x10083e50
mov ebx, dword [esp + 0x34]
push 1
mov ecx, ebx
call fcn.10081e30
add esp, 4
test eax, eax
je 0x10083113
push ebx
call fcn.10082b20
add esp, 4
mov ecx, dword [ebp]
test ecx, ecx
je 0x10083129
mov eax, dword [esi + 0xc]
cmp eax, 2
jle 0x10083129
cmp eax, 0x11
jge 0x10083129
mov dword [ecx], esi
cmp dword [ebp], 0
je 0x1008327a
mov eax, dword [esi + 0xc]
cmp eax, 2
jl 0x1008327a
cmp eax, 0x11
jge 0x1008327a
xor ecx, ecx
cmp eax, 8
setle cl
lea edx, [esp + 0x38]
push ecx
push edx
push esi
call fcn.10086660
add esp, 0xc
test eax, eax
jge 0x1008327a
mov eax, dword [esi + 0xc]
cmp eax, 3
jne 0x100831a0
mov eax, dword [esi + 0x55c]
mov ecx, dword [esi + 0x558]
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
call fcn.10083fc0
push eax
push str.Resolving_timed_out_after__ld_milliseconds
push esi
call fcn.100844e0
add esp, 0x1c
jmp 0x1008324e
cmp eax, 4
jne 0x100831d3
mov ecx, dword [esi + 0x55c]
mov edx, dword [esi + 0x558]
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push ecx
call fcn.10083fc0
push eax
push str.Connection_timed_out_after__ld_milliseconds
push esi
call fcn.100844e0
add esp, 0x1c
jmp 0x1008324e
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
mov edx, dword [esi + 0x55c]
je 0x1008321d
push ecx
mov ecx, dword [esi + 0x70]
push eax
mov eax, dword [esi + 0x74]
push eax
mov eax, dword [esi + 0x558]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push eax
push ecx
push edx
call fcn.10083fc0
add esp, 0x10
push eax
push str.Operation_timed_out_after__ld_milliseconds_with__I64d_out_of__I64d_bytes_received
push esi
call fcn.100844e0
add esp, 0x1c
jmp 0x1008324e
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x70]
push eax
mov eax, dword [esi + 0x558]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
call fcn.10083fc0
add esp, 0x10
push eax
push str.Operation_timed_out_after__ld_milliseconds_with__I64d_bytes_received
push esi
call fcn.100844e0
add esp, 0x14
cmp dword [esi + 0xc], 9
jle 0x10083266
mov ecx, dword [ebp]
mov eax, 1
mov dword [ecx + 0x214], eax
mov dword [esp + 0x10], eax
mov edi, 0x1c
push 1
push ebp
mov eax, edi
call fcn.10081ac0
jmp 0x10083d0f
mov eax, dword [esi + 0xc]
cmp eax, 0x12
ja case.default.0x10083286
jmp dword [eax*4 + 0x10083e84]
push esi
call fcn.100a2be0
mov edi, eax
add esp, 4
test edi, edi
jne case.0x10083286.1
lea eax, [edi + 2]
mov ecx, esi
call fcn.10081800
push 1
push esi
call fcn.100a0110
mov dword [esp + 0x14], 0xffffffff
jmp 0x10083d0f
push 2
push esi
call fcn.100a0110
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x30]
push eax
push ebp
push esi
call fcn.10081760
mov edi, eax
add esp, 0x18
cmp edi, 0x59
jne 0x1008330e
lea eax, [edi - 0x58]
mov ecx, esi
call fcn.10081800
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 4]
push esi
push ecx
push eax
call fcn.1009d7f0
add esp, 0xc
mov edi, eax
neg edi
sbb edi, edi
and edi, 0xffffffe5
add edi, 0x1b
jmp case.0x10083286.1
test edi, edi
jne case.0x10083286.1
mov edx, dword [ebp]
push edx
push esi
call fcn.1009df10
mov edi, eax
add esp, 8
test edi, edi
jne 0x100835cf
cmp dword [esp + 0x24], eax
je 0x10083342
lea eax, [edi + 3]
mov ecx, esi
call fcn.10081800
jmp case.0x10083286.1
cmp dword [esp + 0x18], 0
mov dword [esp + 0xc], 0xffffffff
je 0x1008336f
push 1
push ebx
call fcn.10081c70
add esp, 8
neg eax
sbb eax, eax
add eax, 9
mov ecx, esi
call fcn.10081800
jmp case.0x10083286.1
mov eax, dword [ebp]
cmp dword [eax + 0x50c], 1
mov ecx, esi
jne 0x1008338c
mov eax, 5
call fcn.10081800
jmp case.0x10083286.1
mov eax, 4
call fcn.10081800
jmp case.0x10083286.1
mov edi, dword [ebp]
mov dword [esp + 0x14], 0
cmp dword [edi + 0x224], 0
je 0x100833b7
mov ebx, dword [edi + 0xb8]
jmp 0x100833ce
cmp dword [edi + 0x21c], 0
je 0x100833c8
mov ebx, dword [edi + 0xa8]
jmp 0x100833ce
mov ebx, dword [edi + 0x98]
mov ecx, dword [edi + 0xc0]
push ecx
push ebx
push edi
call fcn.1007a610
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x1008340e
push ebx
push str.Hostname__s_was_found_in_DNS_cache_n
mov dword [edi + 0x434], eax
mov dword [edi + 0x438], 1
push esi
xor edi, edi
call fcn.10084450
add esp, 0xc
cmp dword [esp + 0x14], edi
jne 0x10083421
mov eax, dword [ebp]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.1007a150
add esp, 8
mov edi, eax
mov ebx, dword [esp + 0x34]
push esi
push ebx
call fcn.10082160
add esp, 8
cmp dword [esp + 0x14], 0
je 0x10083496
mov edx, dword [ebp]
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.10089430
mov edi, eax
add esp, 8
test edi, edi
je 0x10083456
mov dword [ebp], 0
jmp 0x10083496
cmp dword [esp + 0x18], 0
mov dword [esp + 0xc], 0xffffffff
je 0x10083479
push 1
push ebx
call fcn.10081c70
add esp, 8
neg eax
sbb eax, eax
add eax, 9
jmp 0x1008348f
mov eax, dword [ebp]
cmp dword [eax + 0x50c], 1
mov eax, 5
je 0x1008348f
mov eax, 4
mov ecx, esi
call fcn.10081800
test edi, edi
je case.0x10083286.1
mov dword [esp + 0x10], 1
jmp case.0x10083286.1
mov edx, dword [ebp]
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.1009a850
mov edi, eax
mov eax, dword [ebp]
add esp, 8
cmp dword [eax + 0x270], 0
je 0x100834ef
xor edi, edi
push edi
push ebp
xor eax, eax
mov dword [esp + 0x14], 0xffffffff
call fcn.10081ac0
add esp, 8
lea eax, [edi + 2]
mov ecx, esi
call fcn.10081800
jmp case.0x10083286.1
test edi, edi
jne case.0x10083286.1
cmp dword [eax + 0x50c], 2
jne case.0x10083286.1
lea eax, [edi + 6]
mov ecx, esi
mov dword [esp + 0xc], 0xffffffff
call fcn.10081800
jmp case.0x10083286.1
mov ecx, dword [ebp]
lea eax, [esp + 0x28]
push eax
push 0
push ecx
call fcn.100875e0
add esp, 0xc
cmp dword [esp + 0x28], 0
mov edi, eax
je 0x10083496
test edi, edi
jne 0x1008349e
mov edx, dword [ebp]
mov eax, dword [edx + 0x250]
neg eax
sbb eax, eax
add eax, 6
mov ecx, esi
mov dword [esp + 0xc], 0xffffffff
call fcn.10081800
jmp case.0x10083286.1
mov ecx, dword [ebp]
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.1007b720
add esp, 8
cmp dword [esp + 0x18], 0
mov edi, eax
jne 0x10083592
mov eax, 7
mov ecx, esi
call fcn.10081800
jmp case.0x10083286.1
test edi, edi
jne 0x100835bc
push 1
push ebx
call fcn.10081c70
add esp, 8
neg eax
sbb eax, eax
add eax, 9
mov ecx, esi
call fcn.10081800
mov dword [esp + 0xc], 0xffffffff
jmp case.0x10083286.1
push esi
call fcn.10079d60
push 1
push ebp
mov eax, edi
call fcn.10081ac0
add esp, 0xc
mov dword [esp + 0x10], 1
jmp case.0x10083286.1
mov eax, dword [ebp]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.1007b6a0
mov edi, eax
add esp, 8
test edi, edi
jne 0x100835bc
cmp dword [esp + 0x18], eax
je case.0x10083286.1
push 1
push ebx
call fcn.10081c70
add esp, 8
neg eax
sbb eax, eax
add eax, 9
mov ecx, esi
call fcn.10081800
mov dword [esp + 0xc], 0xffffffff
jmp case.0x10083286.1
mov ecx, dword [ebp]
push ecx
push esi
call fcn.1009de50
add esp, 8
test eax, eax
je case.0x10083286.1
mov eax, 9
mov ecx, esi
call fcn.10081800
mov dword [esp + 0xc], 0xffffffff
jmp case.0x10083286.1
cmp dword [esi + 0x36c], 0
je 0x10083667
mov edx, dword [ebp]
xor edi, edi
mov dword [edx + 0x214], edi
jmp 0x100836ac
lea eax, [esp + 0x1c]
push eax
mov ebx, ebp
call fcn.10081f20
mov edi, eax
add esp, 4
test edi, edi
jne 0x10083711
xor ebx, ebx
cmp dword [esp + 0x1c], ebx
jne 0x100836da
cmp dword [esi + 0x45c], ebx
je 0x100836c5
mov eax, dword [esi + 0x8740]
cmp eax, 6
je 0x100836a0
cmp eax, 4
jne 0x100836c5
push ebx
push ebp
xor eax, eax
call fcn.10081ac0
add esp, 8
mov eax, 0x10
mov ecx, esi
call fcn.10081800
mov dword [esp + 0xc], 0xffffffff
jmp case.0x10083286.1
mov eax, 0xa
mov ecx, esi
call fcn.10081800
mov dword [esp + 0xc], ebx
jmp case.0x10083286.1
mov ecx, dword [ebp]
cmp dword [ecx + 0x23c], ebx
mov ecx, esi
je 0x100836fa
mov eax, 0xb
call fcn.10081800
mov dword [esp + 0xc], ebx
jmp case.0x10083286.1
mov eax, 0xc
call fcn.10081800
mov dword [esp + 0xc], 0xffffffff
jmp case.0x10083286.1
cmp edi, 0x37
jne 0x100837eb
mov eax, dword [ebp]
cmp dword [eax + 0x218], 0
je 0x100837eb
lea edx, [esp + 0x14]
push edx
xor ebx, ebx
push eax
mov dword [esp + 0x1c], ebx
call fcn.100a3230
add esp, 8
test eax, eax
je 0x1008374e
mov edi, eax
mov dword [esp + 0x10], 1
jmp 0x10083757
xor ebx, ebx
cmp dword [esp + 0x14], ebx
setne bl
push esi
call fcn.10079d60
push 0
push ebp
mov eax, edi
call fcn.10081ac0
add esp, 0xc
test ebx, ebx
je 0x100837d0
test eax, eax
je 0x1008378c
cmp eax, 0x37
je 0x1008378c
mov edi, eax
mov eax, dword [esp + 0x14]
push eax
call dword [0x1013ed28]
add esp, 4
jmp case.0x10083286.1
mov ecx, dword [esp + 0x14]
push 2
push ecx
push esi
call fcn.100a2ff0
add esp, 0xc
test eax, eax
jne 0x100837bb
mov eax, 2
mov ecx, esi
call fcn.10081800
mov dword [esp + 0xc], 0xffffffff
xor edi, edi
jmp case.0x10083286.1
mov edx, dword [esp + 0x14]
push edx
mov edi, eax
call dword [0x1013ed28]
add esp, 4
jmp case.0x10083286.1
mov eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x14], 1
call dword [0x1013ed28]
add esp, 4
jmp case.0x10083286.1
push esi
call fcn.10079d60
add esp, 4
cmp dword [ebp], 0
je 0x10083807
push 0
push ebp
mov eax, edi
call fcn.10081ac0
add esp, 8
mov dword [esp + 0x10], 1
jmp case.0x10083286.1
mov edx, dword [ebp]
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.1007b6e0
mov edi, eax
add esp, 8
test edi, edi
jne 0x10083859
cmp dword [esp + 0x1c], eax
je case.0x10083286.1
mov eax, dword [ebp]
mov eax, dword [eax + 0x23c]
neg eax
sbb eax, eax
add eax, 0xc
mov ecx, esi
call fcn.10081800
mov dword [esp + 0xc], 0xffffffff
jmp case.0x10083286.1
push esi
call fcn.10079d60
push 0
jmp 0x100835c4
mov edi, dword [ebp]
lea ebx, [esp + 0x2c]
call fcn.10081fb0
mov edi, eax
test edi, edi
jne 0x10083859
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x100838a2
xor ecx, ecx
cmp eax, 1
sete cl
lea ecx, [ecx + ecx + 0xa]
mov eax, ecx
mov ecx, esi
call fcn.10081800
mov dword [esp + 0xc], 0xffffffff
jmp case.0x10083286.1
mov dword [esp + 0xc], 0
jmp case.0x10083286.1
mov edx, dword [ebp]
push edx
push esi
call fcn.1009df60
mov eax, ebx
push eax
call fcn.10082b20
mov eax, dword [ebp]
or ebx, 0xffffffff
add esp, 0xc
cmp dword [eax + 0x2a8], ebx
jne 0x100838dd
cmp dword [eax + 0x2ac], ebx
lea eax, [ebx + 0x11]
je 0x100838e2
mov eax, 0xd
mov ecx, esi
call fcn.10081800
mov dword [esp + 0xc], ebx
jmp case.0x10083286.1
mov ecx, dword [ebp]
push ecx
push esi
call fcn.1009dea0
add esp, 8
test eax, eax
je case.0x10083286.1
mov eax, 0xe
mov ecx, esi
call fcn.10081800
mov dword [esp + 0xc], 0xffffffff
jmp case.0x10083286.1
mov edx, dword [ebp]
push edx
call fcn.100a0380
add esp, 4
test eax, eax
je 0x10083937
mov edi, 0x2a
jmp 0x1008394c
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push eax
push ecx
push esi
call fcn.100a0b90
add esp, 0xc
mov edi, eax
mov ecx, dword [esi + 0x208]
mov eax, dword [esi + 0x20c]
mov edx, ecx
or edx, eax
je 0x1008397c
mov edx, dword [esi + 0x51c]
cmp edx, eax
jg case.0x10083286.1
jl 0x1008397c
mov eax, dword [esi + 0x518]
cmp eax, ecx
jae case.0x10083286.1
mov ecx, dword [esi + 0x210]
mov eax, dword [esi + 0x214]
mov edx, ecx
or edx, eax
je 0x100839ac
mov edx, dword [esi + 0x514]
cmp edx, eax
jg case.0x10083286.1
jl 0x100839ac
mov eax, dword [esi + 0x510]
cmp eax, ecx
jae case.0x10083286.1
mov eax, 0xe
mov ecx, esi
call fcn.10081800
jmp case.0x10083286.1
mov eax, dword [esi + 0x20c]
mov ecx, dword [esi + 0x208]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x14], ebx
jl 0x10083a3b
jg 0x100839d9
cmp ecx, ebx
jbe 0x10083a3b
mov edx, dword [esi + 0x51c]
cmp edx, eax
jl 0x10083a3b
jg 0x100839ef
mov eax, dword [esi + 0x518]
cmp eax, ecx
jbe 0x10083a3b
mov eax, 0xf
mov ecx, esi
call fcn.10081800
mov eax, dword [esi + 0x2c0]
test eax, eax
jne 0x10083a0a
mov eax, 0x4000
mov ecx, dword [esi + 0x51c]
mov edx, dword [esi + 0x518]
push eax
mov eax, dword [esi + 0x20c]
push ecx
mov ecx, dword [esi + 0x208]
push edx
push eax
push ecx
call fcn.100a2af0
push eax
push esi
call fcn.100829f0
add esp, 0x1c
jmp case.0x10083286.1
mov eax, dword [esi + 0x214]
mov ecx, dword [esi + 0x210]
test eax, eax
jl 0x10083a9e
jg 0x10083a51
test ecx, ecx
jbe 0x10083a9e
mov edx, dword [esi + 0x514]
cmp edx, eax
jl 0x10083a9e
jg 0x10083a67
mov eax, dword [esi + 0x510]
cmp eax, ecx
jbe 0x10083a9e
mov eax, 0xf
mov ecx, esi
call fcn.10081800
mov eax, dword [esi + 0x2c0]
test eax, eax
jne 0x10083a82
mov eax, 0x4000
mov ecx, dword [esi + 0x514]
mov edx, dword [esi + 0x510]
push eax
mov eax, dword [esi + 0x214]
push ecx
mov ecx, dword [esi + 0x210]
jmp 0x10083a24
mov eax, dword [ebp]
lea edx, [esp + 0x20]
push edx
push esi
push eax
call fcn.100a2730
add esp, 0xc
test byte [esi + 0xf8], 1
mov edi, eax
jne 0x10083ac7
mov ecx, dword [ebp]
push ecx
call fcn.1009df00
add esp, 4
test byte [esi + 0xf8], 2
jne 0x10083adc
mov edx, dword [ebp]
push edx
call fcn.1009def0
add esp, 4
cmp dword [esp + 0x20], ebx
jne 0x10083ae7
cmp edi, 0x38
jne 0x10083b15
mov ecx, dword [ebp]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.100a3230
add esp, 8
test eax, eax
jne 0x10083b15
xor ebx, ebx
cmp dword [esp + 0x14], ebx
setne bl
test ebx, ebx
je 0x10083b15
xor edi, edi
mov dword [esp + 0x20], 1
jmp 0x10083b68
test edi, edi
je 0x10083b5d
mov eax, dword [ebp]
mov edx, dword [eax + 0x29c]
test byte [edx + 0x40], 2
jne 0x10083b37
cmp edi, 0x5c
je 0x10083b37
mov dword [eax + 0x214], 1
push esi
call fcn.10079d60
push 0
push ebp
mov eax, edi
call fcn.10081ac0
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
call dword [0x1013ed28]
add esp, 4
jmp case.0x10083286.1
cmp dword [esp + 0x20], 0
je 0x10083c83
push esi
call fcn.10079d60
mov eax, dword [ebp]
mov ecx, dword [eax + 0x2e4]
push ecx
push esi
call fcn.1007b280
mov edx, dword [ebp]
mov eax, dword [edx + 0x2e4]
add esp, 0xc
cmp dword [eax], 0
je 0x10083b9e
mov eax, dword [eax]
mov ecx, dword [eax]
push 1
push ecx
call fcn.100829f0
add esp, 8
mov edx, dword [esp + 0x34]
push edx
call fcn.10082b20
add esp, 4
cmp dword [esi + 0x10c], 0
jne 0x10083c17
test ebx, ebx
jne 0x10083c40
cmp dword [esi + 0x108], ebx
je 0x10083c09
mov eax, dword [esp + 0x14]
push eax
call dword [0x1013ed28]
mov eax, dword [esi + 0x108]
push 1
push eax
push esi
mov dword [esp + 0x24], eax
mov dword [esi + 0x108], ebx
call fcn.100a2ff0
mov edi, eax
add esp, 0x10
cmp edi, ebx
jne 0x10083c01
lea eax, [ebx + 0x10]
mov ecx, esi
mov dword [esp + 0x14], ebx
call fcn.10081800
jmp 0x10083c7b
mov dword [esp + 0x10], 1
mov eax, 0x10
mov ecx, esi
call fcn.10081800
jmp 0x10083c7b
test ebx, ebx
jne 0x10083c40
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x1013ed28]
mov edx, dword [esi + 0x10c]
mov dword [esi + 0x10c], ebx
add esp, 4
mov dword [esp + 0x14], edx
mov ebx, 3
jmp 0x10083c45
mov ebx, 2
push 0
push ebp
xor eax, eax
call fcn.10081ac0
mov edi, eax
add esp, 8
test edi, edi
jne 0x10083c83
mov eax, dword [esp + 0x14]
push ebx
push eax
push esi
call fcn.100a2ff0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x10083c83
lea eax, [edi + 2]
mov ecx, esi
call fcn.10081800
mov dword [esp + 0x14], edi
mov dword [esp + 0xc], 0xffffffff
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x1013ed28]
add esp, 4
jmp case.0x10083286.1
mov eax, dword [ebp]
mov dword [esp + 0xc], 0xffffffff
test eax, eax
je 0x10083cd5
mov edx, dword [eax + 0x2e4]
push edx
push esi
call fcn.1007b280
push ebx
call fcn.10082b20
push 0
push ebp
mov eax, edi
call fcn.10081ac0
add esp, 0x14
test edi, edi
jne 0x10083cc8
mov edi, eax
cmp dword [ebp], 0
je 0x10083cd5
mov dword [ebp], 0
cmp dword [esi + 0x45c], 0
je 0x10083cf2
cmp dword [esi + 0x8740], 6
je 0x10083cf2
xor eax, eax
mov ecx, esi
call fcn.10081800
jmp case.0x10083286.1
mov eax, 0x11
mov ecx, esi
call fcn.10081800
jmp case.0x10083286.1
push 0
push esi
mov dword [ebp], 0
call fcn.10082850
add esp, 8
mov ebx, 0x11
cmp dword [esi + 0xc], ebx
jge 0x10083db5
test edi, edi
je 0x10083e0f
mov eax, dword [esp + 0x34]
push eax
mov dword [esi + 0x86e4], 0
call fcn.10082b20
mov eax, dword [ebp]
add esp, 4
test eax, eax
je 0x10083d9d
push eax
call fcn.1009def0
mov ecx, dword [ebp]
push ecx
call fcn.1009df00
mov edx, dword [ebp]
mov eax, dword [edx + 0x2e0]
push eax
push esi
call fcn.1007b280
mov ecx, dword [ebp]
mov edx, dword [ecx + 0x2e4]
push edx
push esi
call fcn.1007b280
add esp, 0x18
cmp dword [esp + 0x10], 0
je 0x10083dac
mov ecx, dword [ebp]
xor eax, eax
cmp edi, 0x1c
sete al
push eax
push ecx
call fcn.1007f970
add esp, 8
mov dword [ebp], 0
jmp 0x10083dac
cmp dword [esi + 0xc], 2
jne 0x10083dac
push esi
call fcn.10079d60
add esp, 4
mov eax, ebx
mov ecx, esi
call fcn.10081800
mov ebp, dword [esp + 0xc]
cmp dword [esi + 0xc], ebx
jne 0x10083de4
mov eax, dword [esp + 0x34]
lea ecx, [esi + 0x14]
mov dword [ecx], 1
mov dword [ecx + 4], esi
mov dword [ecx + 8], edi
call fcn.10081930
mov ebp, eax
mov eax, 0x12
mov ecx, esi
call fcn.10081800
cmp ebp, 0xffffffff
je 0x10083090
mov ecx, dword [esp + 0x34]
push 0
call fcn.10081e30
add esp, 4
test eax, eax
jne 0x10083090
mov eax, ebp
pop ebp
pop ebx
mov dword [esi + 0x10], edi
pop edi
add esp, 0x24
ret
mov eax, dword [ebp]
test eax, eax
je 0x10083db5
push eax
call fcn.100a0380
add esp, 4
test eax, eax
je 0x10083db5
mov edx, dword [ebp]
xor eax, eax
mov dword [edx + 0x214], 1
cmp dword [esi + 0xc], 0x10
mov ecx, esi
setge al
mov edi, 0x2a
add eax, 0x10
call fcn.10081800
or ebp, 0xffffffff
jmp 0x10083db9
mov eax, dword [esi + 0xc]
push eax
push str.In_state__d_with_no_easy_conn__bail_out__n
push esi
call fcn.100844e0
add esp, 0xc
pop ebp
pop ebx
mov eax, 4
pop edi
add esp, 0x24
ret
pop ebp
pop ebx
mov dword [esi + 0x10], edi
xor eax, eax
pop edi
add esp, 0x24
ret
mov eax, 2
pop edi
add esp, 0x24
ret