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

Disassembly:
mov ecx, dword [0x8d0454]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x24]
cmp eax, dword [ecx + 8]
jbe 0x6136cf
sub esp, 0xa4
lea edi, [esp + 0x68]
lea esi, [esp + 0xb4]
call fcn.0046895e
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
test eax, 0x80000000
je 0x6131e1
shl eax, 1
mov edx, ecx
shl ecx, 1
mov ebx, edx
shr edx, 0x1f
or edx, eax
mov eax, edx
shl edx, 1
shr ecx, 0x1f
or edx, ecx
shr eax, 0x1f
add edx, 0xd7b17f80
adc eax, 0xd
jmp 0x6131eb
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov ebx, ecx
test eax, eax
sete al
test edx, edx
sete cl
and eax, ecx
test al, al
je 0x613224
test ebx, 0x3fffffff
jne 0x613224
lea eax, [0x6d9a90]
mov dword [esp + 0xc8], eax
lea eax, [0x6d9a3c]
mov dword [esp + 0xcc], eax
add esp, 0xa4
ret
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 8], ecx
call sym.net_http.knownRoundTripperImpl
mov eax, dword [esp + 0xa8]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x61325c
mov edx, dword [eax + 0x7c]
jmp 0x613268
lea ecx, [0x728058]
lea edx, [0x8d0300]
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], ecx
mov ebx, dword [eax + 0x70]
mov dword [esp + 0x5c], ebx
test ebx, ebx
jne 0x61328a
movzx ebp, byte [esp + 0xc]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x61358d
lea edi, [esp]
lea esi, [esp + 0xb4]
call fcn.0046895e
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
call sym.net_http.timeBeforeContextDeadline
movzx eax, byte [esp + 0x1c]
test al, al
jne 0x6132b7
xor edx, edx
jmp 0x613328
lea edi, [esp + 0x7c]
lea esi, [esp + 0xb4]
call fcn.0046895e
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
lea edi, [esp + 8]
lea esi, [esp + 0x7c]
call fcn.0046895e
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call sym.context.WithDeadlineCause
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0xa8]
mov dword [ebx + 0x78], eax
mov eax, dword [0x8d0720]
test eax, eax
je 0x613325
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx + 0x7c]
mov dword [edi + 4], eax
mov dword [ebx + 0x7c], ecx
mov dword [esp + 0x40], edx
lea eax, [0x67be40]
mov dword [esp], eax
mov dword [esp + 4], 0
call sym.runtime.makechan
mov eax, dword [0x8d0720]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x613359
mov eax, dword [esp + 0xa8]
jmp 0x61336d
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [esp + 0xa8]
mov edx, dword [eax + 0x70]
mov dword [edi + 4], edx
mov dword [esp + 0x44], ecx
mov dword [eax + 0x70], ecx
lea edx, [0x696f40]
mov dword [esp], edx
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [sym.net_http.setRequestCancel.func2]
mov dword [eax], ecx
mov ecx, dword [0x8d0720]
test ecx, ecx
jne 0x61339e
mov ecx, dword [esp + 0x44]
jmp 0x6133a9
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x44]
mov dword [edi], ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0xac]
mov dword [eax + 8], ecx
mov ecx, dword [0x8d0720]
test ecx, ecx
jne 0x6133d0
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xa8]
jmp 0x6133e8
call sym.runtime.gcWriteBarrier2
mov ecx, dword [esp + 0xb0]
mov dword [edi], ecx
mov edx, dword [esp + 0xa8]
mov dword [edi + 4], edx
mov dword [esp + 0x58], eax
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
lea ecx, [0x67be40]
mov dword [esp], ecx
mov dword [esp + 4], 0
call sym.runtime.makechan
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
lea ecx, [0x693400]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x64], eax
lea ecx, [0x696fa0]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [sym.net_http.setRequestCancel.func3]
mov dword [eax], ecx
mov ecx, dword [0x8d0720]
test ecx, ecx
jne 0x613458
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
jmp 0x613471
call sym.runtime.gcWriteBarrier3
mov ecx, dword [esp + 0x64]
mov dword [edi], ecx
mov edx, dword [esp + 0x3c]
mov dword [edi + 4], edx
mov ebx, dword [esp + 0x40]
mov dword [edi + 8], ebx
mov dword [esp + 0x54], eax
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
lea edi, [esp]
lea esi, [esp + 0xb4]
call fcn.0046895e
call sym.time.Until
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 4], eax
mov dword [esp], ecx
call sym.time.NewTimer
mov eax, dword [esp + 8]
mov dword [esp + 0x38], eax
lea ecx, [0x6940c0]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x60], eax
lea ecx, [0x6a22e0]
mov dword [esp], ecx
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [sym.net_http.setRequestCancel.func4]
mov dword [eax], ecx
mov ecx, dword [0x8d0720]
test ecx, ecx
jne 0x6134fe
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x60]
mov esi, dword [esp + 0x3c]
jmp 0x613525
call sym.runtime.gcWriteBarrier5
mov ecx, dword [esp + 0x5c]
mov dword [edi], ecx
mov edx, dword [esp + 0x58]
mov dword [edi + 4], edx
mov ebx, dword [esp + 0x38]
mov dword [edi + 8], ebx
mov ebp, dword [esp + 0x60]
mov dword [edi + 0xc], ebp
mov esi, dword [esp + 0x3c]
mov dword [edi + 0x10], esi
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebp
mov dword [eax + 0x14], esi
mov dword [esp], eax
call sym.runtime.newproc
lea eax, [0x68bbc0]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [sym.sync_atomic._Bool_.Load_fm]
mov dword [eax], ecx
mov ecx, dword [0x8d0720]
test ecx, ecx
jne 0x613566
mov ecx, dword [esp + 0x60]
jmp 0x613571
call sym.runtime.gcWriteBarrier1
mov ecx, dword [esp + 0x60]
mov dword [edi], ecx
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
add esp, 0xa4
ret
lea edi, [esp]
lea esi, [esp + 0xb4]
call fcn.0046895e
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
call sym.net_http.timeBeforeContextDeadline
movzx eax, byte [esp + 0x1c]
test al, al
je 0x6136ae
lea edi, [esp + 0x90]
lea esi, [esp + 0xb4]
call fcn.0046895e
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
lea edi, [esp + 8]
lea esi, [esp + 0x90]
call fcn.0046895e
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call sym.context.WithDeadlineCause
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x50], edx
mov ebx, dword [esp + 0xa8]
mov dword [ebx + 0x78], eax
mov eax, dword [0x8d0720]
test eax, eax
je 0x613632
call sym.runtime.gcWriteBarrier2
mov dword [edi], ecx
mov eax, dword [ebx + 0x7c]
mov dword [edi + 4], eax
mov dword [ebx + 0x7c], ecx
lea eax, [0x68b800]
mov dword [esp], eax
call sym.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [sym.net_http.setRequestCancel.func1]
mov dword [eax], ecx
mov ecx, dword [0x8d0720]
lea edi, [eax + 4]
test ecx, ecx
je 0x613689
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], edi
lea eax, [0x6bbc40]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0xb4]
mov dword [esp + 8], eax
call sym.runtime.wbMove
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x48]
lea esi, [esp + 0xb4]
call fcn.0046895e
mov ecx, dword [esp + 0x50]
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
add esp, 0xa4
ret
lea eax, [0x6d9a90]
mov dword [esp + 0xc8], eax
lea eax, [0x6d9a3c]
mov dword [esp + 0xcc], eax
add esp, 0xa4
ret
call sym.runtime.morestack_noctxt
jmp sym.net_http.setRequestCancel