Function at 0x582ee0
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 0x5836b6
sub esp, 0xa8
mov eax, dword [esp + 0xb0]
test eax, eax
jne 0x5836a3
mov eax, 3
lea ecx, [0x6457eb]
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 0x583601
mov edx, dword [0x783130]
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 0x5835e1
mov dword [esp + 0x28], eax
lea eax, [0x610b80]
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 0x583598
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 [0x79b700]
lea ebx, [edx + 0x14]
test eax, eax
jne 0x583587
mov dword [edx + 0x14], ecx
lea eax, [0x635da0]
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, [0x63a940]
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 [0x79b700]
test ecx, ecx
jne 0x58356b
mov ecx, dword [esp + 0xac]
mov dword [eax], ecx
test byte [eax], al
mov ecx, dword [0x79b700]
lea edx, [eax + 8]
test ecx, ecx
jne 0x58354e
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov dword [eax + 0x10], 8
mov edx, dword [0x79b700]
lea ebx, [eax + 0xc]
test edx, edx
jne 0x58352f
lea edx, [0x6464a5]
mov dword [eax + 0xc], edx
mov dword [eax + 0x14], 1
mov dword [eax + 0x18], 1
mov edx, dword [0x79b700]
lea ebx, [eax + 0x1c]
test edx, edx
jne 0x583512
mov edx, dword [esp + 0x60]
mov dword [eax + 0x1c], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 0x20], edx
mov edx, dword [0x79b700]
lea ebx, [eax + 0x24]
mov dword [esp + 0x5c], ebx
test edx, edx
jne 0x5834f1
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 [0x79b700]
lea ebp, [eax + 0x44]
test edx, edx
jne 0x5834d8
mov dword [eax + 0x44], ecx
mov ecx, dword [esp + 0xbc]
test ecx, ecx
je 0x5834d1
je 0x5834ac
mov edx, dword [ecx + 0xc]
cmp edx, 0x4128187d
jne 0x5832bb
lea ebp, [0x7581f0]
cmp ebp, ecx
jne 0x5834c7
mov ebp, dword [esp + 0xc0]
jne 0x5832bb
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 0x5832ae
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.0044c52e
lea eax, [0x60e6e0]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [0x59fe60]
mov dword [eax], ecx
test byte [eax], al
mov ecx, dword [esp + 0x30]
lea edx, [ecx + 0x28]
mov ebx, dword [0x79b700]
lea edi, [eax + 4]
test ebx, ebx
jne 0x58326f
lea esi, [esp + 0x7c]
call fcn.0044c52e
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x28], eax
mov eax, dword [ecx + 0x28]
lea edx, [ecx + 0x28]
test eax, eax
je 0x583215
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 0x583215
lea eax, [0x759c30]
mov dword [ecx + 0x20], eax
mov eax, dword [0x79b700]
test eax, eax
jne 0x583239
lea eax, [0x79b59c]
mov dword [ecx + 0x24], eax
lea eax, [0x65ada0]
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, [0x79b59c]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x58]
mov dword [esp], eax
lea eax, [0x65ada0]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0x30]
jmp 0x583215
mov dword [esp + 0x54], eax
mov dword [esp + 0x50], edx
lea eax, [0x61fa60]
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 0x5831d0
mov edx, dword [esp + 0x24]
sub edx, ecx
mov eax, edx
jmp 0x583172
cmp edx, 0xa5164854
jne 0x5833c5
lea ebp, [0x757c90]
cmp ebp, ecx
jne 0x5834bd
mov ebp, dword [esp + 0xc0]
jne 0x5833c5
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 0x5833bc
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.0044c524
lea eax, [0x60e680]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [0x59fda0]
mov dword [eax], ecx
test byte [eax], al
mov ecx, dword [esp + 0x30]
lea edx, [ecx + 0x28]
mov ebx, dword [0x79b700]
lea edi, [eax + 4]
test ebx, ebx
jne 0x58337a
lea esi, [esp + 0x90]
call fcn.0044c524
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x28], eax
jmp 0x5831d0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], edx
lea eax, [0x61d260]
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 0x5831d0
sub edi, ecx
mov eax, edi
jmp 0x583315
cmp edx, 0xe763bb76
jne 0x5834ac
lea edx, [0x757c50]
cmp edx, ecx
jne 0x5834b3
mov ecx, dword [esp + 0xc0]
jne 0x5834ac
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 0x5836af
mov dword [esp + 0x24], edx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ecx
lea eax, [0x60e2c0]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [0x59fcb0]
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 [0x79b700]
lea edi, [eax + 4]
neg ecx
sar ecx, 0x1f
and edx, ecx
mov ecx, dword [esp + 0x44]
add ecx, edx
test esi, esi
jne 0x58347e
mov dword [eax + 4], ecx
mov dword [ebx + 0x28], eax
mov ecx, ebx
jmp 0x5831d0
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 0x583477
mov ecx, eax
jmp 0x5831d0
mov ecx, 0
jmp 0x5833e6
mov ebp, 0
jmp 0x5832dc
mov ebp, 0
jmp 0x583139
mov ecx, eax
jmp 0x583215
mov dword [esp], ebp
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x5c]
jmp 0x583100
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 0x5830e3
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 0x5830c0
mov dword [esp], ebx
lea eax, [0x6464a5]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
jmp 0x58309a
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 0x583079
mov dword [esp], eax
mov ecx, dword [esp + 0xac]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x30]
jmp 0x58305f
mov dword [esp], ebx
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
jmp 0x582ff2
mov edx, dword [esp + 0xbc]
test edx, edx
je 0x582fb1
mov dword [esp + 0x68], 0
mov dword [esp + 0x64], edx
mov eax, dword [esp + 0xc0]
mov dword [esp + 0x68], eax
lea ecx, [0x759ab0]
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 0x582fb1
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, [0x604c20]
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, [0x64d88a]
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 0x582f1a
call dbg.runtime.panicslice
ud2
call dbg.runtime.morestack_noctxt
jmp dbg.net/http.NewRequest