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

Disassembly:
sub esp, 0x24
push ebp
xor ebp, ebp
push edi
xor edi, edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
cmp esi, ebp
je 0x40bfc0
cmp dword [esi + 0x87d4], 0xc0dedbad
jne 0x40bfc0
push ebx
mov edi, edi
xor ebx, ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], ebx
cmp dword [esi + 0x86d0], ebp
je 0x40b26b
mov eax, dword [esi + 0x86d8]
push eax
push esi
push str.Pipe_broke:_handle__p__url___s_n
push esi
call fcn.0040c560
add esp, 0x10
cmp dword [esi + 0xc], 0x10
jge 0x40b25d
lea eax, [ebx + 2]
mov ecx, esi
call fcn.00409df0
or ebx, 0xffffffff
xor edi, edi
mov dword [esi + 0x86d0], ebp
mov dword [esi + 8], ebp
jmp 0x40bf44
mov ecx, dword [esi + 8]
lea ebx, [esi + 8]
cmp ecx, ebp
jne 0x40b28a
mov eax, dword [esi + 0xc]
cmp eax, 2
jle 0x40b286
cmp eax, 0xf
jl 0x40bf8a
cmp ecx, ebp
je 0x40b299
mov eax, dword [esi + 0xc]
cmp eax, 2
jle 0x40b299
cmp eax, 0x10
jge 0x40b299
mov dword [ecx], esi
cmp dword [ebx], ebp
je 0x40b3e1
mov eax, dword [esi + 0xc]
cmp eax, 2
jl 0x40b3e1
cmp eax, 0x10
jge 0x40b3e1
xor ecx, ecx
cmp eax, 7
setle cl
lea edx, [esp + 0x38]
push ecx
push edx
push esi
call fcn.0040e6a0
add esp, 0xc
test eax, eax
jge 0x40b3e1
mov eax, dword [esi + 0xc]
cmp eax, 3
jne 0x40b30e
mov eax, dword [esi + 0x54c]
mov ecx, dword [esi + 0x548]
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x3c]
push ecx
push edx
push eax
call fcn.0040c170
push eax
push str.Resolving_timed_out_after__ld_milliseconds
push esi
call fcn.0040c5f0
add esp, 0x1c
jmp 0x40b3c0
cmp eax, 4
jne 0x40b341
mov ecx, dword [esi + 0x54c]
mov edx, dword [esi + 0x548]
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
push eax
push ecx
call fcn.0040c170
push eax
push str.Connection_timed_out_after__ld_milliseconds
push esi
call fcn.0040c5f0
add esp, 0x1c
jmp 0x40b3c0
mov eax, dword [esi + 0x50]
mov ecx, dword [esi + 0x54]
mov edx, eax
and edx, ecx
cmp edx, 0xffffffff
mov edx, dword [esi + 0x54c]
je 0x40b38f
push ecx
mov ecx, dword [esi + 0x70]
push eax
mov eax, dword [esi + 0x74]
push eax
mov eax, dword [esi + 0x548]
push ecx
mov ecx, dword [esi + 0x94]
push edx
mov edx, dword [esi + 0x90]
push eax
push ecx
push edx
call fcn.0040c170
add esp, 0x10
push eax
push str.Operation_timed_out_after__ld_milliseconds_with__I64d_out_of__I64d_bytes_received
push esi
call fcn.0040c5f0
add esp, 0x1c
jmp 0x40b3c0
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x70]
push eax
mov eax, dword [esi + 0x548]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
call fcn.0040c170
add esp, 0x10
push eax
push str.Operation_timed_out_after__ld_milliseconds_with__I64d_bytes_received
push esi
call fcn.0040c5f0
add esp, 0x14
cmp dword [esi + 0xc], 8
jle 0x40b3d7
mov ecx, dword [ebx]
mov eax, 1
mov dword [ecx + 0x1f0], eax
mov dword [esp + 0x10], eax
mov edi, 0x1c
jmp case.0x40b3ed.1
mov eax, dword [esi + 0xc]
cmp eax, 0x11
ja case.default.0x40b3ed
jmp dword [eax*4 + 0x40bfcc]
push esi
call fcn.00430f20
mov edi, eax
add esp, 4
cmp edi, ebp
jne case.0x40b3ed.1
mov eax, 2
mov ecx, esi
call fcn.00409df0
push 1
push esi
call fcn.004154b0
mov dword [esp + 0x14], 0xffffffff
jmp 0x40be7e
push 2
push esi
call fcn.004154b0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x34]
push eax
push ebx
push esi
call fcn.00409d50
mov edi, eax
add esp, 0x18
cmp edi, 0x59
jne 0x40b47b
lea eax, [edi - 0x58]
mov ecx, esi
call fcn.00409df0
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x18]
mov edx, dword [eax + 4]
push esi
push edx
push eax
call fcn.0042d960
add esp, 0xc
mov edi, eax
neg edi
sbb edi, edi
and edi, 0xffffffe5
add edi, 0x1b
jmp case.0x40b3ed.1
cmp edi, ebp
jne case.0x40b3ed.1
mov eax, dword [ebx]
push eax
push esi
call fcn.00431de0
mov edi, eax
add esp, 8
cmp edi, ebp
jne 0x40b757
cmp dword [esp + 0x28], ebp
je 0x40b4b0
mov eax, 3
mov ecx, esi
call fcn.00409df0
jmp case.0x40b3ed.1
mov dword [esp + 0xc], 0xffffffff
cmp dword [esp + 0x14], ebp
je 0x40b4d8
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 0x30]
neg eax
sbb eax, eax
add eax, 8
mov ecx, esi
call fcn.00409df0
jmp case.0x40b3ed.1
mov edx, dword [ebx]
cmp dword [edx + 0x50c], 1
mov ecx, esi
jne 0x40b4f4
mov eax, 5
call fcn.00409df0
jmp case.0x40b3ed.1
mov eax, 4
call fcn.00409df0
jmp case.0x40b3ed.1
cmp dword [esi + 0x48], 0
mov ebp, dword [ebx]
mov dword [esp + 0x18], 0
je 0x40b520
push 2
push 3
push esi
call fcn.00415f10
add esp, 0xc
mov eax, dword [ebp + 0xb0]
mov ecx, dword [ebp + 0x98]
push eax
push ecx
push ebp
call fcn.00403020
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
je 0x40b56b
mov ecx, 1
add dword [eax + 0x10], ecx
mov edx, dword [esp + 0x18]
push str.Hostname_was_found_in_DNS_cache_n
push esi
mov dword [ebp + 0x404], edx
mov dword [ebp + 0x408], ecx
xor edi, edi
call fcn.0040c560
mov eax, dword [esp + 0x20]
add esp, 8
cmp dword [esi + 0x48], 0
je 0x40b580
push 3
push esi
call fcn.00415f50
mov eax, dword [esp + 0x20]
add esp, 8
test eax, eax
jne 0x40b596
mov ecx, dword [ebx]
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.00401f20
add esp, 8
mov edi, eax
mov ebp, dword [esp + 0x34]
push esi
push ebp
call fcn.0040adf0
add esp, 8
cmp dword [esp + 0x18], 0
je 0x40b600
mov eax, dword [ebx]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.0040fe70
mov edi, eax
add esp, 8
test edi, edi
je 0x40b5c9
mov dword [ebx], 0
jmp 0x40b600
cmp dword [esp + 0x14], 0
mov dword [esp + 0xc], 0xffffffff
je 0x40b5e4
mov eax, dword [ebp + 0x30]
neg eax
sbb eax, eax
add eax, 8
jmp 0x40b5f9
mov ecx, dword [ebx]
cmp dword [ecx + 0x50c], 1
mov eax, 5
je 0x40b5f9
mov eax, 4
mov ecx, esi
call fcn.00409df0
test edi, edi
je case.0x40b3ed.1
mov dword [esp + 0x10], 1
jmp case.0x40b3ed.1
mov eax, dword [ebx]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.0042af90
mov edi, eax
mov eax, dword [ebx]
add esp, 8
cmp dword [eax + 0x248], ebp
jne 0x40b690
cmp edi, ebp
jne case.0x40b3ed.1
cmp dword [eax + 0x50c], 2
jne case.0x40b3ed.1
mov eax, 4
mov ecx, esi
call fcn.00409df0
jmp case.0x40b3ed.1
mov edx, dword [ebx]
lea ecx, [esp + 0x24]
push ecx
push ebp
push edx
call fcn.0040f610
add esp, 0xc
mov edi, eax
cmp dword [esp + 0x24], ebp
je 0x40b686
cmp edi, ebp
jne 0x40b686
mov ecx, dword [ebx]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.00404090
add esp, 8
mov edi, eax
mov eax, dword [ebx]
cmp dword [eax + 0x248], ebp
je 0x40b6a9
xor edi, edi
lea eax, [edi + 2]
mov ecx, esi
mov dword [esp + 0xc], 0xffffffff
call fcn.00409df0
jmp case.0x40b3ed.1
cmp edi, ebp
je 0x40b6ba
mov dword [esp + 0x10], 1
jmp case.0x40b3ed.1
cmp dword [esp + 0x24], ebp
je case.0x40b3ed.1
cmp dword [esp + 0x14], ebp
jne 0x40b723
cmp dword [eax + 0x50c], 1
mov ecx, esi
jne 0x40b6ec
mov eax, 5
call fcn.00409df0
mov dword [esp + 0xc], 0xffffffff
jmp case.0x40b3ed.1
mov eax, 6
call fcn.00409df0
mov dword [esp + 0xc], 0xffffffff
jmp case.0x40b3ed.1
mov ecx, dword [ebx]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.00404010
mov edi, eax
add esp, 8
cmp edi, ebp
jne 0x40b745
cmp dword [esp + 0x14], ebp
je case.0x40b3ed.1
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x30]
neg eax
sbb eax, eax
add eax, 8
mov ecx, esi
call fcn.00409df0
mov dword [esp + 0xc], 0xffffffff
jmp case.0x40b3ed.1
push esi
call sym.Setup.exe_libssh2_trace
push 1
push edi
push ebx
call fcn.00408d50
add esp, 0x10
mov dword [esp + 0x10], 1
jmp case.0x40b3ed.1
mov ebp, dword [ebx]
cmp dword [ebp + 0x2a4], 0
jne case.0x40b3ed.1
mov eax, dword [ebp + 0x2a8]
push esi
call fcn.0040a6b0
add esp, 4
test eax, eax
je case.0x40b3ed.1
mov eax, 8
mov ecx, esi
mov dword [ebp + 0x2a4], 1
call fcn.00409df0
mov dword [esp + 0xc], 0xffffffff
jmp case.0x40b3ed.1
cmp dword [esi + 0x370], ebp
je 0x40b7d8
mov eax, dword [ebx]
mov dword [eax + 0x1f0], ebp
mov eax, 0xf
mov ecx, esi
call fcn.00409df0
xor edi, edi
mov dword [esp + 0xc], 0xffffffff
jmp case.0x40b3ed.1
lea ecx, [esp + 0x1c]
push ecx
push ebx
call fcn.004054d0
mov edi, eax
add esp, 8
cmp edi, ebp
jne 0x40b87d
cmp dword [esp + 0x1c], ebp
jne 0x40b847
cmp dword [esi + 0x464], ebp
je 0x40b832
mov eax, dword [esi + 0x8710]
cmp eax, 6
je 0x40b80e
cmp eax, 4
jne 0x40b832
push ebp
push ebp
push ebx
call fcn.00408d50
add esp, 0xc
mov eax, 0xf
mov ecx, esi
call fcn.00409df0
mov dword [esp + 0xc], 0xffffffff
jmp case.0x40b3ed.1
mov eax, 9
mov ecx, esi
call fcn.00409df0
mov dword [esp + 0xc], ebp
jmp case.0x40b3ed.1
mov edx, dword [ebx]
mov ecx, esi
cmp dword [edx + 0x210], ebp
je 0x40b866
mov eax, 0xa
call fcn.00409df0
mov dword [esp + 0xc], ebp
jmp case.0x40b3ed.1
mov eax, 0xb
call fcn.00409df0
mov dword [esp + 0xc], 0xffffffff
jmp case.0x40b3ed.1
cmp edi, 0x37
jne 0x40b956
mov eax, dword [ebx]
cmp dword [eax + 0x1f4], ebp
je 0x40b956
lea ecx, [esp + 0x18]
push ecx
xor ebp, ebp
push eax
mov dword [esp + 0x20], ebp
call fcn.004315c0
add esp, 8
test eax, eax
je 0x40b8b8
mov edi, eax
mov dword [esp + 0x10], 1
jmp 0x40b8c3
xor edx, edx
cmp dword [esp + 0x18], edx
setne dl
mov ebp, edx
push esi
call sym.Setup.exe_libssh2_trace
push 0
push edi
push ebx
call fcn.00408d50
add esp, 0x10
test ebp, ebp
je 0x40b93b
test eax, eax
je 0x40b8f7
cmp eax, 0x37
je 0x40b8f7
mov edi, eax
mov eax, dword [esp + 0x18]
push eax
call dword [0x6be340]
add esp, 4
jmp case.0x40b3ed.1
mov ecx, dword [esp + 0x18]
push 2
push ecx
push esi
call fcn.004312d0
add esp, 0xc
test eax, eax
jne 0x40b926
mov eax, 2
mov ecx, esi
call fcn.00409df0
mov dword [esp + 0xc], 0xffffffff
xor edi, edi
jmp case.0x40b3ed.1
mov edx, dword [esp + 0x18]
push edx
mov edi, eax
call dword [0x6be340]
add esp, 4
jmp case.0x40b3ed.1
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x14], 1
call dword [0x6be340]
add esp, 4
jmp case.0x40b3ed.1
push esi
call sym.Setup.exe_libssh2_trace
add esp, 4
cmp dword [ebx], ebp
je 0x40b96e
push ebp
push edi
push ebx
call fcn.00408d50
add esp, 0xc
mov dword [esp + 0x10], 1
jmp case.0x40b3ed.1
mov edx, dword [ebx]
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.00404050
mov edi, eax
add esp, 8
cmp edi, ebp
jne 0x40b9be
cmp dword [esp + 0x1c], ebp
je case.0x40b3ed.1
mov eax, dword [ebx]
mov eax, dword [eax + 0x210]
neg eax
sbb eax, eax
add eax, 0xb
mov ecx, esi
call fcn.00409df0
mov dword [esp + 0xc], 0xffffffff
jmp case.0x40b3ed.1
push esi
call sym.Setup.exe_libssh2_trace
push ebp
jmp 0x40b74d
mov edx, dword [ebx]
lea ecx, [esp + 0x2c]
push ecx
push edx
call fcn.00405560
mov edi, eax
add esp, 8
cmp edi, ebp
jne 0x40b9be
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x40b85d
xor ecx, ecx
cmp eax, 1
sete cl
lea ecx, [ecx + ecx + 9]
mov eax, ecx
mov ecx, esi
call fcn.00409df0
mov dword [esp + 0xc], 0xffffffff
jmp case.0x40b3ed.1
mov edx, dword [ebx]
push edx
push esi
call fcn.00431e30
mov eax, dword [esp + 0x3c]
push eax
call fcn.0040aa20
mov eax, dword [ebx]
or edx, 0xffffffff
add esp, 0xc
cmp dword [eax + 0x270], edx
jne 0x40ba3c
cmp dword [eax + 0x274], edx
lea eax, [edx + 0x10]
je 0x40ba41
mov eax, 0xc
mov ecx, esi
call fcn.00409df0
mov dword [esp + 0xc], edx
jmp case.0x40b3ed.1
mov ebp, dword [ebx]
cmp dword [ebp + 0x2a0], 0
jne case.0x40b3ed.1
mov eax, dword [ebp + 0x2ac]
push esi
call fcn.0040a6b0
add esp, 4
test eax, eax
je case.0x40b3ed.1
mov eax, 0xd
mov ecx, esi
mov dword [ebp + 0x2a0], 1
call fcn.00409df0
mov dword [esp + 0xc], 0xffffffff
jmp case.0x40b3ed.1
mov ecx, dword [ebx]
push ecx
call fcn.00415720
add esp, 4
test eax, eax
je 0x40bab0
mov edi, 0x2a
jmp 0x40bac5
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push edx
push eax
push esi
call fcn.0042fb80
add esp, 0xc
mov edi, eax
mov ecx, dword [esi + 0x208]
mov eax, dword [esi + 0x20c]
mov edx, ecx
or edx, eax
je 0x40baf5
mov edx, dword [esi + 0x50c]
cmp edx, eax
jg case.0x40b3ed.1
jl 0x40baf5
mov eax, dword [esi + 0x508]
cmp eax, ecx
jae case.0x40b3ed.1
mov ecx, dword [esi + 0x210]
mov eax, dword [esi + 0x214]
mov edx, ecx
or edx, eax
je 0x40bb25
mov edx, dword [esi + 0x504]
cmp edx, eax
jg case.0x40b3ed.1
jl 0x40bb25
mov eax, dword [esi + 0x500]
cmp eax, ecx
jae case.0x40b3ed.1
mov eax, 0xd
mov ecx, esi
call fcn.00409df0
jmp case.0x40b3ed.1
mov eax, dword [esi + 0x20c]
mov ecx, dword [esi + 0x208]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x18], ebp
jl 0x40bbb4
jg 0x40bb52
cmp ecx, ebp
jbe 0x40bbb4
mov edx, dword [esi + 0x50c]
cmp edx, eax
jl 0x40bbb4
jg 0x40bb68
mov eax, dword [esi + 0x508]
cmp eax, ecx
jbe 0x40bbb4
mov eax, 0xe
mov ecx, esi
call fcn.00409df0
mov eax, dword [esi + 0x2bc]
test eax, eax
jne 0x40bb83
mov eax, 0x4000
mov ecx, dword [esi + 0x50c]
mov edx, dword [esi + 0x508]
push eax
mov eax, dword [esi + 0x20c]
push ecx
mov ecx, dword [esi + 0x208]
push edx
push eax
push ecx
call fcn.00430e50
push eax
push esi
call fcn.0040a910
add esp, 0x1c
jmp case.0x40b3ed.1
mov eax, dword [esi + 0x214]
mov ecx, dword [esi + 0x210]
test eax, eax
jl 0x40bc17
jg 0x40bbca
test ecx, ecx
jbe 0x40bc17
mov edx, dword [esi + 0x504]
cmp edx, eax
jl 0x40bc17
jg 0x40bbe0
mov eax, dword [esi + 0x500]
cmp eax, ecx
jbe 0x40bc17
mov eax, 0xe
mov ecx, esi
call fcn.00409df0
mov eax, dword [esi + 0x2bc]
test eax, eax
jne 0x40bbfb
mov eax, 0x4000
mov ecx, dword [esi + 0x504]
mov edx, dword [esi + 0x500]
push eax
mov eax, dword [esi + 0x214]
push ecx
mov ecx, dword [esi + 0x210]
jmp 0x40bb9d
mov eax, dword [ebx]
lea edx, [esp + 0x20]
push edx
push eax
call fcn.00430ab0
add esp, 8
test byte [esi + 0xf8], 1
mov edi, eax
jne 0x40bc3e
mov ecx, dword [ebx]
mov dword [ecx + 0x2a0], 0
test byte [esi + 0xf8], 2
jne 0x40bc53
mov edx, dword [ebx]
mov dword [edx + 0x2a4], 0
cmp dword [esp + 0x20], 0
jne 0x40bc5f
cmp edi, 0x38
jne 0x40bc8e
mov ecx, dword [ebx]
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.004315c0
add esp, 8
test eax, eax
jne 0x40bc8e
xor edx, edx
cmp dword [esp + 0x18], edx
setne dl
mov ebp, edx
test ebp, ebp
je 0x40bc8e
xor edi, edi
mov dword [esp + 0x20], 1
jmp 0x40bcde
test edi, edi
je 0x40bcd7
mov eax, dword [ebx]
mov ecx, dword [eax + 0x264]
test byte [ecx + 0x40], 2
jne 0x40bcaa
mov dword [eax + 0x1f0], 1
push esi
call sym.Setup.exe_libssh2_trace
push 0
push edi
push ebx
call fcn.00408d50
add esp, 0x10
mov eax, dword [esp + 0x18]
test eax, eax
je case.0x40b3ed.1
push eax
call dword [0x6be340]
add esp, 4
jmp case.0x40b3ed.1
cmp dword [esp + 0x20], 0
je 0x40bcbc
push esi
call sym.Setup.exe_libssh2_trace
mov edx, dword [ebx]
mov eax, dword [edx + 0x2ac]
push eax
push esi
call fcn.00403c80
mov ecx, dword [ebx]
mov eax, dword [ecx + 0x2ac]
add esp, 0xc
cmp dword [eax], 0
je 0x40bd12
mov edx, dword [eax]
mov eax, dword [edx]
push 1
push eax
call fcn.0040a910
add esp, 8
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0040aa20
add esp, 4
cmp dword [esi + 0x10c], 0
jne 0x40bd95
test ebp, ebp
jne 0x40bdc6
cmp dword [esi + 0x108], ebp
je 0x40bd7c
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40bd4a
push eax
call dword [0x6be340]
add esp, 4
mov eax, dword [esi + 0x108]
push 1
push eax
xor ebp, ebp
push esi
mov dword [esp + 0x24], eax
mov dword [esi + 0x108], ebp
call fcn.004312d0
mov edi, eax
add esp, 0xc
cmp edi, ebp
jne 0x40bd74
mov dword [esp + 0x18], ebp
jmp 0x40bd7c
mov dword [esp + 0x10], 1
mov eax, 0xf
mov ecx, esi
call fcn.00409df0
mov dword [esp + 0xc], 0xffffffff
jmp 0x40bcbc
test ebp, ebp
jne 0x40bdc6
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40bdab
push eax
call dword [0x6be340]
add esp, 4
mov edx, dword [esi + 0x10c]
mov dword [esp + 0x18], edx
mov dword [esi + 0x10c], 0
mov ebp, 3
jmp 0x40bdcb
mov ebp, 2
push 0
push 0
push ebx
call fcn.00408d50
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40bcbc
mov eax, dword [esp + 0x18]
push ebp
push eax
push esi
call fcn.004312d0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40bcbc
lea eax, [edi + 2]
mov ecx, esi
call fcn.00409df0
mov dword [esp + 0xc], 0xffffffff
jmp case.0x40b3ed.1
mov eax, dword [ebx]
mov dword [esp + 0xc], 0xffffffff
cmp eax, ebp
je 0x40be4b
mov ecx, dword [eax + 0x2ac]
push ecx
push esi
call fcn.00403c80
mov edx, dword [esp + 0x3c]
push edx
call fcn.0040aa20
push ebp
push edi
push ebx
call fcn.00408d50
add esp, 0x18
cmp edi, ebp
jne 0x40be45
mov edi, eax
cmp dword [ebx], ebp
je 0x40be4b
mov dword [ebx], ebp
cmp dword [esi + 0x464], ebp
je 0x40be67
cmp dword [esi + 0x8710], 6
je 0x40be67
xor eax, eax
mov ecx, esi
call fcn.00409df0
jmp case.0x40b3ed.1
mov eax, 0x10
mov ecx, esi
call fcn.00409df0
jmp case.0x40b3ed.1
push ebp
push esi
mov dword [ebx], ebp
call fcn.0040a770
add esp, 8
mov ecx, dword [esi + 0xc]
cmp ecx, 0x10
jge 0x40bf14
mov eax, dword [ebx]
xor ebp, ebp
cmp edi, ebp
je 0x40bf50
mov dword [esi + 0x86d0], ebp
cmp eax, ebp
je 0x40befa
mov dword [eax + 0x2a4], ebp
mov eax, dword [ebx]
mov dword [eax + 0x2a0], ebp
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x2a8]
push edx
push esi
call fcn.00403c80
mov eax, dword [ebx]
mov ecx, dword [eax + 0x2ac]
push ecx
push esi
call fcn.00403c80
mov edx, dword [esp + 0x44]
push edx
call fcn.0040aa20
add esp, 0x14
cmp dword [esp + 0x10], ebp
je 0x40bf08
mov ecx, dword [ebx]
xor eax, eax
cmp edi, 0x1c
sete al
push eax
push ecx
call fcn.004080d0
add esp, 8
mov dword [ebx], ebp
jmp 0x40bf08
cmp ecx, 2
jne 0x40bf08
push esi
call sym.Setup.exe_libssh2_trace
add esp, 4
mov eax, 0x10
mov ecx, esi
call fcn.00409df0
mov ebx, dword [esp + 0xc]
cmp dword [esi + 0xc], 0x10
jne 0x40bf44
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.00409f10
mov ebx, eax
mov eax, 0x11
mov ecx, esi
call fcn.00409df0
cmp ebx, 0xffffffff
jne 0x40bfa8
xor ebp, ebp
jmp 0x40b220
cmp eax, ebp
je 0x40bf14
push eax
call fcn.00415720
add esp, 4
test eax, eax
je 0x40bf14
mov edx, dword [ebx]
xor eax, eax
mov dword [edx + 0x1f0], 1
cmp dword [esi + 0xc], 0xf
mov ecx, esi
setge al
mov edi, 0x2a
add eax, 0xf
call fcn.00409df0
or ebx, 0xffffffff
jmp 0x40bf18
mov eax, dword [esi + 0xc]
push eax
push str.In_state__d_with_no_easy_conn__bail_out__n
push esi
call fcn.0040c5f0
add esp, 0xc
pop ebx
pop edi
mov eax, 4
pop ebp
add esp, 0x24
ret
mov eax, ebx
pop ebx
mov dword [esi + 0x10], edi
pop edi
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