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

Disassembly:
mov ecx, dword [0x8993fc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x40]
cmp eax, dword [ecx + 8]
jbe 0x6425b0
sub esp, 0xc0
lea eax, [0x680240]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp], eax
call sym.github.com_armon_go_socks5.New
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x642340
mov dword [esp + 0x3c], ecx
lea eax, [0x68a9e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov byte [eax + 0x50], 1
mov ecx, dword [esp + 0xd0]
test ecx, ecx
jne 0x641ce3
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
lea eax, [0x6603a0]
mov dword [esp + 0x8c], eax
lea ecx, [0x6f640c]
mov dword [esp + 0x90], ecx
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
lea ecx, [sym.main.connectForSocks.Println.func2]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb4], 1
mov dword [esp + 0xb8], 1
lea ecx, [esp + 0x8c]
mov dword [esp + 0xb0], ecx
mov ecx, dword [0x859d50]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea ecx, [esp + 0xac]
mov dword [esp + 0xc], ecx
call sym.log._Logger_.output
lea eax, str.tcpintnil____SunMonTueWedThuFriSatJanFebMarAprMayJunJulAugSepOctNovDecUTCEET0001CATWATEATGMTHSTHDT_03_04_05ESTCSTCDTMSTMDT_02EDTASTADTPSTPDTNSTNDT06030407IST0908IDT12PKT11KST05JST10_01_11_12_08_0913CETBSTMSK_0614_mStdDlt125625NaNcgodnsudpftpssh::1setkeynew443GETagevia200404...EOFmapptrfinobjgc__:_gp___in__n___n_____P__MPC___end____:_npc__G_:_TTLMD4MD5RSADSAURIadxaesshaavxfma____25Via204206304400500
mov dword [esp], eax
mov dword [esp + 4], 3
mov eax, dword [esp + 0xc4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc8]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
call sym.crypto_tls.Dial
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x641cca
mov eax, dword [esp + 0x14]
lea ecx, [0x6f82b8]
xor edx, edx
xor ebx, ebx
jmp 0x64201e
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], ecx
add esp, 0xc0
ret
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
lea eax, [0x6603a0]
mov dword [esp + 0x84], eax
lea ecx, [0x6f6414]
mov dword [esp + 0x88], ecx
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
lea ecx, [sym.main.connectForSocks.Println.func3]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb4], 1
mov dword [esp + 0xb8], 1
lea ecx, [esp + 0x84]
mov dword [esp + 0xb0], ecx
mov ecx, dword [0x859d50]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea ecx, [esp + 0xac]
mov dword [esp + 0xc], ecx
call sym.log._Logger_.output
mov eax, dword [esp + 0xcc]
mov dword [esp], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xc4]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0xc8]
mov dword [esp + 0xc], ecx
call sym.main.connectviaproxy
mov eax, dword [esp + 0x10]
test eax, eax
je 0x64227c
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], eax
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea ecx, [0x6603a0]
mov dword [esp + 0x7c], ecx
lea edx, [0x6f641c]
mov dword [esp + 0x80], edx
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
lea edx, [sym.main.connectForSocks.Println.func4]
mov dword [esp + 0xac], edx
mov dword [esp + 0xb4], 1
mov dword [esp + 0xb8], 1
lea edx, [esp + 0x7c]
mov dword [esp + 0xb0], edx
mov edx, dword [0x859d50]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea edx, [esp + 0xac]
mov dword [esp + 0xc], edx
call sym.log._Logger_.output
nop
lea eax, [0x68c7a0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
mov ecx, dword [0x899508]
test ecx, ecx
jne 0x641ebb
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
jmp 0x641ecd
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x44]
mov dword [edi], ecx
mov edx, dword [esp + 0x4c]
mov dword [edi + 4], edx
mov dword [esp + 0x50], eax
mov dword [eax + 4], ecx
mov dword [eax + 0x2c], edx
mov byte [eax + 8], 1
lea ecx, [0x6681c0]
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 [0x899508]
test ecx, ecx
jne 0x641f05
mov ecx, dword [esp + 0x50]
jmp 0x641f19
call sym.runtime.gcWriteBarrier3
mov ecx, dword [esp + 0x50]
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
nop
nop
mov dword [esp], ecx
lea eax, [0x6f7bf0]
mov dword [esp + 4], eax
lea eax, [0x8992c0]
mov dword [esp + 8], eax
call sym.crypto_tls._Conn_.handshakeContext
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x642010
mov dword [esp + 0x24], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
je 0x641f68
mov edx, dword [eax + 4]
jmp 0x641f6a
mov edx, eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
lea edi, [esp + 0x94]
xor eax, eax
call fcn.0046f01a
lea ecx, [sym.main.connectForSocks.Printf.func5]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x9c], 0x11
lea ecx, [0x695e67]
mov dword [esp + 0x98], ecx
mov dword [esp + 0xa4], 1
mov dword [esp + 0xa8], 1
lea ecx, [esp + 0x74]
mov dword [esp + 0xa0], ecx
mov ecx, dword [0x859d50]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea ecx, [esp + 0x94]
mov dword [esp + 0xc], ecx
call sym.log._Logger_.output
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xd8], ecx
add esp, 0xc0
ret
xor ecx, ecx
xor eax, eax
lea edx, [0x6f82b8]
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x28], edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
lea ebp, [0x6603a0]
mov dword [esp + 0x64], ebp
lea esi, [0x6f642c]
mov dword [esp + 0x68], esi
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
lea esi, [sym.main.connectForSocks.Println.func7]
mov dword [esp + 0xac], esi
mov dword [esp + 0xb4], 1
mov dword [esp + 0xb8], 1
lea esi, [esp + 0x64]
mov dword [esp + 0xb0], esi
mov esi, dword [0x859d50]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea esi, [esp + 0xac]
mov dword [esp + 0xc], esi
call sym.log._Logger_.output
mov eax, dword [esp + 0xd0]
test eax, eax
jne 0x64219a
mov eax, dword [0x859fb8]
mov ecx, dword [0x859fbc]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.stringtoslicebyte
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x48]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call ecx
mov eax, dword [esp + 0x30]
test eax, eax
je 0x64214f
mov eax, dword [eax + 4]
lea ecx, [0x853fa0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.typeAssert
mov ecx, dword [esp + 8]
jmp 0x642151
mov ecx, eax
mov dword [esp], ecx
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call sym.github.com_hashicorp_yamux.Server
mov eax, dword [0x899508]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test eax, eax
je 0x64218f
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [0x859d40]
mov dword [edi + 4], eax
mov dword [0x859d40], ecx
jmp 0x64225f
mov eax, dword [0x859fb8]
mov ecx, dword [0x859fbc]
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call sym.runtime.stringtoslicebyte
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x40]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call ecx
mov dword [esp], 0x3b9aca00
mov dword [esp + 4], 0
call sym.time.Sleep
mov eax, dword [esp + 0x28]
test eax, eax
je 0x642219
mov eax, dword [eax + 4]
lea ecx, [0x853fb0]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.typeAssert
mov edx, dword [esp + 8]
jmp 0x64221b
mov edx, eax
mov dword [esp], edx
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
call sym.github.com_hashicorp_yamux.Server
mov eax, dword [0x899508]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
test eax, eax
je 0x642259
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [0x859d40]
mov dword [edi + 4], eax
mov dword [0x859d40], ecx
test edx, edx
je 0x642371
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd8], ebx
add esp, 0xc0
ret
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
lea eax, [0x6603a0]
mov dword [esp + 0x6c], eax
lea eax, [0x6f6424]
mov dword [esp + 0x70], eax
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
lea eax, [sym.main.connectForSocks.Println.func6]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb4], 1
mov dword [esp + 0xb8], 1
lea eax, [esp + 0x6c]
mov dword [esp + 0xb0], eax
mov eax, dword [0x859d50]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea eax, [esp + 0xac]
mov dword [esp + 0xc], eax
call sym.log._Logger_.output
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
add esp, 0xc0
ret
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], ecx
add esp, 0xc0
ret
mov dword [eax + 4], edx
mov dword [eax + 8], ebx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebp
mov dword [esp], eax
call sym.runtime.newproc
lea eax, [0x667c20]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [0x859d40]
mov ecx, dword [esp + 4]
mov dword [esp + 0xbc], ecx
mov dword [esp], eax
call sym.github.com_hashicorp_yamux._Session_.AcceptStream
mov eax, dword [esp + 8]
test eax, eax
je 0x6423a6
xor ecx, ecx
xor edx, edx
jmp 0x6423b0
mov ecx, dword [esp + 4]
lea edx, [0x6f82e8]
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], ecx
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 0xbc]
mov dword [ebp], eax
mov eax, dword [0x899508]
test eax, eax
je 0x6423dd
call sym.runtime.gcWriteBarrier2
mov dword [edi], ebx
mov eax, dword [ebp + 4]
mov dword [edi + 4], eax
mov dword [ebp + 4], ebx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
lea eax, [0x6603a0]
mov dword [esp + 0x5c], eax
lea ecx, [0x6f6434]
mov dword [esp + 0x60], ecx
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
lea edx, [sym.main.connectForSocks.Println.func8]
mov dword [esp + 0xac], edx
mov dword [esp + 0xb4], 1
mov dword [esp + 0xb8], 1
lea ebx, [esp + 0x5c]
mov dword [esp + 0xb0], ebx
mov ebx, dword [0x859d50]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea ebx, [esp + 0xac]
mov dword [esp + 0xc], ebx
call sym.log._Logger_.output
mov eax, dword [esp + 0xbc]
mov ecx, dword [eax]
test ecx, ecx
jne 0x642598
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
lea eax, [0x6603a0]
mov dword [esp + 0x54], eax
lea ecx, [0x6f643c]
mov dword [esp + 0x58], ecx
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
lea edx, [sym.main.connectForSocks.Println.func9]
mov dword [esp + 0xac], edx
mov dword [esp + 0xb4], 1
mov dword [esp + 0xb8], 1
lea ebx, [esp + 0x54]
mov dword [esp + 0xb0], ebx
mov ebx, dword [0x859d50]
mov dword [esp], ebx
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea ebx, [esp + 0xac]
mov dword [esp + 0xc], ebx
call sym.log._Logger_.output
lea eax, [0x6710e0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [sym.main.connectForSocks.func1]
mov dword [eax], ecx
mov edx, dword [0x899508]
test edx, edx
jne 0x642577
mov edx, dword [esp + 0xbc]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
jmp 0x642359
call sym.runtime.gcWriteBarrier3
mov edx, dword [esp + 0xbc]
mov dword [edi], edx
mov ebx, dword [esp + 0x3c]
mov dword [edi + 4], ebx
mov ebp, dword [esp + 0x34]
mov dword [edi + 8], ebp
jmp 0x642359
mov eax, dword [eax + 4]
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], eax
add esp, 0xc0
ret
call sym.runtime.morestack_noctxt
jmp sym.main.connectForSocks