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

Disassembly:
sub esp, 0x34
push ebx
xor ebx, ebx
push ebp
mov ebp, dword [esp + 0x4c]
push edi
mov edi, dword [esp + 0x44]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x50], ebx
cmp ebp, ebx
je 0x1001e0a4
cmp dword [ebp + 0x49b0], 0xc0dedbad
jne 0x1001e0a4
push esi
jmp 0x1001cf22
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
cmp dword [ebp + 0x4878], ebx
je 0x1001cf99
mov eax, dword [ebp + 0x4880]
push eax
push ebp
push str.Pipe_broke:_handle__p__url___s_n
push ebp
call fcn.100295c0
mov eax, dword [ebp + 0x24]
add esp, 0x10
cmp eax, 0x11
jge 0x1001cf74
cmp eax, 2
je 0x1001cf6d
mov dword [ebp + 0x24], 2
mov eax, dword [0x10076898]
cmp eax, ebx
je 0x1001cf6d
push ebp
call eax
add esp, 4
or esi, 0xffffffff
mov dword [esp + 0x54], ebx
mov dword [ebp + 0x4878], ebx
mov dword [ebp + 8], ebx
cmp esi, 0xffffffff
je 0x1001cf20
cmp dword [edi + 0x7c], 0
jne 0x1001cf20
mov edx, dword [esp + 0x54]
mov eax, esi
pop esi
pop edi
mov dword [ebp + 0x28], edx
pop ebp
pop ebx
add esp, 0x34
ret
cmp dword [ebp + 8], 0
lea ebx, [ebp + 8]
mov esi, 0x10
jne 0x1001cfb7
mov eax, dword [ebp + 0x24]
cmp eax, 2
jle 0x1001cfb7
cmp eax, esi
jl 0x1001e074
mov eax, dword [edi + 0x7c]
mov dword [edi + 0x7c], 0
test eax, eax
je 0x1001cfce
push edi
call fcn.1001c930
add esp, 4
mov ecx, dword [ebx]
test ecx, ecx
je 0x1001cfe3
mov eax, dword [ebp + 0x24]
cmp eax, 2
jle 0x1001cfe3
cmp eax, 0x11
jge 0x1001cfe3
mov dword [ecx], ebp
cmp dword [ebx], 0
je 0x1001d158
mov eax, dword [ebp + 0x24]
cmp eax, 2
jl 0x1001d158
cmp eax, 0x11
jge 0x1001d158
xor ecx, ecx
cmp eax, 8
setle cl
lea edx, [esp + 0x4c]
push ecx
push edx
push ebp
call fcn.1002ba90
add esp, 0xc
test edx, edx
jg 0x1001d158
jl 0x1001d02a
test eax, eax
jae 0x1001d158
mov eax, dword [ebp + 0x24]
cmp eax, 3
jne 0x1001d064
mov eax, dword [ebp + 0x64c]
mov ecx, dword [ebp + 0x648]
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x50]
push ecx
push edx
push eax
call fcn.10029010
push edx
push eax
push str.Resolving_timed_out_after__ld_milliseconds
push ebp
call fcn.10029650
add esp, 0x20
jmp 0x1001d124
cmp eax, 4
jne 0x1001d09b
mov ecx, dword [ebp + 0x64c]
mov edx, dword [ebp + 0x648]
mov eax, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x50]
push edx
push eax
push ecx
call fcn.10029010
push edx
push eax
push str.Connection_timed_out_after__ld_milliseconds
push ebp
call fcn.10029650
add esp, 0x20
jmp 0x1001d124
mov eax, dword [ebp + 0x70]
mov ecx, dword [ebp + 0x74]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
mov edx, dword [ebp + 0x64c]
je 0x1001d0ec
push ecx
mov ecx, dword [ebp + 0x90]
push eax
mov eax, dword [ebp + 0x94]
push eax
mov eax, dword [ebp + 0x648]
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
push edx
call fcn.10029010
add esp, 0x10
push edx
push eax
push str.Operation_timed_out_after__ld_milliseconds_with__I64d_out_of__I64d_bytes_received
push ebp
call fcn.10029650
add esp, 0x20
jmp 0x1001d124
mov eax, dword [ebp + 0x94]
mov ecx, dword [ebp + 0x90]
push eax
mov eax, dword [ebp + 0x648]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
push ecx
push edx
call fcn.10029010
add esp, 0x10
push edx
push eax
push str.Operation_timed_out_after__ld_milliseconds_with__I64d_bytes_received
push ebp
call fcn.10029650
add esp, 0x18
cmp dword [ebp + 0x24], 9
jle 0x1001d13f
mov eax, dword [ebx]
push 2
push eax
call fcn.1002c590
add esp, 8
mov dword [esp + 0x14], 1
mov eax, 0x1c
push 1
push ebx
mov dword [esp + 0x5c], eax
call fcn.1001b790
add esp, 8
jmp case.0x1001d164.1
mov eax, dword [ebp + 0x24]
cmp eax, 0x12
ja case.default.0x1001d164
jmp dword [eax*4 + 0x1001e0b0]
push ebp
call fcn.1002f940
add esp, 4
mov dword [esp + 0x54], eax
test eax, eax
jne case.0x1001d164.1
mov eax, 2
cmp dword [ebp + 0x24], eax
je 0x1001d19c
mov dword [ebp + 0x24], eax
mov eax, dword [0x10076898]
test eax, eax
je 0x1001d19c
push ebp
call eax
add esp, 4
push 1
push ebp
call fcn.10030f60
add esp, 8
mov dword [esp + 0x10], 0xffffffff
jmp case.0x1001d164.1
push 2
push ebp
call fcn.10030f60
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x3c]
push edx
push ebx
push ebp
call fcn.10028f50
add esp, 0x18
mov dword [esp + 0x54], eax
cmp eax, 0x59
jne 0x1001d208
mov eax, 1
cmp dword [ebp + 0x24], eax
je 0x1001d1e6
mov dword [ebp + 0x24], eax
mov ecx, dword [edi + 0x28]
lea eax, [ebp + 0xc]
push eax
push ebp
push ecx
add edi, 0x24
push edi
call fcn.10030660
add esp, 0x10
mov dword [esp + 0x54], 0
jmp case.0x1001d164.1
test eax, eax
jne case.0x1001d164.1
mov edx, dword [ebx]
push edx
push ebp
call fcn.100320d0
add esp, 8
mov dword [esp + 0x54], eax
test eax, eax
jne 0x1001d5cf
cmp dword [esp + 0x30], eax
je 0x1001d254
mov eax, 3
cmp dword [ebp + 0x24], eax
je case.0x1001d164.1
mov dword [ebp + 0x24], eax
mov eax, dword [0x1007689c]
test eax, eax
je case.0x1001d164.1
push ebp
call eax
jmp 0x1001df0d
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x10], 0xffffffff
je 0x1001d281
push 1
push edi
call fcn.1001b990
add esp, 8
neg eax
sbb eax, eax
add eax, 9
mov ecx, ebp
call fcn.1001b5a0
jmp case.0x1001d164.1
mov eax, dword [ebx]
cmp dword [eax + 0x758], 1
jne 0x1001d2b2
mov eax, 5
cmp dword [ebp + 0x24], eax
je case.0x1001d164.1
mov dword [ebp + 0x24], eax
mov eax, dword [0x100768a4]
test eax, eax
je case.0x1001d164.1
push ebp
call eax
jmp 0x1001df0d
mov eax, 4
cmp dword [ebp + 0x24], eax
je case.0x1001d164.1
mov dword [ebp + 0x24], eax
mov eax, dword [0x100768a0]
test eax, eax
je case.0x1001d164.1
push ebp
call eax
jmp 0x1001df0d
mov esi, dword [ebx]
mov dword [esp + 0x18], 0
cmp dword [esi + 0x3c8], 0
je 0x1001d2f3
mov edi, dword [esi + 0xe4]
jmp 0x1001d30a
cmp dword [esi + 0x3bc], 0
je 0x1001d304
mov edi, dword [esi + 0xb4]
jmp 0x1001d30a
mov edi, dword [esi + 0xa0]
mov ecx, dword [esi + 0xfc]
push ecx
push edi
push esi
call fcn.100211e0
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
je 0x1001d351
push edi
push 0x100769f4
push ebp
mov dword [esi + 0x684], eax
mov dword [esi + 0x688], 1
mov dword [esp + 0x60], 0
call fcn.100295c0
add esp, 0xc
cmp dword [esp + 0x18], 0
jne 0x1001d369
mov eax, dword [ebx]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.100200e0
mov edi, eax
add esp, 8
mov dword [esp + 0x54], edi
jmp 0x1001d36d
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x48]
push ebp
push esi
call fcn.1001be90
add esp, 8
cmp dword [esp + 0x18], 0
je 0x1001d40d
mov edx, dword [ebx]
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.10031bf0
mov edi, eax
add esp, 8
mov dword [esp + 0x54], edi
test edi, edi
je 0x1001d3a8
mov dword [ebx], 0
jmp 0x1001d40d
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x10], 0xffffffff
je 0x1001d3d2
push 1
push esi
call fcn.1001b990
add esp, 8
neg eax
sbb eax, eax
add eax, 9
mov ecx, ebp
call fcn.1001b5a0
jmp 0x1001d40d
mov eax, dword [ebx]
cmp dword [eax + 0x758], 1
jne 0x1001d3f1
mov eax, 5
cmp dword [ebp + 0x24], eax
je 0x1001d40d
mov dword [ebp + 0x24], eax
mov eax, dword [0x100768a4]
jmp 0x1001d403
mov eax, 4
cmp dword [ebp + 0x24], eax
je 0x1001d40d
mov dword [ebp + 0x24], eax
mov eax, dword [0x100768a0]
test eax, eax
je 0x1001d40d
push ebp
call eax
add esp, 4
test edi, edi
je case.0x1001d164.1
mov dword [esp + 0x14], 1
jmp case.0x1001d164.1
mov edx, dword [ebx]
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.10033bf0
mov ecx, eax
mov eax, dword [ebx]
add esp, 8
cmp dword [eax + 0x418], 0
mov dword [esp + 0x54], ecx
je 0x1001d486
push 0
push ebx
xor eax, eax
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x5c], 0
call fcn.1001b790
add esp, 8
cmp dword [ebp + 0x24], 2
je case.0x1001d164.1
mov dword [ebp + 0x24], 2
mov eax, dword [0x10076898]
test eax, eax
je case.0x1001d164.1
push ebp
call eax
jmp 0x1001df0d
test ecx, ecx
jne case.0x1001d164.1
cmp dword [eax + 0xf0], 2
jne 0x1001d4a3
cmp dword [eax + 0x434], ecx
je case.0x1001d164.1
cmp dword [eax + 0x758], 1
je case.0x1001d164.1
mov eax, 6
mov dword [esp + 0x10], 0xffffffff
cmp dword [ebp + 0x24], eax
je case.0x1001d164.1
mov dword [ebp + 0x24], eax
mov eax, dword [0x100768a8]
test eax, eax
je case.0x1001d164.1
push ebp
call eax
jmp 0x1001df0d
mov ecx, dword [ebx]
lea eax, [esp + 0x34]
push eax
push 0
push ecx
call fcn.1002cbd0
add esp, 0xc
cmp dword [esp + 0x34], 0
mov dword [esp + 0x54], eax
je 0x1001d545
test eax, eax
jne 0x1001d54d
mov eax, dword [ebx]
cmp dword [eax + 0xf0], 2
jne 0x1001d517
cmp dword [eax + 0x434], 0
je 0x1001d28c
cmp dword [eax + 0x758], 1
je 0x1001d28c
mov eax, dword [eax + 0x3f4]
neg eax
sbb eax, eax
add eax, 6
mov ecx, ebp
mov dword [esp + 0x10], 0xffffffff
call fcn.1001b5a0
jmp case.0x1001d164.1
test eax, eax
je case.0x1001d164.1
mov dword [esp + 0x14], 1
jmp case.0x1001d164.1
mov eax, dword [ebx]
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.10022420
add esp, 8
cmp dword [esp + 0x1c], 0
mov esi, eax
mov dword [esp + 0x54], esi
jne 0x1001d592
cmp dword [ebp + 0x24], 7
je case.0x1001d164.1
mov dword [ebp + 0x24], 7
mov eax, dword [0x100768ac]
jmp 0x1001d2a2
test esi, esi
jne 0x1001d5bc
push 1
push edi
call fcn.1001b990
add esp, 8
neg eax
sbb eax, eax
add eax, 9
mov ecx, ebp
call fcn.1001b5a0
mov dword [esp + 0x10], 0xffffffff
jmp case.0x1001d164.1
push ebp
call fcn.10020fe0
push 1
mov eax, esi
push ebx
call fcn.1001b790
add esp, 0xc
mov dword [esp + 0x14], 1
jmp case.0x1001d164.1
mov edx, dword [ebx]
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.100223a0
mov esi, eax
add esp, 8
mov dword [esp + 0x54], esi
test esi, esi
jne 0x1001d5bc
cmp dword [esp + 0x1c], eax
je case.0x1001d164.1
push 1
push edi
call fcn.1001b990
add esp, 8
neg eax
sbb eax, eax
add eax, 9
mov ecx, ebp
call fcn.1001b5a0
mov dword [esp + 0x10], 0xffffffff
jmp case.0x1001d164.1
mov eax, dword [ebx]
push eax
push ebp
call fcn.10032010
add esp, 8
test eax, eax
je case.0x1001d164.1
mov eax, 9
cmp dword [ebp + 0x24], eax
je 0x1001d656
mov dword [ebp + 0x24], eax
mov eax, dword [0x100768b4]
test eax, eax
je 0x1001d656
push ebp
call eax
add esp, 4
mov dword [esp + 0x10], 0xffffffff
jmp case.0x1001d164.1
cmp dword [ebp + 0x420], 0
je 0x1001d6a5
mov ecx, dword [ebx]
push 0
push ecx
call fcn.1002c590
add esp, 8
cmp dword [ebp + 0x24], esi
je 0x1001d690
mov dword [ebp + 0x24], esi
mov eax, dword [0x100768d0]
test eax, eax
je 0x1001d690
push ebp
call eax
add esp, 4
mov dword [esp + 0x54], 0
mov dword [esp + 0x10], 0xffffffff
jmp case.0x1001d164.1
lea edx, [esp + 0x20]
push edx
lea ebx, [ebp + 8]
call fcn.1001bbf0
mov edi, eax
xor esi, esi
add esp, 4
mov dword [esp + 0x54], edi
cmp edi, esi
jne 0x1001d76c
cmp dword [esp + 0x20], esi
jne 0x1001d720
cmp dword [ebp + 0x540], esi
je 0x1001d70c
mov eax, dword [ebp + 0x48d8]
cmp eax, 7
je 0x1001d6e3
cmp eax, 5
jne 0x1001d70c
push esi
push ebx
xor eax, eax
call fcn.1001b790
mov eax, 0x10
add esp, 8
cmp dword [ebp + 0x24], eax
je 0x1001d656
mov dword [ebp + 0x24], eax
mov eax, dword [0x100768d0]
cmp eax, esi
jmp 0x1001d64e
mov eax, 0xa
cmp dword [ebp + 0x24], eax
je 0x1001d746
mov dword [ebp + 0x24], eax
mov eax, dword [0x100768b8]
jmp 0x1001d73c
mov eax, dword [ebx]
cmp dword [eax + 0x3e0], esi
je 0x1001d74f
mov eax, 0xb
cmp dword [ebp + 0x24], eax
je 0x1001d746
mov dword [ebp + 0x24], eax
mov eax, dword [0x100768bc]
cmp eax, esi
je 0x1001d746
push ebp
call eax
add esp, 4
mov dword [esp + 0x10], esi
jmp case.0x1001d164.1
mov eax, 0xc
cmp dword [ebp + 0x24], eax
je 0x1001d656
mov dword [ebp + 0x24], eax
mov eax, dword [0x100768c0]
cmp eax, esi
jmp 0x1001d64e
cmp edi, 0x37
jne 0x1001d858
mov eax, dword [ebx]
cmp dword [eax + 0x3b8], esi
je 0x1001d858
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x20], esi
xor edi, edi
call fcn.1002ffb0
add esp, 8
cmp eax, esi
je 0x1001d7a9
mov dword [esp + 0x54], eax
mov dword [esp + 0x14], 1
jmp 0x1001d7b4
xor edx, edx
cmp dword [esp + 0x18], esi
setne dl
mov edi, edx
push ebp
call fcn.10020fe0
lea eax, [ebp + 8]
push esi
push eax
mov eax, dword [esp + 0x60]
call fcn.1001b790
add esp, 0xc
cmp edi, esi
je 0x1001d840
cmp eax, esi
je 0x1001d7ec
cmp eax, 0x37
je 0x1001d7ec
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x18]
push eax
call dword [0x10088c24]
jmp 0x1001df0d
mov ecx, dword [esp + 0x18]
mov edi, 2
push edi
push ecx
push ebp
call fcn.1002fd20
add esp, 0xc
cmp eax, esi
jne 0x1001d82c
cmp dword [ebp + 0x24], edi
je 0x1001d81b
mov dword [ebp + 0x24], edi
mov eax, dword [0x10076898]
cmp eax, esi
je 0x1001d81b
push ebp
call eax
add esp, 4
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x54], esi
jmp case.0x1001d164.1
mov edx, dword [esp + 0x18]
push edx
mov dword [esp + 0x58], eax
call dword [0x10088c24]
jmp 0x1001df0d
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x18], 1
call dword [0x10088c24]
jmp 0x1001df0d
push ebp
call fcn.10020fe0
add esp, 4
cmp dword [ebx], esi
je 0x1001d871
push esi
push ebx
mov eax, edi
call fcn.1001b790
add esp, 8
mov dword [esp + 0x14], 1
jmp case.0x1001d164.1
mov edx, dword [ebx]
lea ecx, [esp + 0x20]
push ecx
push edx
call fcn.100223e0
mov esi, eax
add esp, 8
mov dword [esp + 0x54], esi
test esi, esi
jne 0x1001d8c5
cmp dword [esp + 0x20], eax
je case.0x1001d164.1
mov eax, dword [ebx]
mov eax, dword [eax + 0x3e0]
neg eax
sbb eax, eax
add eax, 0xc
mov ecx, ebp
call fcn.1001b5a0
mov dword [esp + 0x10], 0xffffffff
jmp case.0x1001d164.1
push ebp
call fcn.10020fe0
push 0
jmp 0x1001d5c4
mov esi, dword [ebx]
lea edi, [esp + 0x38]
call fcn.1001bc80
mov dword [esp + 0x54], eax
test eax, eax
jne 0x1001d91c
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1001d90f
xor ecx, ecx
cmp eax, 1
sete cl
lea ecx, [ecx + ecx + 0xa]
mov eax, ecx
mov ecx, ebp
call fcn.1001b5a0
mov dword [esp + 0x10], 0xffffffff
jmp case.0x1001d164.1
mov dword [esp + 0x10], 0
jmp case.0x1001d164.1
push ebp
call fcn.10020fe0
mov eax, dword [esp + 0x58]
push 0
jmp 0x1001d5c6
mov edx, dword [ebx]
push edx
push ebp
call fcn.10032130
push edi
call fcn.1001c930
mov eax, dword [ebx]
or edi, 0xffffffff
add esp, 0xc
cmp dword [eax + 0x464], edi
jne 0x1001d963
cmp dword [eax + 0x468], edi
jne 0x1001d963
cmp dword [ebp + 0x24], esi
je 0x1001d97f
mov dword [ebp + 0x24], esi
mov eax, dword [0x100768d0]
jmp 0x1001d975
mov eax, 0xd
cmp dword [ebp + 0x24], eax
je 0x1001d97f
mov dword [ebp + 0x24], eax
mov eax, dword [0x100768c4]
test eax, eax
je 0x1001d97f
push ebp
call eax
add esp, 4
mov dword [esp + 0x10], edi
jmp case.0x1001d164.1
mov eax, dword [ebx]
push eax
push ebp
call fcn.10032060
add esp, 8
test eax, eax
je case.0x1001d164.1
mov eax, 0xe
cmp dword [ebp + 0x24], eax
je 0x1001d656
mov dword [ebp + 0x24], eax
mov eax, dword [0x100768c8]
jmp 0x1001d64c
mov ecx, dword [ebx]
push ecx
call fcn.10031360
add esp, 4
test eax, eax
je 0x1001d9d3
mov dword [esp + 0x54], 0x2a
jmp case.0x1001d164.1
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
push edx
push eax
push ebp
call fcn.100325d0
add esp, 0xc
mov dword [esp + 0x54], eax
test eax, eax
jne case.0x1001d164.1
mov eax, dword [ebp + 0x22c]
mov ecx, dword [ebp + 0x228]
xor edi, edi
xor ebx, ebx
test eax, eax
jl 0x1001da4f
jg 0x1001da0c
test ecx, ecx
jbe 0x1001da4f
mov edx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x50]
push edx
mov edx, dword [ebp + 0x664]
push edx
mov edx, dword [ebp + 0x660]
push edx
mov edx, dword [ebp + 0x5dc]
push eax
mov eax, dword [ebp + 0x66c]
push ecx
mov ecx, dword [ebp + 0x668]
push eax
mov eax, dword [ebp + 0x5d8]
push ecx
push edx
push eax
call fcn.10031110
cdq
add esp, 0x28
mov edi, eax
mov ebx, edx
mov ecx, dword [ebp + 0x234]
mov esi, dword [ebp + 0x230]
xor eax, eax
xor edx, edx
test ecx, ecx
jl 0x1001daa8
jg 0x1001da69
test esi, esi
jbe 0x1001daa8
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x4c]
push edx
mov edx, dword [ebp + 0x674]
push eax
mov eax, dword [ebp + 0x670]
push edx
mov edx, dword [ebp + 0x678]
push eax
mov eax, dword [ebp + 0x5d4]
push ecx
mov ecx, dword [ebp + 0x67c]
push esi
push ecx
mov ecx, dword [ebp + 0x5d0]
push edx
push eax
push ecx
call fcn.10031110
add esp, 0x28
cdq
test ebx, ebx
jg 0x1001dad7
jl 0x1001dab2
test edi, edi
ja 0x1001dad7
test edx, edx
jg 0x1001dad7
jl 0x1001dabc
test eax, eax
ja 0x1001dad7
cmp dword [ebp + 0x24], 0xe
je case.0x1001d164.1
mov dword [ebp + 0x24], 0xe
mov eax, dword [0x100768c8]
jmp 0x1001d2a2
cmp ebx, edx
jl 0x1001daf1
jg 0x1001dae1
cmp edi, eax
jb 0x1001daf1
push ebx
push edi
push ebp
call fcn.1001c750
add esp, 0xc
jmp case.0x1001d164.1
push edx
push eax
push ebp
call fcn.1001c750
add esp, 0xc
jmp case.0x1001d164.1
mov eax, dword [ebp + 0x22c]
mov ecx, dword [ebp + 0x228]
xor edx, edx
cmp eax, edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
jl 0x1001db74
jg 0x1001db2d
cmp ecx, edx
jbe 0x1001db74
mov edx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x50]
push edx
mov edx, dword [ebp + 0x664]
push edx
mov edx, dword [ebp + 0x660]
push edx
mov edx, dword [ebp + 0x5dc]
push eax
mov eax, dword [ebp + 0x66c]
push ecx
mov ecx, dword [ebp + 0x668]
push eax
mov eax, dword [ebp + 0x5d8]
push ecx
push edx
push eax
call fcn.10031110
cdq
add esp, 0x28
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
mov eax, dword [ebp + 0x234]
mov ecx, dword [ebp + 0x230]
xor esi, esi
xor edi, edi
test eax, eax
jl 0x1001dbd1
jg 0x1001db8e
test ecx, ecx
jbe 0x1001dbd1
mov edx, dword [esp + 0x50]
push edx
mov edx, dword [esp + 0x50]
push edx
mov edx, dword [ebp + 0x674]
push edx
mov edx, dword [ebp + 0x670]
push edx
mov edx, dword [ebp + 0x5d4]
push eax
mov eax, dword [ebp + 0x67c]
push ecx
mov ecx, dword [ebp + 0x678]
push eax
mov eax, dword [ebp + 0x5d0]
push ecx
push edx
push eax
call fcn.10031110
cdq
add esp, 0x28
mov esi, eax
mov edi, edx
cmp dword [esp + 0x40], 0
jg 0x1001de2d
jl 0x1001dbe9
cmp dword [esp + 0x3c], 0
ja 0x1001de2d
test edi, edi
jg 0x1001de2d
jl 0x1001dbfb
test esi, esi
ja 0x1001de2d
mov eax, dword [ebx]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x28]
push edx
push ebp
push eax
call fcn.1002f540
add esp, 0x10
test byte [ebp + 0x118], 1
mov esi, eax
mov dword [esp + 0x54], esi
jne 0x1001dc2b
mov ecx, dword [ebx]
push ecx
call fcn.100320c0
add esp, 4
test byte [ebp + 0x118], 2
jne 0x1001dc3f
mov edx, dword [ebx]
push edx
call fcn.100320b0
add esp, 4
cmp dword [esp + 0x24], 0
jne 0x1001dc4b
cmp esi, 0x38
jne 0x1001dc7c
mov ecx, dword [ebx]
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.1002ffb0
add esp, 8
test eax, eax
jne 0x1001dc7c
xor edx, edx
cmp dword [esp + 0x18], edx
setne dl
mov edi, edx
test edi, edi
je 0x1001dc80
mov dword [esp + 0x54], eax
mov dword [esp + 0x24], 1
jmp 0x1001dcd0
mov edi, dword [esp + 0x28]
test esi, esi
je 0x1001dcc5
mov eax, dword [ebx]
mov ecx, dword [eax + 0x458]
test byte [ecx + 0x40], 2
jne 0x1001dca2
cmp esi, 0x5c
je 0x1001dca2
push 2
push eax
call fcn.1002c590
add esp, 8
push ebp
call fcn.10020fe0
push 1
push ebx
mov eax, esi
call fcn.1001b790
mov ecx, dword [esp + 0x24]
add esp, 0xc
push ecx
call dword [0x10088c24]
jmp 0x1001df0d
cmp dword [esp + 0x24], 0
je 0x1001de0e
push ebp
call fcn.10020fe0
mov edx, dword [ebx]
add edx, 0x4e0
push edx
push ebp
call fcn.10021f00
mov eax, dword [ebx]
mov eax, dword [eax + 0x4e0]
xor esi, esi
add esp, 0xc
cmp eax, esi
je 0x1001dd03
mov ecx, dword [eax]
push esi
push esi
push ecx
call fcn.1001c750
add esp, 0xc
mov edx, dword [esp + 0x48]
push edx
call fcn.1001c930
add esp, 4
cmp dword [ebp + 0x12c], esi
jne 0x1001dd8e
cmp edi, esi
jne 0x1001ddb7
cmp dword [ebp + 0x128], esi
je 0x1001dd65
mov eax, dword [esp + 0x18]
push eax
call dword [0x10088c24]
mov eax, dword [ebp + 0x128]
push 1
push eax
push ebp
mov dword [esp + 0x28], eax
mov dword [ebp + 0x128], esi
call fcn.1002fd20
add esp, 0x10
mov dword [esp + 0x54], eax
cmp eax, esi
jne 0x1001dd5d
mov dword [esp + 0x18], esi
jmp 0x1001dd65
mov dword [esp + 0x14], 1
mov eax, 0x10
cmp dword [ebp + 0x24], eax
je 0x1001de15
mov dword [ebp + 0x24], eax
mov eax, dword [0x100768d0]
cmp eax, esi
je 0x1001de15
push ebp
call eax
add esp, 4
jmp 0x1001de15
cmp edi, esi
jne 0x1001ddb7
mov ecx, dword [esp + 0x18]
push ecx
call dword [0x10088c24]
mov edx, dword [ebp + 0x12c]
mov dword [ebp + 0x12c], esi
add esp, 4
mov dword [esp + 0x18], edx
mov esi, 3
jmp 0x1001ddbc
mov esi, 2
push 0
push ebx
xor eax, eax
call fcn.1001b790
add esp, 8
mov dword [esp + 0x54], eax
test eax, eax
jne 0x1001de1d
mov eax, dword [esp + 0x18]
push esi
push eax
push ebp
call fcn.1002fd20
add esp, 0xc
mov dword [esp + 0x54], eax
test eax, eax
jne 0x1001de1d
mov eax, 2
cmp dword [ebp + 0x24], eax
je 0x1001de04
mov dword [ebp + 0x24], eax
mov eax, dword [0x10076898]
test eax, eax
je 0x1001de04
push ebp
call eax
add esp, 4
mov dword [esp + 0x18], 0
jmp 0x1001de15
cmp dword [esp + 0x2c], 0
je 0x1001de1d
mov dword [esp + 0x10], 0xffffffff
mov ecx, dword [esp + 0x18]
push ecx
call dword [0x10088c24]
jmp 0x1001df0d
mov eax, 0xf
cmp dword [ebp + 0x24], eax
je 0x1001de49
mov dword [ebp + 0x24], eax
mov eax, dword [0x100768cc]
test eax, eax
je 0x1001de49
push ebp
call eax
add esp, 4
cmp dword [esp + 0x40], edi
jl 0x1001de6f
jg 0x1001de57
cmp dword [esp + 0x3c], esi
jb 0x1001de6f
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push edx
push eax
push ebp
call fcn.1001c750
add esp, 0xc
jmp case.0x1001d164.1
push edi
push esi
push ebp
call fcn.1001c750
add esp, 0xc
jmp case.0x1001d164.1
mov eax, dword [ebx]
mov dword [esp + 0x10], 0xffffffff
test eax, eax
je 0x1001dec3
add eax, 0x4e0
push eax
push ebp
call fcn.10021f00
push edi
call fcn.1001c930
mov esi, dword [esp + 0x60]
push 0
push ebx
mov eax, esi
call fcn.1001b790
add esp, 0x14
test esi, esi
jne 0x1001deb8
mov dword [esp + 0x54], eax
cmp dword [ebx], 0
je 0x1001dec3
mov dword [ebx], 0
cmp dword [ebp + 0x540], 0
je 0x1001dee4
cmp dword [ebp + 0x48d8], 7
je 0x1001dee4
cmp dword [ebp + 0x24], 0
je case.0x1001d164.1
mov dword [ebp + 0x24], 0
jmp case.0x1001d164.1
mov eax, 0x11
cmp dword [ebp + 0x24], eax
je case.0x1001d164.1
mov dword [ebp + 0x24], eax
mov eax, dword [ebp + 0x64]
dec dword [eax + 0x10]
mov eax, dword [0x100768d4]
jmp 0x1001d2a2
push ebp
mov dword [ebx], 0
call fcn.1001c800
add esp, 4
mov ebx, 0x11
cmp dword [ebp + 0x24], ebx
jge 0x1001e012
mov esi, dword [esp + 0x54]
test esi, esi
je 0x1001dfcc
mov edi, dword [esp + 0x48]
push edi
mov dword [ebp + 0x4878], 0
call fcn.1001c930
mov eax, dword [ebp + 8]
add esp, 4
test eax, eax
je 0x1001df9e
push eax
call fcn.100320b0
mov ecx, dword [ebp + 8]
push ecx
call fcn.100320c0
mov edx, dword [ebp + 8]
add edx, 0x4d0
push edx
push ebp
call fcn.10021f00
mov eax, dword [ebp + 8]
add eax, 0x4e0
push eax
push ebp
call fcn.10021f00
add esp, 0x18
cmp dword [esp + 0x14], 0
je 0x1001dfad
mov edx, dword [ebp + 8]
xor ecx, ecx
cmp esi, 0x1c
sete cl
push ecx
push edx
call fcn.10026aa0
add esp, 8
mov dword [ebp + 8], 0
jmp 0x1001dfad
cmp dword [ebp + 0x24], 2
jne 0x1001dfad
push ebp
call fcn.10020fe0
add esp, 4
cmp dword [ebp + 0x24], ebx
je 0x1001e016
mov eax, dword [ebp + 0x64]
mov dword [ebp + 0x24], ebx
dec dword [eax + 0x10]
mov eax, dword [0x100768d4]
test eax, eax
je 0x1001e016
push ebp
call eax
add esp, 4
jmp 0x1001e016
mov eax, dword [ebp + 8]
test eax, eax
je 0x1001e012
push eax
call fcn.10031360
add esp, 4
test eax, eax
je 0x1001e012
mov eax, dword [ebp + 8]
push 2
push eax
mov dword [esp + 0x5c], 0x2a
call fcn.1002c590
xor eax, eax
add esp, 8
cmp dword [ebp + 0x24], 0x10
mov ecx, ebp
setge al
add eax, 0x10
call fcn.1001b5a0
mov edi, dword [esp + 0x48]
or esi, 0xffffffff
jmp 0x1001e01a
mov edi, dword [esp + 0x48]
mov esi, dword [esp + 0x10]
cmp dword [ebp + 0x24], ebx
jne 0x1001cf7d
mov ecx, dword [esp + 0x54]
lea eax, [ebp + 0x2c]
push eax
mov dword [eax + 0xc], 1
mov dword [eax + 0x10], ebp
mov dword [eax + 0x14], ecx
mov edx, dword [edi + 0x18]
push eax
push edx
lea eax, [edi + 0x14]
push eax
call fcn.10030660
mov eax, 0x12
add esp, 0x10
xor esi, esi
cmp dword [ebp + 0x24], eax
je 0x1001cf82
mov dword [ebp + 0x24], eax
mov eax, dword [0x100768d8]
test eax, eax
je 0x1001cf82
push ebp
call eax
add esp, 4
jmp 0x1001cf82
mov ecx, dword [ebp + 0x24]
push ecx
push str.In_state__d_with_no_easy_conn__bail_out__n
push ebp
call fcn.10029650
add esp, 0xc
pop esi
pop edi
pop ebp
mov eax, 4
pop ebx
add esp, 0x34
ret
mov eax, dword [esp + 0x54]
pop esi
pop edi
mov dword [ebp + 0x28], eax
pop ebp
xor eax, eax
pop ebx
add esp, 0x34
ret
pop edi
pop ebp
mov eax, 2
pop ebx
add esp, 0x34
ret