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

Disassembly:
sub esp, 0x28
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 0x46b934
cmp dword [esi + 0x881c], 0xc0dedbad
jne 0x46b934
push ebx
mov edi, edi
xor ebx, ebx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x14], ebx
cmp dword [esi + 0x8710], ebp
je 0x46abbf
mov eax, dword [esi + 0x8718]
push eax
push esi
push str.Pipe_broke:_handle__p__url___s_n
push esi
call fcn.00474a10
mov eax, dword [esi + 0xc]
add esp, 0x10
cmp eax, 0x11
jge 0x46abb1
cmp eax, 2
je 0x46abac
mov dword [esi + 0xc], 2
or ebx, 0xffffffff
xor edi, edi
mov dword [esi + 0x8710], ebp
mov dword [esi + 8], ebp
jmp 0x46b8e6
cmp dword [esi + 8], ebx
lea ebp, [esi + 8]
jne 0x46abd8
mov eax, dword [esi + 0xc]
cmp eax, 2
jle 0x46abd8
cmp eax, 0x10
jl 0x46b90a
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0x64]
mov dword [ecx + 0x64], ebx
test eax, eax
je 0x46abef
push ecx
call fcn.0046a5a0
add esp, 4
mov ecx, dword [ebp]
test ecx, ecx
je 0x46ac05
mov eax, dword [esi + 0xc]
cmp eax, 2
jle 0x46ac05
cmp eax, 0x11
jge 0x46ac05
mov dword [ecx], esi
cmp dword [ebp], ebx
je 0x46ad5b
mov eax, dword [esi + 0xc]
cmp eax, 2
jl 0x46ad5b
cmp eax, 0x11
jge 0x46ad5b
xor edx, edx
cmp eax, 8
setle dl
lea eax, [esp + 0x3c]
push edx
push eax
push esi
call fcn.00477030
add esp, 0xc
test eax, eax
jns 0x46ad5b
mov eax, dword [esi + 0xc]
cmp eax, 3
jne 0x46ac7b
mov ecx, dword [esi + 0x58c]
mov edx, dword [esi + 0x588]
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push ecx
call fcn.004745e0
push eax
push str.Resolving_timed_out_after__ld_milliseconds
push esi
call fcn.00474aa0
add esp, 0x1c
jmp 0x46ad2d
cmp eax, 4
jne 0x46acae
mov edx, dword [esi + 0x58c]
mov eax, dword [esi + 0x588]
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push eax
push ecx
push edx
call fcn.004745e0
push eax
push str.Connection_timed_out_after__ld_milliseconds
push esi
call fcn.00474aa0
add esp, 0x1c
jmp 0x46ad2d
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
mov edx, dword [esi + 0x58c]
je 0x46acfc
push ecx
mov ecx, dword [esi + 0x70]
push eax
mov eax, dword [esi + 0x74]
push eax
mov eax, dword [esi + 0x588]
push ecx
mov ecx, dword [esi + 0x94]
push edx
mov edx, dword [esi + 0x90]
push eax
push ecx
push edx
call fcn.004745e0
add esp, 0x10
push eax
push str.Operation_timed_out_after__ld_milliseconds_with__I64d_out_of__I64d_bytes_received
push esi
call fcn.00474aa0
add esp, 0x1c
jmp 0x46ad2d
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x70]
push eax
mov eax, dword [esi + 0x588]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x48]
push eax
push ecx
push edx
call fcn.004745e0
add esp, 0x10
push eax
push str.Operation_timed_out_after__ld_milliseconds_with__I64d_bytes_received
push esi
call fcn.00474aa0
add esp, 0x14
cmp dword [esi + 0xc], 9
jle 0x46ad45
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.00473500
add esp, 0xc
jmp case.0x46ad67.1
mov eax, dword [esi + 0xc]
cmp eax, 0x12
ja case.default.0x46ad67
jmp dword [eax*4 + 0x46b940]
push esi
call fcn.0047b7e0
mov edi, eax
add esp, 4
test edi, edi
jne case.0x46ad67.1
mov eax, 2
cmp dword [esi + 0xc], eax
je 0x46ad8e
mov dword [esi + 0xc], eax
push 1
push esi
call fcn.0047cf90
add esp, 8
or ebx, 0xffffffff
jmp case.0x46ad67.1
push 2
push esi
call fcn.0047cf90
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x34]
push eax
push ebp
push esi
call fcn.00474510
mov edi, eax
add esp, 0x18
cmp edi, 0x59
jne 0x46adf7
mov eax, 1
cmp dword [esi + 0xc], eax
je 0x46add1
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 0x18]
mov edx, dword [eax + 4]
push esi
push edx
push eax
call fcn.00479dd0
add esp, 0xc
mov edi, eax
neg edi
sbb edi, edi
and edi, 0xffffffe5
add edi, 0x1b
jmp case.0x46ad67.1
test edi, edi
jne case.0x46ad67.1
mov eax, dword [ebp]
push eax
push esi
call fcn.0047c5a0
mov edi, eax
add esp, 8
test edi, edi
jne 0x46b09f
cmp dword [esp + 0x28], ebx
je 0x46ae32
mov eax, 3
cmp dword [esi + 0xc], eax
je case.0x46ad67.1
mov dword [esi + 0xc], eax
jmp case.0x46ad67.1
or ebx, 0xffffffff
cmp dword [esp + 0x18], 0
je 0x46ae5e
mov ecx, dword [esp + 0x38]
push 1
push ecx
call fcn.00469690
add esp, 8
neg eax
sbb eax, eax
add eax, 9
mov ecx, esi
call fcn.00469500
jmp case.0x46ad67.1
mov edx, dword [ebp]
cmp dword [edx + 0x4dc], 1
jne 0x46ae80
mov eax, 5
cmp dword [esi + 0xc], eax
je case.0x46ad67.1
mov dword [esi + 0xc], eax
jmp case.0x46ad67.1
mov eax, 4
cmp dword [esi + 0xc], eax
je case.0x46ad67.1
mov dword [esi + 0xc], eax
jmp case.0x46ad67.1
mov edi, dword [ebp]
mov dword [esp + 0x14], ebx
mov eax, dword [edi + 0xb0]
mov ecx, dword [edi + 0x98]
push eax
push ecx
push edi
call fcn.0046da30
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x46aee2
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.00474a10
add esp, 8
cmp dword [esp + 0x14], ebx
jne 0x46aef5
mov eax, dword [ebp]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.0046c610
add esp, 8
mov edi, eax
mov ecx, dword [esp + 0x38]
push ecx
mov ecx, esi
call fcn.00469b10
add esp, 4
cmp dword [esp + 0x14], ebx
je 0x46af24
mov eax, dword [ebp]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.00481810
mov edi, eax
add esp, 8
test edi, edi
je 0x46af39
mov dword [ebp], ebx
test edi, edi
je case.0x46ad67.1
mov dword [esp + 0xc], 1
jmp case.0x46ad67.1
or ebx, 0xffffffff
cmp dword [esp + 0x18], 0
jne 0x46ae3c
mov edx, dword [ebp]
cmp dword [edx + 0x4dc], 1
jne 0x46af69
cmp dword [esi + 0xc], 5
je case.0x46ad67.1
mov dword [esi + 0xc], 5
jmp case.0x46ad67.1
cmp dword [esi + 0xc], 4
je case.0x46ad67.1
mov dword [esi + 0xc], 4
jmp case.0x46ad67.1
mov ecx, dword [ebp]
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.0047ed40
mov edi, eax
mov eax, dword [ebp]
add esp, 8
or ebx, 0xffffffff
cmp dword [eax + 0x248], 0
je 0x46afc4
xor edi, edi
push edi
push edi
push ebp
call fcn.00473500
add esp, 0xc
cmp dword [esi + 0xc], 2
je case.0x46ad67.1
mov dword [esi + 0xc], 2
jmp case.0x46ad67.1
test edi, edi
jne case.0x46ad67.1
cmp dword [eax + 0x4dc], 2
jne case.0x46ad67.1
cmp dword [esi + 0xc], 6
je case.0x46ad67.1
mov dword [esi + 0xc], 6
jmp case.0x46ad67.1
mov eax, dword [ebp]
lea edx, [esp + 0x2c]
push edx
push 0
push eax
call fcn.004780b0
add esp, 0xc
mov edi, eax
cmp dword [esp + 0x2c], ebx
je 0x46af24
test edi, edi
jne 0x46af2c
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.00469500
jmp case.0x46ad67.1
mov eax, dword [ebp]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.0046ea00
add esp, 8
mov edi, eax
cmp dword [esp + 0x18], ebx
jne 0x46b064
cmp dword [esi + 0xc], 7
je case.0x46ad67.1
mov dword [esi + 0xc], 7
jmp case.0x46ad67.1
test edi, edi
jne 0x46b08d
mov ecx, dword [esp + 0x38]
push 1
push ecx
call fcn.00469690
add esp, 8
neg eax
sbb eax, eax
add eax, 9
mov ecx, esi
call fcn.00469500
or ebx, 0xffffffff
jmp case.0x46ad67.1
push esi
call fcn.004d19c0
push 1
push edi
push ebp
call fcn.00473500
add esp, 0x10
mov dword [esp + 0xc], 1
jmp case.0x46ad67.1
mov eax, dword [ebp]
lea edx, [esp + 0x18]
push edx
push eax
call fcn.0046e980
mov edi, eax
add esp, 8
test edi, edi
jne 0x46b08d
cmp dword [esp + 0x18], ebx
je case.0x46ad67.1
jmp 0x46b068
mov edx, dword [ebp]
push edx
push esi
call fcn.0047c4e0
add esp, 8
test eax, eax
je case.0x46ad67.1
mov eax, 9
cmp dword [esi + 0xc], eax
je 0x46b0f1
mov dword [esi + 0xc], eax
or ebx, 0xffffffff
jmp case.0x46ad67.1
xor edi, edi
cmp dword [esi + 0x3b0], edi
je 0x46b121
mov eax, dword [ebp]
mov dword [eax + 0x1f4], edi
mov eax, 0x10
cmp dword [esi + 0xc], eax
je 0x46b0f1
mov dword [esi + 0xc], eax
or ebx, 0xffffffff
jmp case.0x46ad67.1
lea ecx, [esp + 0x1c]
push ecx
push ebp
call fcn.0046fd90
mov edi, eax
add esp, 8
test edi, edi
jne 0x46b1c5
cmp dword [esp + 0x1c], ebx
jne 0x46b18d
cmp dword [esi + 0x498], ebx
je 0x46b179
mov eax, dword [esi + 0x8758]
cmp eax, 6
je 0x46b157
cmp eax, 4
jne 0x46b179
push 0
push 0
push ebp
call fcn.00473500
mov eax, 0x10
add esp, 0xc
cmp dword [esi + 0xc], eax
je 0x46b0f1
mov dword [esi + 0xc], eax
or ebx, 0xffffffff
jmp case.0x46ad67.1
mov eax, 0xa
cmp dword [esi + 0xc], eax
je 0x46b1a5
mov dword [esi + 0xc], eax
xor ebx, ebx
jmp case.0x46ad67.1
mov edx, dword [ebp]
cmp dword [edx + 0x214], ebx
je 0x46b1ac
mov eax, 0xb
cmp dword [esi + 0xc], eax
je 0x46b1a5
mov dword [esi + 0xc], eax
xor ebx, ebx
jmp case.0x46ad67.1
mov eax, 0xc
cmp dword [esi + 0xc], eax
je 0x46b0f1
mov dword [esi + 0xc], eax
or ebx, 0xffffffff
jmp case.0x46ad67.1
cmp edi, 0x37
jne 0x46b2ad
mov eax, dword [ebp]
cmp dword [eax + 0x1f8], ebx
je 0x46b2ad
lea ecx, [esp + 0x10]
push ecx
xor ebx, ebx
push eax
mov dword [esp + 0x18], ebx
call fcn.0047bec0
add esp, 8
test eax, eax
je 0x46b201
mov edi, eax
mov dword [esp + 0xc], 1
jmp 0x46b20a
xor ebx, ebx
cmp dword [esp + 0x10], ebx
setne bl
push esi
call fcn.004d19c0
push 0
push edi
push ebp
call fcn.00473500
add esp, 0x10
test ebx, ebx
je 0x46b28e
test eax, eax
je 0x46b242
cmp eax, 0x37
je 0x46b242
mov edx, dword [esp + 0x10]
push edx
mov edi, eax
call dword [0x5e1058]
mov ebx, dword [esp + 0x18]
add esp, 4
jmp case.0x46ad67.1
mov eax, dword [esp + 0x10]
mov edi, 2
push edi
push eax
push esi
call fcn.0047bb80
add esp, 0xc
test eax, eax
jne 0x46b275
cmp dword [esi + 0xc], edi
je 0x46b262
mov dword [esi + 0xc], edi
mov dword [esp + 0x14], 0xffffffff
mov ebx, dword [esp + 0x14]
xor edi, edi
jmp case.0x46ad67.1
mov ecx, dword [esp + 0x10]
push ecx
mov edi, eax
call dword [0x5e1058]
mov ebx, dword [esp + 0x18]
add esp, 4
jmp case.0x46ad67.1
mov edx, dword [esp + 0x10]
push edx
mov dword [esp + 0x10], 1
call dword [0x5e1058]
mov ebx, dword [esp + 0x18]
add esp, 4
jmp case.0x46ad67.1
push esi
call fcn.004d19c0
add esp, 4
cmp dword [ebp], ebx
je 0x46b2c7
push 0
push edi
push ebp
call fcn.00473500
add esp, 0xc
mov dword [esp + 0xc], 1
jmp case.0x46ad67.1
mov ecx, dword [ebp]
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.0046e9c0
mov edi, eax
add esp, 8
test edi, edi
jne 0x46b314
cmp dword [esp + 0x1c], ebx
je case.0x46ad67.1
mov edx, dword [ebp]
mov eax, dword [edx + 0x214]
neg eax
sbb eax, eax
add eax, 0xc
mov ecx, esi
call fcn.00469500
or ebx, 0xffffffff
jmp case.0x46ad67.1
push esi
call fcn.004d19c0
push 0
jmp 0x46b095
mov ecx, dword [ebp]
lea eax, [esp + 0x30]
push eax
push ecx
call fcn.0046fe20
mov edi, eax
add esp, 8
test edi, edi
jne 0x46b314
mov eax, dword [esp + 0x30]
test eax, eax
je 0x46b1a5
xor edx, edx
cmp eax, 1
sete dl
mov ecx, esi
lea eax, [edx + edx + 0xa]
call fcn.00469500
or ebx, 0xffffffff
jmp case.0x46ad67.1
mov eax, dword [ebp]
push eax
push esi
call fcn.0047c600
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0046a5a0
mov eax, dword [ebp]
or ecx, 0xffffffff
add esp, 0xc
cmp dword [eax + 0x274], ecx
jne 0x46b38f
cmp dword [eax + 0x278], ecx
lea eax, [ecx + 0x11]
je 0x46b394
mov eax, 0xd
cmp dword [esi + 0xc], eax
je 0x46b0f1
mov dword [esi + 0xc], eax
or ebx, 0xffffffff
jmp case.0x46ad67.1
mov edx, dword [ebp]
push edx
push esi
call fcn.0047c530
add esp, 8
test eax, eax
je case.0x46ad67.1
mov eax, 0xe
cmp dword [esi + 0xc], eax
je 0x46b0f1
mov dword [esi + 0xc], eax
or ebx, 0xffffffff
jmp case.0x46ad67.1
mov eax, dword [ebp]
push eax
call fcn.0047d200
add esp, 4
test eax, eax
je 0x46b3ed
mov edi, 0x2a
jmp 0x46b402
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
push ecx
push edx
push esi
call fcn.0047cb50
add esp, 0xc
mov edi, eax
mov ecx, dword [esi + 0x248]
mov eax, dword [esi + 0x24c]
mov edx, ecx
or edx, eax
je 0x46b42e
cmp dword [esi + 0x54c], eax
jg case.0x46ad67.1
jl 0x46b42e
cmp dword [esi + 0x548], ecx
jae case.0x46ad67.1
mov ecx, dword [esi + 0x250]
mov eax, dword [esi + 0x254]
mov edx, ecx
or edx, eax
je 0x46b45a
cmp dword [esi + 0x544], eax
jg case.0x46ad67.1
jl 0x46b45a
cmp dword [esi + 0x540], ecx
jae case.0x46ad67.1
cmp dword [esi + 0xc], 0xe
je case.0x46ad67.1
mov dword [esi + 0xc], 0xe
jmp case.0x46ad67.1
mov eax, dword [esi + 0x24c]
mov ebx, dword [esi + 0x248]
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], ecx
cmp eax, ecx
jl 0x46b4df
jg 0x46b490
cmp ebx, ecx
jbe 0x46b4df
mov edx, dword [esi + 0x54c]
mov ecx, dword [esi + 0x548]
cmp edx, eax
jl 0x46b4df
jg 0x46b4a6
cmp ecx, ebx
jbe 0x46b4df
mov ecx, dword [esi + 0x300]
mov dword [esi + 0xc], 0xf
test ecx, ecx
jne 0x46b4bc
mov ecx, 0x4000
push ecx
mov ecx, dword [esi + 0x548]
push edx
push ecx
push eax
push ebx
call fcn.0047b710
push eax
push esi
call fcn.0046a470
mov ebx, dword [esp + 0x30]
add esp, 0x1c
jmp case.0x46ad67.1
mov eax, dword [esi + 0x254]
mov ecx, dword [esi + 0x250]
test eax, eax
jl 0x46b52e
jg 0x46b4f5
test ecx, ecx
je 0x46b52e
mov edx, dword [esi + 0x544]
mov ebx, dword [esi + 0x540]
cmp edx, eax
jl 0x46b52e
jg 0x46b50b
cmp ebx, ecx
jbe 0x46b52e
mov ecx, dword [esi + 0x300]
mov dword [esi + 0xc], 0xf
test ecx, ecx
jne 0x46b521
mov ecx, 0x4000
push ecx
push edx
push ebx
push eax
mov eax, dword [esi + 0x250]
push eax
jmp 0x46b4c7
mov edx, dword [ebp]
lea ecx, [esp + 0x20]
push ecx
push esi
push edx
call fcn.0047b350
add esp, 0xc
test byte [esi + 0x138], 1
mov edi, eax
jne 0x46b557
mov eax, dword [ebp]
push eax
call fcn.0047c590
add esp, 4
test byte [esi + 0x138], 2
jne 0x46b56c
mov ecx, dword [ebp]
push ecx
call fcn.0047c580
add esp, 4
cmp dword [esp + 0x20], 0
jne 0x46b578
cmp edi, 0x38
jne 0x46b5a6
mov eax, dword [ebp]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.0047bec0
add esp, 8
test eax, eax
jne 0x46b5a6
xor ebx, ebx
cmp dword [esp + 0x10], ebx
setne bl
test ebx, ebx
je 0x46b5aa
xor edi, edi
mov dword [esp + 0x20], 1
jmp 0x46b5fb
mov ebx, dword [esp + 0x24]
test edi, edi
je 0x46b5f0
mov eax, dword [ebp]
mov ecx, dword [eax + 0x268]
test byte [ecx + 0x40], 2
jne 0x46b5c7
mov dword [eax + 0x1f4], 1
push esi
call fcn.004d19c0
push 0
push edi
push ebp
call fcn.00473500
mov eax, dword [esp + 0x20]
add esp, 0x10
push eax
call dword [0x5e1058]
mov ebx, dword [esp + 0x18]
add esp, 4
jmp case.0x46ad67.1
cmp dword [esp + 0x20], 0
je 0x46b710
push esi
call fcn.004d19c0
mov edx, dword [ebp]
mov eax, dword [edx + 0x2b0]
push eax
push esi
call fcn.0046e640
mov ecx, dword [ebp]
mov eax, dword [ecx + 0x2b0]
add esp, 0xc
cmp dword [eax], 0
je 0x46b631
mov edx, dword [eax]
mov eax, dword [edx]
push 1
push eax
call fcn.0046a470
add esp, 8
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0046a5a0
add esp, 4
cmp dword [esi + 0x14c], 0
jne 0x46b69d
test ebx, ebx
jne 0x46b6c6
cmp dword [esi + 0x148], ebx
je 0x46b68e
mov edx, dword [esp + 0x10]
push edx
call dword [0x5e1058]
mov eax, dword [esi + 0x148]
push 1
push eax
push esi
mov dword [esp + 0x20], eax
mov dword [esi + 0x148], ebx
call fcn.0047bb80
mov edi, eax
add esp, 0x10
cmp edi, ebx
jne 0x46b686
mov dword [esp + 0x10], ebx
jmp 0x46b68e
mov dword [esp + 0xc], 1
mov eax, 0x10
cmp dword [esi + 0xc], eax
je 0x46b708
mov dword [esi + 0xc], eax
jmp 0x46b708
test ebx, ebx
jne 0x46b6c6
mov eax, dword [esp + 0x10]
push eax
call dword [0x5e1058]
mov ecx, dword [esi + 0x14c]
mov dword [esi + 0x14c], ebx
add esp, 4
mov dword [esp + 0x10], ecx
mov ebx, 3
jmp 0x46b6cb
mov ebx, 2
push 0
push 0
push ebp
call fcn.00473500
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x46b710
mov edx, dword [esp + 0x10]
push ebx
push edx
push esi
call fcn.0047bb80
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x46b710
mov eax, 2
cmp dword [esi + 0xc], eax
je 0x46b700
mov dword [esi + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 0x10]
push eax
call dword [0x5e1058]
mov ebx, dword [esp + 0x18]
add esp, 4
jmp case.0x46ad67.1
mov eax, dword [ebp]
or ebx, 0xffffffff
test eax, eax
je 0x46b767
mov ecx, dword [eax + 0x2b0]
push ecx
push esi
call fcn.0046e640
mov edx, dword [esp + 0x40]
push edx
call fcn.0046a5a0
push 0
push edi
push ebp
call fcn.00473500
add esp, 0x18
test edi, edi
jne 0x46b75a
mov edi, eax
cmp dword [ebp], 0
je 0x46b767
mov dword [ebp], 0
cmp dword [esi + 0x498], 0
je 0x46b788
cmp dword [esi + 0x8758], 6
je 0x46b788
cmp dword [esi + 0xc], 0
je case.0x46ad67.1
mov dword [esi + 0xc], 0
jmp case.0x46ad67.1
cmp dword [esi + 0xc], 0x11
je 0x46b8a9
mov eax, dword [esi + 0x40]
mov dword [esi + 0xc], 0x11
dec dword [eax + 0x10]
jmp case.0x46ad67.1
push 0
push esi
mov dword [ebp], ebx
call fcn.0046a2d0
add esp, 8
cmp dword [esi + 0xc], 0x11
jge 0x46b8a7
test edi, edi
je 0x46b85a
mov eax, dword [esp + 0x38]
push eax
mov dword [esi + 0x8710], 0
call fcn.0046a5a0
mov eax, dword [ebp]
add esp, 4
test eax, eax
je 0x46b836
push eax
call fcn.0047c580
mov ecx, dword [ebp]
push ecx
call fcn.0047c590
mov edx, dword [ebp]
mov eax, dword [edx + 0x2ac]
push eax
push esi
call fcn.0046e640
mov ecx, dword [ebp]
mov edx, dword [ecx + 0x2b0]
push edx
push esi
call fcn.0046e640
add esp, 0x18
cmp dword [esp + 0xc], 0
je 0x46b845
mov ecx, dword [ebp]
xor eax, eax
cmp edi, 0x1c
sete al
push eax
push ecx
call fcn.00472740
add esp, 8
mov dword [ebp], 0
jmp 0x46b845
cmp dword [esi + 0xc], 2
jne 0x46b845
push esi
call fcn.004d19c0
add esp, 4
cmp dword [esi + 0xc], 0x11
je 0x46b8a9
mov eax, dword [esi + 0x40]
mov dword [esi + 0xc], 0x11
dec dword [eax + 0x10]
jmp 0x46b8a3
mov eax, dword [ebp]
test eax, eax
je 0x46b8a3
push eax
call fcn.0047d200
add esp, 4
test eax, eax
je 0x46b8a3
mov edx, dword [ebp]
xor ecx, ecx
mov dword [edx + 0x1f4], 1
mov eax, dword [esi + 0xc]
cmp eax, 0x10
setge cl
mov edi, 0x2a
add ecx, 0x10
cmp eax, ecx
je 0x46b8a0
mov dword [esi + 0xc], ecx
cmp ecx, 0x11
jne 0x46b8a0
mov eax, dword [esi + 0x40]
dec dword [eax + 0x10]
or ebx, 0xffffffff
cmp dword [esi + 0xc], 0x11
jne 0x46b8e6
mov ecx, dword [esp + 0x38]
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.00479dd0
add esp, 0xc
mov ebx, eax
neg ebx
sbb ebx, ebx
and ebx, 0xfffffffd
add ebx, 3
cmp dword [esi + 0xc], 0x12
je 0x46b8e6
mov dword [esi + 0xc], 0x12
xor ebp, ebp
cmp ebx, 0xffffffff
je 0x46ab70
mov eax, dword [esp + 0x38]
cmp dword [eax + 0x64], ebp
jne 0x46ab70
mov eax, ebx
pop ebx
mov dword [esi + 0x10], edi
pop edi
pop ebp
add esp, 0x28
ret
mov ecx, dword [esi + 0xc]
push ecx
push str.In_state__d_with_no_easy_conn__bail_out__n
push esi
call fcn.00474aa0
add esp, 0xc
pop ebx
pop edi
mov eax, 4
pop ebp
add esp, 0x28
ret
pop ebx
mov dword [esi + 0x10], edi
pop edi
xor eax, eax
pop ebp
add esp, 0x28
ret
pop edi
mov eax, 2
pop ebp
add esp, 0x28
ret