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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x28]
cmp eax, dword [ecx + 8]
jbe 0x5720f6
sub esp, 0xa8
mov eax, dword [esp + 0xb0]
test eax, eax
jne 0x5720e3
mov eax, 3
lea ecx, [0x5f674c]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xac], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
call dbg.net/http.validMethod
movzx eax, byte [esp + 8]
test al, al
je 0x572041
mov edx, dword [0x71101c]
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov eax, dword [esp + 0xb8]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0xc]
test ebx, ebx
jne 0x572021
mov dword [esp + 0x28], eax
lea eax, [0x5c8300]
mov dword [esp], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xc0]
mov dword [esp + 8], ecx
call dbg.runtime.assertI2I2
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
movzx edx, byte [esp + 0x14]
test dl, dl
je 0x571fd8
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x28]
mov ebx, dword [edx + 0x18]
mov ebp, dword [edx + 0x14]
mov dword [esp], ebp
mov dword [esp + 4], ebx
call dbg.net/http.removeEmptyPort
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x28]
mov dword [edx + 0x18], eax
mov eax, dword [0x728500]
lea ebx, [edx + 0x14]
test eax, eax
jne 0x571fc7
mov dword [edx + 0x14], ecx
lea eax, [0x5e8a40]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call dbg.runtime.makemap
mov eax, dword [esp + 0x14]
mov dword [esp + 0x60], eax
lea ecx, [0x5ecb00]
mov dword [esp], ecx
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xb0]
mov dword [eax + 4], ecx
mov ecx, dword [0x728500]
test ecx, ecx
jne 0x571fab
mov ecx, dword [esp + 0xac]
mov dword [eax], ecx
test byte [eax], al
mov ecx, dword [0x728500]
lea edx, [eax + 8]
test ecx, ecx
jne 0x571f8e
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov dword [eax + 0x10], 8
mov edx, dword [0x728500]
lea ebx, [eax + 0xc]
test edx, edx
jne 0x571f6f
lea edx, [0x5f72ba]
mov dword [eax + 0xc], edx
mov dword [eax + 0x14], 1
mov dword [eax + 0x18], 1
mov edx, dword [0x728500]
lea ebx, [eax + 0x1c]
test edx, edx
jne 0x571f52
mov edx, dword [esp + 0x60]
mov dword [eax + 0x1c], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 0x20], edx
mov edx, dword [0x728500]
lea ebx, [eax + 0x24]
mov dword [esp + 0x5c], ebx
test edx, edx
jne 0x571f31
mov edx, dword [esp + 0x38]
mov dword [eax + 0x24], edx
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x14]
mov dword [eax + 0x48], edx
mov edx, dword [0x728500]
lea ebp, [eax + 0x44]
test edx, edx
jne 0x571f18
mov dword [eax + 0x44], ecx
mov ecx, dword [esp + 0xbc]
test ecx, ecx
je 0x571f11
je 0x571eec
mov edx, dword [ecx + 0xc]
cmp edx, 0x4128187d
jne 0x571cfb
lea ebp, [0x6e5df0]
cmp ebp, ecx
jne 0x571f07
mov ebp, dword [esp + 0xc0]
jne 0x571cfb
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 4]
mov dword [esp + 0x24], ebx
cmp ecx, ebx
mov edi, ebp
xchg ebp, ebx
setae bl
xchg ebp, ebx
sar ebx, 0x1f
cmp edx, ebx
sete al
and eax, ebp
cmp edx, ebx
setg dl
or edx, eax
test dl, dl
je 0x571cee
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x2c], eax
sar eax, 0x1f
mov dword [ecx + 0x30], eax
mov eax, edi
lea edi, [esp + 0x7c]
mov esi, eax
call fcn.0044c2ce
lea eax, [0x5c6220]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [0x5825f0]
mov dword [eax], ecx
test byte [eax], al
mov ecx, dword [esp + 0x30]
lea edx, [ecx + 0x28]
mov ebx, dword [0x728500]
lea edi, [eax + 4]
test ebx, ebx
jne 0x571caf
lea esi, [esp + 0x7c]
call fcn.0044c2ce
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x28], eax
mov eax, dword [ecx + 0x28]
lea edx, [ecx + 0x28]
test eax, eax
je 0x571c55
mov eax, dword [ecx + 0x30]
mov ebx, dword [ecx + 0x2c]
test eax, eax
sete al
test ebx, ebx
sete bl
and eax, ebx
test al, al
je 0x571c55
lea eax, [0x6e74f0]
mov dword [ecx + 0x20], eax
mov eax, dword [0x728500]
test eax, eax
jne 0x571c79
lea eax, [0x7283c4]
mov dword [ecx + 0x24], eax
lea eax, [0x60911c]
mov dword [ecx + 0x28], eax
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
add esp, 0xa8
ret
mov dword [esp + 0x58], edx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
lea eax, [0x7283c4]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x58]
mov dword [esp], eax
lea eax, [0x60911c]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0x30]
jmp 0x571c55
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], edx
lea eax, [0x5d4f00]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x7c]
mov dword [esp + 8], eax
call dbg.runtime.typedmemmove
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0x30]
jmp 0x571c10
mov edx, dword [esp + 0x24]
sub edx, ecx
mov eax, edx
jmp 0x571bb2
cmp edx, 0xa5164854
jne 0x571e05
lea ebp, [0x6e59b0]
cmp ebp, ecx
jne 0x571efd
mov ebp, dword [esp + 0xc0]
jne 0x571e05
mov dword [esp + 0x2c], ebp
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov ebx, dword [ebp + 4]
mov edi, ebx
sar ebx, 0x1f
cmp edx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
cmp ecx, edi
setae al
and eax, ebp
cmp edx, ebx
setg dl
or edx, eax
test dl, dl
je 0x571dfc
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x2c], eax
sar eax, 0x1f
mov dword [ecx + 0x30], eax
lea edi, [esp + 0x90]
mov esi, dword [esp + 0x2c]
call fcn.0044c2c4
lea eax, [0x5c61c0]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [0x582530]
mov dword [eax], ecx
test byte [eax], al
mov ecx, dword [esp + 0x30]
lea edx, [ecx + 0x28]
mov ebx, dword [0x728500]
lea edi, [eax + 4]
test ebx, ebx
jne 0x571dba
lea esi, [esp + 0x90]
call fcn.0044c2c4
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x28], eax
jmp 0x571c10
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], edx
lea eax, [0x5d2f00]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x90]
mov dword [esp + 8], eax
call dbg.runtime.typedmemmove
mov eax, dword [esp + 0x48]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0x30]
jmp 0x571c10
sub edi, ecx
mov eax, edi
jmp 0x571d55
cmp edx, 0xe763bb76
jne 0x571eec
lea edx, [0x6e5970]
cmp edx, ecx
jne 0x571ef3
mov ecx, dword [esp + 0xc0]
jne 0x571eec
mov edx, dword [ecx + 0xc]
mov ebp, dword [ecx + 4]
sub ebp, edx
mov dword [eax + 0x2c], ebp
sar ebp, 0x1f
mov dword [eax + 0x30], ebp
mov edx, dword [ecx + 0xc]
mov ebp, dword [ecx]
mov esi, dword [ecx + 4]
mov ecx, dword [ecx + 8]
cmp edx, esi
ja 0x5720ef
mov dword [esp + 0x24], edx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ecx
lea eax, [0x5c5f20]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [0x582440]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub ecx, edx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x1c]
sub ecx, edx
mov dword [eax + 0xc], ecx
mov ebx, dword [esp + 0x30]
lea ebp, [ebx + 0x28]
mov esi, dword [0x728500]
lea edi, [eax + 4]
neg ecx
sar ecx, 0x1f
and edx, ecx
mov ecx, dword [esp + 0x44]
add ecx, edx
test esi, esi
jne 0x571ebe
mov dword [eax + 4], ecx
mov dword [ebx + 0x28], eax
mov ecx, ebx
jmp 0x571c10
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ebp
mov dword [esp], edi
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov ebx, dword [esp + 0x30]
jmp 0x571eb7
mov ecx, eax
jmp 0x571c10
mov ecx, 0
jmp 0x571e26
mov ebp, 0
jmp 0x571d1c
mov ebp, 0
jmp 0x571b79
mov ecx, eax
jmp 0x571c55
mov dword [esp], ebp
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x5c]
jmp 0x571b40
mov dword [esp], ebx
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x5c]
jmp 0x571b23
mov dword [esp], ebx
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
jmp 0x571b00
mov dword [esp], ebx
lea eax, [0x5f72ba]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
jmp 0x571ada
mov dword [esp], edx
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
jmp 0x571ab9
mov dword [esp], eax
mov ecx, dword [esp + 0xac]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x30]
jmp 0x571a9f
mov dword [esp], ebx
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
jmp 0x571a32
mov edx, dword [esp + 0xbc]
test edx, edx
je 0x5719f1
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], edx
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x68], eax
lea ecx, [0x6e7470]
mov dword [esp], ecx
lea ecx, [esp + 0x64]
mov dword [esp + 4], ecx
call dbg.runtime.convT2I
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
jmp 0x5719f1
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], ebx
mov dword [esp + 0xcc], ecx
add esp, 0xa8
ret
mov eax, dword [esp + 0xac]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea eax, [0x5be160]
mov dword [esp], eax
lea eax, [esp + 0x6c]
mov dword [esp + 4], eax
call dbg.runtime.convT2Estring
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
lea eax, [0x5fd44a]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
lea eax, [esp + 0x74]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call dbg.fmt.Errorf
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], eax
add esp, 0xa8
ret
mov ecx, dword [esp + 0xac]
jmp 0x57195a
call dbg.runtime.panicslice
ud2
call dbg.runtime.morestack_noctxt
jmp dbg.net/http.NewRequest