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

Disassembly:
sub esp, 0x24
push ebp
xor ebp, ebp
push edi
xor edi, edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
cmp esi, ebp
je 0x1001dd43
cmp dword [esi + 0x87d4], 0xc0dedbad
jne 0x1001dd43
push ebx
mov edi, edi
xor ebx, ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x14], ebx
cmp dword [esi + 0x86c8], ebp
je 0x1001cffb
mov eax, dword [esi + 0x86d0]
push eax
push esi
push str.Pipe_broke:_handle__p__url___s_n
push esi
call fcn.100230a0
add esp, 0x10
cmp dword [esi + 0xc], 0x11
jge 0x1001cfed
lea eax, [ebx + 2]
mov ecx, esi
call fcn.1001b8f0
or ebx, 0xffffffff
xor edi, edi
mov dword [esi + 0x86c8], ebp
mov dword [esi + 8], ebp
jmp 0x1001dcef
cmp dword [esi + 8], 0
lea ebp, [esi + 8]
jne 0x1001d015
mov eax, dword [esi + 0xc]
cmp eax, 2
jle 0x1001d015
cmp eax, 0x10
jl 0x1001dd19
mov ecx, dword [esp + 0x34]
push 1
call fcn.1001be30
add esp, 4
test eax, eax
je 0x1001d030
push ecx
call fcn.1001c9f0
add esp, 4
mov ecx, dword [ebp]
test ecx, ecx
je 0x1001d046
mov eax, dword [esi + 0xc]
cmp eax, 2
jle 0x1001d046
cmp eax, 0x11
jge 0x1001d046
mov dword [ecx], esi
cmp dword [ebp], 0
je 0x1001d19d
mov eax, dword [esi + 0xc]
cmp eax, 2
jl 0x1001d19d
cmp eax, 0x11
jge 0x1001d19d
xor edx, edx
cmp eax, 8
setle dl
lea eax, [esp + 0x38]
push edx
push eax
push esi
call fcn.10001f50
add esp, 0xc
test eax, eax
jge 0x1001d19d
mov eax, dword [esi + 0xc]
cmp eax, 3
jne 0x1001d0bd
mov ecx, dword [esi + 0x544]
mov edx, dword [esi + 0x540]
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push ecx
call fcn.1002adf0
push eax
push str.Resolving_timed_out_after__ld_milliseconds
push esi
call fcn.10023130
add esp, 0x1c
jmp 0x1001d16f
cmp eax, 4
jne 0x1001d0f0
mov edx, dword [esi + 0x544]
mov eax, dword [esi + 0x540]
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
call fcn.1002adf0
push eax
push str.Connection_timed_out_after__ld_milliseconds
push esi
call fcn.10023130
add esp, 0x1c
jmp 0x1001d16f
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
mov edx, dword [esi + 0x544]
je 0x1001d13e
push ecx
mov ecx, dword [esi + 0x70]
push eax
mov eax, dword [esi + 0x74]
push eax
mov eax, dword [esi + 0x540]
push ecx
mov ecx, dword [esi + 0x94]
push edx
mov edx, dword [esi + 0x90]
push eax
push ecx
push edx
call fcn.1002adf0
add esp, 0x10
push eax
push str.Operation_timed_out_after__ld_milliseconds_with__I64d_out_of__I64d_bytes_received
push esi
call fcn.10023130
add esp, 0x1c
jmp 0x1001d16f
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x70]
push eax
mov eax, dword [esi + 0x540]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
call fcn.1002adf0
add esp, 0x10
push eax
push str.Operation_timed_out_after__ld_milliseconds_with__I64d_bytes_received
push esi
call fcn.10023130
add esp, 0x14
cmp dword [esi + 0xc], 9
jle 0x1001d187
mov ecx, dword [ebp]
mov eax, 1
mov dword [ecx + 0x1f4], eax
mov dword [esp + 0xc], eax
push 1
mov edi, 0x1c
push edi
push ebp
call fcn.10032020
add esp, 0xc
jmp case.0x1001d1a9.1
mov eax, dword [esi + 0xc]
cmp eax, 0x12
ja case.default.0x1001d1a9
jmp dword [eax*4 + 0x1001dd50]
push esi
call fcn.1002c140
mov edi, eax
add esp, 4
test edi, edi
jne case.0x1001d1a9.1
lea eax, [edi + 2]
mov ecx, esi
call fcn.1001b8f0
push 1
push esi
call fcn.10020c80
add esp, 8
or ebx, 0xffffffff
jmp case.0x1001d1a9.1
push 2
push esi
call fcn.10020c80
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x30]
push eax
push ebp
push esi
call fcn.10033020
mov edi, eax
add esp, 0x18
cmp edi, 0x59
jne 0x1001d233
lea eax, [edi - 0x58]
mov ecx, esi
call fcn.1001b8f0
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x18]
mov edx, dword [eax + 4]
push esi
push edx
push eax
call fcn.1001a200
add esp, 0xc
mov edi, eax
neg edi
sbb edi, edi
and edi, 0xffffffe5
add edi, 0x1b
jmp case.0x1001d1a9.1
test edi, edi
jne case.0x1001d1a9.1
mov eax, dword [ebp]
push eax
push esi
call fcn.1001f7b0
mov edi, eax
add esp, 8
test edi, edi
jne 0x1001d4ba
cmp dword [esp + 0x24], eax
je 0x1001d267
lea eax, [edi + 3]
mov ecx, esi
call fcn.1001b8f0
jmp case.0x1001d1a9.1
or ebx, 0xffffffff
cmp dword [esp + 0x18], 0
je 0x1001d293
mov ecx, dword [esp + 0x34]
push 1
push ecx
call fcn.1001bb30
add esp, 8
neg eax
sbb eax, eax
add eax, 9
mov ecx, esi
call fcn.1001b8f0
jmp case.0x1001d1a9.1
mov edx, dword [ebp]
cmp dword [edx + 0x4dc], 1
mov ecx, esi
jne 0x1001d2b0
mov eax, 5
call fcn.1001b8f0
jmp case.0x1001d1a9.1
mov eax, 4
call fcn.1001b8f0
jmp case.0x1001d1a9.1
mov edi, dword [ebp]
mov dword [esp + 0x14], 0
mov eax, dword [edi + 0xb0]
mov ecx, dword [edi + 0x98]
push eax
push ecx
push edi
call fcn.10012220
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x1001d30f
push str.Hostname_was_found_in_DNS_cache_n
mov dword [edi + 0x400], eax
mov dword [edi + 0x404], 1
push esi
xor edi, edi
call fcn.100230a0
add esp, 8
cmp dword [esp + 0x14], edi
jne 0x1001d322
mov eax, dword [ebp]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.100013f0
add esp, 8
mov edi, eax
mov ecx, dword [esp + 0x34]
push esi
push ecx
call fcn.1001bfd0
add esp, 8
cmp dword [esp + 0x14], 0
je 0x1001d396
mov eax, dword [ebp]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.10011db0
mov edi, eax
add esp, 8
test edi, edi
je 0x1001d357
mov dword [ebp], 0
jmp 0x1001d396
or ebx, 0xffffffff
cmp dword [esp + 0x18], 0
je 0x1001d379
mov ecx, dword [esp + 0x34]
push 1
push ecx
call fcn.1001bb30
add esp, 8
neg eax
sbb eax, eax
add eax, 9
jmp 0x1001d38f
mov edx, dword [ebp]
cmp dword [edx + 0x4dc], 1
mov eax, 5
je 0x1001d38f
mov eax, 4
mov ecx, esi
call fcn.1001b8f0
test edi, edi
je case.0x1001d1a9.1
mov dword [esp + 0xc], 1
jmp case.0x1001d1a9.1
mov ecx, dword [ebp]
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.10013bb0
mov edi, eax
mov eax, dword [ebp]
add esp, 8
or ebx, 0xffffffff
cmp dword [eax + 0x248], 0
je 0x1001d3e9
xor edi, edi
push edi
push edi
push ebp
call fcn.10032020
add esp, 0xc
lea eax, [ebx + 3]
mov ecx, esi
call fcn.1001b8f0
jmp case.0x1001d1a9.1
test edi, edi
jne case.0x1001d1a9.1
cmp dword [eax + 0x4dc], 2
jne case.0x1001d1a9.1
lea eax, [edi + 6]
mov ecx, esi
call fcn.1001b8f0
jmp case.0x1001d1a9.1
mov eax, dword [ebp]
lea edx, [esp + 0x28]
push edx
push 0
push eax
call fcn.10002ed0
add esp, 0xc
cmp dword [esp + 0x28], 0
mov edi, eax
je 0x1001d396
test edi, edi
jne 0x1001d39e
mov ecx, dword [ebp]
mov eax, dword [ecx + 0x228]
or ebx, 0xffffffff
neg eax
sbb eax, eax
add eax, 6
mov ecx, esi
call fcn.1001b8f0
jmp case.0x1001d1a9.1
mov eax, dword [ebp]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.1002d460
add esp, 8
cmp dword [esp + 0x18], 0
mov edi, eax
jne 0x1001d47f
mov eax, 7
mov ecx, esi
call fcn.1001b8f0
jmp case.0x1001d1a9.1
test edi, edi
jne 0x1001d4a8
mov ecx, dword [esp + 0x34]
push 1
push ecx
call fcn.1001bb30
add esp, 8
neg eax
sbb eax, eax
add eax, 9
mov ecx, esi
call fcn.1001b8f0
or ebx, 0xffffffff
jmp case.0x1001d1a9.1
push esi
call section..text
push 1
push edi
push ebp
call fcn.10032020
add esp, 0x10
mov dword [esp + 0xc], 1
jmp case.0x1001d1a9.1
mov eax, dword [ebp]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.1002d3e0
mov edi, eax
add esp, 8
test edi, edi
jne 0x1001d4a8
cmp dword [esp + 0x18], eax
je case.0x1001d1a9.1
jmp 0x1001d483
mov edx, dword [ebp]
push edx
push esi
call fcn.1001f6f0
add esp, 8
test eax, eax
je case.0x1001d1a9.1
mov eax, 9
mov ecx, esi
call fcn.1001b8f0
or ebx, 0xffffffff
jmp case.0x1001d1a9.1
xor edi, edi
cmp dword [esi + 0x370], edi
je 0x1001d538
mov eax, dword [ebp]
mov dword [eax + 0x1f4], edi
lea eax, [edi + 0x10]
mov ecx, esi
call fcn.1001b8f0
or ebx, 0xffffffff
jmp case.0x1001d1a9.1
lea ecx, [esp + 0x1c]
push ecx
push ebp
call fcn.1002e810
mov edi, eax
add esp, 8
test edi, edi
jne 0x1001d5d3
cmp dword [esp + 0x1c], eax
jne 0x1001d5a2
cmp dword [esi + 0x454], eax
je 0x1001d58f
mov eax, dword [esi + 0x8710]
cmp eax, 6
je 0x1001d56e
cmp eax, 4
jne 0x1001d58f
push 0
push 0
push ebp
call fcn.10032020
add esp, 0xc
mov eax, 0x10
mov ecx, esi
call fcn.1001b8f0
or ebx, 0xffffffff
jmp case.0x1001d1a9.1
mov eax, 0xa
mov ecx, esi
call fcn.1001b8f0
xor ebx, ebx
jmp case.0x1001d1a9.1
mov edx, dword [ebp]
cmp dword [edx + 0x214], 0
mov ecx, esi
je 0x1001d5c1
mov eax, 0xb
call fcn.1001b8f0
xor ebx, ebx
jmp case.0x1001d1a9.1
mov eax, 0xc
call fcn.1001b8f0
or ebx, 0xffffffff
jmp case.0x1001d1a9.1
cmp edi, 0x37
jne 0x1001d6bc
mov eax, dword [ebp]
cmp dword [eax + 0x1f8], 0
je 0x1001d6bc
lea ecx, [esp + 0x10]
push ecx
xor ebx, ebx
push eax
mov dword [esp + 0x18], ebx
call fcn.1002c7d0
add esp, 8
test eax, eax
je 0x1001d610
mov edi, eax
mov dword [esp + 0xc], 1
jmp 0x1001d619
xor ebx, ebx
cmp dword [esp + 0x10], ebx
setne bl
push esi
call section..text
push 0
push edi
push ebp
call fcn.10032020
add esp, 0x10
test ebx, ebx
je 0x1001d69d
test eax, eax
je 0x1001d651
cmp eax, 0x37
je 0x1001d651
mov edx, dword [esp + 0x10]
push edx
mov edi, eax
call dword [0x1004400c]
mov ebx, dword [esp + 0x18]
add esp, 4
jmp case.0x1001d1a9.1
mov eax, dword [esp + 0x10]
push 2
push eax
push esi
call fcn.1002c4f0
add esp, 0xc
test eax, eax
jne 0x1001d684
mov eax, 2
mov ecx, esi
call fcn.1001b8f0
mov dword [esp + 0x14], 0xffffffff
mov ebx, dword [esp + 0x14]
xor edi, edi
jmp case.0x1001d1a9.1
mov ecx, dword [esp + 0x10]
push ecx
mov edi, eax
call dword [0x1004400c]
mov ebx, dword [esp + 0x18]
add esp, 4
jmp case.0x1001d1a9.1
mov edx, dword [esp + 0x10]
push edx
mov dword [esp + 0x10], 1
call dword [0x1004400c]
mov ebx, dword [esp + 0x18]
add esp, 4
jmp case.0x1001d1a9.1
push esi
call section..text
add esp, 4
cmp dword [ebp], 0
je 0x1001d6d7
push 0
push edi
push ebp
call fcn.10032020
add esp, 0xc
mov dword [esp + 0xc], 1
jmp case.0x1001d1a9.1
mov ecx, dword [ebp]
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.1002d420
mov edi, eax
add esp, 8
test edi, edi
jne 0x1001d724
cmp dword [esp + 0x1c], eax
je case.0x1001d1a9.1
mov edx, dword [ebp]
mov eax, dword [edx + 0x214]
neg eax
sbb eax, eax
add eax, 0xc
mov ecx, esi
call fcn.1001b8f0
or ebx, 0xffffffff
jmp case.0x1001d1a9.1
push esi
call section..text
push 0
jmp 0x1001d4b0
mov ecx, dword [ebp]
lea eax, [esp + 0x2c]
push eax
push ecx
call fcn.1002e8a0
mov edi, eax
add esp, 8
test edi, edi
jne 0x1001d724
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1001d5ba
xor edx, edx
cmp eax, 1
sete dl
mov ecx, esi
lea edx, [edx + edx + 0xa]
mov eax, edx
call fcn.1001b8f0
or ebx, 0xffffffff
jmp case.0x1001d1a9.1
mov eax, dword [ebp]
push eax
push esi
call fcn.1001f800
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.1001c9f0
mov eax, dword [ebp]
or ecx, 0xffffffff
add esp, 0xc
cmp dword [eax + 0x274], ecx
jne 0x1001d7a1
cmp dword [eax + 0x278], ecx
lea eax, [ecx + 0x11]
je 0x1001d7a6
mov eax, 0xd
mov ecx, esi
call fcn.1001b8f0
or ebx, 0xffffffff
jmp case.0x1001d1a9.1
mov edx, dword [ebp]
push edx
push esi
call fcn.1001f740
add esp, 8
test eax, eax
je case.0x1001d1a9.1
mov eax, 0xe
mov ecx, esi
call fcn.1001b8f0
or ebx, 0xffffffff
jmp case.0x1001d1a9.1
mov eax, dword [ebp]
push eax
call fcn.10020ef0
add esp, 4
test eax, eax
je 0x1001d7f5
mov edi, 0x2a
jmp 0x1001d80a
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ecx
push edx
push esi
call fcn.10026bb0
add esp, 0xc
mov edi, eax
mov ecx, dword [esi + 0x208]
mov eax, dword [esi + 0x20c]
mov edx, ecx
or edx, eax
je 0x1001d83a
mov edx, dword [esi + 0x504]
cmp edx, eax
jg case.0x1001d1a9.1
jl 0x1001d83a
mov eax, dword [esi + 0x500]
cmp eax, ecx
jae case.0x1001d1a9.1
mov ecx, dword [esi + 0x210]
mov eax, dword [esi + 0x214]
mov edx, ecx
or edx, eax
je 0x1001d86a
mov edx, dword [esi + 0x4fc]
cmp edx, eax
jg case.0x1001d1a9.1
jl 0x1001d86a
mov eax, dword [esi + 0x4f8]
cmp eax, ecx
jae case.0x1001d1a9.1
mov eax, 0xe
mov ecx, esi
call fcn.1001b8f0
jmp case.0x1001d1a9.1
mov eax, dword [esi + 0x20c]
mov ecx, dword [esi + 0x208]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x10], ebx
jl 0x1001d8fd
jg 0x1001d897
cmp ecx, ebx
jbe 0x1001d8fd
mov edx, dword [esi + 0x504]
cmp edx, eax
jl 0x1001d8fd
jg 0x1001d8ad
mov eax, dword [esi + 0x500]
cmp eax, ecx
jbe 0x1001d8fd
mov eax, 0xf
mov ecx, esi
call fcn.1001b8f0
mov eax, dword [esi + 0x2c0]
test eax, eax
jne 0x1001d8c8
mov eax, 0x4000
mov ecx, dword [esi + 0x504]
mov edx, dword [esi + 0x500]
push eax
mov eax, dword [esi + 0x20c]
push ecx
mov ecx, dword [esi + 0x208]
push edx
push eax
push ecx
call fcn.1002c070
push eax
push esi
call fcn.1001c880
mov ebx, dword [esp + 0x30]
add esp, 0x1c
jmp case.0x1001d1a9.1
mov eax, dword [esi + 0x214]
mov ecx, dword [esi + 0x210]
test eax, eax
jl 0x1001d960
jg 0x1001d913
test ecx, ecx
jbe 0x1001d960
mov edx, dword [esi + 0x4fc]
cmp edx, eax
jl 0x1001d960
jg 0x1001d929
mov eax, dword [esi + 0x4f8]
cmp eax, ecx
jbe 0x1001d960
mov eax, 0xf
mov ecx, esi
call fcn.1001b8f0
mov eax, dword [esi + 0x2c0]
test eax, eax
jne 0x1001d944
mov eax, 0x4000
mov ecx, dword [esi + 0x4fc]
mov edx, dword [esi + 0x4f8]
push eax
mov eax, dword [esi + 0x214]
push ecx
mov ecx, dword [esi + 0x210]
jmp 0x1001d8e2
mov eax, dword [ebp]
lea edx, [esp + 0x20]
push edx
push esi
push eax
call fcn.1002bcb0
add esp, 0xc
test byte [esi + 0xf8], 1
mov edi, eax
jne 0x1001d989
mov ecx, dword [ebp]
push ecx
call fcn.1001f7a0
add esp, 4
test byte [esi + 0xf8], 2
jne 0x1001d99e
mov edx, dword [ebp]
push edx
call fcn.1001f790
add esp, 4
cmp dword [esp + 0x20], 0
jne 0x1001d9aa
cmp edi, 0x38
jne 0x1001d9d8
mov ecx, dword [ebp]
lea eax, [esp + 0x10]
push eax
push ecx
call fcn.1002c7d0
add esp, 8
test eax, eax
jne 0x1001d9d8
xor ebx, ebx
cmp dword [esp + 0x10], ebx
setne bl
test ebx, ebx
je 0x1001d9d8
xor edi, edi
mov dword [esp + 0x20], 1
jmp 0x1001da29
test edi, edi
je 0x1001da1e
mov eax, dword [ebp]
mov edx, dword [eax + 0x268]
test byte [edx + 0x40], 2
jne 0x1001d9f5
mov dword [eax + 0x1f4], 1
push esi
call section..text
push 0
push edi
push ebp
call fcn.10032020
mov ecx, dword [esp + 0x20]
add esp, 0x10
push ecx
call dword [0x1004400c]
mov ebx, dword [esp + 0x18]
add esp, 4
jmp case.0x1001d1a9.1
cmp dword [esp + 0x20], 0
je 0x1001db44
push esi
call section..text
mov eax, dword [ebp]
mov ecx, dword [eax + 0x2b0]
push ecx
push esi
call fcn.1002d060
mov edx, dword [ebp]
mov eax, dword [edx + 0x2b0]
add esp, 0xc
cmp dword [eax], 0
je 0x1001da5f
mov eax, dword [eax]
mov ecx, dword [eax]
push 1
push ecx
call fcn.1001c880
add esp, 8
mov edx, dword [esp + 0x34]
push edx
call fcn.1001c9f0
add esp, 4
cmp dword [esi + 0x10c], 0
jne 0x1001dad8
test ebx, ebx
jne 0x1001db01
cmp dword [esi + 0x108], ebx
je 0x1001daca
mov eax, dword [esp + 0x10]
push eax
call dword [0x1004400c]
mov eax, dword [esi + 0x108]
push 1
push eax
push esi
mov dword [esp + 0x20], eax
mov dword [esi + 0x108], ebx
call fcn.1002c4f0
mov edi, eax
add esp, 0x10
cmp edi, ebx
jne 0x1001dac2
lea eax, [ebx + 0x10]
mov ecx, esi
mov dword [esp + 0x10], ebx
call fcn.1001b8f0
jmp 0x1001db3c
mov dword [esp + 0xc], 1
mov eax, 0x10
mov ecx, esi
call fcn.1001b8f0
jmp 0x1001db3c
test ebx, ebx
jne 0x1001db01
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x1004400c]
mov edx, dword [esi + 0x10c]
mov dword [esi + 0x10c], ebx
add esp, 4
mov dword [esp + 0x10], edx
mov ebx, 3
jmp 0x1001db06
mov ebx, 2
push 0
push 0
push ebp
call fcn.10032020
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1001db44
mov eax, dword [esp + 0x10]
push ebx
push eax
push esi
call fcn.1002c4f0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1001db44
lea eax, [edi + 2]
mov ecx, esi
call fcn.1001b8f0
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], 0xffffffff
mov ecx, dword [esp + 0x10]
push ecx
call dword [0x1004400c]
mov ebx, dword [esp + 0x18]
add esp, 4
jmp case.0x1001d1a9.1
mov eax, dword [ebp]
or ebx, 0xffffffff
test eax, eax
je 0x1001db98
mov edx, dword [eax + 0x2b0]
push edx
push esi
call fcn.1002d060
mov eax, dword [esp + 0x3c]
push eax
call fcn.1001c9f0
push 0
push edi
push ebp
call fcn.10032020
add esp, 0x18
test edi, edi
jne 0x1001db8b
mov edi, eax
cmp dword [ebp], 0
je 0x1001db98
mov dword [ebp], 0
cmp dword [esi + 0x454], 0
je 0x1001dbb5
cmp dword [esi + 0x8710], 6
je 0x1001dbb5
xor eax, eax
mov ecx, esi
call fcn.1001b8f0
jmp case.0x1001d1a9.1
mov eax, 0x11
mov ecx, esi
call fcn.1001b8f0
jmp case.0x1001d1a9.1
push 0
push esi
mov dword [ebp], 0
call fcn.1001c6e0
add esp, 8
cmp dword [esi + 0xc], 0x11
jge 0x1001dcc5
test edi, edi
je 0x1001dc85
mov ecx, dword [esp + 0x34]
push ecx
mov dword [esi + 0x86c8], 0
call fcn.1001c9f0
mov eax, dword [ebp]
add esp, 4
test eax, eax
je 0x1001dc68
push eax
call fcn.1001f790
mov edx, dword [ebp]
push edx
call fcn.1001f7a0
mov eax, dword [ebp]
mov ecx, dword [eax + 0x2ac]
push ecx
push esi
call fcn.1002d060
mov edx, dword [ebp]
mov eax, dword [edx + 0x2b0]
push eax
push esi
call fcn.1002d060
add esp, 0x18
cmp dword [esp + 0xc], 0
je 0x1001dc77
mov edx, dword [ebp]
xor ecx, ecx
cmp edi, 0x1c
sete cl
push ecx
push edx
call fcn.10031320
add esp, 8
mov eax, 0x11
mov ecx, esi
mov dword [ebp], 0
call fcn.1001b8f0
jmp 0x1001dcc1
cmp dword [esi + 0xc], 2
jne 0x1001dc77
push esi
call section..text
add esp, 4
mov eax, 0x11
mov ecx, esi
call fcn.1001b8f0
jmp 0x1001dcc1
mov eax, dword [ebp]
test eax, eax
je 0x1001dcc1
push eax
call fcn.10020ef0
add esp, 4
test eax, eax
je 0x1001dcc1
mov eax, dword [ebp]
mov dword [eax + 0x1f4], 1
xor eax, eax
cmp dword [esi + 0xc], 0x10
mov ecx, esi
setge al
mov edi, 0x2a
add eax, 0x10
call fcn.1001b8f0
or ebx, 0xffffffff
cmp dword [esi + 0xc], 0x11
jne 0x1001dced
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.1001b9f0
mov ebx, eax
mov eax, 0x12
mov ecx, esi
call fcn.1001b8f0
xor ebp, ebp
cmp ebx, 0xffffffff
je 0x1001cfb0
mov ecx, dword [esp + 0x34]
push ebp
call fcn.1001be30
add esp, 4
test eax, eax
jne 0x1001cfb0
mov eax, ebx
pop ebx
mov dword [esi + 0x10], edi
pop edi
pop ebp
add esp, 0x24
ret
mov ecx, dword [esi + 0xc]
push ecx
push str.In_state__d_with_no_easy_conn__bail_out__n
push esi
call fcn.10023130
add esp, 0xc
pop ebx
pop edi
mov eax, 4
pop ebp
add esp, 0x24
ret
pop ebx
mov dword [esi + 0x10], edi
pop edi
xor eax, eax
pop ebp
add esp, 0x24
ret
pop edi
mov eax, 2
pop ebp
add esp, 0x24
ret