Function at 0x610160
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x911770]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x61062d
sub esp, 0x90
mov eax, 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov byte [esp + 0x33], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
test edx, edx
setne dl
test ecx, ecx
setne cl
or edx, ecx
test dl, dl
jne 0x6101e3
mov ecx, dword [esp + 0x94]
mov ebx, dword [esp + 0x98]
jmp 0x610234
mov byte [esp + 0x32], dl
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [esp + 0x94]
mov dword [esp], ebx
mov ebx, dword [esp + 0x98]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call sym.context.WithTimeout
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x88], eax
mov byte [esp + 0x33], 1
mov eax, dword [esp + 0x9c]
mov ebx, edx
movzx edx, byte [esp + 0x32]
mov dword [esp + 0x3c], ecx
lea esi, [eax + 8]
mov dword [esp + 0x84], esi
lea edi, [esp + 0x4c]
call fcn.004723fe
mov ecx, dword [esp + 0x50]
mov ebp, dword [esp + 0x4c]
test ecx, 0x80000000
je 0x61027f
shl ecx, 1
mov esi, ebp
shl ebp, 1
mov edi, esi
shr esi, 0x1f
or esi, ecx
mov ecx, esi
shl esi, 1
shr ecx, 0x1f
shr ebp, 0x1f
or esi, ebp
add esi, 0xd7b17f80
adc ecx, 0xd
jmp 0x610289
mov esi, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov edi, ebp
test ecx, ecx
sete cl
test esi, esi
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ecx, ebp
test cl, cl
je 0x6102ab
test edi, 0x3fffffff
jne 0x6102ab
mov ecx, dword [esp + 0x3c]
jmp 0x61030b
lea edi, [esp + 0x64]
mov esi, dword [esp + 0x84]
call fcn.004723fe
or edx, 2
mov byte [esp + 0x31], dl
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], ebx
lea edi, [esp + 8]
lea esi, [esp + 0x64]
call fcn.004723fe
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call sym.context.WithDeadlineCause
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x8c], eax
movzx edx, byte [esp + 0x31]
mov byte [esp + 0x33], dl
mov dword [esp + 0x78], ebx
mov dword [esp + 0x40], ecx
mov byte [esp + 0x31], dl
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x14], eax
mov ebp, dword [esp + 0xac]
mov dword [esp + 0x18], ebp
call sym.net._Dialer_.DialContext
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
test eax, eax
je 0x6103ca
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
movzx eax, byte [esp + 0x31]
test al, 2
je 0x6103ac
and eax, 0xfffffffd
mov byte [esp + 0x31], al
mov byte [esp + 0x33], al
mov edx, dword [esp + 0x8c]
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 0x31]
test al, 1
je 0x6103c3
and eax, 0xfffffffe
mov byte [esp + 0x33], al
mov edx, dword [esp + 0x88]
mov eax, dword [edx]
call eax
add esp, 0x90
ret
mov dword [esp + 0x60], edx
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov ecx, dword [esp + 0xac]
mov dword [esp + 4], ecx
lea edx, [0x75552c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 1
call sym.strings.LastIndex
mov eax, dword [esp + 0x10]
cmp eax, 0xffffffff
jne 0x61040e
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xac]
cmp edx, eax
jb 0x610619
mov ecx, dword [esp + 0xb0]
test ecx, ecx
jne 0x61042e
lea ecx, [0x8f20a0]
mov edx, dword [ecx + 0x44]
test edx, edx
jne 0x610478
mov dword [esp + 0x44], eax
mov dword [esp], ecx
call sym.crypto_tls._Config_.Clone
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x44], ecx
mov ecx, dword [0x911a40]
test ecx, ecx
jne 0x61045f
mov ecx, dword [esp + 0xa8]
jmp 0x610473
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0xa8]
mov dword [edi], ecx
mov edx, dword [eax + 0x40]
mov dword [edi + 4], edx
mov dword [eax + 0x40], ecx
mov ecx, eax
mov dword [esp + 0x80], ecx
lea eax, [0x6e26e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x38]
mov dword [eax], ecx
mov edx, dword [0x911a40]
test edx, edx
jne 0x6104ae
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x80]
jmp 0x6104c3
call sym.runtime.gcWriteBarrier2
mov edx, dword [esp + 0x60]
mov dword [edi], edx
mov ebx, dword [esp + 0x80]
mov dword [edi + 4], ebx
mov dword [esp + 0x7c], eax
mov dword [eax + 4], edx
mov dword [eax + 0x2c], ebx
mov byte [eax + 8], 1
lea ecx, [0x6b0e00]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [sym.crypto_tls._Conn_.clientHandshake_fm]
mov dword [eax], ecx
mov ecx, dword [0x911a40]
test ecx, ecx
jne 0x6104fb
mov ecx, dword [esp + 0x7c]
jmp 0x61050f
call sym.runtime.gcWriteBarrier3
mov ecx, dword [esp + 0x7c]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov edx, dword [ecx + 0xc]
mov dword [edi + 8], edx
mov dword [eax + 4], ecx
mov dword [ecx + 0xc], eax
mov dword [esp], ecx
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
call sym.crypto_tls._Conn_.handshakeContext
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x610599
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
movzx eax, byte [esp + 0x31]
test al, 2
je 0x61057b
and eax, 0xfffffffd
mov byte [esp + 0x31], al
mov byte [esp + 0x33], al
mov edx, dword [esp + 0x8c]
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 0x31]
test al, 1
je 0x610592
and eax, 0xfffffffe
mov byte [esp + 0x33], al
mov edx, dword [esp + 0x88]
mov eax, dword [edx]
call eax
add esp, 0x90
ret
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x48], ecx
mov edx, dword [esp + 0x60]
mov dword [esp], edx
call eax
mov dword [esp + 0xb4], 0
mov eax, dword [esp + 0x34]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0xbc], eax
movzx eax, byte [esp + 0x31]
test al, 2
je 0x6105fb
and eax, 0xfffffffd
mov byte [esp + 0x31], al
mov byte [esp + 0x33], al
mov edx, dword [esp + 0x8c]
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 0x31]
test al, 1
je 0x610612
and eax, 0xfffffffe
mov byte [esp + 0x33], al
mov edx, dword [esp + 0x88]
mov eax, dword [edx]
call eax
add esp, 0x90
ret
mov ecx, eax
call sym.runtime.panicSliceAlen
nop
call sym.runtime.deferreturn
add esp, 0x90
ret
call sym.runtime.morestack_noctxt
jmp sym.crypto_tls.dial