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

Disassembly:
mov ecx, dword [0x8993fc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x64]
cmp eax, dword [ecx + 8]
jbe 0x61fa93
sub esp, 0xe4
mov eax, 0
mov dword [esp + 0xe0], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov eax, dword [esp + 0xec]
test byte [eax], al
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
lea ecx, [sym.github.com_armon_go_socks5._Server_.ServeConn.deferwrap1]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
mov ecx, dword [esp + 0xf0]
mov dword [esp + 0xa8], ecx
lea edx, [esp + 0xa0]
mov dword [esp + 0xe0], edx
mov byte [esp + 0x23], 1
test eax, eax
je 0x61f0a1
mov ecx, dword [eax + 4]
lea edx, [0x854a30]
mov dword [esp], edx
mov dword [esp + 4], ecx
call sym.runtime.typeAssert
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xf0]
mov edx, dword [esp + 0xec]
jmp 0x61f0a3
mov edx, eax
nop
lea ebx, [0x6f6de4]
cmp eax, ebx
jne 0x61f0b2
mov ebp, ecx
jmp 0x61f0b9
mov ebp, ecx
mov ecx, 0
mov dword [esp + 0xd4], eax
jne 0x61f0cf
cmp dword [ecx + 4], 0x1000
jge 0x61f1a6
lea eax, [0x67ee40]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
lea ecx, [0x660420]
mov dword [esp], ecx
mov dword [esp + 4], 0x1000
mov dword [esp + 8], 0x1000
call sym.runtime.makeslice
mov eax, dword [esp + 0xc]
mov dword [esp + 0xd0], eax
lea edi, [esp + 0x74]
xor eax, eax
call fcn.0046f015
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0x1000
mov dword [esp + 0x7c], 0x1000
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x84], eax
mov dword [esp + 0x98], 0xffffffff
mov dword [esp + 0x9c], 0xffffffff
mov ecx, dword [0x899508]
test ecx, ecx
je 0x61f195
lea eax, [0x67ee40]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
lea ecx, [esp + 0x74]
mov dword [esp + 8], ecx
call sym.runtime.wbMove
mov eax, dword [esp + 0xf0]
mov edi, dword [esp + 0x34]
lea esi, [esp + 0x74]
call fcn.0046f4c2
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x34], ecx
lea eax, [0x65ce20]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0xcc], eax
mov ecx, dword [esp + 0x34]
mov dword [esp], ecx
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call sym.bufio._Reader_.Read
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x61f2c8
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0xe8]
mov edx, dword [edx]
mov edx, dword [edx + 0x38]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
je 0x61f216
mov ebx, dword [eax + 4]
jmp 0x61f218
mov ebx, eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ecx
lea edi, [esp + 0xb4]
xor eax, eax
call fcn.0046f01a
lea ecx, [sym.github.com_armon_go_socks5._Server_.ServeConn._Logger_.Printf.func1]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xbc], 0x2b
lea ecx, [0x6a10b2]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xc4], 1
mov dword [esp + 0xc8], 1
lea ecx, [esp + 0x6c]
mov dword [esp + 0xc0], ecx
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea ecx, [esp + 0xb4]
mov dword [esp + 0xc], ecx
call sym.log._Logger_.output
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xf8], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0xe0]
mov ecx, dword [edx]
call ecx
add esp, 0xe4
ret
mov eax, dword [esp + 0xcc]
cmp byte [eax], 5
jne 0x61f925
mov eax, dword [esp + 0xec]
test eax, eax
je 0x61f2fc
mov ecx, dword [eax + 4]
lea edx, [0x854a40]
mov dword [esp], edx
mov dword [esp + 4], ecx
call sym.runtime.typeAssert
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xe8]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 8], eax
lea edx, [0x6f6de4]
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x10], ebx
call sym.github.com_armon_go_socks5._Server_.authenticate
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
test eax, eax
je 0x61f485
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
je 0x61f35b
mov eax, dword [eax + 4]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], edx
lea eax, [0x699f68]
mov dword [esp], eax
mov dword [esp + 4], 0x1a
lea eax, [esp + 0xac]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0xe8]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x38]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
test eax, eax
je 0x61f3cb
mov ebx, dword [eax + 4]
jmp 0x61f3cd
mov ebx, eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], edx
lea edi, [esp + 0xb4]
xor eax, eax
call fcn.0046f01a
lea ecx, [sym.github.com_armon_go_socks5._Server_.ServeConn._Logger_.Printf.func3]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xbc], 0xf
lea ecx, [0x69544f]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xc4], 1
mov dword [esp + 0xc8], 1
lea ecx, [esp + 0x5c]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea ecx, [esp + 0xb4]
mov dword [esp + 0xc], ecx
call sym.log._Logger_.output
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xf8], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0xe0]
mov ecx, dword [edx]
call ecx
add esp, 0xe4
ret
mov dword [esp + 0x58], ecx
lea eax, [0x6f6de4]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
call sym.github.com_armon_go_socks5.NewRequest
mov eax, dword [esp + 0xc]
test eax, eax
je 0x61f663
mov ecx, dword [esp + 0x10]
cmp dword [0x85a098], eax
je 0x61f4be
test eax, eax
jmp 0x61f5dc
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x28], eax
mov edx, dword [0x85a09c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
test al, al
je 0x61f5d2
mov eax, dword [esp + 0xec]
test eax, eax
je 0x61f50d
mov eax, dword [eax + 4]
lea ecx, [0x854a50]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.typeAssert
mov eax, dword [esp + 8]
mov dword [esp], eax
mov eax, dword [esp + 0xf0]
mov dword [esp + 4], eax
mov byte [esp + 8], 8
mov dword [esp + 0xc], 0
call sym.github.com_armon_go_socks5.sendReply
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x61f5c6
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
test eax, eax
je 0x61f55a
mov eax, dword [eax + 4]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
lea eax, [0x699187]
mov dword [esp], eax
mov dword [esp + 4], 0x18
lea eax, [esp + 0xac]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0xe0]
mov eax, dword [edx]
call eax
add esp, 0xe4
ret
mov eax, dword [esp + 0x28]
test eax, eax
mov ecx, dword [esp + 0x4c]
jmp 0x61f5dc
mov eax, dword [esp + 0x28]
test eax, eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
je 0x61f5f7
mov eax, dword [eax + 4]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
lea eax, [0x69f3df]
mov dword [esp], eax
mov dword [esp + 4], 0x26
lea eax, [esp + 0xac]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0xe0]
mov eax, dword [edx]
call eax
add esp, 0xe4
ret
mov eax, dword [esp + 8]
test byte [eax], al
mov ecx, dword [0x899508]
test ecx, ecx
jne 0x61f679
mov ecx, dword [esp + 0x58]
jmp 0x61f68a
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x58]
mov dword [edi], ecx
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
mov dword [esp + 0x38], eax
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xec]
mov edx, dword [ecx + 0x1c]
mov ebx, dword [esp + 0xf0]
mov dword [esp], ebx
call edx
lea eax, [0x6f759c]
cmp dword [esp + 4], eax
jne 0x61f742
mov eax, dword [esp + 8]
mov dword [esp + 0xd4], eax
lea ecx, [0x6798a0]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xd4]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov ebp, dword [ecx]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ebx
mov edx, dword [0x899508]
test edx, edx
je 0x61f6fa
call sym.runtime.gcWriteBarrier1
mov dword [edi], ebp
mov dword [eax + 8], ebp
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0x14], ecx
mov ecx, dword [0x899508]
test ecx, ecx
jne 0x61f723
mov ecx, dword [esp + 0xec]
test ecx, ecx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0xec]
jmp 0x61f73d
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ecx, dword [esp + 0x38]
mov edx, dword [ecx + 8]
mov dword [edi + 4], edx
mov edx, dword [esp + 0xec]
test edx, edx
mov dword [ecx + 8], eax
jmp 0x61f751
mov eax, dword [esp + 0xec]
test eax, eax
mov ecx, dword [esp + 0x38]
mov edx, eax
je 0x61f772
mov eax, dword [edx + 4]
lea ecx, [0x854a60]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.typeAssert
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x38]
mov edx, eax
mov eax, dword [esp + 0xe8]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov ecx, dword [esp + 0xf0]
mov dword [esp + 0xc], ecx
call sym.github.com_armon_go_socks5._Server_.handleRequest
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x61f8f8
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
je 0x61f7bf
mov eax, dword [eax + 4]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], ecx
lea eax, [0x69ade8]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
lea eax, [esp + 0xac]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0xe8]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x38]
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
test eax, eax
je 0x61f835
mov ebx, dword [eax + 4]
jmp 0x61f837
mov ebx, eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], edx
lea edi, [esp + 0xb4]
xor eax, eax
call fcn.0046f01a
lea ecx, [sym.github.com_armon_go_socks5._Server_.ServeConn._Logger_.Printf.func4]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xbc], 0xf
lea ecx, [0x69544f]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xc4], 1
mov dword [esp + 0xc8], 1
lea ecx, [esp + 0xd8]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea ecx, [esp + 0xb4]
mov dword [esp + 0xc], ecx
call sym.log._Logger_.output
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xf8], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0xe0]
mov ecx, dword [edx]
call ecx
add esp, 0xe4
ret
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0xe0]
mov eax, dword [edx]
call eax
add esp, 0xe4
ret
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call sym.runtime.convTslice
mov eax, dword [esp + 0xc]
lea ecx, [0x6593c0]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], eax
lea eax, [0x69b4da]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
lea eax, [esp + 0xac]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call sym.fmt.Errorf
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0xe8]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x38]
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
test eax, eax
je 0x61f9cd
mov ebx, dword [eax + 4]
jmp 0x61f9cf
mov ebx, eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], edx
lea edi, [esp + 0xb4]
xor eax, eax
call fcn.0046f01a
lea ecx, [sym.github.com_armon_go_socks5._Server_.ServeConn._Logger_.Printf.func2]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xbc], 0xf
lea ecx, [0x69544f]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xc4], 1
mov dword [esp + 0xc8], 1
lea ecx, [esp + 0x64]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea ecx, [esp + 0xb4]
mov dword [esp + 0xc], ecx
call sym.log._Logger_.output
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xf8], ecx
mov byte [esp + 0x23], 0
mov edx, dword [esp + 0xe0]
mov ecx, dword [edx]
call ecx
add esp, 0xe4
ret
call sym.runtime.morestack_noctxt
jmp sym.github.com_armon_go_socks5._Server_.ServeConn