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

Disassembly:
sub esp, 0x24
push ebx
xor ebx, ebx
push edi
xor edi, edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
cmp esi, ebx
je 0xee17c7
cmp dword [esi + 0x885c], 0xc0dedbad
jne 0xee17c7
push ebp
mov edi, edi
xor ebp, ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], ebp
cmp dword [esi + 0x8738], ebx
je 0xee08ce
mov eax, dword [esi + 0x8740]
push eax
push esi
push str.Pipe_broke:_handle__p__url___s_n
push esi
call fcn.00ee1dc0
mov eax, dword [esi + 0xc]
add esp, 0x10
cmp eax, 0x11
jge 0xee08c0
cmp eax, 2
je 0xee08bb
mov dword [esi + 0xc], 2
mov eax, dword [0xf1ba28]
cmp eax, ebx
je 0xee08bb
push esi
call eax
add esp, 4
or ebp, 0xffffffff
xor edi, edi
mov dword [esi + 0x8738], ebx
mov dword [esi + 8], ebx
jmp 0xee1779
cmp dword [esi + 8], 0
lea ebx, [esi + 8]
jne 0xee08e8
mov eax, dword [esi + 0xc]
cmp eax, 2
jle 0xee08e8
cmp eax, 0x10
jl 0xee179d
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x64]
mov dword [ecx + 0x64], 0
test eax, eax
je 0xee0903
push ecx
call fcn.00ee02e0
add esp, 4
mov ecx, dword [ebx]
test ecx, ecx
je 0xee0918
mov eax, dword [esi + 0xc]
cmp eax, 2
jle 0xee0918
cmp eax, 0x11
jge 0xee0918
mov dword [ecx], esi
cmp dword [ebx], 0
je 0xee0a6d
mov eax, dword [esi + 0xc]
cmp eax, 2
jl 0xee0a6d
cmp eax, 0x11
jge 0xee0a6d
xor edx, edx
cmp eax, 8
setle dl
lea eax, [esp + 0x38]
push edx
push eax
push esi
call fcn.00ee3a30
add esp, 0xc
test eax, eax
jge 0xee0a6d
mov eax, dword [esi + 0xc]
cmp eax, 3
jne 0xee098e
mov ecx, dword [esi + 0x56c]
mov edx, dword [esi + 0x568]
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push ecx
call fcn.00ee1970
push eax
push str.Resolving_timed_out_after__ld_milliseconds
push esi
call fcn.00ee1e50
add esp, 0x1c
jmp 0xee0a40
cmp eax, 4
jne 0xee09c1
mov edx, dword [esi + 0x56c]
mov eax, dword [esi + 0x568]
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push eax
push ecx
push edx
call fcn.00ee1970
push eax
push str.Connection_timed_out_after__ld_milliseconds
push esi
call fcn.00ee1e50
add esp, 0x1c
jmp 0xee0a40
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
mov edx, dword [esi + 0x56c]
je 0xee0a0f
push ecx
mov ecx, dword [esi + 0x70]
push eax
mov eax, dword [esi + 0x74]
push eax
mov eax, dword [esi + 0x568]
push ecx
mov ecx, dword [esi + 0x94]
push edx
mov edx, dword [esi + 0x90]
push eax
push ecx
push edx
call fcn.00ee1970
add esp, 0x10
push eax
push str.Operation_timed_out_after__ld_milliseconds_with__I64d_out_of__I64d_bytes_received
push esi
call fcn.00ee1e50
add esp, 0x1c
jmp 0xee0a40
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x70]
push eax
mov eax, dword [esi + 0x568]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
call fcn.00ee1970
add esp, 0x10
push eax
push str.Operation_timed_out_after__ld_milliseconds_with__I64d_bytes_received
push esi
call fcn.00ee1e50
add esp, 0x14
cmp dword [esi + 0xc], 9
jle 0xee0a57
mov ecx, dword [ebx]
mov eax, 1
mov dword [ecx + 0x270], eax
mov dword [esp + 0xc], eax
push 1
mov edi, 0x1c
push edi
push ebx
call fcn.00ede2e0
add esp, 0xc
jmp case.0xee0a79.1
mov eax, dword [esi + 0xc]
cmp eax, 0x12
ja case.default.0xee0a79
jmp dword [eax*4 + 0xee17d4]
push esi
call fcn.00f01ce0
mov edi, eax
add esp, 4
test edi, edi
jne case.0xee0a79.1
mov eax, 2
cmp dword [esi + 0xc], eax
je 0xee0aaf
mov dword [esi + 0xc], eax
mov eax, dword [0xf1ba28]
test eax, eax
je 0xee0aaf
push esi
call eax
add esp, 4
push 1
push esi
call fcn.00ee9760
add esp, 8
or ebp, 0xffffffff
jmp case.0xee0a79.1
push 2
push esi
call fcn.00ee9760
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x30]
push eax
push ebx
push esi
call fcn.00edf330
mov edi, eax
add esp, 0x18
cmp edi, 0x59
jne 0xee0b18
mov eax, 1
cmp dword [esi + 0xc], eax
je 0xee0af2
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x18]
mov edx, dword [eax + 4]
push esi
push edx
push eax
call fcn.00efe3e0
add esp, 0xc
mov edi, eax
neg edi
sbb edi, edi
and edi, 0xffffffe5
add edi, 0x1b
jmp case.0xee0a79.1
test edi, edi
jne case.0xee0a79.1
mov eax, dword [ebx]
push eax
push esi
call fcn.00efeaf0
mov edi, eax
add esp, 8
test edi, edi
jne 0xee0e58
cmp dword [esp + 0x24], eax
je 0xee0b65
cmp dword [esi + 0xc], 3
je case.0xee0a79.1
mov dword [esi + 0xc], 3
mov eax, dword [0xf1ba2c]
test eax, eax
je case.0xee0a79.1
push esi
call eax
add esp, 4
jmp case.0xee0a79.1
or ebp, 0xffffffff
cmp dword [esp + 0x18], 0
je 0xee0b91
mov ecx, dword [esp + 0x34]
push 1
push ecx
call fcn.00edf560
add esp, 8
neg eax
sbb eax, eax
add eax, 9
mov ecx, esi
call fcn.00edf3d0
jmp case.0xee0a79.1
mov edx, dword [ebx]
cmp dword [edx + 0x5d8], 1
jne 0xee0bc5
cmp dword [esi + 0xc], 5
je case.0xee0a79.1
mov dword [esi + 0xc], 5
mov eax, dword [0xf1ba34]
test eax, eax
je case.0xee0a79.1
push esi
call eax
add esp, 4
jmp case.0xee0a79.1
cmp dword [esi + 0xc], 4
je case.0xee0a79.1
mov dword [esi + 0xc], 4
mov eax, dword [0xf1ba30]
test eax, eax
je case.0xee0a79.1
push esi
call eax
add esp, 4
jmp case.0xee0a79.1
mov edi, dword [ebx]
mov dword [esp + 0x14], 0
mov eax, dword [edi + 0xb0]
mov ecx, dword [edi + 0x98]
push eax
push ecx
push edi
call fcn.00ed8460
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0xee0c3d
push str.Hostname_was_found_in_DNS_cache_n
mov dword [edi + 0x4f8], eax
mov dword [edi + 0x4fc], 1
push esi
xor edi, edi
call fcn.00ee1dc0
add esp, 8
cmp dword [esp + 0x14], edi
jne 0xee0c4f
mov eax, dword [ebx]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.00ed76b0
add esp, 8
mov edi, eax
mov ecx, dword [esp + 0x34]
push esi
push ecx
call fcn.00edf860
add esp, 8
cmp dword [esp + 0x14], 0
je 0xee0cea
mov eax, dword [ebx]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.00ee53a0
mov edi, eax
add esp, 8
test edi, edi
je 0xee0c86
mov dword [ebx], 0
jmp 0xee0cea
or ebp, 0xffffffff
cmp dword [esp + 0x18], 0
je 0xee0caf
mov ecx, dword [esp + 0x34]
push 1
push ecx
call fcn.00edf560
add esp, 8
neg eax
sbb eax, eax
add eax, 9
mov ecx, esi
call fcn.00edf3d0
jmp 0xee0cea
mov edx, dword [ebx]
cmp dword [edx + 0x5d8], 1
jne 0xee0cce
mov eax, 5
cmp dword [esi + 0xc], eax
je 0xee0cea
mov dword [esi + 0xc], eax
mov eax, dword [0xf1ba34]
jmp 0xee0ce0
mov eax, 4
cmp dword [esi + 0xc], eax
je 0xee0cea
mov dword [esi + 0xc], eax
mov eax, dword [0xf1ba30]
test eax, eax
je 0xee0cea
push esi
call eax
add esp, 4
test edi, edi
je case.0xee0a79.1
mov dword [esp + 0xc], 1
jmp case.0xee0a79.1
mov ecx, dword [ebx]
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.00efb9f0
mov edi, eax
mov eax, dword [ebx]
add esp, 8
cmp dword [eax + 0x2c4], 0
je 0xee0d55
xor edi, edi
push edi
push edi
push ebx
or ebp, 0xffffffff
call fcn.00ede2e0
add esp, 0xc
cmp dword [esi + 0xc], 2
je case.0xee0a79.1
mov dword [esi + 0xc], 2
mov eax, dword [0xf1ba28]
test eax, eax
je case.0xee0a79.1
push esi
call eax
add esp, 4
jmp case.0xee0a79.1
test edi, edi
jne case.0xee0a79.1
cmp dword [eax + 0x5d8], 2
jne case.0xee0a79.1
or ebp, 0xffffffff
cmp dword [esi + 0xc], 6
je case.0xee0a79.1
mov dword [esi + 0xc], 6
mov eax, dword [0xf1ba38]
test eax, eax
je case.0xee0a79.1
push esi
call eax
add esp, 4
jmp case.0xee0a79.1
mov eax, dword [ebx]
lea edx, [esp + 0x28]
push edx
push 0
push eax
call fcn.00ee4ab0
add esp, 0xc
cmp dword [esp + 0x28], 0
mov edi, eax
je 0xee0cea
test edi, edi
jne 0xee0cf2
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x2a4]
or ebp, 0xffffffff
neg eax
sbb eax, eax
add eax, 6
mov ecx, esi
call fcn.00edf3d0
jmp case.0xee0a79.1
mov eax, dword [ebx]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.00ed9520
add esp, 8
cmp dword [esp + 0x18], 0
mov edi, eax
jne 0xee0e1d
cmp dword [esi + 0xc], 7
je case.0xee0a79.1
mov dword [esi + 0xc], 7
mov eax, dword [0xf1ba3c]
test eax, eax
je case.0xee0a79.1
push esi
call eax
add esp, 4
jmp case.0xee0a79.1
test edi, edi
jne 0xee0e46
mov ecx, dword [esp + 0x34]
push 1
push ecx
call fcn.00edf560
add esp, 8
neg eax
sbb eax, eax
add eax, 9
mov ecx, esi
call fcn.00edf3d0
or ebp, 0xffffffff
jmp case.0xee0a79.1
push esi
call fcn.00e5f260
push 1
push edi
push ebx
call fcn.00ede2e0
add esp, 0x10
mov dword [esp + 0xc], 1
jmp case.0xee0a79.1
mov eax, dword [ebx]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.00ed94a0
mov edi, eax
add esp, 8
test edi, edi
jne 0xee0e46
cmp dword [esp + 0x18], eax
je case.0xee0a79.1
jmp 0xee0e21
mov edx, dword [ebx]
push edx
push esi
call fcn.00efea30
add esp, 8
test eax, eax
je case.0xee0a79.1
mov eax, 9
cmp dword [esi + 0xc], eax
je 0xee0eb7
mov dword [esi + 0xc], eax
mov eax, dword [0xf1ba44]
test eax, eax
je 0xee0eb7
push esi
call eax
add esp, 4
or ebp, 0xffffffff
jmp case.0xee0a79.1
cmp dword [esi + 0x370], 0
je 0xee0efa
mov eax, dword [ebx]
mov dword [eax + 0x270], 0
mov eax, 0x10
cmp dword [esi + 0xc], eax
je 0xee0ef0
mov dword [esi + 0xc], eax
mov eax, dword [0xf1ba60]
test eax, eax
je 0xee0ef0
push esi
call eax
add esp, 4
xor edi, edi
or ebp, 0xffffffff
jmp case.0xee0a79.1
lea ecx, [esp + 0x1c]
push ecx
push ebx
call fcn.00eda7f0
mov edi, eax
add esp, 8
test edi, edi
jne 0xee0fb5
cmp dword [esp + 0x1c], eax
jne 0xee0f6c
cmp dword [esi + 0x46c], eax
je 0xee0f58
mov eax, dword [esi + 0x8798]
cmp eax, 6
je 0xee0f30
cmp eax, 4
jne 0xee0f58
push 0
push 0
push ebx
call fcn.00ede2e0
add esp, 0xc
mov eax, 0x10
cmp dword [esi + 0xc], eax
je 0xee0eb7
mov dword [esi + 0xc], eax
mov eax, dword [0xf1ba60]
jmp 0xee0ead
mov eax, 0xa
cmp dword [esi + 0xc], eax
je 0xee0f93
mov dword [esi + 0xc], eax
mov eax, dword [0xf1ba48]
jmp 0xee0f89
mov edx, dword [ebx]
cmp dword [edx + 0x290], 0
je 0xee0f9a
mov eax, 0xb
cmp dword [esi + 0xc], eax
je 0xee0f93
mov dword [esi + 0xc], eax
mov eax, dword [0xf1ba4c]
test eax, eax
je 0xee0f93
push esi
call eax
add esp, 4
xor ebp, ebp
jmp case.0xee0a79.1
mov eax, 0xc
cmp dword [esi + 0xc], eax
je 0xee0eb7
mov dword [esi + 0xc], eax
mov eax, dword [0xf1ba50]
jmp 0xee0ead
cmp edi, 0x37
jne 0xee10ae
mov eax, dword [ebx]
cmp dword [eax + 0x274], 0
je 0xee10ae
lea ecx, [esp + 0x10]
push ecx
xor ebp, ebp
push eax
mov dword [esp + 0x18], ebp
call fcn.00f023c0
add esp, 8
test eax, eax
je 0xee0ff1
mov edi, eax
mov dword [esp + 0xc], 1
jmp 0xee0ffc
xor edx, edx
cmp dword [esp + 0x10], edx
setne dl
mov ebp, edx
push esi
call fcn.00e5f260
push 0
push edi
push ebx
call fcn.00ede2e0
add esp, 0x10
test ebp, ebp
je 0xee108f
test eax, eax
je 0xee1034
cmp eax, 0x37
je 0xee1034
mov edi, eax
mov eax, dword [esp + 0x10]
push eax
call dword [0xf396e4]
mov ebp, dword [esp + 0x18]
add esp, 4
jmp case.0xee0a79.1
mov ecx, dword [esp + 0x10]
mov edi, 2
push edi
push ecx
push esi
call fcn.00f02090
add esp, 0xc
test eax, eax
jne 0xee1076
cmp dword [esi + 0xc], edi
je 0xee1063
mov dword [esi + 0xc], edi
mov eax, dword [0xf1ba28]
test eax, eax
je 0xee1063
push esi
call eax
add esp, 4
mov dword [esp + 0x14], 0xffffffff
mov ebp, dword [esp + 0x14]
xor edi, edi
jmp case.0xee0a79.1
mov edx, dword [esp + 0x10]
push edx
mov edi, eax
call dword [0xf396e4]
mov ebp, dword [esp + 0x18]
add esp, 4
jmp case.0xee0a79.1
mov eax, dword [esp + 0x10]
push eax
mov dword [esp + 0x10], 1
call dword [0xf396e4]
mov ebp, dword [esp + 0x18]
add esp, 4
jmp case.0xee0a79.1
push esi
call fcn.00e5f260
add esp, 4
cmp dword [ebx], 0
je 0xee10c8
push 0
push edi
push ebx
call fcn.00ede2e0
add esp, 0xc
mov dword [esp + 0xc], 1
jmp case.0xee0a79.1
mov edx, dword [ebx]
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.00ed94e0
mov edi, eax
add esp, 8
test edi, edi
jne 0xee1113
cmp dword [esp + 0x1c], eax
je case.0xee0a79.1
mov eax, dword [ebx]
mov eax, dword [eax + 0x290]
neg eax
sbb eax, eax
add eax, 0xc
mov ecx, esi
call fcn.00edf3d0
or ebp, 0xffffffff
jmp case.0xee0a79.1
push esi
call fcn.00e5f260
push 0
jmp 0xee0e4e
mov edx, dword [ebx]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.00eda880
mov edi, eax
add esp, 8
test edi, edi
jne 0xee1113
mov eax, dword [esp + 0x2c]
test eax, eax
je 0xee0f93
xor ecx, ecx
cmp eax, 1
sete cl
lea ecx, [ecx + ecx + 0xa]
mov eax, ecx
mov ecx, esi
call fcn.00edf3d0
or ebp, 0xffffffff
jmp case.0xee0a79.1
mov edx, dword [ebx]
push edx
push esi
call fcn.00efeb50
mov eax, dword [esp + 0x3c]
push eax
call fcn.00ee02e0
mov eax, dword [ebx]
or ecx, 0xffffffff
add esp, 0xc
cmp dword [eax + 0x2f0], ecx
jne 0xee118e
cmp dword [eax + 0x2f4], ecx
je 0xee0f3d
mov eax, 0xd
cmp dword [esi + 0xc], eax
je 0xee0eb7
mov dword [esi + 0xc], eax
mov eax, dword [0xf1ba54]
jmp 0xee0ead
mov ecx, dword [ebx]
push ecx
push esi
call fcn.00efea80
add esp, 8
test eax, eax
je case.0xee0a79.1
mov eax, 0xe
cmp dword [esi + 0xc], eax
je 0xee0eb7
mov dword [esi + 0xc], eax
mov eax, dword [0xf1ba58]
jmp 0xee0ead
mov edx, dword [ebx]
push edx
call fcn.00ee99d0
add esp, 4
test eax, eax
je 0xee11ee
mov edi, 0x2a
jmp 0xee1203
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push eax
push ecx
push esi
call fcn.00f00910
add esp, 0xc
mov edi, eax
mov ecx, dword [esi + 0x208]
mov eax, dword [esi + 0x20c]
mov edx, ecx
or edx, eax
je 0xee1233
mov edx, dword [esi + 0x52c]
cmp edx, eax
jg case.0xee0a79.1
jl 0xee1233
mov eax, dword [esi + 0x528]
cmp eax, ecx
jae case.0xee0a79.1
mov ecx, dword [esi + 0x210]
mov eax, dword [esi + 0x214]
mov edx, ecx
or edx, eax
je 0xee1263
mov edx, dword [esi + 0x524]
cmp edx, eax
jg case.0xee0a79.1
jl 0xee1263
mov eax, dword [esi + 0x520]
cmp eax, ecx
jae case.0xee0a79.1
cmp dword [esi + 0xc], 0xe
je case.0xee0a79.1
mov dword [esi + 0xc], 0xe
mov eax, dword [0xf1ba58]
test eax, eax
je case.0xee0a79.1
push esi
call eax
add esp, 4
jmp case.0xee0a79.1
mov eax, dword [esi + 0x20c]
mov ecx, dword [esi + 0x208]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x10], ebp
jl 0xee1318
jg 0xee12a8
cmp ecx, ebp
jbe 0xee1318
mov edx, dword [esi + 0x52c]
cmp edx, eax
jl 0xee1318
jg 0xee12be
mov eax, dword [esi + 0x528]
cmp eax, ecx
jbe 0xee1318
mov dword [esi + 0xc], 0xf
mov eax, dword [0xf1ba5c]
test eax, eax
je 0xee12d4
push esi
call eax
add esp, 4
mov eax, dword [esi + 0x2c0]
test eax, eax
jne 0xee12e3
mov eax, 0x4000
mov ecx, dword [esi + 0x52c]
mov edx, dword [esi + 0x528]
push eax
mov eax, dword [esi + 0x20c]
push ecx
mov ecx, dword [esi + 0x208]
push edx
push eax
push ecx
call fcn.00f01bf0
push eax
push esi
call fcn.00ee01b0
mov ebp, dword [esp + 0x30]
add esp, 0x1c
jmp case.0xee0a79.1
mov eax, dword [esi + 0x214]
mov ecx, dword [esi + 0x210]
test eax, eax
jl 0xee1388
jg 0xee132e
test ecx, ecx
jbe 0xee1388
mov edx, dword [esi + 0x524]
cmp edx, eax
jl 0xee1388
jg 0xee1344
mov eax, dword [esi + 0x520]
cmp eax, ecx
jbe 0xee1388
mov dword [esi + 0xc], 0xf
mov eax, dword [0xf1ba5c]
test eax, eax
je 0xee135a
push esi
call eax
add esp, 4
mov eax, dword [esi + 0x2c0]
test eax, eax
jne 0xee1369
mov eax, 0x4000
mov ecx, dword [esi + 0x524]
mov edx, dword [esi + 0x520]
push eax
mov eax, dword [esi + 0x214]
push ecx
mov ecx, dword [esi + 0x210]
jmp 0xee12fd
mov eax, dword [ebx]
lea edx, [esp + 0x20]
push edx
push esi
push eax
call fcn.00f01830
add esp, 0xc
test byte [esi + 0xf8], 1
mov edi, eax
jne 0xee13af
mov ecx, dword [ebx]
push ecx
call fcn.00efeae0
add esp, 4
test byte [esi + 0xf8], 2
jne 0xee13c3
mov edx, dword [ebx]
push edx
call fcn.00efead0
add esp, 4
cmp dword [esp + 0x20], 0
jne 0xee13cf
cmp edi, 0x38
jne 0xee13fe
mov ecx, dword [ebx]
lea eax, [esp + 0x10]
push eax
push ecx
call fcn.00f023c0
add esp, 8
test eax, eax
jne 0xee13fe
xor edx, edx
cmp dword [esp + 0x10], edx
setne dl
mov ebp, edx
test ebp, ebp
je 0xee13fe
xor edi, edi
mov dword [esp + 0x20], 1
jmp 0xee144e
test edi, edi
je 0xee1443
mov eax, dword [ebx]
mov ecx, dword [eax + 0x2e4]
test byte [ecx + 0x40], 2
jne 0xee141a
mov dword [eax + 0x270], 1
push esi
call fcn.00e5f260
push 0
push edi
push ebx
call fcn.00ede2e0
mov eax, dword [esp + 0x20]
add esp, 0x10
push eax
call dword [0xf396e4]
mov ebp, dword [esp + 0x18]
add esp, 4
jmp case.0xee0a79.1
cmp dword [esp + 0x20], 0
je 0xee158b
push esi
call fcn.00e5f260
mov edx, dword [ebx]
mov eax, dword [edx + 0x360]
push eax
push esi
call fcn.00ed9100
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x360]
add esp, 0xc
cmp dword [eax], 0
je 0xee1482
mov edx, dword [eax]
mov eax, dword [edx]
push 1
push eax
call fcn.00ee01b0
add esp, 8
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00ee02e0
add esp, 4
cmp dword [esi + 0x10c], 0
jne 0xee1509
test ebp, ebp
jne 0xee1532
cmp dword [esi + 0x108], ebp
je 0xee14e3
mov edx, dword [esp + 0x10]
push edx
call dword [0xf396e4]
mov eax, dword [esi + 0x108]
push 1
push eax
push esi
mov dword [esp + 0x20], eax
mov dword [esi + 0x108], ebp
call fcn.00f02090
mov edi, eax
add esp, 0x10
cmp edi, ebp
jne 0xee14db
mov dword [esp + 0x10], ebp
jmp 0xee14e3
mov dword [esp + 0xc], 1
mov eax, 0x10
cmp dword [esi + 0xc], eax
je 0xee1583
mov dword [esi + 0xc], eax
mov eax, dword [0xf1ba60]
test eax, eax
je 0xee1583
push esi
call eax
add esp, 4
jmp 0xee1583
test ebp, ebp
jne 0xee1532
mov eax, dword [esp + 0x10]
push eax
call dword [0xf396e4]
mov ecx, dword [esi + 0x10c]
mov dword [esi + 0x10c], ebp
add esp, 4
mov dword [esp + 0x10], ecx
mov ebp, 3
jmp 0xee1537
mov ebp, 2
push 0
push 0
push ebx
call fcn.00ede2e0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0xee158b
mov edx, dword [esp + 0x10]
push ebp
push edx
push esi
call fcn.00f02090
mov edi, eax
add esp, 0xc
test edi, edi
jne 0xee158b
mov eax, 2
cmp dword [esi + 0xc], eax
je 0xee157b
mov dword [esi + 0xc], eax
mov eax, dword [0xf1ba28]
test eax, eax
je 0xee157b
push esi
call eax
add esp, 4
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 0x10]
push eax
call dword [0xf396e4]
mov ebp, dword [esp + 0x18]
add esp, 4
jmp case.0xee0a79.1
mov eax, dword [ebx]
or ebp, 0xffffffff
test eax, eax
je 0xee15df
mov ecx, dword [eax + 0x360]
push ecx
push esi
call fcn.00ed9100
mov edx, dword [esp + 0x3c]
push edx
call fcn.00ee02e0
push 0
push edi
push ebx
call fcn.00ede2e0
add esp, 0x18
test edi, edi
jne 0xee15d4
mov edi, eax
cmp dword [ebx], 0
je 0xee15df
mov dword [ebx], 0
cmp dword [esi + 0x46c], 0
je 0xee1600
cmp dword [esi + 0x8798], 6
je 0xee1600
cmp dword [esi + 0xc], 0
je case.0xee0a79.1
mov dword [esi + 0xc], 0
jmp case.0xee0a79.1
cmp dword [esi + 0xc], 0x11
je 0xee172d
mov eax, dword [esi + 0x40]
mov dword [esi + 0xc], 0x11
dec dword [eax + 0x10]
mov eax, dword [0xf1ba64]
test eax, eax
je case.0xee0a79.1
push esi
call eax
add esp, 4
jmp case.0xee0a79.1
push 0
push esi
mov dword [ebx], 0
call fcn.00ee0010
add esp, 8
cmp dword [esi + 0xc], 0x11
jge 0xee172b
test edi, edi
je 0xee16ed
mov eax, dword [esp + 0x34]
push eax
mov dword [esi + 0x8738], 0
call fcn.00ee02e0
mov eax, dword [ebx]
add esp, 4
test eax, eax
je 0xee16ba
push eax
call fcn.00efead0
mov ecx, dword [ebx]
push ecx
call fcn.00efeae0
mov edx, dword [ebx]
mov eax, dword [edx + 0x35c]
push eax
push esi
call fcn.00ed9100
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x360]
push edx
push esi
call fcn.00ed9100
add esp, 0x18
cmp dword [esp + 0xc], 0
je 0xee16c9
mov ecx, dword [ebx]
xor eax, eax
cmp edi, 0x1c
sete al
push eax
push ecx
call fcn.00edd3b0
add esp, 8
mov dword [ebx], 0
jmp 0xee16c9
cmp dword [esi + 0xc], 2
jne 0xee16c9
push esi
call fcn.00e5f260
add esp, 4
cmp dword [esi + 0xc], 0x11
je 0xee172d
mov eax, dword [esi + 0x40]
mov dword [esi + 0xc], 0x11
dec dword [eax + 0x10]
mov eax, dword [0xf1ba64]
test eax, eax
je 0xee1727
push esi
call eax
add esp, 4
jmp 0xee1727
mov eax, dword [ebx]
test eax, eax
je 0xee1727
push eax
call fcn.00ee99d0
add esp, 4
test eax, eax
je 0xee1727
mov edx, dword [ebx]
xor eax, eax
mov dword [edx + 0x270], 1
cmp dword [esi + 0xc], 0x10
mov ecx, esi
setge al
mov edi, 0x2a
add eax, 0x10
call fcn.00edf3d0
or ebp, 0xffffffff
cmp dword [esi + 0xc], 0x11
jne 0xee1779
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x14]
mov dword [eax], 1
mov dword [eax + 4], esi
mov dword [eax + 8], edi
mov ecx, dword [ecx + 0x14]
mov edx, dword [ecx + 4]
push eax
push edx
push ecx
call fcn.00efe3e0
add esp, 0xc
mov ebp, eax
neg ebp
sbb ebp, ebp
and ebp, 0xfffffffd
add ebp, 3
cmp dword [esi + 0xc], 0x12
je 0xee1779
mov dword [esi + 0xc], 0x12
mov eax, dword [0xf1ba68]
test eax, eax
je 0xee1779
push esi
call eax
add esp, 4
xor ebx, ebx
cmp ebp, 0xffffffff
je 0xee0870
mov eax, dword [esp + 0x34]
cmp dword [eax + 0x64], ebx
jne 0xee0870
mov eax, ebp
pop ebp
mov dword [esi + 0x10], edi
pop edi
pop ebx
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.00ee1e50
add esp, 0xc
pop ebp
pop edi
mov eax, 4
pop ebx
add esp, 0x24
ret
pop ebp
mov dword [esi + 0x10], edi
pop edi
xor eax, eax
pop ebx
add esp, 0x24
ret
pop edi
mov eax, 2
pop ebx
add esp, 0x24
ret