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

Disassembly:
mov ecx, dword [0x911770]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x3c]
cmp eax, dword [ecx + 8]
jbe 0x58191a
sub esp, 0xbc
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.00471f1b
mov ecx, dword [esp + 0xc0]
mov dword [esp], ecx
mov edx, dword [esp + 0xc4]
mov dword [esp + 4], edx
mov byte [esp + 8], 0x25
call sym.internal_bytealg.IndexByteString
mov ecx, dword [esp + 0xc]
cmp ecx, 0xffffffff
je 0x580cd9
mov edx, dword [esp + 0xc4]
cmp edx, ecx
jb 0x581914
lea eax, [ecx + 1]
cmp edx, eax
jb 0x58190d
mov ebx, edx
sub edx, ecx
lea ebp, [edx - 1]
mov esi, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
mov eax, ebx
mov ebx, dword [esp + 0xc0]
add ebp, ebx
cmp edx, 1
jne 0x580ced
lea edi, [esp + 0xa4]
xor eax, eax
call fcn.00471f1a
mov dword [esp + 0xa4], ebx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0xa8], ecx
lea ecx, [0x6f3a4b]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], 0x1f
lea edi, [esp + 0xc8]
call fcn.00471f1b
lea ecx, [0x6c9ae0]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x757f10]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
add esp, 0xbc
ret
mov eax, dword [esp + 0xc4]
mov ebx, dword [esp + 0xc0]
mov ecx, eax
xor esi, esi
xor ebp, ebp
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
cmp ecx, 2
jl 0x580dc9
cmp byte [ebx], 0x3a
jne 0x580dbe
cmp byte [ebx + 1], 0x3a
jne 0x580db3
lea edx, [ecx - 2]
mov edi, edx
neg edx
sar edx, 0x1f
and edx, 2
add edx, ebx
cmp ecx, 2
je 0x580d44
xor ecx, ecx
jmp 0x580dd2
mov ecx, dword [0x8f1428]
mov dword [esp + 0x88], ecx
lea edi, [esp]
xor eax, eax
call fcn.00471f1b
mov ecx, dword [esp + 0x88]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], esi
call sym.net_netip.Addr.WithZone
lea edi, [esp + 0x8c]
lea esi, [esp + 0x1c]
call fcn.004723fe
lea edi, [esp + 0xc8]
lea esi, [esp + 0x8c]
call fcn.004723fe
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
add esp, 0xbc
ret
mov edi, ecx
mov edx, ebx
mov ecx, 0xffffffff
jmp 0x580dd2
mov edi, ecx
mov edx, ebx
mov ecx, 0xffffffff
jmp 0x580dd2
mov edi, ecx
mov edx, ebx
mov ecx, 0xffffffff
mov dword [esp + 0x50], esi
mov dword [esp + 0x80], ebp
mov dword [esp + 0x70], eax
xor eax, eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x70]
jmp 0x580e05
mov ebx, dword [esp + 0x5c]
mov ebx, dword [esp + 0xc0]
mov edi, ecx
mov ecx, edx
mov edx, ebp
mov ebp, dword [esp + 0x80]
mov ebp, dword [esp + 0x5c]
cmp ebp, 0x10
jge 0x580f07
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x68]
jmp 0x5812c1
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x50]
test ebp, ebp
je 0x58185e
cmp edi, ebp
jle 0x580e5c
jbe 0x581904
lea eax, [edx + ebp]
cmp byte [eax], 0x2e
je 0x581463
mov eax, dword [esp + 0xc4]
mov ebx, dword [esp + 0x64]
shr ebx, 8
mov ebp, dword [esp + 0x5c]
mov byte [esp + ebp + 0x30], bl
mov ebx, dword [esp + 0x64]
mov byte [esp + ebp + 0x31], bl
mov ebx, dword [esp + 0x58]
cmp edi, ebx
jb 0x5818f4
sub edi, ebx
mov dword [esp + 0x54], edi
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, ebx
lea ebx, [ebp + 2]
mov dword [esp + 0x5c], ebx
lea ebp, [edx + edi]
mov ebx, dword [esp + 0x54]
test ebx, ebx
je 0x581848
cmp byte [ebp], 0x3a
jne 0x5817b4
cmp ebx, 1
je 0x581720
lea ebp, [ebx - 1]
lea edx, [edx + edi + 1]
test ebp, ebp
jbe 0x5818eb
cmp byte [edx], 0x3a
jne 0x580efa
test ecx, ecx
jge 0x58168c
lea ebp, [ebx - 2]
mov ecx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, 1
add ebp, edx
cmp ebx, 2
je 0x581676
mov edx, dword [esp + 0x5c]
jmp 0x580ded
mov ecx, ebp
mov ebp, edx
mov edx, dword [esp + 0x60]
jmp 0x580ded
test edi, edi
jne 0x58102a
cmp ebp, 0x10
jge 0x580fa3
test ecx, ecx
jl 0x580f24
lea ebx, [ebp - 1]
jmp 0x58122e
lea edi, [esp + 0xa4]
xor eax, eax
call fcn.00471f1a
mov dword [esp + 0xa4], ebx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0xa8], ecx
lea ecx, [0x6f0234]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], 0x18
lea edi, [esp + 0xc8]
call fcn.00471f1b
lea ecx, [0x6c9ae0]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x757f10]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
add esp, 0xbc
ret
test ecx, ecx
jl 0x5810b7
lea edi, [esp + 0xa4]
xor eax, eax
call fcn.00471f1a
mov dword [esp + 0xa4], ebx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0xa8], ecx
lea ecx, [0x6fa804]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], 0x31
lea edi, [esp + 0xc8]
call fcn.00471f1b
lea ecx, [0x6c9ae0]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x757f10]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
add esp, 0xbc
ret
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], eax
lea ecx, [0x6f33a6]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], 0x1e
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], edi
lea edi, [esp + 0xa4]
lea esi, [esp + 0x8c]
call fcn.004723f4
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.00471f1b
lea ecx, [0x6c9ae0]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x757f10]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
add esp, 0xbc
ret
lea edi, [esp + 0x40]
mov eax, esi
lea esi, [esp + 0x30]
call fcn.00472408
movzx ecx, byte [esp + 0x47]
movzx edx, byte [esp + 0x46]
mov ebx, edx
shl edx, 8
or edx, ecx
shr ebx, 0x18
movzx ecx, byte [esp + 0x45]
mov ebp, ecx
shl ecx, 0x10
or ecx, edx
shr ebp, 0x10
or ebx, ebp
movzx edx, byte [esp + 0x44]
mov ebp, edx
shr edx, 8
or edx, ebx
shl ebp, 0x18
or ebp, ecx
movzx ecx, byte [esp + 0x43]
or ecx, edx
movzx edx, byte [esp + 0x42]
shl edx, 8
or edx, ecx
movzx ecx, byte [esp + 0x41]
shl ecx, 0x10
or ecx, edx
movzx edx, byte [esp + 0x40]
shl edx, 0x18
or edx, ecx
movzx ecx, byte [esp + 0x4f]
movzx ebx, byte [esp + 0x4e]
mov esi, ebx
shl ebx, 8
or ebx, ecx
shr esi, 0x18
movzx ecx, byte [esp + 0x4d]
mov edi, ecx
shr ecx, 0x10
or esi, ecx
shl edi, 0x10
or edi, ebx
movzx ecx, byte [esp + 0x4c]
mov ebx, ecx
shr ecx, 8
or ecx, esi
shl ebx, 0x18
or ebx, edi
movzx esi, byte [esp + 0x4b]
or esi, ecx
movzx ecx, byte [esp + 0x4a]
shl ecx, 8
or ecx, esi
movzx esi, byte [esp + 0x49]
shl esi, 0x10
or esi, ecx
movzx ecx, byte [esp + 0x48]
shl ecx, 0x18
or ecx, esi
mov dword [esp + 0x7c], ecx
lea edi, [esp + 0x8c]
mov esi, eax
xor eax, eax
call fcn.00471f1b
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], ebx
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x98], ecx
mov ecx, dword [0x8f1428]
mov dword [esp + 0x9c], ecx
lea edi, [esp]
mov eax, esi
lea esi, [esp + 0x8c]
call fcn.004723fe
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
call sym.net_netip.Addr.WithZone
lea edi, [esp + 0x8c]
lea esi, [esp + 0x1c]
call fcn.004723fe
lea edi, [esp + 0xc8]
lea esi, [esp + 0x8c]
call fcn.004723fe
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
add esp, 0xbc
ret
movzx edx, byte [esp + eax + 0x30]
mov byte [esp + ebx + 0x40], dl
lea ebx, [eax - 1]
cmp ecx, ebx
jg 0x581245
mov eax, ebx
sub ebx, ebp
cmp eax, 0x10
jae 0x5812a2
lea edx, [ebx + 0x10]
cmp edx, 0x10
jb 0x581222
jmp 0x581296
mov eax, ecx
sub ecx, ebp
add ecx, 0x10
cmp ecx, 0x10
ja 0x58128c
cmp eax, ecx
ja 0x581287
lea ecx, [eax - 0x10]
lea edx, [ebp - 0x10]
neg edx
neg ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
test edx, edx
je 0x5810b7
lea eax, [esp + eax + 0x30]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym.runtime.memclrNoHeapPointers
mov esi, dword [esp + 0x50]
jmp 0x5810b7
call sym.runtime.panicSliceB
mov edx, 0x10
call sym.runtime.panicSliceAlen
mov eax, edx
mov ecx, 0x10
call sym.runtime.panicIndex
mov ecx, 0x10
call sym.runtime.panicIndex
inc ecx
mov esi, dword [esp + 0x50]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x64], ebp
mov ecx, dword [esp + 0x60]
mov ebp, dword [esp + 0x5c]
mov ebp, dword [esp + 0x58]
cmp edi, ebp
jle 0x580e37
movzx esi, byte [edx + ebp]
lea ecx, [esi - 0x30]
cmp cl, 9
ja 0x5812ef
mov esi, ebx
mov ebx, dword [esp + 0x64]
shl ebx, 4
movzx ecx, cl
add ebx, ecx
mov ecx, ebp
mov ebp, ebx
mov ebx, esi
jmp 0x581334
lea ecx, [esi - 0x61]
cmp cl, 5
ja 0x581315
mov ebx, dword [esp + 0x64]
shl ebx, 4
add esi, 0xffffffa9
xchg esi, eax
movzx eax, al
xchg esi, eax
add ebx, esi
mov ecx, ebp
mov ebp, ebx
mov ebx, dword [esp + 0xc0]
jmp 0x581334
lea ecx, [esi - 0x41]
cmp cl, 5
ja 0x580e2f
mov ecx, ebp
mov ebp, dword [esp + 0x64]
shl ebp, 4
add esi, 0xffffffc9
xchg esi, eax
movzx eax, al
xchg esi, eax
add ebp, esi
cmp ecx, 3
jg 0x5813d6
cmp ebp, 0xffff
jbe 0x5812ac
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], eax
lea ecx, [0x6f1af4]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], 0x1b
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], edi
lea edi, [esp + 0xa4]
lea esi, [esp + 0x8c]
call fcn.004723f4
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.00471f1b
lea ecx, [0x6c9ae0]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x757f10]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
add esp, 0xbc
ret
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], eax
lea ecx, [0x6f6607]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], 0x25
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], edi
lea edi, [esp + 0xa4]
lea esi, [esp + 0x8c]
call fcn.004723f4
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.00471f1b
lea ecx, [0x6c9ae0]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x757f10]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
add esp, 0xbc
ret
test ecx, ecx
jge 0x58150c
mov eax, dword [esp + 0x5c]
cmp eax, 0xc
je 0x581510
mov dword [esp + 0x8c], ebx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x90], ecx
lea ecx, [0x6fda8f]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], 0x44
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], edi
lea edi, [esp + 0xa4]
lea esi, [esp + 0x8c]
call fcn.004723f4
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.00471f1b
lea ecx, [0x6c9ae0]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x757f10]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
add esp, 0xbc
ret
mov eax, dword [esp + 0x5c]
lea ebp, [eax + 4]
cmp ebp, 0x10
jg 0x5815e2
test esi, esi
je 0x58152c
mov edx, dword [esp + 0xc4]
sub edx, esi
dec edx
jmp 0x581533
mov edx, dword [esp + 0xc4]
cmp eax, ebp
ja 0x5818fd
mov dword [esp + 0x78], ebp
mov dword [esp], ebx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 4], ecx
mov ebp, edx
sub edx, edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
lea edx, [eax - 0x10]
neg edx
mov ebp, edx
neg edx
sar edx, 0x1f
and edx, eax
lea eax, [esp + edx + 0x30]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 4
mov dword [esp + 0x18], ebp
call sym.net_netip.parseIPv4Fields
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x5815ab
mov eax, dword [esp + 0xc4]
mov ebx, dword [esp + 0xc0]
mov esi, dword [esp + 0x50]
xor edi, edi
xor edx, edx
mov ebp, dword [esp + 0x78]
mov ecx, dword [esp + 0x60]
jmp 0x580f07
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x84], ecx
lea edi, [esp + 0xc8]
mov edx, eax
xor eax, eax
call fcn.00471f1b
mov dword [esp + 0xdc], edx
mov ecx, dword [esp + 0x84]
mov dword [esp + 0xe0], ecx
add esp, 0xbc
ret
mov dword [esp + 0x8c], ebx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x90], ecx
lea ecx, [0x6fdba2]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], 0x45
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], edi
lea edi, [esp + 0xa4]
lea esi, [esp + 0x8c]
call fcn.004723f4
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.00471f1b
lea ecx, [0x6c9ae0]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x757f10]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
add esp, 0xbc
ret
mov ebx, dword [esp + 0xc0]
mov edi, ecx
mov edx, ebp
mov ebp, dword [esp + 0x5c]
mov ecx, ebp
jmp 0x580f07
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
lea ecx, [0x6ef142]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], 0x16
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], ebp
lea edi, [esp + 0xa4]
lea esi, [esp + 0x8c]
call fcn.004723f4
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.00471f1b
lea ecx, [0x6c9ae0]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x757f10]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
add esp, 0xbc
ret
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
lea ecx, [0x6f7e7a]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], 0x29
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], ebx
lea edi, [esp + 0xa4]
lea esi, [esp + 0x8c]
call fcn.004723f4
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.00471f1b
lea ecx, [0x6c9ae0]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x757f10]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
add esp, 0xbc
ret
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
lea ecx, [0x6f41aa]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], 0x20
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], ebx
lea edi, [esp + 0xa4]
lea esi, [esp + 0x8c]
call fcn.004723f4
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.00471f1b
lea ecx, [0x6c9ae0]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x757f10]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
add esp, 0xbc
ret
mov ebx, dword [esp + 0xc0]
mov edi, dword [esp + 0x54]
mov edx, ebp
mov ebp, dword [esp + 0x5c]
jmp 0x580f07
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], eax
lea ecx, [0x6fbde7]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], 0x37
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], edi
lea edi, [esp + 0xa4]
lea esi, [esp + 0x8c]
call fcn.004723f4
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.00471f1b
lea ecx, [0x6c9ae0]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x757f10]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
add esp, 0xbc
ret
xor eax, eax
mov ecx, eax
call sym.runtime.panicIndex
mov eax, ebx
mov ecx, edi
call sym.runtime.panicSliceB
mov ecx, ebp
call sym.runtime.panicSliceB
mov eax, ebp
mov ecx, edi
call sym.runtime.panicIndex
mov ecx, edx
call sym.runtime.panicSliceB
call sym.runtime.panicSliceAlen
nop
call sym.runtime.morestack_noctxt
jmp sym.net_netip.parseIPv6