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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x2c]
cmp eax, dword [ecx + 8]
jbe 0x58b260
sub esp, 0xac
mov eax, dword [esp + 0xb4]
test eax, eax
jne 0x58b24d
mov eax, 3
lea ecx, [0x61af18]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb0], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
call dbg.net/http.validMethod
movzx eax, byte [esp + 8]
test al, al
je 0x58b1ab
mov edx, dword [0x7485a4]
mov eax, dword [esp + 0xb8]
mov dword [esp], eax
mov eax, dword [esp + 0xbc]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
test ecx, ecx
jne 0x58b18b
mov dword [esp + 0x28], eax
lea eax, [0x5ead00]
mov dword [esp], eax
mov eax, dword [esp + 0xc0]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xc4]
mov dword [esp + 8], ecx
call dbg.runtime.assertI2I2
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test al, al
je 0x58b142
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
mov eax, dword [esp + 0x28]
mov ebx, dword [eax + 0x18]
mov ebp, dword [eax + 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 [0x75f950]
lea ebx, [edx + 0x14]
test eax, eax
jne 0x58b131
mov dword [edx + 0x14], ecx
call dbg.runtime.makemap_small
mov eax, dword [esp]
mov dword [esp + 0x64], eax
lea ecx, [0x6106e0]
mov dword [esp], ecx
call dbg.runtime.newobject
mov eax, dword [esp + 4]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0xb4]
mov dword [eax + 4], ecx
mov ecx, dword [0x75f950]
lea edx, [eax + 8]
test ecx, ecx
jne 0x58b0f9
mov ecx, dword [esp + 0xb0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov dword [eax + 0x10], 8
mov edx, dword [0x75f950]
lea ebx, [eax + 0xc]
test edx, edx
jne 0x58b0da
lea edx, [0x61bbb6]
mov dword [eax + 0xc], edx
mov dword [eax + 0x14], 1
mov dword [eax + 0x18], 1
mov edx, dword [0x75f950]
lea ebx, [eax + 0x1c]
test edx, edx
jne 0x58b0bd
mov edx, dword [esp + 0x64]
mov dword [eax + 0x1c], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 0x20], edx
mov edx, dword [0x75f950]
lea ebx, [eax + 0x24]
mov dword [esp + 0x60], ebx
test edx, edx
jne 0x58b09c
mov edx, dword [esp + 0x38]
mov dword [eax + 0x24], edx
mov edx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [eax + 0x48], ecx
mov ecx, dword [0x75f950]
lea ebp, [eax + 0x44]
test ecx, ecx
jne 0x58b083
mov dword [eax + 0x44], edx
mov ecx, dword [esp + 0xc0]
test ecx, ecx
je 0x58b07c
je 0x58b057
mov edx, dword [ecx + 8]
cmp edx, 0x4128187d
jne 0x58ae68
lea ebp, [0x64ed20]
cmp ebp, ecx
jne 0x58b072
mov ebp, dword [esp + 0xc4]
jne 0x58ae68
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 0x58ae5b
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 + 0x80]
mov esi, eax
call fcn.0044ca0e
lea eax, [0x5e8560]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [0x59bf60]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
lea edx, [ecx + 0x28]
mov ebx, dword [0x75f950]
lea edi, [eax + 4]
test ebx, ebx
jne 0x58ae19
lea esi, [esp + 0x80]
call fcn.0044ca0e
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x28], eax
mov eax, dword [ecx + 0x28]
lea edx, [ecx + 0x28]
test eax, eax
je 0x58adbf
mov eax, dword [ecx + 0x30]
mov ebx, dword [ecx + 0x2c]
test ebx, ebx
sete bl
test eax, eax
sete al
and eax, ebx
test al, al
je 0x58adbf
lea eax, [0x650040]
mov dword [ecx + 0x20], eax
mov eax, dword [0x75f950]
test eax, eax
jne 0x58ade3
lea eax, [0x75f808]
mov dword [ecx + 0x24], eax
lea eax, [0x62fedc]
mov dword [ecx + 0x28], eax
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
add esp, 0xac
ret
mov dword [esp + 0x5c], edx
mov eax, dword [esp + 0x60]
mov dword [esp], eax
lea eax, [0x75f808]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
lea eax, [0x62fedc]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0x30]
jmp 0x58adbf
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], edx
lea eax, [0x5f8420]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x80]
mov dword [esp + 8], eax
call dbg.runtime.typedmemmove
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0x30]
jmp 0x58ad7a
mov edx, dword [esp + 0x24]
sub edx, ecx
mov eax, edx
jmp 0x58ad18
cmp edx, 0xa5164854
jne 0x58af70
lea ebp, [0x64e8a0]
cmp ebp, ecx
jne 0x58b068
mov ebp, dword [esp + 0xc4]
jne 0x58af70
mov dword [esp + 0x2c], ebp
mov ecx, dword [ebp + 0xc]
mov edx, dword [method.str]
mov ebx, dword [ebp + 4]
mov edi, ebx
sar ebx, 0x1f
cmp ecx, edi
xchg ebp, ebx
setae bl
xchg ebp, ebx
cmp edx, ebx
sete al
and eax, ebp
cmp edx, ebx
setg dl
or edx, eax
test dl, dl
je 0x58af67
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x2c], eax
sar eax, 0x1f
mov dword [ecx + 0x30], eax
lea edi, [esp + 0x94]
mov esi, dword [esp + 0x2c]
call fcn.0044ca04
lea eax, [0x5e8500]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [0x59bea0]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
lea edx, [ecx + 0x28]
mov ebx, dword [0x75f950]
lea edi, [eax + 4]
test ebx, ebx
jne 0x58af25
lea esi, [esp + 0x94]
call fcn.0044ca04
mov ecx, dword [esp + 0x30]
mov dword [ecx + 0x28], eax
jmp 0x58ad7a
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], edx
lea eax, [0x5f61a0]
mov dword [esp], eax
mov dword [esp + 4], edi
lea eax, [esp + 0x94]
mov dword [esp + 8], eax
call dbg.runtime.typedmemmove
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov ecx, dword [esp + 0x30]
jmp 0x58ad7a
sub edi, ecx
mov eax, edi
jmp 0x58aec2
cmp edx, 0xe763bb76
jne 0x58b057
lea edx, [0x64e860]
cmp edx, ecx
jne 0x58b05e
mov ecx, dword [esp + 0xc4]
jne 0x58b057
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]
mov ebp, dword [ecx + 0xc]
mov esi, dword [ecx + 4]
mov ecx, dword [ecx + 8]
cmp ebp, esi
ja 0x58b259
mov dword [esp + 0x48], edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ecx
lea eax, [0x5e8200]
mov dword [esp], eax
call dbg.runtime.newobject
mov eax, dword [esp + 4]
lea ecx, [0x59bdb0]
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 [0x75f950]
lea edi, [eax + 4]
neg ecx
sar ecx, 0x1f
and edx, ecx
mov ecx, dword [esp + 0x48]
add ecx, edx
test esi, esi
jne 0x58b029
mov dword [eax + 4], ecx
mov dword [ebx + 0x28], eax
mov ecx, ebx
jmp 0x58ad7a
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ebp
mov dword [esp], edi
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x40]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov ebx, dword [esp + 0x30]
jmp 0x58b022
mov ecx, eax
jmp 0x58ad7a
mov ecx, 0
jmp 0x58af91
mov ebp, 0
jmp 0x58ae89
mov ebp, 0
jmp 0x58acdf
mov ecx, eax
jmp 0x58adbf
mov dword [esp], ebp
mov dword [esp + 4], edx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x60]
jmp 0x58aca6
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 + 0x60]
jmp 0x58ac89
mov dword [esp], ebx
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
jmp 0x58ac66
mov dword [esp], ebx
lea eax, [0x61bbb6]
mov dword [esp + 4], eax
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
jmp 0x58ac40
mov dword [esp + 0x3c], edx
mov dword [esp], eax
mov ecx, dword [esp + 0xb0]
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
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 0x58ac1f
mov dword [esp], ebx
mov dword [esp + 4], ecx
call dbg.runtime.writebarrierptr
jmp 0x58abd2
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x58ab91
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x6c], ecx
lea edx, [0x64ffc0]
mov dword [esp], edx
lea edx, [esp + 0x68]
mov dword [esp + 4], edx
call dbg.runtime.convT2I
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
jmp 0x58ab91
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], ebx
add esp, 0xac
ret
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
lea eax, [0x5df7c0]
mov dword [esp], eax
lea eax, [esp + 0x70]
mov dword [esp + 4], eax
call dbg.runtime.convT2Estring
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
lea eax, [0x6233b4]
mov dword [esp], eax
mov dword [esp + 4], 0x1b
lea eax, [esp + 0x78]
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 + 0xc8], 0
mov dword [esp + 0xcc], ecx
mov dword [esp + 0xd0], eax
add esp, 0xac
ret
mov ecx, dword [esp + 0xb0]
jmp 0x58aafa
call dbg.runtime.panicslice
ud2
call dbg.runtime.morestack_noctxt
jmp dbg.net/http.NewRequest