Function at 0x40b200
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 0x40bfd0
cmp dword [esi + 0x87d4], 0xc0dedbad
jne 0x40bfd0
push ebx
mov edi, edi
xor ebx, ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], ebx
cmp dword [esi + 0x86d0], ebp
je 0x40b27b
mov eax, dword [esi + 0x86d8]
push eax
push esi
push str.Pipe_broke:_handle__p__url___s_n
push esi
call fcn.0040c580
add esp, 0x10
cmp dword [esi + 0xc], 0x10
jge 0x40b26d
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 0x40bf54
mov ecx, dword [esi + 8]
lea ebx, [esi + 8]
cmp ecx, ebp
jne 0x40b29a
mov eax, dword [esi + 0xc]
cmp eax, 2
jle 0x40b296
cmp eax, 0xf
jl 0x40bf9a
cmp ecx, ebp
je 0x40b2a9
mov eax, dword [esi + 0xc]
cmp eax, 2
jle 0x40b2a9
cmp eax, 0x10
jge 0x40b2a9
mov dword [ecx], esi
cmp dword [ebx], ebp
je 0x40b3f1
mov eax, dword [esi + 0xc]
cmp eax, 2
jl 0x40b3f1
cmp eax, 0x10
jge 0x40b3f1
xor ecx, ecx
cmp eax, 7
setle cl
lea edx, [esp + 0x38]
push ecx
push edx
push esi
call fcn.0040e6c0
add esp, 0xc
test eax, eax
jge 0x40b3f1
mov eax, dword [esi + 0xc]
cmp eax, 3
jne 0x40b31e
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.0040c180
push eax
push str.Resolving_timed_out_after__ld_milliseconds
push esi
call fcn.0040c610
add esp, 0x1c
jmp 0x40b3d0
cmp eax, 4
jne 0x40b351
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.0040c180
push eax
push str.Connection_timed_out_after__ld_milliseconds
push esi
call fcn.0040c610
add esp, 0x1c
jmp 0x40b3d0
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 0x40b39f
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.0040c180
add esp, 0x10
push eax
push str.Operation_timed_out_after__ld_milliseconds_with__I64d_out_of__I64d_bytes_received
push esi
call fcn.0040c610
add esp, 0x1c
jmp 0x40b3d0
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.0040c180
add esp, 0x10
push eax
push str.Operation_timed_out_after__ld_milliseconds_with__I64d_bytes_received
push esi
call fcn.0040c610
add esp, 0x14
cmp dword [esi + 0xc], 8
jle 0x40b3e7
mov ecx, dword [ebx]
mov eax, 1
mov dword [ecx + 0x1f0], eax
mov dword [esp + 0x10], eax
mov edi, 0x1c
jmp case.0x40b3fd.1
mov eax, dword [esi + 0xc]
cmp eax, 0x11
ja case.default.0x40b3fd
jmp dword [eax*4 + 0x40bfdc]
push esi
call fcn.00430f40
mov edi, eax
add esp, 4
cmp edi, ebp
jne case.0x40b3fd.1
mov eax, 2
mov ecx, esi
call fcn.00409df0
push 1
push esi
call fcn.004154d0
mov dword [esp + 0x14], 0xffffffff
jmp 0x40be8e
push 2
push esi
call fcn.004154d0
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 0x40b48b
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.0042d980
add esp, 0xc
mov edi, eax
neg edi
sbb edi, edi
and edi, 0xffffffe5
add edi, 0x1b
jmp case.0x40b3fd.1
cmp edi, ebp
jne case.0x40b3fd.1
mov eax, dword [ebx]
push eax
push esi
call fcn.00431e00
mov edi, eax
add esp, 8
cmp edi, ebp
jne 0x40b767
cmp dword [esp + 0x28], ebp
je 0x40b4c0
mov eax, 3
mov ecx, esi
call fcn.00409df0
jmp case.0x40b3fd.1
mov dword [esp + 0xc], 0xffffffff
cmp dword [esp + 0x14], ebp
je 0x40b4e8
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.0x40b3fd.1
mov edx, dword [ebx]
cmp dword [edx + 0x50c], 1
mov ecx, esi
jne 0x40b504
mov eax, 5
call fcn.00409df0
jmp case.0x40b3fd.1
mov eax, 4
call fcn.00409df0
jmp case.0x40b3fd.1
cmp dword [esi + 0x48], 0
mov ebp, dword [ebx]
mov dword [esp + 0x18], 0
je 0x40b530
push 2
push 3
push esi
call fcn.00415f30
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 0x40b57b
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.0040c580
mov eax, dword [esp + 0x20]
add esp, 8
cmp dword [esi + 0x48], 0
je 0x40b590
push 3
push esi
call fcn.00415f70
mov eax, dword [esp + 0x20]
add esp, 8
test eax, eax
jne 0x40b5a6
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.0040ae00
add esp, 8
cmp dword [esp + 0x18], 0
je 0x40b610
mov eax, dword [ebx]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.0040fe90
mov edi, eax
add esp, 8
test edi, edi
je 0x40b5d9
mov dword [ebx], 0
jmp 0x40b610
cmp dword [esp + 0x14], 0
mov dword [esp + 0xc], 0xffffffff
je 0x40b5f4
mov eax, dword [ebp + 0x30]
neg eax
sbb eax, eax
add eax, 8
jmp 0x40b609
mov ecx, dword [ebx]
cmp dword [ecx + 0x50c], 1
mov eax, 5
je 0x40b609
mov eax, 4
mov ecx, esi
call fcn.00409df0
test edi, edi
je case.0x40b3fd.1
mov dword [esp + 0x10], 1
jmp case.0x40b3fd.1
mov eax, dword [ebx]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.0042afb0
mov edi, eax
mov eax, dword [ebx]
add esp, 8
cmp dword [eax + 0x248], ebp
jne 0x40b6a0
cmp edi, ebp
jne case.0x40b3fd.1
cmp dword [eax + 0x50c], 2
jne case.0x40b3fd.1
mov eax, 4
mov ecx, esi
call fcn.00409df0
jmp case.0x40b3fd.1
mov edx, dword [ebx]
lea ecx, [esp + 0x24]
push ecx
push ebp
push edx
call fcn.0040f630
add esp, 0xc
mov edi, eax
cmp dword [esp + 0x24], ebp
je 0x40b696
cmp edi, ebp
jne 0x40b696
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 0x40b6b9
xor edi, edi
lea eax, [edi + 2]
mov ecx, esi
mov dword [esp + 0xc], 0xffffffff
call fcn.00409df0
jmp case.0x40b3fd.1
cmp edi, ebp
je 0x40b6ca
mov dword [esp + 0x10], 1
jmp case.0x40b3fd.1
cmp dword [esp + 0x24], ebp
je case.0x40b3fd.1
cmp dword [esp + 0x14], ebp
jne 0x40b733
cmp dword [eax + 0x50c], 1
mov ecx, esi
jne 0x40b6fc
mov eax, 5
call fcn.00409df0
mov dword [esp + 0xc], 0xffffffff
jmp case.0x40b3fd.1
mov eax, 6
call fcn.00409df0
mov dword [esp + 0xc], 0xffffffff
jmp case.0x40b3fd.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 0x40b755
cmp dword [esp + 0x14], ebp
je case.0x40b3fd.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.0x40b3fd.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.0x40b3fd.1
mov ebp, dword [ebx]
cmp dword [ebp + 0x2a4], 0
jne case.0x40b3fd.1
mov eax, dword [ebp + 0x2a8]
push esi
call fcn.0040a6b0
add esp, 4
test eax, eax
je case.0x40b3fd.1
mov eax, 8
mov ecx, esi
mov dword [ebp + 0x2a4], 1
call fcn.00409df0
mov dword [esp + 0xc], 0xffffffff
jmp case.0x40b3fd.1
cmp dword [esi + 0x370], ebp
je 0x40b7e8
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.0x40b3fd.1
lea ecx, [esp + 0x1c]
push ecx
push ebx
call fcn.004054d0
mov edi, eax
add esp, 8
cmp edi, ebp
jne 0x40b88d
cmp dword [esp + 0x1c], ebp
jne 0x40b857
cmp dword [esi + 0x464], ebp
je 0x40b842
mov eax, dword [esi + 0x8710]
cmp eax, 6
je 0x40b81e
cmp eax, 4
jne 0x40b842
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.0x40b3fd.1
mov eax, 9
mov ecx, esi
call fcn.00409df0
mov dword [esp + 0xc], ebp
jmp case.0x40b3fd.1
mov edx, dword [ebx]
mov ecx, esi
cmp dword [edx + 0x210], ebp
je 0x40b876
mov eax, 0xa
call fcn.00409df0
mov dword [esp + 0xc], ebp
jmp case.0x40b3fd.1
mov eax, 0xb
call fcn.00409df0
mov dword [esp + 0xc], 0xffffffff
jmp case.0x40b3fd.1
cmp edi, 0x37
jne 0x40b966
mov eax, dword [ebx]
cmp dword [eax + 0x1f4], ebp
je 0x40b966
lea ecx, [esp + 0x18]
push ecx
xor ebp, ebp
push eax
mov dword [esp + 0x20], ebp
call fcn.004315e0
add esp, 8
test eax, eax
je 0x40b8c8
mov edi, eax
mov dword [esp + 0x10], 1
jmp 0x40b8d3
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 0x40b94b
test eax, eax
je 0x40b907
cmp eax, 0x37
je 0x40b907
mov edi, eax
mov eax, dword [esp + 0x18]
push eax
call dword [0x6be340]
add esp, 4
jmp case.0x40b3fd.1
mov ecx, dword [esp + 0x18]
push 2
push ecx
push esi
call fcn.004312f0
add esp, 0xc
test eax, eax
jne 0x40b936
mov eax, 2
mov ecx, esi
call fcn.00409df0
mov dword [esp + 0xc], 0xffffffff
xor edi, edi
jmp case.0x40b3fd.1
mov edx, dword [esp + 0x18]
push edx
mov edi, eax
call dword [0x6be340]
add esp, 4
jmp case.0x40b3fd.1
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x14], 1
call dword [0x6be340]
add esp, 4
jmp case.0x40b3fd.1
push esi
call sym.Setup.exe_libssh2_trace
add esp, 4
cmp dword [ebx], ebp
je 0x40b97e
push ebp
push edi
push ebx
call fcn.00408d50
add esp, 0xc
mov dword [esp + 0x10], 1
jmp case.0x40b3fd.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 0x40b9ce
cmp dword [esp + 0x1c], ebp
je case.0x40b3fd.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.0x40b3fd.1
push esi
call sym.Setup.exe_libssh2_trace
push ebp
jmp 0x40b75d
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 0x40b9ce
mov eax, dword [esp + 0x2c]
cmp eax, ebp
je 0x40b86d
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.0x40b3fd.1
mov edx, dword [ebx]
push edx
push esi
call fcn.00431e50
mov eax, dword [esp + 0x3c]
push eax
call fcn.0040aa30
mov eax, dword [ebx]
or edx, 0xffffffff
add esp, 0xc
cmp dword [eax + 0x270], edx
jne 0x40ba4c
cmp dword [eax + 0x274], edx
lea eax, [edx + 0x10]
je 0x40ba51
mov eax, 0xc
mov ecx, esi
call fcn.00409df0
mov dword [esp + 0xc], edx
jmp case.0x40b3fd.1
mov ebp, dword [ebx]
cmp dword [ebp + 0x2a0], 0
jne case.0x40b3fd.1
mov eax, dword [ebp + 0x2ac]
push esi
call fcn.0040a6b0
add esp, 4
test eax, eax
je case.0x40b3fd.1
mov eax, 0xd
mov ecx, esi
mov dword [ebp + 0x2a0], 1
call fcn.00409df0
mov dword [esp + 0xc], 0xffffffff
jmp case.0x40b3fd.1
mov ecx, dword [ebx]
push ecx
call fcn.00415740
add esp, 4
test eax, eax
je 0x40bac0
mov edi, 0x2a
jmp 0x40bad5
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push edx
push eax
push esi
call fcn.0042fb90
add esp, 0xc
mov edi, eax
mov ecx, dword [esi + 0x208]
mov eax, dword [esi + 0x20c]
mov edx, ecx
or edx, eax
je 0x40bb05
mov edx, dword [esi + 0x50c]
cmp edx, eax
jg case.0x40b3fd.1
jl 0x40bb05
mov eax, dword [esi + 0x508]
cmp eax, ecx
jae case.0x40b3fd.1
mov ecx, dword [esi + 0x210]
mov eax, dword [esi + 0x214]
mov edx, ecx
or edx, eax
je 0x40bb35
mov edx, dword [esi + 0x504]
cmp edx, eax
jg case.0x40b3fd.1
jl 0x40bb35
mov eax, dword [esi + 0x500]
cmp eax, ecx
jae case.0x40b3fd.1
mov eax, 0xd
mov ecx, esi
call fcn.00409df0
jmp case.0x40b3fd.1
mov eax, dword [esi + 0x20c]
mov ecx, dword [esi + 0x208]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x18], ebp
jl 0x40bbc4
jg 0x40bb62
cmp ecx, ebp
jbe 0x40bbc4
mov edx, dword [esi + 0x50c]
cmp edx, eax
jl 0x40bbc4
jg 0x40bb78
mov eax, dword [esi + 0x508]
cmp eax, ecx
jbe 0x40bbc4
mov eax, 0xe
mov ecx, esi
call fcn.00409df0
mov eax, dword [esi + 0x2bc]
test eax, eax
jne 0x40bb93
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.00430e70
push eax
push esi
call fcn.0040a910
add esp, 0x1c
jmp case.0x40b3fd.1
mov eax, dword [esi + 0x214]
mov ecx, dword [esi + 0x210]
test eax, eax
jl 0x40bc27
jg 0x40bbda
test ecx, ecx
jbe 0x40bc27
mov edx, dword [esi + 0x504]
cmp edx, eax
jl 0x40bc27
jg 0x40bbf0
mov eax, dword [esi + 0x500]
cmp eax, ecx
jbe 0x40bc27
mov eax, 0xe
mov ecx, esi
call fcn.00409df0
mov eax, dword [esi + 0x2bc]
test eax, eax
jne 0x40bc0b
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 0x40bbad
mov eax, dword [ebx]
lea edx, [esp + 0x20]
push edx
push eax
call fcn.00430ad0
add esp, 8
test byte [esi + 0xf8], 1
mov edi, eax
jne 0x40bc4e
mov ecx, dword [ebx]
mov dword [ecx + 0x2a0], 0
test byte [esi + 0xf8], 2
jne 0x40bc63
mov edx, dword [ebx]
mov dword [edx + 0x2a4], 0
cmp dword [esp + 0x20], 0
jne 0x40bc6f
cmp edi, 0x38
jne 0x40bc9e
mov ecx, dword [ebx]
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.004315e0
add esp, 8
test eax, eax
jne 0x40bc9e
xor edx, edx
cmp dword [esp + 0x18], edx
setne dl
mov ebp, edx
test ebp, ebp
je 0x40bc9e
xor edi, edi
mov dword [esp + 0x20], 1
jmp 0x40bcee
test edi, edi
je 0x40bce7
mov eax, dword [ebx]
mov ecx, dword [eax + 0x264]
test byte [ecx + 0x40], 2
jne 0x40bcba
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.0x40b3fd.1
push eax
call dword [0x6be340]
add esp, 4
jmp case.0x40b3fd.1
cmp dword [esp + 0x20], 0
je 0x40bccc
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 0x40bd22
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.0040aa30
add esp, 4
cmp dword [esi + 0x10c], 0
jne 0x40bda5
test ebp, ebp
jne 0x40bdd6
cmp dword [esi + 0x108], ebp
je 0x40bd8c
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40bd5a
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.004312f0
mov edi, eax
add esp, 0xc
cmp edi, ebp
jne 0x40bd84
mov dword [esp + 0x18], ebp
jmp 0x40bd8c
mov dword [esp + 0x10], 1
mov eax, 0xf
mov ecx, esi
call fcn.00409df0
mov dword [esp + 0xc], 0xffffffff
jmp 0x40bccc
test ebp, ebp
jne 0x40bdd6
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40bdbb
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 0x40bddb
mov ebp, 2
push 0
push 0
push ebx
call fcn.00408d50
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40bccc
mov eax, dword [esp + 0x18]
push ebp
push eax
push esi
call fcn.004312f0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x40bccc
lea eax, [edi + 2]
mov ecx, esi
call fcn.00409df0
mov dword [esp + 0xc], 0xffffffff
jmp case.0x40b3fd.1
mov eax, dword [ebx]
mov dword [esp + 0xc], 0xffffffff
cmp eax, ebp
je 0x40be5b
mov ecx, dword [eax + 0x2ac]
push ecx
push esi
call fcn.00403c80
mov edx, dword [esp + 0x3c]
push edx
call fcn.0040aa30
push ebp
push edi
push ebx
call fcn.00408d50
add esp, 0x18
cmp edi, ebp
jne 0x40be55
mov edi, eax
cmp dword [ebx], ebp
je 0x40be5b
mov dword [ebx], ebp
cmp dword [esi + 0x464], ebp
je 0x40be77
cmp dword [esi + 0x8710], 6
je 0x40be77
xor eax, eax
mov ecx, esi
call fcn.00409df0
jmp case.0x40b3fd.1
mov eax, 0x10
mov ecx, esi
call fcn.00409df0
jmp case.0x40b3fd.1
push ebp
push esi
mov dword [ebx], ebp
call fcn.0040a770
add esp, 8
mov ecx, dword [esi + 0xc]
cmp ecx, 0x10
jge 0x40bf24
mov eax, dword [ebx]
xor ebp, ebp
cmp edi, ebp
je 0x40bf60
mov dword [esi + 0x86d0], ebp
cmp eax, ebp
je 0x40bf0a
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.0040aa30
add esp, 0x14
cmp dword [esp + 0x10], ebp
je 0x40bf18
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 0x40bf18
cmp ecx, 2
jne 0x40bf18
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 0x40bf54
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 0x40bfb8
xor ebp, ebp
jmp 0x40b230
cmp eax, ebp
je 0x40bf24
push eax
call fcn.00415740
add esp, 4
test eax, eax
je 0x40bf24
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 0x40bf28
mov eax, dword [esi + 0xc]
push eax
push str.In_state__d_with_no_easy_conn__bail_out__n
push esi
call fcn.0040c610
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