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

Disassembly:
mov ecx, dword [0x62b9b8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x3c]
cmp eax, dword [ecx + 8]
jbe 0x4c13ba
sub esp, 0xbc
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.0046fcab
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 0x4c0779
mov edx, dword [esp + 0xc4]
cmp edx, ecx
jb 0x4c13b4
lea eax, [ecx + 1]
cmp edx, eax
jb 0x4c13ad
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 0x4c078d
lea edi, [esp + 0xa4]
xor eax, eax
call fcn.0046fcaa
mov dword [esp + 0xa4], ebx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0xa8], ecx
lea ecx, [0x52e6d7]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], 0x1f
lea edi, [esp + 0xc8]
call fcn.0046fcab
lea ecx, [0x516ce0]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x5576f0]
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 0x4c0869
cmp byte [ebx], 0x3a
jne 0x4c085e
cmp byte [ebx + 1], 0x3a
jne 0x4c0853
lea edx, [ecx - 2]
mov edi, edx
neg edx
sar edx, 0x1f
and edx, 2
add edx, ebx
cmp ecx, 2
je 0x4c07e4
xor ecx, ecx
jmp 0x4c0872
mov ecx, dword [0x60ca0c]
mov dword [esp + 0x88], ecx
lea edi, [esp]
xor eax, eax
call fcn.0046fcab
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.0047018e
lea edi, [esp + 0xc8]
lea esi, [esp + 0x8c]
call fcn.0047018e
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
add esp, 0xbc
ret
mov edi, ecx
mov edx, ebx
mov ecx, 0xffffffff
jmp 0x4c0872
mov edi, ecx
mov edx, ebx
mov ecx, 0xffffffff
jmp 0x4c0872
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 0x4c08a5
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 0x4c09a7
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 0x4c0d61
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x50]
test ebp, ebp
je 0x4c12fe
cmp edi, ebp
jle 0x4c08fc
jbe 0x4c13a4
lea eax, [edx + ebp]
cmp byte [eax], 0x2e
je 0x4c0f03
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 0x4c1394
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 0x4c12e8
cmp byte [ebp], 0x3a
jne 0x4c1254
cmp ebx, 1
je 0x4c11c0
lea ebp, [ebx - 1]
lea edx, [edx + edi + 1]
test ebp, ebp
jbe 0x4c138b
cmp byte [edx], 0x3a
jne 0x4c099a
test ecx, ecx
jge 0x4c112c
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 0x4c1116
mov edx, dword [esp + 0x5c]
jmp 0x4c088d
mov ecx, ebp
mov ebp, edx
mov edx, dword [esp + 0x60]
jmp 0x4c088d
test edi, edi
jne 0x4c0aca
cmp ebp, 0x10
jge 0x4c0a43
test ecx, ecx
jl 0x4c09c4
lea ebx, [ebp - 1]
jmp 0x4c0cce
lea edi, [esp + 0xa4]
xor eax, eax
call fcn.0046fcaa
mov dword [esp + 0xa4], ebx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0xa8], ecx
lea ecx, [0x52c4d6]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], 0x18
lea edi, [esp + 0xc8]
call fcn.0046fcab
lea ecx, [0x516ce0]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x5576f0]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
add esp, 0xbc
ret
test ecx, ecx
jl 0x4c0b57
lea edi, [esp + 0xa4]
xor eax, eax
call fcn.0046fcaa
mov dword [esp + 0xa4], ebx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0xa8], ecx
lea ecx, [0x531f04]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], 0x31
lea edi, [esp + 0xc8]
call fcn.0046fcab
lea ecx, [0x516ce0]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x5576f0]
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, [0x52e31d]
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.00470184
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.0046fcab
lea ecx, [0x516ce0]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x5576f0]
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.00470198
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.0046fcab
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 [0x60ca0c]
mov dword [esp + 0x9c], ecx
lea edi, [esp]
mov eax, esi
lea esi, [esp + 0x8c]
call fcn.0047018e
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.0047018e
lea edi, [esp + 0xc8]
lea esi, [esp + 0x8c]
call fcn.0047018e
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 0x4c0ce5
mov eax, ebx
sub ebx, ebp
cmp eax, 0x10
jae 0x4c0d42
lea edx, [ebx + 0x10]
cmp edx, 0x10
jb 0x4c0cc2
jmp 0x4c0d36
mov eax, ecx
sub ecx, ebp
add ecx, 0x10
cmp ecx, 0x10
ja 0x4c0d2c
cmp eax, ecx
ja 0x4c0d27
lea ecx, [eax - 0x10]
lea edx, [ebp - 0x10]
neg edx
neg ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
test edx, edx
je 0x4c0b57
lea eax, [esp + eax + 0x30]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym.runtime.memclrNoHeapPointers
mov esi, dword [esp + 0x50]
jmp 0x4c0b57
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 0x4c08d7
movzx esi, byte [edx + ebp]
lea ecx, [esi - 0x30]
cmp cl, 9
ja 0x4c0d8f
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 0x4c0dd4
lea ecx, [esi - 0x61]
cmp cl, 5
ja 0x4c0db5
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 0x4c0dd4
lea ecx, [esi - 0x41]
cmp cl, 5
ja 0x4c08cf
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 0x4c0e76
cmp ebp, 0xffff
jbe 0x4c0d4c
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], eax
lea ecx, [0x52d479]
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.00470184
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.0046fcab
lea ecx, [0x516ce0]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x5576f0]
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, [0x52fdcc]
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.00470184
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.0046fcab
lea ecx, [0x516ce0]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x5576f0]
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe0], ecx
add esp, 0xbc
ret
test ecx, ecx
jge 0x4c0fac
mov eax, dword [esp + 0x5c]
cmp eax, 0xc
je 0x4c0fb0
mov dword [esp + 0x8c], ebx
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x90], ecx
lea ecx, [0x532fb7]
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.00470184
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.0046fcab
lea ecx, [0x516ce0]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x5576f0]
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 0x4c1082
test esi, esi
je 0x4c0fcc
mov edx, dword [esp + 0xc4]
sub edx, esi
dec edx
jmp 0x4c0fd3
mov edx, dword [esp + 0xc4]
cmp eax, ebp
ja 0x4c139d
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 0x4c104b
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 0x4c09a7
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x84], ecx
lea edi, [esp + 0xc8]
mov edx, eax
xor eax, eax
call fcn.0046fcab
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, [0x532ffb]
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.00470184
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.0046fcab
lea ecx, [0x516ce0]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x5576f0]
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 0x4c09a7
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
lea ecx, [0x52b8e9]
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.00470184
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.0046fcab
lea ecx, [0x516ce0]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x5576f0]
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, [0x530b22]
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.00470184
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.0046fcab
lea ecx, [0x516ce0]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x5576f0]
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, [0x52eb14]
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.00470184
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.0046fcab
lea ecx, [0x516ce0]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x5576f0]
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 0x4c09a7
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], eax
lea ecx, [0x532700]
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.00470184
lea edi, [esp + 0xc8]
xor eax, eax
call fcn.0046fcab
lea ecx, [0x516ce0]
mov dword [esp], ecx
lea ecx, [esp + 0xa4]
mov dword [esp + 4], ecx
call sym.runtime.convT
mov ecx, dword [esp + 8]
lea edx, [0x5576f0]
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