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

Disassembly:
mov ecx, dword [0x6e9808]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x24]
cmp eax, dword [ecx + 8]
jbe 0x541028
sub esp, 0xa4
lea eax, [0x55df60]
mov dword [esp], eax
mov dword [esp + 4], 1
call sym.runtime.makechan
mov eax, dword [esp + 0xa8]
test byte [eax], al
mov ecx, dword [0x6e9960]
mov edx, dword [esp + 8]
test ecx, ecx
je 0x540a58
call sym.runtime.gcWriteBarrier2
mov dword [edi], edx
mov ecx, dword [eax + 0x4c]
mov dword [edi + 4], ecx
mov dword [eax + 0x4c], edx
lea ecx, [0x5678c0]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [sym.net_http._transferWriter_.probeRequestBody.func1]
mov dword [eax], ecx
mov ecx, dword [0x6e9960]
test ecx, ecx
jne 0x540a88
mov ecx, dword [esp + 0xa8]
jmp 0x540a96
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0xa8]
mov dword [edi], ecx
mov dword [esp + 0x40], eax
mov dword [eax + 4], ecx
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x3c], edx
mov ebx, dword [ecx + 8]
mov dword [esp + 0x30], ebx
lea ebp, [0x56ba00]
mov dword [esp], ebp
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [sym.net_http._transferWriter_.probeRequestBody.gowrap1]
mov dword [eax], ecx
mov ecx, dword [0x6e9960]
test ecx, ecx
jne 0x540ad9
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
jmp 0x540aeb
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0x40]
mov dword [edi], ecx
mov edx, dword [esp + 0x3c]
mov dword [edi + 4], edx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [esp], eax
call sym.runtime.newproc
mov dword [esp], 0xbebc200
mov dword [esp + 4], 0
call sym.time.NewTimer
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0xa8]
mov edx, dword [ecx + 0x4c]
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov byte [esp + 0xa0], 0
mov ebx, dword [eax]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x84], edx
lea edx, [esp + 0x94]
mov dword [esp + 0x88], edx
mov dword [esp + 0x7c], ebx
lea edx, [esp + 0x7c]
mov dword [esp], edx
lea edx, [esp + 0x24]
mov dword [esp + 4], edx
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 2
mov byte [esp + 0x14], 1
call sym.runtime.selectgo
mov eax, dword [esp + 0x18]
test eax, eax
je 0x540f33
mov eax, dword [esp + 0x34]
movzx ecx, byte [eax + 4]
movzx edx, byte [esp + 0xa0]
nop
test cl, cl
je 0x54100f
mov byte [esp + 0x23], dl
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x3c], ebx
mov dword [esp], eax
call sym.time.stopTimer
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x540c59
mov ecx, dword [esp + 0x30]
cmp dword [0x6c4b98], ecx
je 0x540c2e
xor edx, edx
jmp 0x540c5f
mov eax, dword [0x6c4b9c]
mov dword [esp], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call sym.runtime.ifaceeq
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x30]
mov edx, eax
mov eax, dword [esp + 0x2c]
jmp 0x540c5f
mov ecx, dword [esp + 0x30]
xor edx, edx
test dl, dl
je 0x540c9f
mov eax, dword [esp + 0xa8]
mov dword [eax + 8], 0
mov ecx, dword [0x6e9960]
test ecx, ecx
je 0x540c85
mov ecx, dword [eax + 0xc]
call sym.runtime.gcWriteBarrier1
mov dword [edi], ecx
mov dword [eax + 0xc], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
jmp 0x541008
cmp eax, 1
jne 0x540ecd
test ecx, ecx
je 0x540dde
lea eax, [0x56c4c0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 0x23]
mov byte [eax], cl
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
lea ecx, [0x5ca990]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
lea eax, [0x56e480]
mov dword [esp], eax
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
call sym.runtime.convT
mov eax, dword [esp + 8]
lea ecx, [0x5ca9a0]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], eax
lea eax, [0x5672c0]
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], 2
lea eax, [esp + 0x5c]
mov dword [esp + 0xc], eax
call sym.runtime.makeslicecopy
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
lea ecx, [0x568480]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 2
mov dword [eax + 8], 2
mov ecx, dword [0x6e9960]
test ecx, ecx
jne 0x540db0
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0xa8]
jmp 0x540dcb
call sym.runtime.gcWriteBarrier3
mov ecx, dword [esp + 0x38]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov edx, dword [esp + 0xa8]
mov ebx, dword [edx + 0xc]
mov dword [edi + 8], ebx
mov dword [eax], ecx
lea ecx, [0x5ca9e0]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
jmp 0x541008
lea eax, [0x56c4c0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
movzx ecx, byte [esp + 0x23]
mov byte [eax], cl
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea ecx, [0x5ca990]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edx
lea ecx, [0x5672c0]
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
lea ecx, [esp + 0x44]
mov dword [esp + 0xc], ecx
call sym.runtime.makeslicecopy
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
lea ecx, [0x568480]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 2
mov dword [eax + 8], 2
mov ecx, dword [0x6e9960]
test ecx, ecx
jne 0x540e9f
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0xa8]
jmp 0x540eba
call sym.runtime.gcWriteBarrier3
mov ecx, dword [esp + 0x38]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov edx, dword [esp + 0xa8]
mov ebx, dword [edx + 0xc]
mov dword [edi + 8], ebx
mov dword [eax], ecx
lea ecx, [0x5ca9e0]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
jmp 0x541008
test ecx, ecx
je 0x541008
mov dword [esp + 0x8c], ecx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x90], eax
lea eax, [0x56e480]
mov dword [esp], eax
lea eax, [esp + 0x8c]
mov dword [esp + 4], eax
call sym.runtime.convT
mov eax, dword [esp + 8]
lea ecx, [0x5ca9a0]
mov edx, dword [esp + 0xa8]
mov dword [edx + 8], ecx
mov ecx, dword [0x6e9960]
test ecx, ecx
je 0x540f2b
call sym.runtime.gcWriteBarrier2
mov dword [edi], eax
mov ecx, dword [edx + 0xc]
mov dword [edi + 4], ecx
mov dword [edx + 0xc], eax
jmp 0x541008
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x5ca9b0]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x70], eax
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
lea ecx, [0x5672c0]
mov dword [esp], ecx
mov dword [esp + 4], 2
mov dword [esp + 8], 2
lea ecx, [esp + 0x6c]
mov dword [esp + 0xc], ecx
call sym.runtime.makeslicecopy
mov eax, dword [esp + 0x10]
mov dword [esp + 0x38], eax
lea ecx, [0x568480]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [eax + 4], 2
mov dword [eax + 8], 2
mov ecx, dword [0x6e9960]
test ecx, ecx
jne 0x540fdb
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0xa8]
jmp 0x540ff6
call sym.runtime.gcWriteBarrier3
mov ecx, dword [esp + 0x38]
mov dword [edi], ecx
mov dword [edi + 4], eax
mov edx, dword [esp + 0xa8]
mov ebx, dword [edx + 0xc]
mov dword [edi + 8], ebx
mov dword [eax], ecx
lea ecx, [0x5ca9e0]
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
mov byte [edx + 0x48], 1
add esp, 0xa4
ret
lea eax, [0x561840]
mov dword [esp], eax
lea eax, [0x5c9f98]
mov dword [esp + 4], eax
call sym.runtime.gopanic
nop
call sym.runtime.morestack_noctxt
jmp sym.net_http._transferWriter_.probeRequestBody