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

Disassembly:
sub esp, 0x3c
push edi
xor edi, edi
cmp esi, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
je 0x11050457
cmp dword [esi + 0x48ec], 0xc0dedbad
jne 0x11050457
push ebx
push ebp
lea esp, [esp]
xor ebx, ebx
xor ebp, ebp
cmp dword [esi + 0x47c4], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebp
je 0x1104f51d
mov eax, dword [esi + 0x47cc]
push eax
push esi
push str.Pipe_broke:_handle__p__url___s_n
push esi
call fcn.11052010
add esp, 0x10
cmp dword [esi + 0xc], 0x11
jge 0x1104f50f
lea eax, [ebx + 2]
mov ecx, esi
call fcn.1104ddc0
or ebp, 0xffffffff
xor edi, edi
mov dword [esi + 0x47c4], ebx
mov dword [esi + 8], ebx
jmp 0x110503c0
cmp dword [esi + 8], ebx
lea ebp, [esi + 8]
jne 0x1104f536
mov eax, dword [esi + 0xc]
cmp eax, 2
jle 0x1104f536
cmp eax, 0x10
jl 0x1105042d
mov ebx, dword [esp + 0x4c]
push 1
mov ecx, ebx
call fcn.1104e570
add esp, 4
test eax, eax
je 0x1104f553
push ebx
call fcn.1104f170
add esp, 4
mov ecx, dword [ebp]
test ecx, ecx
je 0x1104f569
mov eax, dword [esi + 0xc]
cmp eax, 2
jle 0x1104f569
cmp eax, 0x11
jge 0x1104f569
mov dword [ecx], esi
cmp dword [ebp], 0
je 0x1104f6cf
mov eax, dword [esi + 0xc]
cmp eax, 2
jl 0x1104f6cf
cmp eax, 0x11
jge 0x1104f6cf
xor ecx, ecx
cmp eax, 8
setle cl
lea edx, [esp + 0x50]
push ecx
push edx
push esi
call fcn.1105e840
add esp, 0xc
test edx, edx
jg 0x1104f6cf
jl 0x1104f5b1
test eax, eax
jae 0x1104f6cf
mov eax, dword [esi + 0xc]
cmp eax, 3
jne 0x1104f5eb
mov eax, dword [esi + 0x614]
mov ecx, dword [esi + 0x610]
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x54]
push ecx
push edx
push eax
call fcn.1105c930
push edx
push eax
push str.Resolving_timed_out_after__ld_milliseconds
push esi
call fcn.110520a0
add esp, 0x20
jmp 0x1104f69c
cmp eax, 4
jne 0x1104f61f
mov ecx, dword [esi + 0x614]
mov edx, dword [esi + 0x610]
mov eax, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x54]
push edx
push eax
push ecx
call fcn.1105c930
push edx
push eax
push str.Connection_timed_out_after__ld_milliseconds
push esi
call fcn.110520a0
add esp, 0x20
jmp 0x1104f69c
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
mov edx, dword [esi + 0x614]
je 0x1104f66a
push ecx
mov ecx, dword [esi + 0x70]
push eax
mov eax, dword [esi + 0x74]
push eax
mov eax, dword [esi + 0x610]
push ecx
mov ecx, dword [esp + 0x64]
push edx
mov edx, dword [esp + 0x64]
push eax
push ecx
push edx
call fcn.1105c930
add esp, 0x10
push edx
push eax
push str.Operation_timed_out_after__ld_milliseconds_with__I64d_out_of__I64d_bytes_received
push esi
call fcn.110520a0
add esp, 0x20
jmp 0x1104f69c
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x70]
push eax
mov eax, dword [esi + 0x610]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x5c]
push eax
push ecx
push edx
call fcn.1105c930
add esp, 0x10
push edx
push eax
push str.Operation_timed_out_after__ld_milliseconds_with__I64d_bytes_received
push esi
call fcn.110520a0
add esp, 0x18
cmp dword [esi + 0xc], 9
jle 0x1104f6b8
mov eax, dword [ebp]
push 2
push eax
call fcn.1105f350
add esp, 8
mov dword [esp + 0x10], 1
mov edi, 0x1c
push 1
push ebp
mov eax, edi
call fcn.1104e090
add esp, 8
jmp case.0x1104f6db.1
mov eax, dword [esi + 0xc]
cmp eax, 0x12
ja case.default.0x1104f6db
jmp dword [eax*4 + 0x11050464]
push esi
call fcn.11060f80
mov edi, eax
add esp, 4
test edi, edi
jne case.0x1104f6db.1
lea eax, [edi + 2]
mov ecx, esi
call fcn.1104ddc0
push 1
push esi
call fcn.110627c0
add esp, 8
mov dword [esp + 0xc], 0xffffffff
jmp case.0x1104f6db.1
push 2
push esi
call fcn.110627c0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x38]
push edx
push ebp
push esi
call fcn.1105c860
mov edi, eax
add esp, 0x18
cmp edi, 0x59
jne 0x1104f766
lea eax, [edi - 0x58]
mov ecx, esi
call fcn.1104ddc0
mov eax, dword [ebx + 0x18]
mov ecx, dword [eax + 4]
push esi
push ecx
push eax
call fcn.11061e10
add esp, 0xc
mov edi, eax
neg edi
sbb edi, edi
and edi, 0xffffffe5
add edi, 0x1b
jmp case.0x1104f6db.1
test edi, edi
jne case.0x1104f6db.1
mov edx, dword [ebp]
push edx
push esi
call fcn.110639f0
mov edi, eax
add esp, 8
test edi, edi
jne 0x1104fa69
cmp dword [esp + 0x2c], eax
je 0x1104f79a
lea eax, [edi + 3]
mov ecx, esi
call fcn.1104ddc0
jmp case.0x1104f6db.1
cmp dword [esp + 0x18], 0
mov dword [esp + 0xc], 0xffffffff
je 0x1104f7c7
push 1
push ebx
call fcn.1104e250
add esp, 8
neg eax
sbb eax, eax
add eax, 9
mov ecx, esi
call fcn.1104ddc0
jmp case.0x1104f6db.1
mov eax, dword [ebp]
cmp dword [eax + 0x59c], 1
mov ecx, esi
jne 0x1104f7e4
mov eax, 5
call fcn.1104ddc0
jmp case.0x1104f6db.1
mov eax, 4
call fcn.1104ddc0
jmp case.0x1104f6db.1
mov edi, dword [ebp]
mov dword [esp + 0x14], 0
cmp dword [edi + 0x2a0], 0
je 0x1104f80f
mov ebx, dword [edi + 0xdc]
jmp 0x1104f826
cmp dword [edi + 0x294], 0
je 0x1104f820
mov ebx, dword [edi + 0xac]
jmp 0x1104f826
mov ebx, dword [edi + 0x98]
mov ecx, dword [edi + 0xf4]
push ecx
push ebx
push edi
call fcn.110548a0
add esp, 0xc
test eax, eax
mov dword [esp + 0x14], eax
je 0x1104f866
push ebx
push 0x11168704
mov dword [edi + 0x4c8], eax
mov dword [edi + 0x4cc], 1
push esi
xor edi, edi
call fcn.11052010
add esp, 0xc
cmp dword [esp + 0x14], edi
jne 0x1104f879
mov eax, dword [ebp]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.11053290
add esp, 8
mov edi, eax
mov ebx, dword [esp + 0x4c]
push esi
push ebx
call fcn.1104e8c0
add esp, 8
cmp dword [esp + 0x14], 0
je 0x1104f8ee
mov edx, dword [ebp]
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.11063450
mov edi, eax
add esp, 8
test edi, edi
je 0x1104f8ae
mov dword [ebp], 0
jmp 0x1104f8ee
cmp dword [esp + 0x18], 0
mov dword [esp + 0xc], 0xffffffff
je 0x1104f8d1
push 1
push ebx
call fcn.1104e250
add esp, 8
neg eax
sbb eax, eax
add eax, 9
jmp 0x1104f8e7
mov eax, dword [ebp]
cmp dword [eax + 0x59c], 1
mov eax, 5
je 0x1104f8e7
mov eax, 4
mov ecx, esi
call fcn.1104ddc0
test edi, edi
je case.0x1104f6db.1
mov dword [esp + 0x10], 1
jmp case.0x1104f6db.1
mov edx, dword [ebp]
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.11065430
mov edi, eax
mov eax, dword [ebp]
add esp, 8
cmp dword [eax + 0x2f0], 0
je 0x1104f947
xor edi, edi
push edi
push ebp
xor eax, eax
mov dword [esp + 0x14], 0xffffffff
call fcn.1104e090
add esp, 8
lea eax, [edi + 2]
mov ecx, esi
call fcn.1104ddc0
jmp case.0x1104f6db.1
test edi, edi
jne case.0x1104f6db.1
cmp dword [eax + 0xe8], 2
jne 0x1104f964
cmp dword [eax + 0x30c], edi
je case.0x1104f6db.1
cmp dword [eax + 0x59c], 1
je case.0x1104f6db.1
mov eax, 6
mov ecx, esi
mov dword [esp + 0xc], 0xffffffff
call fcn.1104ddc0
jmp case.0x1104f6db.1
mov ecx, dword [ebp]
lea eax, [esp + 0x30]
push eax
push 0
push ecx
call fcn.1105f8b0
add esp, 0xc
cmp dword [esp + 0x30], 0
mov edi, eax
je 0x1104f8ee
test edi, edi
jne 0x1104f8f6
mov eax, dword [ebp]
cmp dword [eax + 0xe8], 2
jne 0x1104f9c6
cmp dword [eax + 0x30c], edi
je 0x1104f9cf
cmp dword [eax + 0x59c], 1
jne 0x1104f9e0
mov eax, 5
mov ecx, esi
call fcn.1104ddc0
jmp case.0x1104f6db.1
mov eax, dword [eax + 0x2cc]
neg eax
sbb eax, eax
add eax, 6
mov ecx, esi
mov dword [esp + 0xc], 0xffffffff
call fcn.1104ddc0
jmp case.0x1104f6db.1
mov eax, dword [ebp]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.11055b50
add esp, 8
cmp dword [esp + 0x18], 0
mov edi, eax
jne 0x1104fa2c
mov eax, 7
mov ecx, esi
call fcn.1104ddc0
jmp case.0x1104f6db.1
test edi, edi
jne 0x1104fa56
push 1
push ebx
call fcn.1104e250
add esp, 8
neg eax
sbb eax, eax
add eax, 9
mov ecx, esi
call fcn.1104ddc0
mov dword [esp + 0xc], 0xffffffff
jmp case.0x1104f6db.1
push esi
call fcn.110533b0
push 1
push ebp
mov eax, edi
call fcn.1104e090
add esp, 0xc
mov dword [esp + 0x10], 1
jmp case.0x1104f6db.1
mov edx, dword [ebp]
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.11055ad0
mov edi, eax
add esp, 8
test edi, edi
jne 0x1104fa56
cmp dword [esp + 0x18], eax
je case.0x1104f6db.1
push 1
push ebx
call fcn.1104e250
add esp, 8
neg eax
sbb eax, eax
add eax, 9
mov ecx, esi
call fcn.1104ddc0
mov dword [esp + 0xc], 0xffffffff
jmp case.0x1104f6db.1
mov eax, dword [ebp]
push eax
push esi
call fcn.11063930
add esp, 8
test eax, eax
je case.0x1104f6db.1
mov eax, 9
mov ecx, esi
call fcn.1104ddc0
mov dword [esp + 0xc], 0xffffffff
jmp case.0x1104f6db.1
cmp dword [esi + 0x3f0], 0
je 0x1104fb1d
mov ecx, dword [ebp]
push 0
push ecx
call fcn.1105f350
add esp, 8
mov eax, 0x10
mov ecx, esi
call fcn.1104ddc0
xor edi, edi
mov dword [esp + 0xc], 0xffffffff
jmp case.0x1104f6db.1
lea edx, [esp + 0x1c]
push edx
mov ebx, ebp
call fcn.1104e660
mov edi, eax
add esp, 4
test edi, edi
jne 0x1104fbc7
xor ebx, ebx
cmp dword [esp + 0x1c], ebx
jne 0x1104fb90
cmp dword [esi + 0x508], ebx
je 0x1104fb7b
mov eax, dword [esi + 0x4820]
cmp eax, 6
je 0x1104fb56
cmp eax, 4
jne 0x1104fb7b
push ebx
push ebp
xor eax, eax
call fcn.1104e090
add esp, 8
mov eax, 0x10
mov ecx, esi
call fcn.1104ddc0
mov dword [esp + 0xc], 0xffffffff
jmp case.0x1104f6db.1
mov eax, 0xa
mov ecx, esi
call fcn.1104ddc0
mov dword [esp + 0xc], ebx
jmp case.0x1104f6db.1
mov eax, dword [ebp]
cmp dword [eax + 0x2b8], ebx
mov ecx, esi
je 0x1104fbb0
mov eax, 0xb
call fcn.1104ddc0
mov dword [esp + 0xc], ebx
jmp case.0x1104f6db.1
mov eax, 0xc
call fcn.1104ddc0
mov dword [esp + 0xc], 0xffffffff
jmp case.0x1104f6db.1
cmp edi, 0x37
jne 0x1104fc98
mov eax, dword [ebp]
cmp dword [eax + 0x290], 0
je 0x1104fc98
lea ecx, [esp + 0x14]
push ecx
xor ebx, ebx
push eax
mov dword [esp + 0x1c], ebx
call fcn.11061610
add esp, 8
test eax, eax
je 0x1104fc04
mov edi, eax
mov dword [esp + 0x10], 1
jmp 0x1104fc0d
xor ebx, ebx
cmp dword [esp + 0x14], ebx
setne bl
push esi
call fcn.110533b0
push 0
push ebp
mov eax, edi
call fcn.1104e090
add esp, 0xc
test ebx, ebx
je 0x1104fc80
test eax, eax
je 0x1104fc3f
cmp eax, 0x37
je 0x1104fc3f
mov edx, dword [esp + 0x14]
push edx
mov edi, eax
call dword [0x111c416c]
jmp 0x110502eb
mov eax, dword [esp + 0x14]
push 2
push eax
push esi
call fcn.110613d0
add esp, 0xc
test eax, eax
jne 0x1104fc6e
mov eax, 2
mov ecx, esi
call fcn.1104ddc0
mov dword [esp + 0xc], 0xffffffff
xor edi, edi
jmp case.0x1104f6db.1
mov ecx, dword [esp + 0x14]
push ecx
mov edi, eax
call dword [0x111c416c]
jmp 0x110502eb
mov edx, dword [esp + 0x14]
push edx
mov dword [esp + 0x14], 1
call dword [0x111c416c]
jmp 0x110502eb
push esi
call fcn.110533b0
add esp, 4
cmp dword [ebp], 0
je 0x1104fcb4
push 0
push ebp
mov eax, edi
call fcn.1104e090
add esp, 8
mov dword [esp + 0x10], 1
jmp case.0x1104f6db.1
mov ecx, dword [ebp]
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.11055b10
mov edi, eax
add esp, 8
test edi, edi
jne 0x1104fd06
cmp dword [esp + 0x1c], eax
je case.0x1104f6db.1
mov edx, dword [ebp]
mov eax, dword [edx + 0x2b8]
neg eax
sbb eax, eax
add eax, 0xc
mov ecx, esi
call fcn.1104ddc0
mov dword [esp + 0xc], 0xffffffff
jmp case.0x1104f6db.1
push esi
call fcn.110533b0
push 0
jmp 0x1104fa5e
mov edi, dword [ebp]
lea ebx, [esp + 0x34]
call fcn.1104e6f0
mov edi, eax
test edi, edi
jne 0x1104fd06
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1104fd4f
xor ecx, ecx
cmp eax, 1
sete cl
lea ecx, [ecx + ecx + 0xa]
mov eax, ecx
mov ecx, esi
call fcn.1104ddc0
mov dword [esp + 0xc], 0xffffffff
jmp case.0x1104f6db.1
mov dword [esp + 0xc], 0
jmp case.0x1104f6db.1
mov edx, dword [ebp]
push edx
push esi
call fcn.11063a40
push ebx
call fcn.1104f170
mov eax, dword [ebp]
or ebx, 0xffffffff
add esp, 0xc
cmp dword [eax + 0x33c], ebx
jne 0x1104fd88
cmp dword [eax + 0x340], ebx
lea eax, [ebx + 0x11]
je 0x1104fd8d
mov eax, 0xd
mov ecx, esi
call fcn.1104ddc0
mov dword [esp + 0xc], ebx
jmp case.0x1104f6db.1
mov eax, dword [ebp]
push eax
push esi
call fcn.11063980
add esp, 8
test eax, eax
je case.0x1104f6db.1
mov eax, 0xe
mov ecx, esi
call fcn.1104ddc0
mov dword [esp + 0xc], 0xffffffff
jmp case.0x1104f6db.1
mov ecx, dword [ebp]
push ecx
call fcn.11062bc0
add esp, 4
test eax, eax
je 0x1104fde5
mov edi, 0x2a
jmp case.0x1104f6db.1
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
push edx
push eax
push esi
call fcn.11063fd0
mov edi, eax
add esp, 0xc
test edi, edi
jne case.0x1104f6db.1
mov eax, dword [esi + 0x20c]
mov ecx, dword [esi + 0x208]
xor edx, edx
cmp eax, edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
jl 0x1104fe69
jg 0x1104fe22
cmp ecx, edx
jbe 0x1104fe69
mov edx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x54]
push edx
mov edx, dword [esi + 0x62c]
push edx
mov edx, dword [esi + 0x628]
push edx
mov edx, dword [esi + 0x5a4]
push eax
mov eax, dword [esi + 0x634]
push ecx
mov ecx, dword [esi + 0x630]
push eax
mov eax, dword [esi + 0x5a0]
push ecx
push edx
push eax
call fcn.11062970
cdq
add esp, 0x28
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
mov ecx, dword [esi + 0x214]
mov ebx, dword [esi + 0x210]
xor eax, eax
xor edx, edx
test ecx, ecx
jl 0x1104fec2
jg 0x1104fe83
test ebx, ebx
jbe 0x1104fec2
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
push edx
mov edx, dword [esi + 0x63c]
push eax
mov eax, dword [esi + 0x638]
push edx
mov edx, dword [esi + 0x640]
push eax
mov eax, dword [esi + 0x59c]
push ecx
mov ecx, dword [esi + 0x644]
push ebx
push ecx
mov ecx, dword [esi + 0x598]
push edx
push eax
push ecx
call fcn.11062970
add esp, 0x28
cdq
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jg 0x1104feee
jl 0x1104fed3
cmp dword [esp + 0x38], 0
ja 0x1104feee
test edx, edx
jg 0x1104feee
jl 0x1104fedd
test eax, eax
ja 0x1104feee
mov eax, 0xe
mov ecx, esi
call fcn.1104ddc0
jmp case.0x1104f6db.1
cmp ecx, edx
jl 0x1104ff0e
jg 0x1104fefa
cmp dword [esp + 0x38], eax
jb 0x1104ff0e
mov edx, dword [esp + 0x38]
push ecx
push edx
push esi
call fcn.1104efa0
add esp, 0xc
jmp case.0x1104f6db.1
push edx
push eax
push esi
call fcn.1104efa0
add esp, 0xc
jmp case.0x1104f6db.1
mov eax, dword [esi + 0x20c]
mov ecx, dword [esi + 0x208]
xor edx, edx
cmp eax, edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], edx
jl 0x1104ff91
jg 0x1104ff4a
cmp ecx, edx
jbe 0x1104ff91
mov edx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x54]
push edx
mov edx, dword [esi + 0x62c]
push edx
mov edx, dword [esi + 0x628]
push edx
mov edx, dword [esi + 0x5a4]
push eax
mov eax, dword [esi + 0x634]
push ecx
mov ecx, dword [esi + 0x630]
push eax
mov eax, dword [esi + 0x5a0]
push ecx
push edx
push eax
call fcn.11062970
cdq
add esp, 0x28
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
mov eax, dword [esi + 0x214]
mov ecx, dword [esi + 0x210]
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x40], ebx
jl 0x1104fff2
jg 0x1104ffad
cmp ecx, ebx
jbe 0x1104fff2
mov edx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x54]
push edx
mov edx, dword [esi + 0x63c]
push edx
mov edx, dword [esi + 0x638]
push edx
mov edx, dword [esi + 0x59c]
push eax
mov eax, dword [esi + 0x644]
push ecx
mov ecx, dword [esi + 0x640]
push eax
mov eax, dword [esi + 0x598]
push ecx
push edx
push eax
call fcn.11062970
cdq
add esp, 0x28
mov dword [esp + 0x40], eax
mov ebx, edx
cmp dword [esp + 0x3c], 0
jg 0x1105022a
jl 0x1105000a
cmp dword [esp + 0x38], 0
ja 0x1105022a
test ebx, ebx
jg 0x1105022a
jl 0x1105001f
cmp dword [esp + 0x40], 0
ja 0x1105022a
mov eax, dword [ebp]
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
push esi
push eax
call fcn.11060b80
add esp, 0x10
test byte [esi + 0xf8], 1
mov edi, eax
jne 0x1105004d
mov ecx, dword [ebp]
push ecx
call fcn.110639e0
add esp, 4
test byte [esi + 0xf8], 2
jne 0x11050062
mov edx, dword [ebp]
push edx
call fcn.110639d0
add esp, 4
cmp dword [esp + 0x20], 0
jne 0x1105006e
cmp edi, 0x38
jne 0x1105009c
mov ecx, dword [ebp]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.11061610
add esp, 8
test eax, eax
jne 0x1105009c
xor ebx, ebx
cmp dword [esp + 0x14], ebx
setne bl
test ebx, ebx
je 0x110500a0
xor edi, edi
mov dword [esp + 0x20], 1
jmp 0x110500f1
mov ebx, dword [esp + 0x24]
test edi, edi
je 0x110500e6
mov eax, dword [ebp]
mov edx, dword [eax + 0x330]
test byte [edx + 0x40], 2
jne 0x110500c3
cmp edi, 0x5c
je 0x110500c3
push 2
push eax
call fcn.1105f350
add esp, 8
push esi
call fcn.110533b0
push 1
push ebp
mov eax, edi
call fcn.1104e090
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
call dword [0x111c416c]
jmp 0x110502eb
cmp dword [esp + 0x20], 0
je 0x1105020b
push esi
call fcn.110533b0
mov eax, dword [ebp]
mov ecx, dword [eax + 0x378]
push ecx
push esi
call fcn.11055610
mov edx, dword [ebp]
mov eax, dword [edx + 0x378]
add esp, 0xc
cmp dword [eax], 0
je 0x11050129
mov eax, dword [eax]
mov ecx, dword [eax]
push 0
push 0
push ecx
call fcn.1104efa0
add esp, 0xc
mov edx, dword [esp + 0x4c]
push edx
call fcn.1104f170
add esp, 4
cmp dword [esi + 0x10c], 0
jne 0x110501a5
test ebx, ebx
jne 0x110501ce
cmp dword [esi + 0x108], ebx
je 0x11050197
mov eax, dword [esp + 0x14]
push eax
call dword [0x111c416c]
mov eax, dword [esi + 0x108]
push 1
push eax
push esi
mov dword [esp + 0x24], eax
mov dword [esi + 0x108], ebx
call fcn.110613d0
mov edi, eax
add esp, 0x10
cmp edi, ebx
jne 0x1105018f
lea eax, [ebx + 0x10]
mov ecx, esi
mov dword [esp + 0x14], ebx
call fcn.1104ddc0
jmp 0x11050212
mov dword [esp + 0x10], 1
mov eax, 0x10
mov ecx, esi
call fcn.1104ddc0
jmp 0x11050212
test ebx, ebx
jne 0x110501ce
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x111c416c]
mov edx, dword [esi + 0x10c]
mov dword [esi + 0x10c], ebx
add esp, 4
mov dword [esp + 0x14], edx
mov ebx, 3
jmp 0x110501d3
mov ebx, 2
push 0
push ebp
xor eax, eax
call fcn.1104e090
mov edi, eax
add esp, 8
test edi, edi
jne 0x1105021a
mov eax, dword [esp + 0x14]
push ebx
push eax
push esi
call fcn.110613d0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1105021a
lea eax, [edi + 2]
mov ecx, esi
call fcn.1104ddc0
mov dword [esp + 0x14], edi
jmp 0x11050212
cmp dword [esp + 0x28], 0
je 0x1105021a
mov dword [esp + 0xc], 0xffffffff
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x111c416c]
jmp 0x110502eb
mov eax, 0xf
mov ecx, esi
call fcn.1104ddc0
cmp dword [esp + 0x3c], ebx
jl 0x11050260
jg 0x11050248
mov edx, dword [esp + 0x40]
cmp dword [esp + 0x38], edx
jb 0x11050260
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push eax
push ecx
push esi
call fcn.1104efa0
add esp, 0xc
jmp case.0x1104f6db.1
mov edx, dword [esp + 0x40]
push ebx
push edx
push esi
call fcn.1104efa0
add esp, 0xc
jmp case.0x1104f6db.1
mov eax, dword [ebp]
test eax, eax
mov dword [esp + 0xc], 0xffffffff
je 0x110502b3
mov eax, dword [eax + 0x378]
push eax
push esi
call fcn.11055610
push ebx
call fcn.1104f170
push 0
push ebp
mov eax, edi
call fcn.1104e090
add esp, 0x14
test edi, edi
jne 0x110502a6
mov edi, eax
cmp dword [ebp], 0
je 0x110502b3
mov dword [ebp], 0
cmp dword [esi + 0x508], 0
je 0x110502d0
cmp dword [esi + 0x4820], 6
je 0x110502d0
xor eax, eax
mov ecx, esi
call fcn.1104ddc0
jmp case.0x1104f6db.1
mov eax, 0x11
mov ecx, esi
call fcn.1104ddc0
jmp case.0x1104f6db.1
push esi
mov dword [ebp], 0
call fcn.1104f040
add esp, 4
mov ebx, 0x11
cmp dword [esi + 0xc], ebx
jge 0x11050391
test edi, edi
je 0x110503eb
mov ecx, dword [esp + 0x4c]
push ecx
mov dword [esi + 0x47c4], 0
call fcn.1104f170
mov eax, dword [ebp]
add esp, 4
test eax, eax
je 0x11050379
push eax
call fcn.110639d0
mov edx, dword [ebp]
push edx
call fcn.110639e0
mov eax, dword [ebp]
mov ecx, dword [eax + 0x374]
push ecx
push esi
call fcn.11055610
mov edx, dword [ebp]
mov eax, dword [edx + 0x378]
push eax
push esi
call fcn.11055610
add esp, 0x18
cmp dword [esp + 0x10], 0
je 0x11050388
mov edx, dword [ebp]
xor ecx, ecx
cmp edi, 0x1c
sete cl
push ecx
push edx
call fcn.1105a3f0
add esp, 8
mov dword [ebp], 0
jmp 0x11050388
cmp dword [esi + 0xc], 2
jne 0x11050388
push esi
call fcn.110533b0
add esp, 4
mov eax, ebx
mov ecx, esi
call fcn.1104ddc0
mov ebp, dword [esp + 0xc]
cmp dword [esi + 0xc], ebx
jne 0x110503c0
mov eax, dword [esp + 0x4c]
lea ecx, [esi + 0x14]
mov dword [ecx], 1
mov dword [ecx + 4], esi
mov dword [ecx + 8], edi
call fcn.1104def0
mov ebp, eax
mov eax, 0x12
mov ecx, esi
call fcn.1104ddc0
cmp ebp, 0xffffffff
je 0x1104f4d0
mov ecx, dword [esp + 0x4c]
push 0
call fcn.1104e570
add esp, 4
test eax, eax
jne 0x1104f4d0
mov eax, ebp
pop ebp
pop ebx
mov dword [esi + 0x10], edi
pop edi
add esp, 0x3c
ret
mov eax, dword [ebp]
test eax, eax
je 0x11050391
push eax
call fcn.11062bc0
add esp, 4
test eax, eax
je 0x11050391
mov eax, dword [ebp]
push 2
push eax
mov edi, 0x2a
call fcn.1105f350
xor eax, eax
add esp, 8
cmp dword [esi + 0xc], 0x10
mov ecx, esi
setge al
add eax, 0x10
call fcn.1104ddc0
or ebp, 0xffffffff
jmp 0x11050395
mov ecx, dword [esi + 0xc]
push ecx
push str.In_state__d_with_no_easy_conn__bail_out__n
push esi
call fcn.110520a0
add esp, 0xc
pop ebp
pop ebx
mov eax, 4
pop edi
add esp, 0x3c
ret
pop ebp
pop ebx
mov dword [esi + 0x10], edi
xor eax, eax
pop edi
add esp, 0x3c
ret
mov eax, 2
pop edi
add esp, 0x3c
ret